@nebula.js/cli-serve 4.0.1 → 4.0.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
- `),Tr.rippleVisible,Br,550,(({theme:e})=>e.transitions.easing.easeInOut),Tr.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Tr.child,Tr.childLeaving,jr,550,(({theme:e})=>e.transitions.easing.easeInOut),Tr.childPulsate,zr,(({theme:e})=>e.transitions.easing.easeInOut)),Ur=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,ue.Z)(r,Ar),[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,qe.jsx)(Vr,{classes:{ripple:(0,cn.Z)(a.ripple,Tr.ripple),rippleVisible:(0,cn.Z)(a.rippleVisible,Tr.rippleVisible),ripplePulsate:(0,cn.Z)(a.ripplePulsate,Tr.ripplePulsate),child:(0,cn.Z)(a.child,Tr.child),childLeaving:(0,cn.Z)(a.childLeaving,Tr.childLeaving),childPulsate:(0,cn.Z)(a.childPulsate,Tr.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,qe.jsx)(Gr,(0,ce.Z)({className:(0,cn.Z)(Tr.root,a.root,i),ref:h},l,{children:(0,qe.jsx)(Rr,{component:null,exit:!0,children:s})}))})),Zr=Ur;function $r(e){return(0,At.Z)("MuiButtonBase",e)}const Wr=(0,Tt.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Hr=["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"],Kr=(0,yn.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"},[`&.${Wr.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Xr=t.forwardRef((function(e,n){const r=(0,gn.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:E,onMouseDown:C,onMouseLeave:S,onMouseUp:O,onTouchEnd:I,onTouchMove:R,onTouchStart:x,tabIndex:w=0,TouchRippleProps:N,touchRippleRef:L,type:_}=r,T=(0,ue.Z)(r,Hr),A=t.useRef(null),P=t.useRef(null),D=(0,fr.Z)(P,L),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,mr.Z)(),[j,z]=t.useState(!1);c&&j&&z(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),A.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,pr.Z)((r=>(t&&t(r),!n&&P.current&&P.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&G&&P.current.pulsate()}),[u,f,j,G]);const $=Z("start",C),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,pr.Z)((e=>{A.current||(A.current=e.currentTarget),M(e),!0===k.current&&(z(!0),v&&v(e)),g&&g(e)})),ne=()=>{const e=A.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,pr.Z)((e=>{f&&!re.current&&j&&P.current&&" "===e.key&&(re.current=!0,P.current.stop(e,(()=>{P.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!c&&(e.preventDefault(),h&&h(e))})),ae=(0,pr.Z)((e=>{f&&" "===e.key&&P.current&&j&&!e.defaultPrevented&&(re.current=!1,P.current.stop(e,(()=>{P.current.pulsate(e)}))),E&&E(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,fr.Z)(n,B,A),de=(0,ce.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:w,focusVisible:j}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,qn.Z)(a,$r,o);return n&&r&&(i.root+=` ${r}`),i})(de);return(0,qe.jsxs)(Kr,(0,ce.Z)({as:ie,className:(0,cn.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:w,type:_},le,T,{children:[i,U?(0,qe.jsx)(Zr,(0,ce.Z)({ref:D,center:a},N)):null]}))})),Yr=Xr;function Qr(e){return(0,At.Z)("MuiIconButton",e)}const Jr=(0,Tt.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),eo=["edge","children","className","color","disabled","disableFocusRipple","size"],to=(0,yn.ZP)(Yr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,rr.Z)(n.color)}`],n.edge&&t[`edge${(0,rr.Z)(n.edge)}`],t[`size${(0,rr.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,dr.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,dr.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)},{[`&.${Jr.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),no=t.forwardRef((function(e,t){const n=(0,gn.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,eo),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,rr.Z)(r)}`,o&&`edge${(0,rr.Z)(o)}`,`size${(0,rr.Z)(a)}`]};return(0,qn.Z)(i,Qr,t)})(d);return(0,qe.jsx)(to,(0,ce.Z)({className:(0,cn.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),ro=no,oo=e=>er((e=>({...e,shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));var ao=o(37258),io=o(11619),lo=o(94575);var so="unmounted",co="exited",uo="entering",fo="entered",po="exiting",mo=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=co,r.appearStatus=uo):o=fo:o=t.unmountOnExit||t.mountOnEnter?so:co,r.state={status:o},r.nextCallback=null,r}vr(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===so?{status:co}: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!==uo&&n!==fo&&(t=uo):n!==uo&&n!==fo||(t=po)}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===uo){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:sn.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===co&&this.setState({status:so})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[sn.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:uo},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:fo},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:fo},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:sn.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:po},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:co},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:co},(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:sn.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===so)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,hr(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(br.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function ho(){}mo.contextType=br,mo.propTypes={},mo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ho,onEntering:ho,onEntered:ho,onExit:ho,onExiting:ho,onExited:ho},mo.UNMOUNTED=so,mo.EXITED=co,mo.ENTERING=uo,mo.ENTERED=fo,mo.EXITING=po;const qo=mo,yo=e=>e.scrollTop;function go(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 vo=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function bo(e){return`scale(${e}, ${e**2})`}const Eo={entering:{opacity:1,transform:bo(1)},entered:{opacity:1,transform:"none"}},Co="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),So=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=qo}=e,y=(0,ue.Z)(e,vo),g=t.useRef(),v=t.useRef(),b=se(),E=t.useRef(null),C=(0,fr.Z)(E,a.ref,n),S=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},O=S(u),I=S(((e,t)=>{yo(e);const{duration:n,delay:r,easing:o}=go({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:Co?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),R=S(c),x=S(p),w=S((e=>{const{duration:t,delay:n,easing:r}=go({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:Co?o:.666*o,delay:Co?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=bo(.75),d&&d(e)})),N=S(f);return t.useEffect((()=>()=>{clearTimeout(g.current)}),[]),(0,qe.jsx)(q,(0,ce.Z)({appear:o,in:l,nodeRef:E,onEnter:I,onEntered:R,onEntering:O,onExit:w,onExited:N,onExiting:x,addEndListener:e=>{"auto"===h&&(g.current=setTimeout(e,v.current||0)),r&&r(E.current,e)},timeout:"auto"===h?null:h},y,{children:(e,n)=>t.cloneElement(a,(0,ce.Z)({style:(0,ce.Z)({opacity:0,transform:bo(.75),visibility:"exited"!==e||l?void 0:"hidden"},Eo[e],m,a.props.style),ref:C},n))}))}));So.muiSupportAuto=!0;const Oo=So;function Io(){return Io=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},Io.apply(this,arguments)}function Ro(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 xo=o(95882),wo=o(67653),No=o(69781),Lo=o(24784),_o=o(95572),To=o(44068);const Ao=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,xo.Z)(t.isValidElement(r)?r.ref:null,n);if((0,_o.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,_o.Z)((()=>{if(i&&!a)return(0,To.Z)(n,i),()=>{(0,To.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,qe.jsx)(t.Fragment,{children:r})}return(0,qe.jsx)(t.Fragment,{children:i?sn.createPortal(r,i):i})}));var Po=o(60838);function Do(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ko(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Mo(e){return parseInt((0,Po.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Fo(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&&ko(e,o)}))}function Bo(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const jo=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zo(e){const t=[],n=[];return Array.from(e.querySelectorAll(jo)).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 Go(){return!0}const Vo=function(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=zo,isEnabled:l=Go,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,xo.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,wo.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,wo.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,qe.jsxs)(t.Fragment,{children:[(0,qe.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,qe.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})};function Uo(e){return(0,At.Z)("MuiModal",e)}function Zo(e){return"string"==typeof e}function $o(e,t,n){return void 0===e||Zo(e)?t:Io({},t,{ownerState:Io({},t.ownerState,n)})}function Wo(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Wo(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}(0,Tt.Z)("MuiModal",["root","hidden","backdrop"]);const Ho=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Wo(e))&&(r&&(r+=" "),r+=t);return r};function Ko(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 Xo(e,t){return"function"==typeof e?e(t):e}const Yo=["elementType","externalSlotProps","ownerState"];function Qo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=Ro(e,Yo),i=Xo(r,o),{props:l,internalRef:s}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Ho(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Io({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Io({},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}(Io({},o,r)),l=Ko(r),s=Ko(o),c=t(i),u=Ho(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=Io({},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=Io({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(Io({},a,{externalSlotProps:i}));return $o(n,Io({},l,{ref:(0,xo.Z)(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const Jo={disableDefaultClasses:!1},ea=t.createContext(Jo);function ta(e){const{disableDefaultClasses:n}=t.useContext(ea);return t=>n?"":e(t)}const na=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],ra=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&&ko(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);Fo(t,e.mount,e.modalRef,r,!0);const o=Bo(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=Bo(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,wo.Z)(e);return t.body===e?(0,Po.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Do((0,wo.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Mo(r)+e}px`;const t=(0,wo.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Mo(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,wo.Z)(r).body;else{const t=r.parentElement,n=(0,Po.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=Bo(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&&ko(e.modalRef,t),Fo(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&&ko(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},oa=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=ra,onBackdropClick:y,onClose:g,onKeyDown:v,open:b,onTransitionEnter:E,onTransitionExited:C,slotProps:S={},slots:O={}}=e,I=Ro(e,na),R=q,[x,w]=t.useState(!b),N=t.useRef({}),L=t.useRef(null),_=t.useRef(null),T=(0,xo.Z)(_,n),A=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),P=null==(r=e["aria-hidden"])||r,D=()=>(N.current.modalRef=_.current,N.current.mountNode=L.current,N.current),k=()=>{R.mount(D(),{disableScrollLock:p}),_.current&&(_.current.scrollTop=0)},M=(0,No.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(l)||(0,wo.Z)(L.current).body;R.add(D(),e),_.current&&k()})),F=t.useCallback((()=>R.isTopModal(D())),[R]),B=(0,No.Z)((e=>{L.current=e,e&&_.current&&(b&&F()?k():ko(_.current,P))})),j=t.useCallback((()=>{R.remove(D(),P)}),[R,P]);t.useEffect((()=>()=>{j()}),[j]),t.useEffect((()=>{b?M():A&&i||j()}),[b,j,A,i,M]);const z=Io({},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,qn.Z)(r,ta(Uo))})(z),V={};void 0===a.props.tabIndex&&(V.tabIndex="-1"),A&&(V.onEnter=(0,Lo.Z)((()=>{w(!1),E&&E()}),a.props.onEnter),V.onExited=(0,Lo.Z)((()=>{w(!0),C&&C(),i&&j()}),a.props.onExited));const U=null!=(o=O.root)?o:"div",Z=Qo({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=Qo({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||A&&!x?(0,qe.jsx)(Ao,{ref:B,container:l,disablePortal:d,children:(0,qe.jsxs)(U,Io({},Z,{children:[!m&&$?(0,qe.jsx)($,Io({},W)):null,(0,qe.jsx)(Vo,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:f,isEnabled:F,open:b,children:t.cloneElement(a,V)})]}))}):null})),aa=oa,ia=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],la={entering:{opacity:1},entered:{opacity:1}},sa=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=qo}=e,v=(0,ue.Z)(e,ia),b=t.useRef(null),E=(0,fr.Z)(b,l.ref,n),C=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},S=C(f),O=C(((e,t)=>{yo(e);const n=go({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=C(d),R=C(h),x=C((e=>{const t=go({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)})),w=C(m);return(0,qe.jsx)(g,(0,ce.Z)({appear:i,in:c,nodeRef:b,onEnter:O,onEntered:I,onEntering:S,onExit:x,onExited:w,onExiting:R,addEndListener:e=>{a&&a(b.current,e)},timeout:y},v,{children:(e,n)=>t.cloneElement(l,(0,ce.Z)({style:(0,ce.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},la[e],q,l.props.style),ref:E},n))}))})),ca=sa;function ua(e){return(0,At.Z)("MuiBackdrop",e)}(0,Tt.Z)("MuiBackdrop",["root","invisible"]);const da=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],fa=(0,yn.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"}))),pa=t.forwardRef((function(e,t){var n,r,o;const a=(0,gn.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=ca,transitionDuration:q}=a,y=(0,ue.Z)(a,da),g=(0,ce.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,qn.Z)(r,ua,t)})(g),b=null!=(n=p.root)?n:u.root;return(0,qe.jsx)(h,(0,ce.Z)({in:f,timeout:q},y,{children:(0,qe.jsx)(fa,(0,ce.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=m.root)?o:c.Root)?r:s,className:(0,cn.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}))}))})),ma=pa,ha=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],qa=(0,yn.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"}))),ya=(0,yn.ZP)(ma,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ga=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,gn.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=ya,BackdropProps:d,classes:f,className:p,closeAfterTransition:m=!1,children:h,container:q,component:y,components:g={},componentsProps:v={},disableAutoFocus:b=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:C=!1,disablePortal:S=!1,disableRestoreFocus:O=!1,disableScrollLock:I=!1,hideBackdrop:R=!1,keepMounted:x=!1,onBackdropClick:w,onClose:N,open:L,slotProps:_,slots:T,theme:A}=c,P=(0,ue.Z)(c,ha),[D,k]=t.useState(!0),M={container:q,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:E,disableEscapeKeyDown:C,disablePortal:S,disableRestoreFocus:O,disableScrollLock:I,hideBackdrop:R,keepMounted:x,onBackdropClick:w,onClose:N,open:L},F=(0,ce.Z)({},c,M,{exited:D}),B=null!=(r=null!=(o=null==T?void 0:T.root)?o:g.Root)?r:qa,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,qe.jsx)(aa,(0,ce.Z)({slots:{root:B,backdrop:j},slotProps:{root:()=>(0,ce.Z)({},Xo(z,F),!Zo(B)&&{as:y,theme:A},{className:(0,cn.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,Xo(G,F),{className:(0,cn.Z)(null==G?void 0:G.className,null==f?void 0:f.backdrop)})},onTransitionEnter:()=>k(!1),onTransitionExited:()=>k(!0),ref:n},P,M,{children:h}))})),va=ga,ba=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ea(e){return(0,At.Z)("MuiPaper",e)}(0,Tt.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 Ca=["className","component","elevation","square","variant"],Sa=(0,yn.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,dr.Fq)("#fff",ba(t.elevation))}, ${(0,dr.Fq)("#fff",ba(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Oa=t.forwardRef((function(e,t){const n=(0,gn.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,Ca),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,qn.Z)(a,Ea,o)})(c);return(0,qe.jsx)(Sa,(0,ce.Z)({as:o,ownerState:c,className:(0,cn.Z)(u.root,r),ref:t},s))})),Ia=Oa;function Ra(e){return(0,At.Z)("MuiPopover",e)}(0,Tt.Z)("MuiPopover",["root","paper"]);const xa=["onEntering"],wa=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function Na(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function La(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function _a(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Ta(e){return"function"==typeof e?e():e}const Aa=(0,yn.ZP)(va,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pa=(0,yn.ZP)(Ia,{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}),Da=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:m,PaperProps:h={},transformOrigin:q={vertical:"top",horizontal:"left"},TransitionComponent:y=Oo,transitionDuration:g="auto",TransitionProps:{onEntering:v}={}}=r,b=(0,ue.Z)(r.TransitionProps,xa),E=(0,ue.Z)(r,wa),C=t.useRef(),S=(0,fr.Z)(C,h.ref),O=(0,ce.Z)({},r,{anchorOrigin:i,anchorReference:s,elevation:f,marginThreshold:p,PaperProps:h,transformOrigin:q,TransitionComponent:y,transitionDuration:g,TransitionProps:b}),I=(e=>{const{classes:t}=e;return(0,qn.Z)({root:["root"],paper:["paper"]},Ra,t)})(O),R=t.useCallback((()=>{if("anchorPosition"===s)return l;const e=Ta(a),t=(e&&1===e.nodeType?e:(0,io.Z)(C.current).body).getBoundingClientRect();return{top:t.top+Na(t,i.vertical),left:t.left+La(t,i.horizontal)}}),[a,i.horizontal,i.vertical,l,s]),x=t.useCallback((e=>({vertical:Na(e,q.vertical),horizontal:La(e,q.horizontal)})),[q.horizontal,q.vertical]),w=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=x(t);if("none"===s)return{top:null,left:null,transformOrigin:_a(n)};const r=R();let o=r.top-n.vertical,i=r.left-n.horizontal;const l=o+t.height,c=i+t.width,u=(0,lo.Z)(Ta(a)),d=u.innerHeight-p,f=u.innerWidth-p;if(o<p){const e=o-p;o-=e,n.vertical+=e}else if(l>d){const e=l-d;o-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(c>f){const e=c-f;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:_a(n)}}),[a,s,R,x,p]),[N,L]=t.useState(m),_=t.useCallback((()=>{const e=C.current;if(!e)return;const t=w(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,L(!0)}),[w]);t.useEffect((()=>{m&&_()})),t.useImperativeHandle(o,(()=>m?{updatePosition:()=>{_()}}:null),[m,_]),t.useEffect((()=>{if(!m)return;const e=(0,ao.Z)((()=>{_()})),t=(0,lo.Z)(a);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,m,_]);let T=g;"auto"!==g||y.muiSupportAuto||(T=void 0);const A=d||(a?(0,io.Z)(Ta(a)).body:void 0);return(0,qe.jsx)(Aa,(0,ce.Z)({BackdropProps:{invisible:!0},className:(0,cn.Z)(I.root,u),container:A,open:m,ref:n,ownerState:O},E,{children:(0,qe.jsx)(y,(0,ce.Z)({appear:!0,in:m,onEntering:(e,t)=>{v&&v(e,t),_()},onExited:()=>{L(!1)},timeout:T},b,{children:(0,qe.jsx)(Pa,(0,ce.Z)({elevation:f},h,{ref:S,className:(0,cn.Z)(I.paper,h.className)},N?void 0:{style:(0,ce.Z)({},h.style,{opacity:0})},{ownerState:O,children:c}))}))}))})),ka=Da;var Ma=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}}(),Fa=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 Ba=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=Fa(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},Fa(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),Ma(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),ja=["S","XS"],za=e=>e.reduce(((e,t)=>e.concat(t)));async function Ga({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 Va="RowColumn",Ua={row:`${Va}-row`,rowBorderBottom:`${Va}-rowBorderBottom`,column:`${Va}-column`,fieldRoot:`${Va}-fieldRoot`,cell:`${Va}-cell`,labelText:`${Va}-labelText`,labelDense:`${Va}-labelDense`,highlighted:`${Va}-highlighted`,checkboxLabel:`${Va}-checkboxLabel`,icon:`${Va}-icon`,S:`${Va}-S`,XS:`${Va}-XS`,A:`${Va}-A`,X:`${Va}-X`,frequencyCount:`${Va}-frequencyCount`,barContainer:`${Va}-barContainer`,bar:`${Va}-bar`,barSelected:`${Va}-barSelected`,barWithCheckbox:`${Va}-barWithCheckbox`,barSelectedWithCheckbox:`${Va}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Va}-excludedTextWithCheckbox`},Za=`.${Ua.fieldRoot}`,$a=e=>!(e?.metaKey||e?.ctrlKey);const Wa=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Ha=e=>er(Wa(e)),Ka=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Xa=e=>e?"A"===e.qState:null,Ya=({cell:e,checkboxes:t})=>(Xa(e)||Ka(e))&&t,Qa=9,Ja=80,ei=10,ti=150,ni=40,ri=56,oi=20,ai=e=>e.filter((e=>!!e)).join(" ").trim(),ii=e=>e||"-",li=({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}}),si={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},ci=(0,yn.ZP)("div",{shouldForwardProp:e=>!["flexBasisProp","isGridMode","isGridCol","dense","frequencyWidth","direction"].includes(e)})((({theme:e,flexBasisProp:t,isGridMode:n,isGridCol:r,dense:o,frequencyWidth:a,direction:i})=>({"&: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"}},[`& .${Ua.row}`]:{flexWrap:"nowrap",color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Ua.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Ua.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Ua.cell}`]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:`${Qa}px`,paddingRight:0},[`& .${Ua.labelText}`]:{flexBasis:t,lineHeight:"16px",userSelect:"none",paddingRight:"1px",...si,fontSize:e.listBox?.content?.fontSize,fontFamily:e.listBox?.content?.fontFamily},[`& .${Ua.labelDense}`]:{fontSize:12},[`& .${Ua.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${Ua.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...si,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${Ua.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},[`& .${Ua.S}`]:{...li({theme:e}),border:n?"none":void 0},[`& .${Ua.XS}`]:{...li({theme:e}),background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Ua.A}`]:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText,border:n?"none":void 0},[`& .${Ua.X}`]:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Ua.frequencyCount}`]:{justifyContent:"flex-end",...si,flex:`0 1 ${a}px`,textAlign:"rtl"===i?"left":"right",paddingLeft:"2px"},[`&.${Ua.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Ua.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%"}},[`& .${Ua.barSelected}`]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${Ua.barWithCheckbox}`]:{left:"rtl"===i?4:29,width:"calc(100% - 33px)"},[`& .${Ua.barSelectedWithCheckbox}`]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},[`& .${Ua.excludedTextWithCheckbox}`]:{color:"#828282",fontStyle:"italic"}}))),ui=t.memo(ci),di=t.createContext(void 0);function fi(){return t.useContext(di)}function pi(e){return(0,At.Z)("MuiFormControlLabel",e)}const mi=(0,Tt.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function hi({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 qi=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],yi=(0,yn.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${mi.label}`]:t.label},t.root,t[`labelPlacement${(0,rr.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,[`&.${mi.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},{[`& .${mi.label}`]:{[`&.${mi.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),gi=(0,yn.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${mi.error}`]:{color:(e.vars||e).palette.error.main}}))),vi=t.forwardRef((function(e,n){var r,o;const a=(0,gn.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,qi),q=fi(),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=hi({props:a,muiFormControl:q,states:["error"]}),E=(0,ce.Z)({},a,{disabled:y,labelPlacement:f,required:g,error:b.error}),C=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,rr.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,qn.Z)(i,pi,t)})(E),S=null!=(o=m.typography)?o:l.typography;let O=d;return null==O||O.type===ur||u||(O=(0,qe.jsx)(ur,(0,ce.Z)({component:"span"},S,{className:(0,cn.Z)(C.label,null==S?void 0:S.className),children:O}))),(0,qe.jsxs)(yi,(0,ce.Z)({className:(0,cn.Z)(C.root,i),ownerState:E,ref:n},h,{children:[t.cloneElement(s,v),O,g&&(0,qe.jsxs)(gi,{ownerState:E,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]}))})),bi=vi;var Ei=o(66055);function Ci(e){return(0,At.Z)("PrivateSwitchBase",e)}(0,Tt.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Si=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Oi=(0,yn.ZP)(Yr)((({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}))),Ii=(0,yn.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ri=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:E,value:C}=e,S=(0,ue.Z)(e,Si),[O,I]=(0,Ei.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=fi();let x=l;R&&void 0===x&&(x=R.disabled);const w="checkbox"===E||"radio"===E,N=(0,ce.Z)({},e,{checked:O,disabled:x,disableFocusRipple:s,edge:c}),L=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,rr.Z)(o)}`],input:["input"]};return(0,qn.Z)(a,Ci,t)})(N);return(0,qe.jsxs)(Oi,(0,ce.Z)({component:"span",className:(0,cn.Z)(L.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:N,ref:t},S,{children:[(0,qe.jsx)(Ii,(0,ce.Z)({autoFocus:n,checked:r,defaultChecked:i,className:L.input,disabled:x,id:w?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;I(t),q&&q(e,t)},readOnly:g,ref:p,required:v,ownerState:N,tabIndex:b,type:E},"checkbox"===E&&void 0===C?{}:{value:C},f)),O?o:u]}))})),xi=Ri;var wi=o(79143);const Ni=(0,wi.Z)((0,qe.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Li=(0,wi.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),_i=(0,wi.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Ti(e){return(0,At.Z)("MuiCheckbox",e)}const Ai=(0,Tt.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),Pi=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Di=(0,yn.ZP)(xi,{shouldForwardProp:e=>(0,yn.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,rr.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,dr.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&&{[`&.${Ai.checked}, &.${Ai.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Ai.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ki=(0,qe.jsx)(Li,{}),Mi=(0,qe.jsx)(Ni,{}),Fi=(0,qe.jsx)(_i,{}),Bi=t.forwardRef((function(e,n){var r,o;const a=(0,gn.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=ki,color:l="primary",icon:s=Mi,indeterminate:c=!1,indeterminateIcon:u=Fi,inputProps:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,Pi),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,rr.Z)(r)}`]},a=(0,qn.Z)(o,Ti,t);return(0,ce.Z)({},t,a)})(y);return(0,qe.jsx)(Di,(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,cn.Z)(g.root,p)},m,{classes:g}))})),ji=Bi,zi="ListBoxCheckbox",Gi={cbIcon:`${zi}-cbIcon`,cbIconChecked:`${zi}-cbIconChecked`,cbIconExcluded:`${zi}-cbIconExcluded`,cbIconAlternative:`${zi}-cbIconAlternative`,checkbox:`${zi}-checkbox`,dense:`${zi}-dense`},Vi=(0,yn.ZP)(ji)((({theme:e})=>({[`& .${Gi.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"},[`& .${Gi.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:'""'}},[`& .${Gi.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},[`& .${Gi.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},[`&.${Gi.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Gi.dense}`]:{padding:"4px 8px"}}))),Ui=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function Zi({onChange:e,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}){return t.createElement(Vi,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[Gi.checkbox,o&&Gi.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:Ui(Gi,i,a),checkedIcon:t.createElement("span",{className:Gi.cbIconChecked})})}const $i=(0,wi.Z)((0,qe.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Wi=(0,wi.Z)((0,qe.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Hi=(0,yn.ZP)("span")({position:"relative",display:"flex"}),Ki=(0,yn.ZP)($i)({transform:"scale(1)"}),Xi=(0,yn.ZP)(Wi)((({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})}))),Yi=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,ce.Z)({},e,{checked:t});return(0,qe.jsxs)(Hi,{className:n.root,ownerState:o,children:[(0,qe.jsx)(Ki,{fontSize:r,className:n.background,ownerState:o}),(0,qe.jsx)(Xi,{fontSize:r,className:n.dot,ownerState:o})]})};var Qi=o(80062);const Ji=t.createContext(void 0);function el(e){return(0,At.Z)("MuiRadio",e)}const tl=(0,Tt.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),nl=["checked","checkedIcon","color","icon","name","onChange","size","className"],rl=(0,yn.ZP)(xi,{shouldForwardProp:e=>(0,yn.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,rr.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,dr.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&&{[`&.${tl.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${tl.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ol=(0,qe.jsx)(Yi,{checked:!0}),al=(0,qe.jsx)(Yi,{}),il=t.forwardRef((function(e,n){var r,o;const a=(0,gn.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=ol,color:s="primary",icon:c=al,name:u,onChange:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,nl),h=(0,ce.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,rr.Z)(n)}`]};return(0,ce.Z)({},t,(0,qn.Z)(r,el,t))})(h),y=t.useContext(Ji);let g=i;const v=(0,Qi.Z)(d,y&&y.onChange);let b=u;var E,C;return y&&(void 0===g&&(E=y.value,g="object"==typeof(C=a.value)&&null!==C?E===C:String(E)===String(C)),void 0===b&&(b=y.name)),(0,qe.jsx)(rl,(0,ce.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=al.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=ol.props.fontSize)?o:f}),ownerState:h,classes:q,name:b,checked:g,onChange:v,ref:n,className:(0,cn.Z)(q.root,p)},m))})),ll=il,sl="ListBoxRadioButton",cl={denseRadioButton:`${sl}-denseRadioButton`,radioButton:`${sl}-radioButton`},ul=(0,yn.ZP)(ll)((({theme:e,checked:t})=>({[`&.${cl.radioButton}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function dl({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(ul,{checked:n,onChange:e,value:r,name:r,className:cl.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const fl=function({label:e,color:n,dense:r,showGray:o=!0,checkboxes:a,cell:i,valueTextAlign:l}){return t.createElement(ur,{component:"span",variant:"body2",className:ai([Ua.labelText,r&&Ua.labelDense,o&&Ya({cell:i,checkboxes:a})&&Ua.excludedTextWithCheckbox]),color:n,align:l,dir:"auto"},t.createElement("span",null,e))},pl=function({label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?t.createElement(fl,{label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},ml=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(Zi,{onChange:e,label:n,checked:a,dense:i,excluded:Ka(l),isGridCol:s,showGray:c,dataN:o}),m=t.createElement(dl,{onChange:e,label:n,checked:a,dense:i,dataN:o});return t.createElement(bi,{color:r,control:u?m:p,className:Ua.checkboxLabel,label:t.createElement(pl,{label:n,color:r,dense:i,showGray:c,checkboxes:d,cell:l,valueTextAlign:f}),key:o})};function hl({labels:e,dense:n,showGray:r,checkboxes:o}){const a=e.map((([e,n],r)=>t.createElement("span",{id:r,className:n?Ua.highlighted:""},e)));return t.createElement(fl,{label:a,dense:n,showGray:r,checkboxes:o})}const ql=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(hl,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(ml,{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 yl({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(ml,{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(fl,{label:n,color:r,dense:i,showGray:!0,checkboxes:d,cell:l,valueTextAlign:f})}const gl=t.memo(yl);function vl(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=vl(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const bl=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=vl(e))&&(r&&(r+=" "),r+=t);return r};var El=o(4709),Cl=o(19782);const Sl=["className","component"];var Ol=o(93958);const Il=(0,xt.Z)(),Rl=function(e={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=(0,El.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Cl.Z);return t.forwardRef((function(e,t){const l=(0,ae.Z)(r),s=hn(e),{className:c,component:u="div"}=s,d=(0,dn.Z)(s,Sl);return(0,qe.jsx)(i,(0,de.Z)({as:u,ref:t,className:bl(c,a?a(o):o),theme:n&&l[n]||l},d))}))}({themeId:le.Z,defaultTheme:Il,defaultClassName:"MuiBox-root",generateClassName:Ol.Z.generate}),xl=Rl,wl=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===ii(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(xl,{className:ai([Ua.bar,r&&Ua.barWithCheckbox,o&&(r?Ua.barSelectedWithCheckbox:Ua.barSelected)])},t.createElement(xl,{className:"bar-filled",width:i}))},Nl=function({cell:e,checkboxes:n,dense:r,showGray:o}){const a=ii(e?.qFrequency);return t.createElement(Nn,{item:!0,style:{display:"flex",alignItems:"center"},className:Ua.frequencyCount,"aria-label":a},t.createElement(ur,{noWrap:!0,color:"inherit",variant:"body2",className:ai([r&&Ua.labelDense,Ua.labelText,o&&Ya({cell:e,checkboxes:n})&&Ua.excludedTextWithCheckbox])},a))};function Ll({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 _l=(0,yn.ZP)(Nn,{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{[`&.${Ua.fieldRoot}`]:{...Ll({dataLayout:e,layoutOrder:t,itemPadding:n}),[a]:r?"8px":void 0}}})),Tl={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 Al({layout:e}){const{translator:n}=(0,t.useContext)(Wt),{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 Pl=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===Pl.ARROW_UP||e===Pl.ARROW_DOWN||e===Pl.ARROW_LEFT||e===Pl.ARROW_RIGHT}),Dl=Pl,kl=e=>+e.getAttribute("data-n"),Ml=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},Fl=e=>{const t=e?.querySelector(".value.last-focused, .value.selector, .value");return t?.setAttribute("tabIndex",0),t?.focus(),t},Bl=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:E,actions:C,frequencyMax:S="",histogram:O=!1,keyboard:I,showGray:R=!0,showTick:x=!0,columnCount:w=1,rowCount:N=1,dataOffset:L,focusListItems:_,listCount:T,itemPadding:A,frequencyWidth:P,translator:D,showSearch:k,isModal:M}=a,{dense:F=!1,dataLayout:B="singleColumn",layoutOrder:j}=v;let z,G;const V={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===j?(z=n*w+r,V.max=N,V.currentIndex=n):(z=r*N+n,V.max=w,V.currentIndex=r);const e=0;G={...o,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else z=e,V.max=T,V.currentIndex=e,G={...o};z+=L;const[U,Z]=(0,t.useState)(null);(0,t.useEffect)((()=>{null!==U&&(0===V.currentIndex&&_.first&&(U.focus(),_.setFirst(!1)),V.currentIndex===V.max-1&&_.last&&(U.focus(),_.setLast(!1)))}),[U,_.first,_.last]);const $=(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===Dl.ARROW_LEFT||e===Dl.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===Dl.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 Dl.TAB:{const e=d.closest(".listbox-container"),t=s();if(d.classList.add("last-focused"),y){Ml(e)||(t?l.focusSelection():l.blur(!0));break}t?l.focusSelection():(d.blur(),l.blur());break}case Dl.SHIFT:q(!0);break;case Dl.SPACE:e([kl(d)],!1,c);break;case Dl.ARROW_DOWN:case Dl.ARROW_RIGHT:u=m(p,d,!0),y&&u&&(h&&(e([kl(d)],!0),q(!1)),e([kl(u)],!0));break;case Dl.ARROW_UP:case Dl.ARROW_LEFT:u=m(p,d,!1),y&&u&&(h&&(e([kl(d)],!0),q(!1)),e([kl(u)],!0));break;case Dl.ENTER:r();break;case Dl.ESCAPE:if(!s())return;o();break;case Dl.HOME:if(i.setFirst(!0),g){a?.("overflowStart");break}a?.("start");break;case Dl.END:if(i.setLast(!0),g){a?.("overflowEnd");break}a?.("end");break;case Dl.A:if(g||v){t();break}return;case Dl.F:if(g||v){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...C,focusListItems:_,keyboard:I,isModal:M,rowCount:N,columnCount:w,rowIndex:n,columnIndex:r,layoutOrder:j}),[C,I?.innerTabStops,N,w,n,r,j]),W=(0,t.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:p,cellIndex:z})),[p,z]),H="S"===W?.qState||"XS"===W?.qState||"L"===W?.qState||"XL"===W?.qState,K=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?Ua.column:Ua.row];return t||a.push(Ua.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?Ua.XS:Ua.S):"S"===r.qState||"L"===r.qState?a.push(Ua.S):o&&Xa(r)?a.push(Ua.A):o&&Ka(r)&&a.push(Ua.X)),a):[]})({column:h,histogram:O,checkboxes:q,cell:W,showGray:R})),[W?.qState,O,F,q]),X=(0,t.useCallback)((e=>{e.preventDefault()}),[q]);if(!W)return null;const Y=!["NaN",void 0].includes(W?.qNum);let Q;Q=!y||y.auto?Y?"rtl"===g?"left":"right":{rtl:"right",ltr:"left"}[g]:y?.align||"left";const J="grid"===B&&"column"===j,ee=W?.qText??"";let te;W.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,W.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const ne={alignItems:"center",display:"flex",fontSize:"8px"},re={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"rtl"===g?8:q?0:void 0,paddingRight:q?0:"rtl"===g?8:0,justifyContent:Q},oe=0===e,ae=q?"auto":"max-content",ie=H&&m,le=!q&&H&&!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=Tl[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:W.qState,currentIndex:V.currentIndex,maxIndex:V.max,showSearch:k});return t.createElement(ui,{className:Ua.barContainer,flexBasisProp:ae,style:G,isGridCol:J,isGridMode:"grid"===B,dense:F,frequencyWidth:P,direction:g,"data-testid":"listbox.item"},t.createElement(_l,{role:"row","aria-label":ue,"aria-selected":H,"aria-setsize":V.max,"aria-rowindex":V.currentIndex,ref:Z,container:!0,dataLayout:B,cellPaddingRight:ce,layoutOrder:j,itemPadding:A,gap:0,className:ai(["value",...K]),classes:{root:Ua.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:$,onTouchStart:d,onTouchEnd:f,onContextMenu:X,tabIndex:oe&&I.innerTabStops?0:-1,"data-n":W?.qElemNumber,direction:g},W?.qFrequency&&t.createElement(wl,{qFrequency:W?.qFrequency,histogram:O,checkboxes:q,isSelected:H,frequencyMax:S}),t.createElement(Nn,{item:!0,style:re,className:ai([Ua.cell,Ua.selectedCell]),title:`${ee}`},te?t.createElement(ql,{onChange:i,labels:te,checkboxes:q,dense:F,showGray:R,color:"inherit",qElemNumber:W.qElemNumber,isSelected:H,cell:W,isGridCol:J,isSingleSelect:E,valueTextAlign:Q}):t.createElement(gl,{onChange:i,label:ee,color:"inherit",qElemNumber:W.qElemNumber,isSelected:H,dense:F,cell:W,isGridCol:J,showGray:R,isSingleSelect:E,checkboxes:q,valueTextAlign:Q})),b&&t.createElement(Nl,{cell:W,checkboxes:q,dense:F,showGray:R}),se&&t.createElement(Nn,{item:!0,className:Ua.icon},ie&&t.createElement(nr,{style:ne,size:"small"}),le&&t.createElement(Ha,{style:ne,size:"small"}))))};var jl=o(49241),zl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Gl(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||zl(r)&&zl(o)))return!1;var r,o;return!0}const Vl=function(e,t){var n;void 0===t&&(t=Gl);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 Ul="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Zl(e){cancelAnimationFrame(e.id)}function $l(e,t){var n=Ul(),r={id:requestAnimationFrame((function o(){Ul()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Wl=-1;function Hl(e){if(void 0===e&&(e=!1),-1===Wl||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Wl=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Wl}var Kl=null;function Xl(e){if(void 0===e&&(e=!1),null===Kl||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?Kl="positive-descending":(t.scrollLeft=1,Kl=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Kl}return Kl}var Yl=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function Ql(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,yr(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:yr(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=Vl((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=Vl((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=Vl((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(Xl()){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&&Zl(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=$l(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}vr(n,e),n.getDerivedStateFromProps=function(e,t){return Jl(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=Hl();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(Xl()){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&&Zl(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?Yl:p,h=e.outerElementType,q=e.outerTagName,y=e.rowCount,g=e.style,v=e.useIsScrolling,b=e.width,E=this.state.isScrolling,C=this._getHorizontalRangeToRender(),S=C[0],O=C[1],I=this._getVerticalRangeToRender(),R=I[0],x=I[1],w=[];if(o>0&&y)for(var N=R;N<=x;N++)for(var L=S;L<=O;L++)w.push((0,t.createElement)(n,{columnIndex:L,data:f,isScrolling:v?E:void 0,key:m({columnIndex:L,data:f,rowIndex:N}),rowIndex:N,style:this._getItemStyle(N,L)}));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:qr({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,t.createElement)(u||d||"div",{children:w,ref:c,style:{height:_,pointerEvents:E?"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 Jl=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},es=function(e,t){return e};function ts(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,yr(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:yr(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Vl((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Vl((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=Vl((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(Xl()){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&&Zl(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=$l(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}vr(n,e),n.getDerivedStateFromProps=function(e,t){return ns(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?Hl():0:s.scrollHeight>s.clientHeight?Hl():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(Xl()){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&&Zl(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?es:f,m=e.layout,h=e.outerElementType,q=e.outerTagName,y=e.style,g=e.useIsScrolling,v=e.width,b=this.state.isScrolling,E="horizontal"===a||"horizontal"===m,C=E?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 w=o(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:C,ref:this._outerRefSetter,style:qr({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:E?"100%":w,pointerEvents:b?"none":void 0,width:E?w:"100%"}}))},f._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},f._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,i,this._instanceProps),u=s(this.props,c,i,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),f=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]},n}(t.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var ns=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},rs=Ql({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}}),os=ts({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 as="#BBB",is="#f1f1f1",ls={styledScrollbars:"ListBox-styledScrollbars"},ss=(e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,cs=(e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,us=(e,t,n,r)=>e===t*n+r+n;function ds({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=ss(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=us(i,c,s?o:r,l),p=!!l&&cs(e,s),m=d&&!f&&c>=u-1||p||a.state.show;a.set(m)}function fs(){return fs=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},fs.apply(this,arguments)}const{StyledFixedSizeList:ps,StyledFixedSizeGrid:ms}=function(){const e=e=>({scrollbarColor:`${as} ${is}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:is},"&::-webkit-scrollbar-thumb":{backgroundColor:as,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,jl.Z)(os,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${ls.styledScrollbars}`]:e(t)}))),StyledFixedSizeGrid:(0,jl.Z)(rs,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${ls.styledScrollbars}`]:e(t)})))}}();const hs=e=>{const n=(0,t.useMemo)((()=>"text"in e?e:{}),[e]);return(0,t.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();return n.font=t,Array.isArray(e)?Math.max(...e.map((e=>n.measureText(e).width))):n.measureText(e).width})(n.text,n.font||"14px Source Sans Pro")),[n.text,n.font])};function qs(e){if(!e)return"";const t=e.qListObject.qDimensionInfo.qApprMaxGlyphCount;let n="";for(let e=0;e<t;e++)n+="M";return n}const ys=({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},[gs,vs]=Ht({});function bs(e){const t=`${e.id}`,[n]=gs();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function Es(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Cs(e){return e instanceof Es(e).Element||e instanceof Element}function Ss(e){return e instanceof Es(e).HTMLElement||e instanceof HTMLElement}function Os(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Es(e).ShadowRoot||e instanceof ShadowRoot)}var Is=Math.max,Rs=Math.min,xs=Math.round;function ws(){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 Ns(){return!/^((?!chrome|android).)*safari/i.test(ws())}function Ls(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ss(e)&&(o=e.offsetWidth>0&&xs(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&xs(r.height)/e.offsetHeight||1);var i=(Cs(e)?Es(e):window).visualViewport,l=!Ns()&&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 _s(e){var t=Es(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ts(e){return e?(e.nodeName||"").toLowerCase():null}function As(e){return((Cs(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ps(e){return Ls(As(e)).left+_s(e).scrollLeft}function Ds(e){return Es(e).getComputedStyle(e)}function ks(e){var t=Ds(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ms(e,t,n){void 0===n&&(n=!1);var r=Ss(t),o=Ss(t)&&function(e){var t=e.getBoundingClientRect(),n=xs(t.width)/e.offsetWidth||1,r=xs(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=As(t),i=Ls(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Ts(t)||ks(a))&&(l=function(e){return e!==Es(e)&&Ss(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:_s(e);var t}(t)),Ss(t)?((s=Ls(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Ps(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Fs(e){var t=Ls(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 Bs(e){return"html"===Ts(e)?e:e.assignedSlot||e.parentNode||(Os(e)?e.host:null)||As(e)}function js(e){return["html","body","#document"].indexOf(Ts(e))>=0?e.ownerDocument.body:Ss(e)&&ks(e)?e:js(Bs(e))}function zs(e,t){var n;void 0===t&&(t=[]);var r=js(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Es(r),i=o?[a].concat(a.visualViewport||[],ks(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(zs(Bs(i)))}function Gs(e){return["table","td","th"].indexOf(Ts(e))>=0}function Vs(e){return Ss(e)&&"fixed"!==Ds(e).position?e.offsetParent:null}function Us(e){for(var t=Es(e),n=Vs(e);n&&Gs(n)&&"static"===Ds(n).position;)n=Vs(n);return n&&("html"===Ts(n)||"body"===Ts(n)&&"static"===Ds(n).position)?t:n||function(e){var t=/firefox/i.test(ws());if(/Trident/i.test(ws())&&Ss(e)&&"fixed"===Ds(e).position)return null;var n=Bs(e);for(Os(n)&&(n=n.host);Ss(n)&&["html","body"].indexOf(Ts(n))<0;){var r=Ds(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 Zs="top",$s="bottom",Ws="right",Hs="left",Ks="auto",Xs=[Zs,$s,Ws,Hs],Ys="start",Qs="end",Js="viewport",ec="popper",tc=Xs.reduce((function(e,t){return e.concat([t+"-"+Ys,t+"-"+Qs])}),[]),nc=[].concat(Xs,[Ks]).reduce((function(e,t){return e.concat([t,t+"-"+Ys,t+"-"+Qs])}),[]),rc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function oc(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 ac={placement:"bottom",modifiers:[],strategy:"absolute"};function ic(){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 lc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ac:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},ac,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:Cs(e)?zs(e):e.contextElement?zs(e.contextElement):[],popper:zs(t)};var i,c,f=function(e){var t=oc(e);return rc.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(ic(t,n)){l.rects={reference:Ms(t,Us(n),"fixed"===l.options.strategy),popper:Fs(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(!ic(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 sc={passive:!0};function cc(e){return e.split("-")[0]}function uc(e){return e.split("-")[1]}function dc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fc(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?cc(o):null,i=o?uc(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Zs:t={x:l,y:n.y-r.height};break;case $s:t={x:l,y:n.y+n.height};break;case Ws:t={x:n.x+n.width,y:s};break;case Hs:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?dc(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ys:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Qs:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var pc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mc(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=Hs,b=Zs,E=window;if(c){var C=Us(n),S="clientHeight",O="clientWidth";C===Es(n)&&"static"!==Ds(C=As(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===Zs||(o===Hs||o===Ws)&&a===Qs)&&(b=$s,h-=(d&&C===E&&E.visualViewport?E.visualViewport.height:C[S])-r.height,h*=s?1:-1),o!==Hs&&(o!==Zs&&o!==$s||a!==Qs)||(v=Ws,p-=(d&&C===E&&E.visualViewport?E.visualViewport.width:C[O])-r.width,p*=s?1:-1)}var I,R=Object.assign({position:l},c&&pc),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:xs(n*o)/o||0,y:xs(r*o)/o||0}}({x:p,y:h},Es(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=(E.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 hc={left:"right",right:"left",bottom:"top",top:"bottom"};function qc(e){return e.replace(/left|right|bottom|top/g,(function(e){return hc[e]}))}var yc={start:"end",end:"start"};function gc(e){return e.replace(/start|end/g,(function(e){return yc[e]}))}function vc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Os(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function bc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ec(e,t,n){return t===Js?bc(function(e,t){var n=Es(e),r=As(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Ns();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Ps(e),y:s}}(e,n)):Cs(t)?function(e,t){var n=Ls(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):bc(function(e){var t,n=As(e),r=_s(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Is(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Is(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Ps(e),s=-r.scrollTop;return"rtl"===Ds(o||n).direction&&(l+=Is(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(As(e)))}function Cc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Sc(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Oc(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?Js:c,d=n.elementContext,f=void 0===d?ec:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,q=void 0===h?0:h,y=Cc("number"!=typeof q?q:Sc(q,Xs)),g=f===ec?"reference":ec,v=e.rects.popper,b=e.elements[m?g:f],E=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=zs(Bs(e)),n=["absolute","fixed"].indexOf(Ds(e).position)>=0&&Ss(e)?Us(e):e;return Cs(n)?t.filter((function(e){return Cs(e)&&vc(e,n)&&"body"!==Ts(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Ec(e,n,r);return t.top=Is(o.top,t.top),t.right=Rs(o.right,t.right),t.bottom=Rs(o.bottom,t.bottom),t.left=Is(o.left,t.left),t}),Ec(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}(Cs(b)?b:b.contextElement||As(e.elements.popper),s,u,i),C=Ls(e.elements.reference),S=fc({reference:C,element:v,strategy:"absolute",placement:o}),O=bc(Object.assign({},v,S)),I=f===ec?O:C,R={top:E.top-I.top+y.top,bottom:I.bottom-E.bottom+y.bottom,left:E.left-I.left+y.left,right:I.right-E.right+y.right},x=e.modifiersData.offset;if(f===ec&&x){var w=x[o];Object.keys(R).forEach((function(e){var t=[Ws,$s].indexOf(e)>=0?1:-1,n=[Zs,$s].indexOf(e)>=0?"y":"x";R[e]+=w[n]*t}))}return R}function Ic(e,t,n){return Is(e,Rs(t,n))}function Rc(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 xc(e){return[Zs,Ws,$s,Hs].some((function(t){return e[t]>=0}))}var wc=lc({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=Es(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,sc)})),l&&s.addEventListener("resize",n.update,sc),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,sc)})),l&&s.removeEventListener("resize",n.update,sc)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=fc({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:cc(t.placement),variation:uc(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,mc(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,mc(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];Ss(o)&&Ts(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}),{});Ss(r)&&Ts(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=nc.reduce((function(e,n){return e[n]=function(e,t,n){var r=cc(e),o=[Hs,Zs].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,[Hs,Ws].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=cc(q),g=s||(y!==q&&m?function(e){if(cc(e)===Ks)return[];var t=qc(e);return[gc(e),t,gc(t)]}(q):[qc(q)]),v=[q].concat(g).reduce((function(e,n){return e.concat(cc(n)===Ks?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?nc:s,u=uc(r),d=u?l?tc:tc.filter((function(e){return uc(e)===u})):Xs,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]=Oc(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[cc(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,E=t.rects.popper,C=new Map,S=!0,O=v[0],I=0;I<v.length;I++){var R=v[I],x=cc(R),w=uc(R)===Ys,N=[Zs,$s].indexOf(x)>=0,L=N?"width":"height",_=Oc(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),T=N?w?Ws:Hs:w?$s:Zs;b[L]>E[L]&&(T=qc(T));var A=qc(T),P=[];if(a&&P.push(_[x]<=0),l&&P.push(_[T]<=0,_[A]<=0),P.every((function(e){return e}))){O=R,S=!1;break}C.set(R,P)}if(S)for(var D=function(e){var t=v.find((function(t){var n=C.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=Oc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),y=cc(t.placement),g=uc(t.placement),v=!g,b=dc(y),E="x"===b?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,I="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,R="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,w={x:0,y:0};if(C){if(a){var N,L="y"===b?Zs:Hs,_="y"===b?$s:Ws,T="y"===b?"height":"width",A=C[b],P=A+q[L],D=A-q[_],k=p?-O[T]/2:0,M=g===Ys?S[T]:O[T],F=g===Ys?-O[T]:-S[T],B=t.elements.arrow,j=p&&B?Fs(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[L],V=z[_],U=Ic(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&&Us(t.elements.arrow),H=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(N=null==x?void 0:x[b])?N:0,X=A+$-K,Y=Ic(p?Rs(P,A+Z-K-H):P,A,p?Is(D,X):D);C[b]=Y,w[b]=Y-A}if(l){var Q,J="x"===b?Zs:Hs,ee="x"===b?$s:Ws,te=C[E],ne="y"===E?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[Zs,Hs].indexOf(y),ie=null!=(Q=null==x?void 0:x[E])?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=Ic(e,t,n);return r>n?n:r}(le,te,se):Ic(p?le:re,te,p?se:oe);C[E]=ce,w[E]=ce-te}t.modifiersData[r]=w}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=cc(n.placement),s=dc(l),c=[Hs,Ws].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Cc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Sc(e,Xs))}(o.padding,n),d=Fs(a),f="y"===s?Zs:Hs,p="y"===s?$s:Ws,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],q=Us(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],E=y/2-d[c]/2+g,C=Ic(v,E,b),S=s;n.modifiersData[r]=((t={})[S]=C,t.centerOffset=C-E,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)))&&vc(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=Oc(t,{elementContext:"reference"}),l=Oc(t,{altBoundary:!0}),s=Rc(i,r),c=Rc(l,o,a),u=xc(s),d=xc(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 Nc(e){return(0,At.Z)("MuiPopper",e)}(0,Tt.Z)("MuiPopper",["root"]);const Lc=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],_c=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Tc(e){return"function"==typeof e?e():e}const Ac={},Pc=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=Ro(e,Lc),y=t.useRef(null),g=(0,xo.Z)(y,n),v=t.useRef(null),b=(0,xo.Z)(v,f),E=t.useRef(b);(0,_o.Z)((()=>{E.current=b}),[b]),t.useImperativeHandle(f,(()=>v.current),[]);const C=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(C),[I,R]=t.useState(Tc(o));t.useEffect((()=>{v.current&&v.current.forceUpdate()})),t.useEffect((()=>{o&&R(Tc(o))}),[o]),(0,_o.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=wc(I,y.current,Io({placement:C},d,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[I,l,s,c,d,C]);const x={placement:S};null!==h&&(x.TransitionProps=h);const w=(0,qn.Z)({root:["root"]},ta(Nc)),N=null!=(r=m.root)?r:"div",L=Qo({elementType:N,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:g},ownerState:e,className:w.root});return(0,qe.jsx)(N,Io({},L,{children:"function"==typeof a?a(x):a}))})),Dc=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=Ac,popperRef:p,style:m,transition:h=!1,slotProps:q={},slots:y={}}=e,g=Ro(e,_c),[v,b]=t.useState(!0);if(!s&&!u&&(!h||v))return null;let E;if(a)E=a;else if(r){const e=Tc(r);E=e&&void 0!==e.nodeType?(0,wo.Z)(e).body:(0,wo.Z)(null).body}const C=u||!s||h&&!v?void 0:"none",S=h?{in:u,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0;return(0,qe.jsx)(Ao,{disablePortal:l,container:E,children:(0,qe.jsx)(Pc,Io({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:Io({position:"fixed",top:0,left:0,display:C},m),TransitionProps:S,children:o}))})})),kc=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Mc=(0,yn.ZP)(Dc,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fc=t.forwardRef((function(e,t){var n;const r=(0,ve.Z)(),o=(0,gn.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,kc),E=null!=(n=null==g?void 0:g.root)?n:null==l?void 0:l.Root,C=(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,qe.jsx)(Mc,(0,ce.Z)({as:i,direction:null==r?void 0:r.direction,slots:{root:E},slotProps:null!=v?v:s},C,{ref:t}))}));var Bc=o(13212);function jc(e){return(0,At.Z)("MuiTooltip",e)}const zc=(0,Tt.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Gc=["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"],Vc=(0,yn.ZP)(Fc,{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"] .${zc.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${zc.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${zc.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"] .${zc.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"}})}))),Uc=(0,yn.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,rr.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,dr.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},{[`.${zc.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"})),[`.${zc.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"})),[`.${zc.popper}[data-popper-placement*="top"] &`]:(0,ce.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${zc.popper}[data-popper-placement*="bottom"] &`]:(0,ce.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Zc=(0,yn.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,dr.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let $c=!1,Wc=null,Hc={x:0,y:0};function Kc(e,t){return n=>{t&&t(n),e(n)}}const Xc=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,m,h,q,y,g,v,b,E;const C=(0,gn.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:w=!1,disableHoverListener:N=!1,disableInteractive:L=!1,disableTouchListener:_=!1,enterDelay:T=100,enterNextDelay:A=0,enterTouchDelay:P=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:z,placement:G="bottom",PopperComponent:V,PopperProps:U={},slotProps:Z={},slots:$={},title:W,TransitionComponent:H=Oo,TransitionProps:K}=C,X=(0,ue.Z)(C,Gc),Y=se(),Q="rtl"===Y.direction,[J,ee]=t.useState(),[te,ne]=t.useState(null),re=t.useRef(!1),oe=L||D,ae=t.useRef(),ie=t.useRef(),le=t.useRef(),de=t.useRef(),[fe,pe]=(0,Ei.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"});let me=fe;const he=(0,Bc.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(Wc),$c=!0,pe(!0),j&&!me&&j(e)},be=(0,pr.Z)((e=>{clearTimeout(Wc),Wc=setTimeout((()=>{$c=!1}),800+M),pe(!1),B&&me&&B(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Y.transitions.duration.shortest)})),Ee=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(ie.current),clearTimeout(le.current),T||$c&&A?ie.current=setTimeout((()=>{ve(e)}),$c?A:T):ve(e))},Ce=e=>{clearTimeout(ie.current),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),M)},{isFocusVisibleRef:Se,onBlur:Oe,onFocus:Ie,ref:Re}=(0,mr.Z)(),[,xe]=t.useState(!1),we=e=>{Oe(e),!1===Se.current&&(xe(!1),Ce(e))},Ne=e=>{J||ee(e.currentTarget),Ie(e),!0===Se.current&&(xe(!0),Ee(e))},Le=e=>{re.current=!0;const t=O.props;t.onTouchStart&&t.onTouchStart(e)},_e=Ee,Te=Ce;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 Ae=(0,fr.Z)(O.ref,Re,ee,n);W||0===W||(me=!1);const Pe=t.useRef(),De={},ke="string"==typeof W;x?(De.title=me||!ke||N?null:W,De["aria-describedby"]=me?he:null):(De["aria-label"]=ke?W:null,De["aria-labelledby"]=me&&!ke?he:null);const Me=(0,ce.Z)({},De,X,O.props,{className:(0,cn.Z)(X.className,O.props.className),onTouchStart:Le,ref:Ae},D?{onMouseMove:e=>{const t=O.props;t.onMouseMove&&t.onMouseMove(e),Hc={x:e.clientX,y:e.clientY},Pe.current&&Pe.current.update()}}:{}),Fe={};_||(Me.onTouchStart=e=>{Le(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,Ee(e)}),P)},Me.onTouchEnd=e=>{O.props.onTouchEnd&&O.props.onTouchEnd(e),ge(),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),F)}),N||(Me.onMouseOver=Kc(_e,Me.onMouseOver),Me.onMouseLeave=Kc(Te,Me.onMouseLeave),oe||(Fe.onMouseOver=_e,Fe.onMouseLeave=Te)),w||(Me.onFocus=Kc(Ne,Me.onFocus),Me.onBlur=Kc(we,Me.onBlur),oe||(Fe.onFocus=Ne,Fe.onBlur=we));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)({},C,{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,rr.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,qn.Z)(i,jc,t)})(je),Ge=null!=(r=null!=(o=$.popper)?o:I.Popper)?r:Vc,Ve=null!=(a=null!=(i=null!=(l=$.transition)?l:I.Transition)?i:H)?a:Oo,Ue=null!=(s=null!=(c=$.tooltip)?c:I.Tooltip)?s:Uc,Ze=null!=(u=null!=(d=$.arrow)?d:I.Arrow)?u:Zc,$e=$o(Ge,(0,ce.Z)({},U,null!=(f=Z.popper)?f:R.popper,{className:(0,cn.Z)(ze.popper,null==U?void 0:U.className,null==(p=null!=(m=Z.popper)?m:R.popper)?void 0:p.className)}),je),We=$o(Ve,(0,ce.Z)({},K,null!=(h=Z.transition)?h:R.transition),je),He=$o(Ue,(0,ce.Z)({},null!=(q=Z.tooltip)?q:R.tooltip,{className:(0,cn.Z)(ze.tooltip,null==(y=null!=(g=Z.tooltip)?g:R.tooltip)?void 0:y.className)}),je),Ke=$o(Ze,(0,ce.Z)({},null!=(v=Z.arrow)?v:R.arrow,{className:(0,cn.Z)(ze.arrow,null==(b=null!=(E=Z.arrow)?E:R.arrow)?void 0:b.className)}),je);return(0,qe.jsxs)(t.Fragment,{children:[t.cloneElement(O,Me),(0,qe.jsx)(Ge,(0,ce.Z)({as:null!=V?V:Fc,placement:G,anchorEl:D?{getBoundingClientRect:()=>({top:Hc.y,left:Hc.x,right:Hc.x,bottom:Hc.y,width:0,height:0})}:J,popperRef:Pe,open:!!J&&me,id:he,transition:!0},Fe,$e,{popperOptions:Be,children:({TransitionProps:e})=>(0,qe.jsx)(Ve,(0,ce.Z)({timeout:Y.transitions.duration.shorter},e,We,{children:(0,qe.jsxs)(Ue,(0,ce.Z)({},He,{children:[W,S?(0,qe.jsx)(Ze,(0,ce.Z)({},Ke,{ref:ne})):null]}))}))}))]})})),Yc=Xc,Qc=(0,yn.ZP)(ur,{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 Jc({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(Wt);return t.createElement(Yc,{title:o?a.get(n):""},t.createElement(Qc,{width:e,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var eu=o(79246);const tu=(0,yn.ZP)(Ia)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),nu=(0,yn.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),ru=(0,yn.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),ou=(0,yn.ZP)(eu.Z)((()=>({fontSize:"14px"})));function au({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(tu,{left:l,style:{maxWidth:i}},t.createElement(nu,null,t.createElement(Jc,{text:e,dense:r,width:s,tooltip:c})),t.createElement(ru,{dense:r},a&&t.createElement(ro,{"aria-label":"close",onClick:()=>n()},t.createElement(ou,null))))}const iu=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t,lu=80;function su({itemWidth:e,layout:t,frequencyMode:n}){const r=e>lu,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["none",void 0].includes(n);return!(!r||!a&&!o)}const cu=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}))`},uu=(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=cu(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}},du=100,fu=(0,yn.ZP)("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function pu({model:e,app:n,constraints:r,layout:o,selections:a,selectionState:i,direction:l,checkboxes:s,height:c,width:u,frequencyMode:d,update:f,fetchStart:p,postProcessPages:m,calculatePagesHeight:h=!1,keyboard:q={},showGray:y=!0,scrollState:g,selectDisabled:v=(()=>!1),keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:E={set:()=>{}},renderedCallback:C,onCtrlF:S,showSearch:O,isModal:I}){const{translator:R}=(0,t.useContext)(Wt),[x,w]=(0,t.useState)(!1),N=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:L=s,histogram:_}=o??{},T=(0,t.useRef)(null),A=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),P=(0,t.useRef)({pages:[]}),{frequencyMax:D,awaitingFrequencyMax:k}=uu(n,o),{isLoadingData:M,...F}=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:A,loaderRef:T,model:e,fetchStart:p,scrollTimeout:0,postProcessPages:m,listData:P}),{setStoreValue:B}=bs(e),j=(0,t.useCallback)(F.loadMoreItems,[o]),[z,G]=(0,t.useState)({show:!1,dismissed:!1}),[V,U]=(0,t.useState)([]);F?.pages&&i.update({setPages:U,pages:F.pages,isSingleSelect:N,selectDisabled:v,layout:o});const Z=o?.qListObject.qDimensionInfo.qCardinal;(F?.pages.length&&!k||0===Z)&&C?.();const $=(0,t.useCallback)((e=>{if(!V?.length||!A.current.validPages)return!1;A.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=V.filter((e=>t(e)))[0];return n&&t(n)}),[o,V]),{interactionEvents:W,select:H}=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(),Ga({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 za(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&&$a(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&&$a(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(Za)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Za)?.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&&$a(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(t,r,i),e.setSelectableValuesUpdating(),Ga({selections:n,elemNumbers:r?i:t,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:i,selections:a,checkboxes:L,doc:document,loaderRef:T}),{layoutOptions:K={}}=o||{};let X=!0;K.dataLayout&&(X="singleColumn"===K.dataLayout||"row"===K?.layoutOrder);const Y="grid"===K?.dataLayout,Q=e=>{const t={...X?{rowIndex:e}:{columnIndex:e}},n=Y?t:e;T.current._listRef.scrollToItem(n)},J=()=>{if(A.current.queue=[],A.current.validPages=!1,T.current){T.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());A.current.dataOffset=0,Q(0)}};f&&f.call(null,J),(0,t.useEffect)((()=>{g&&!x&&T.current&&(T.current._listRef.scrollToItem(g.initScrollPos),w(!0))}),[T.current]),(0,t.useEffect)((()=>{J()}),[o,A.current.dataOffset]);const ee=hs({text:qs(o),font:"14px Source sans pro"});let te=du;const ne="grid"!==K.dataLayout,re=o?.qListObject.qSize?.qcy,oe=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){return(e?.length&&r?ys({pages:e,minimumBatchSize:t,count:n}):n)||0}({pages:V,minimumBatchSize:te,count:re,calculatePagesHeight:h,layoutOptions:K,model:e});let ae=su({itemWidth:u,layout:o,frequencyMode:d});const ie=function({layout:e,width:t,height:n,listCount:r,count:o,textWidth:a,freqIsAllowed:i,checkboxes:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,m=i?ni:0,h=l?oi:0;let q=ri+m+h;!l&&q>=Ja&&(q+=oi);let y,g,v,b,E=a+18+m+h;!l&&E>=Ja&&(E+=oi),E=Math.min(ti,Math.max(E,q));const C="grid"===p;let S=f?20:C?32:29;C&&(S+=4);const O=n??8*S;if(c){let e=t;"row"===c?(y={overflowX:"hidden"},e+=8,({rowCount:b,columnWidth:v,columnCount:g}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-ei;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:E,itemMinWidth:q}))):(y={overflowY:"hidden"},({rowCount:b,columnWidth:v,columnCount:g}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:S,listCount:r,listHeight:O,columnAutoWidth:E,containerWidth:e,itemMinWidth:q})))}g=("singleColumn"===p?1:g)||1,b=("singleColumn"===p?o:b)||r;const I=s.dense?838e3:577e3;b=Math.min(b,I);const R=Math.floor(3355e4/v);g=Math.min(g,R)||1;const x=b*g,w=Math.min(r,x);return{columnCount:g,columnWidth:v,rowCount:b,overflowStyling:y,itemHeight:S,listHeight:O,scrollBarWidth:ei,count:o,listCount:w,maxCount:{row:I,column:R},itemPadding:4,frequencyWidth:ni}}({layout:o,width:u,height:c,listCount:oe,count:re,textWidth:ee,freqIsAllowed:ae,checkboxes:L});ie.columnWidth&&(ae=su({itemWidth:ie.columnWidth,layout:o,frequencyMode:d}));const{listCount:le}=ie;B("listCount",le);const se=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=iu(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:X,sizes:ie,layout:o,offset:A.current.dataOffset});A.current.dataOffset=n,r&&i.triggerStateChanged(),Q(t)};(0,t.useEffect)((()=>{const e=b.state;e.up?Q(E.state.start-e.up):e.down?Q(E.state.stop+e.down):e.scrollPosition&&se(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:ce}=o?.qListObject.qDimensionInfo||{},[ue,de]=(0,t.useState)({first:!1,last:!1}),{List:fe,Grid:pe}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,frequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:m,textAlign:h,selections:q,keyboard:y,showGray:g,scrollState:v,direction:b,sizes:E,listCount:C,overflowDisclaimer:S,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:R,constraints:x,frequencyMax:w,freqIsAllowed:N,translator:L,showSearch:_,isModal:T}){const{layoutOptions:A={}}=e||{},{columnWidth:P,itemPadding:D,listHeight:k,itemHeight:M,rowCount:F,columnCount:B,frequencyWidth:j}=E||{},z=("grid"===A.dataLayout?P:n)>Ja,G={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:ls.styledScrollbars},V=e?.qListObject.qDimensionInfo.qLocked,U={isLocked:V,column:!a,pages:i,...V||l()?{}:s,checkboxes:r,layoutOptions:A,frequencyMode:c,freqIsAllowed:N,isSingleSelect:d,textAlign:h,itemPadding:D,frequencyWidth:j,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:m},frequencyMax:w,histogram:u,keyboard:y,showGray:g,showTick:z,dataOffset:o.current.dataOffset,focusListItems:I,direction:b,translator:L,showSearch:_,isModal:T};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(ps,fs({},G,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:k,width:n,itemCount:C,itemData:{...U,listCount:C},itemSize:M,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),ds({renderProps:t,layoutOptions:A,maxCount:E.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Bl)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=E,{layoutOrder:s}=A||{},c=Math.min(k,F*M+l);return o.current.listRef=a,t.createElement(ms,fs({},G,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:B,columnWidth:P,rowCount:F,rowHeight:M,style:{...i},itemData:{...U,column:void 0,columnCount:B,rowCount:F},onItemsRendered:t=>{const n="row"===s;R({start:n?t.visibleRowStartIndex:t.visibleColumnStartIndex,stop:n?t.visibleRowStopIndex:t.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,f,p,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:F,columnCount:B});ds({renderProps:t,layoutOptions:A,maxCount:E.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Bl)}}}({direction:l,layout:o,height:c,width:u,checkboxes:L,frequencyMode:d,histogram:_,keyboard:q,showGray:y,interactionEvents:W,select:H,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:ce,isVertical:ne,pages:V,selectDisabled:v,isSingleSelect:N,selections:a,scrollState:g,local:A,sizes:ie,listCount:le,overflowDisclaimer:{state:z,set:e=>G((t=>({...t,show:e})))},setScrollPosition:se,focusListItems:{first:ue.first,setFirst:e=>de((t=>({...t,first:e}))),last:ue.last,setLast:e=>de((t=>({...t,last:e})))},setCurrentScrollIndex:E.set,constraints:r,frequencyMax:D,freqIsAllowed:ae,translator:R,showSearch:O,isModal:I}),{columnWidth:me,listHeight:he,itemHeight:qe}=ie||{};return ne||(te=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:me,listHeight:he,itemHeight:qe})),t.createElement(fu,null,t.createElement(Al,{className:"screenReaderOnly",layout:o}),!le&&Z>0&&t.createElement(Jc,{width:u,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(Ba,{isItemLoaded:$,itemCount:le||1,loadMoreItems:j.with({minimumBatchSize:te}),threshold:0,minimumBatchSize:te,ref:T,role:"grid"},ne?fe:pe),z.show&&!z.dismissed&&t.createElement(au,{text:"Listbox.ItemsOverflow",dismiss:()=>G((e=>({...e,dismissed:!0}))),parentWidth:T?.current?._listRef?.props?.width,dense:K?.dense}))}const mu=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"}}]}),hu=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"}}]}),qu=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"}}]}),yu=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"}}]}),gu=({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:mu,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:qu,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:hu,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:yu,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean);function vu(e){return(0,At.Z)("MuiDivider",e)}const bu=(0,Tt.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Eu=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Cu=(0,yn.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,dr.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%"}}))),Su=(0,yn.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)`}))),Ou=t.forwardRef((function(e,t){const n=(0,gn.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,Eu),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,qn.Z)(c,vu,r)})(m);return(0,qe.jsx)(Cu,(0,ce.Z)({as:i,className:(0,cn.Z)(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?(0,qe.jsx)(Su,{className:h.wrapper,ownerState:m,children:o}):null}))})),Iu=Ou,Ru=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 xu(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 wu={className:"njs-cell-action"},Nu=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=se(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=xu(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(ro,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:f,onKeyUp:p,disabled:l,style:s,className:[wu.className,m].join(" "),size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":m},c&&er(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Lu=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"}}]}),_u=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"}}]}),Tu=e=>er(_u(e)),Au=t.createContext({});var Pu=o(18974);function Du(e){return(0,At.Z)("MuiListItemIcon",e)}const ku=(0,Tt.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Mu=(0,Tt.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Fu(e){return(0,At.Z)("MuiMenuItem",e)}const Bu=(0,Tt.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ju=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],zu=(0,yn.ZP)(Yr,{shouldForwardProp:e=>(0,yn.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"}},[`&.${Bu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Bu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Bu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dr.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,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Bu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Bu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bu.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bu.inset}`]:{marginLeft:52},[`& .${Mu.root}`]:{marginTop:0,marginBottom:0},[`& .${Mu.inset}`]:{paddingLeft:36},[`& .${ku.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,{[`& .${ku.root} svg`]:{fontSize:"1.25rem"}})))),Gu=t.forwardRef((function(e,n){const r=(0,gn.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,ju),m=t.useContext(Au),h=t.useMemo((()=>({dense:i||m.dense||!1,disableGutters:s})),[m.dense,i,s]),q=t.useRef(null);(0,Pu.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,qn.Z)(l,Fu,i);return(0,ce.Z)({},i,s)})(r),v=(0,fr.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,qe.jsx)(Au.Provider,{value:h,children:(0,qe.jsx)(zu,(0,ce.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,cn.Z)(g.focusVisible,c),className:(0,cn.Z)(g.root,f)},p,{ownerState:y,classes:g}))})})),Vu=Gu,Uu=["className"],Zu=(0,yn.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}))),$u=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,ue.Z)(r,Uu),i=t.useContext(Au),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,qn.Z)(r,Du,n)})(l);return(0,qe.jsx)(Zu,(0,ce.Z)({className:(0,cn.Z)(s.root,o),ownerState:l,ref:n},a))})),Wu=$u;function Hu(e){return(0,At.Z)("MuiList",e)}o(96506),(0,Tt.Z)("MuiList",["root","padding","dense","subheader"]);const Ku=["children","className","component","dense","disablePadding","subheader"],Xu=(0,yn.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}))),Yu=t.forwardRef((function(e,n){const r=(0,gn.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,Ku),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,qn.Z)(a,Hu,t)})(f);return(0,qe.jsx)(Au.Provider,{value:d,children:(0,qe.jsxs)(Xu,(0,ce.Z)({as:i,className:(0,cn.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),Qu=Yu,Ju=Do,ed=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function td(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function nd(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function rd(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 od(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")&&rd(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const ad=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,ed),p=t.useRef(null),m=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Pu.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=`${Ju((0,io.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,fr.Z)(p,n);let q=-1;t.Children.forEach(i,((e,n)=>{t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=n),q===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1)))}));const 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,qe.jsx)(Qu,(0,ce.Z)({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,io.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),od(t,r,c,s,td);else if("ArrowUp"===n)e.preventDefault(),od(t,r,c,s,nd);else if("Home"===n)e.preventDefault(),od(t,null,c,s,td);else if("End"===n)e.preventDefault(),od(t,null,c,s,nd);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&&rd(r,o);o.previousKeyMatched&&(l||od(t,r,!1,s,td,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:y}))}));function id(){return id=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},id.apply(this,arguments)}const ld="More-icon",sd=(0,yn.ZP)(ka)((({theme:e})=>({pointerEvents:"none",[`& .${ld}`]:{color:e.palette.text.primary}})));function cd({item:e,autoFocus:n,onActionClick:r=(()=>{})}){const{hidden:o,disabled:a,hasSvgIconShape:i}=xu(e);return o?null:t.createElement(Vu,{autoFocus:n,title:e.label,onClick:()=>{e.action(),r()},disabled:a,tabindex:"0"},i&&t.createElement(Wu,{className:ld},er(e.getSvgIconShape())),t.createElement(ur,{noWrap:!0},e.label))}const ud=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(sd,id({},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(ad,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(cd,{key:n,item:e,autoFocus:n===c,onActionClick:i})))))})),dd="ActionsToolbar",fd={item:`${dd}-item`,itemSpacing:`${dd}-itemSpacing`,firstItemSpacing:`${dd}-firstItemSpacing`,lastItemSpacing:`${dd}-lastItemSpacing`},pd=(0,yn.ZP)(ka)((({theme:e})=>({[`& .${fd.itemSpacing}`]:{padding:e.spacing(0,.5)},[`& .${fd.firstItemSpacing}`]:{padding:e.spacing(0,.5,0,0)},[`& .${fd.lastItemSpacing}`]:{padding:e.spacing(0,0,0,.5)}}))),md=t.forwardRef((({className:e,ariaExpanded:n=!1,actions:r=[],first:o=!1,last:a=!1,addAnchor:i=!1,isRtl:l=!1},s)=>r.length>0?t.createElement(Nn,{item:!0,container:!0,gap:0,flexDirection:l?"row-reverse":"row",wrap:"nowrap",className:e},r.map(((e,l)=>{let c=[];const u=o&&0===l,d=a&&r.length-1===l;return u&&!d&&(c=[fd.firstItemSpacing,fd.item]),d&&!u&&(c=[...c,fd.lastItemSpacing,fd.item]),u||d||0!==c.length||(c=[fd.itemSpacing,fd.item]),t.createElement(Nn,{item:!0,key:e.key,className:c.join(" ").trim()},t.createElement(Nu,{ariaExpanded:n,key:e.key,item:e,ref:0===l?s:null,addAnchor:i}))}))):null)),hd={pointerEvents:"none"},qd={vertical:"bottom",horizontal:"right"},yd=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)(Wt);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:_u},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:()=>{o(),r(),e.cancel()},getSvgIconShape:Lu},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:()=>{o(),n(),e.confirm()},getSvgIconShape:Wa}]}(o),{translator:d,keyboardNavigation:f}=(0,t.useContext)(Wt),[p,m]=(0,t.useState)(!1),h={vertical:7,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]},E=(0,t.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r}){return o=>{const{target:a,nativeEvent:i}=o,{keyCode:l}=i;switch(l){case Dl.ARROW_LEFT:case Dl.ARROW_DOWN:case Dl.ARROW_RIGHT:case Dl.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()})([Dl.ARROW_LEFT,Dl.ARROW_DOWN].includes(l)?e-1:e+1)}o.stopPropagation(),o.preventDefault();break;case Dl.SPACE:o.preventDefault();break;case Dl.TAB:e&&t?.refocusContent&&(o.shiftKey&&n(!1)===o.target||!o.shiftKey&&n(!0)===o.target)&&(o.preventDefault(),o.stopPropagation(),t.refocusContent());break;case Dl.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 C=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);C=!0,S=[...e,...a.actions]}if(!o.show&&0===I.length)return null;const R={key:"more",label:d.get("Menu.More"),getSvgIconShape:Ru,hidden:!1,active:p,enabled:()=>C,action:()=>m(!p)},x=I.length>0,w=S.length>0,N=x&&o.show||w&&o.show,L="rtl"===c,_=t.createElement(Nn,{ref:q,onKeyDown:E,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:L?"row-reverse":"row"}},x&&t.createElement(md,{actions:I,first:!0,last:!w&&!o.show}),w&&t.createElement(md,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:p,actions:[R],first:!x,last:!o.show,addAnchor:!0}),N&&t.createElement(Nn,{item:!0,className:fd.itemSpacing,style:v},t.createElement(Iu,{orientation:"vertical"})),o.show&&t.createElement(md,{className:"actions-toolbar-default-actions",actions:u,first:!x&&!w,last:!0,isRtl:L}),p&&t.createElement(ud,{show:p,actions:S,alignTo:O,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(pd,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:h,transformOrigin:qd,hideBackdrop:!0,style:hd,PaperProps:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:g.spacing(.8)}}},_):e&&_};function gd(e){return(0,At.Z)("MuiInputAdornment",e)}const vd=(0,Tt.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var bd;const Ed=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Cd=(0,yn.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,rr.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&&{[`&.${vd.positionStart}&:not(.${vd.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Sd=t.forwardRef((function(e,n){const r=(0,gn.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,Ed),f=fi()||{};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,rr.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,rr.Z)(a)}`]};return(0,qn.Z)(l,gd,t)})(m);return(0,qe.jsx)(di.Provider,{value:null,children:(0,qe.jsx)(Cd,(0,ce.Z)({as:i,ownerState:m,className:(0,cn.Z)(h.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,qe.jsxs)(t.Fragment,{children:["start"===c?bd||(bd=(0,qe.jsx)("span",{className:"notranslate",children:"​"})):null,o]}):(0,qe.jsx)(ur,{color:"text.secondary",children:o})}))})})),Od=Sd;var Id;const Rd=["children","classes","className","label","notched"],xd=(0,yn.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%"}),wd=(0,yn.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 Nd(e){return(0,At.Z)("MuiInputBase",e)}const Ld=(0,Tt.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function _d(e){return(0,At.Z)("MuiOutlinedInput",e)}const Td=(0,ce.Z)({},Ld,(0,Tt.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var Ad=o(56918),Pd=o(89128);const Dd=["onChange","maxRows","minRows","style","value"];function kd(e){return parseInt(e,10)||0}const Md={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Fd(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Bd=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=Ro(e,Dd),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,xo.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,Po.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=kd(n.paddingBottom)+kd(n.paddingTop),s=kd(n.borderBottomWidth)+kd(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();Fd(e)||h((t=>y(t,e)))}),[q]);return t.useEffect((()=>{const e=(0,Pd.Z)((()=>{p.current=0,u.current&&(()=>{const e=q();Fd(e)||sn.flushSync((()=>{h((t=>y(t,e)))}))})()}));let t;const n=u.current,r=(0,Po.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,_o.Z)((()=>{g()})),t.useEffect((()=>{p.current=0}),[l]),(0,qe.jsxs)(t.Fragment,{children:[(0,qe.jsx)("textarea",Io({value:l,onChange:e=>{p.current=0,c||g(),r&&r(e)},ref:d,rows:a,style:Io({height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0},i)},s)),(0,qe.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:Io({},Md,i,{padding:0})})]})}));function jd(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,qe.jsx)(Nr,{styles:r})}const zd=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,ae.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,qe.jsx)(jd,{styles:o})},Gd=function(e){return(0,qe.jsx)(zd,(0,ce.Z)({},e,{defaultTheme:ie.Z,themeId:le.Z}))};function Vd(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const Ud=["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"],Zd=(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,rr.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},$d=(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]},Wd=(0,yn.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Zd})((({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",[`&.${Ld.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%"}))),Hd=(0,yn.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:$d})((({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] + .${Ld.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},[`&.${Ld.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"})})),Kd=(0,qe.jsx)(Gd,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Xd=t.forwardRef((function(e,n){var r;const o=(0,gn.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:E,multiline:C=!1,name:S,onBlur:O,onChange:I,onClick:R,onFocus:x,onKeyDown:w,onKeyUp:N,placeholder:L,readOnly:_,renderSuffix:T,rows:A,slotProps:P={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,ue.Z)(o,Ud),j=null!=g.value?g.value:F,{current:z}=t.useRef(null!=j),G=t.useRef(),V=t.useCallback((e=>{}),[]),U=(0,fr.Z)(G,v,g.ref,V),[Z,$]=t.useState(!1),W=fi(),H=hi({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&&(Vd(e.value)&&""!==e.value||t&&Vd(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,Pu.Z)((()=>{z&&Y({value:j})}),[j,Y,z]),t.useEffect((()=>{Y(G.current)}),[]);let Q=y,J=g;C&&"input"===Q&&(J=A?(0,ce.Z)({type:void 0,minRows:A,maxRows:A},J):(0,ce.Z)({type:void 0,maxRows:b,minRows:E},J),Q=Bd),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:C,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,rr.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,qn.Z)(h,Nd,t)})(ee),ne=D.root||c.Root||Wd,re=P.root||u.root||{},oe=D.input||c.Input||Hd;return J=(0,ce.Z)({},J,null!=(r=P.input)?r:u.input),(0,qe.jsxs)(t.Fragment,{children:[!p&&Kd,(0,qe.jsxs)(ne,(0,ce.Z)({},re,!Zo(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,cn.Z)(te.root,re.className,s,_&&"MuiInputBase-readOnly"),children:[k,(0,qe.jsx)(di.Provider,{value:null,children:(0,qe.jsx)(oe,(0,ce.Z)({ownerState:ee,"aria-invalid":H.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:d,disabled:H.disabled,id:q,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:S,placeholder:L,readOnly:_,required:H.required,rows:A,value:j,onKeyDown:w,onKeyUp:N,type:M},J,!Zo(oe)&&{as:Q,ownerState:(0,ce.Z)({},ee,J.ownerState)},{ref:U,className:(0,cn.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,Ad.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]}))]})})),Yd=Xd,Qd=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Jd=(0,yn.ZP)(Wd,{shouldForwardProp:e=>(0,yn.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Zd})((({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 .${Td.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Td.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Td.focused} .${Td.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Td.error} .${Td.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Td.disabled} .${Td.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"}))})),ef=(0,yn.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,ue.Z)(e,Rd),a=null!=n&&""!==n,i=(0,ce.Z)({},e,{notched:r,withLabel:a});return(0,qe.jsx)(xd,(0,ce.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,qe.jsx)(wd,{ownerState:i,children:a?(0,qe.jsx)("span",{children:n}):Id||(Id=(0,qe.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),tf=(0,yn.ZP)(Hd,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:$d})((({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}))),nf=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,gn.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,Qd),g=(e=>{const{classes:t}=e,n=(0,qn.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},_d,t);return(0,ce.Z)({},t,n)})(s),v=fi(),b=hi({props:s,muiFormControl:v,states:["required"]}),E=(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}),C=null!=(r=null!=(o=h.root)?o:c.Root)?r:Jd,S=null!=(a=null!=(i=h.input)?i:c.Input)?a:tf;return(0,qe.jsx)(Yd,(0,ce.Z)({slots:{root:C,input:S},renderSuffix:e=>(0,qe.jsx)(ef,{ownerState:E,className:g.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,qe.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})}))}));nf.muiName="Input";const rf=nf,of=e=>er((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)),af="/qListObjectDef",lf="**",sf=(0,yn.ZP)(Od)((({theme:e})=>({color:e.listBox?.content?.color}))),cf=(0,yn.ZP)(rf)((({theme:e})=>({color:e.listBox?.content?.color,display:"flex"})));function uf({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)(Wt),[p,m]=(0,t.useState)(""),[h,q]=(0,t.useState)(!1),y=(0,t.useRef)(),g=se(),{getStoreValue:v}=bs(r),b="rtl"===u,E=b?"right":"left",C=async()=>{if(e.isModal())try{await r.abortListObjectSearch(af)}finally{m("")}};(0,t.useEffect)((()=>{i||C()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",C),()=>{e.removeListener&&e.removeListener("deactivated",C)})),[]),(0,t.useEffect)((()=>{if(h&&y.current){const e=p.length-1;y.current.setSelectionRange(e,e),q(!1)}}),[h,y.current]);function S(e){const t=e?.querySelector(".last-focused")||e?.querySelector('[role="row"]:first-child');t.setAttribute("tabIndex",0),t?.focus()}return i&&!1!==c?t.createElement(cf,{startAdornment:t.createElement(sf,{position:"start"},t.createElement(of,{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:`${Qa}px`},a&&{fontSize:12,paddingLeft:g.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:b?"row-reverse":"row"}],inputRef:y,size:"small",fullWidth:!0,placeholder:f.get("Listbox.Search"),value:p,onFocus:()=>{s&&(m(lf),q(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(af,e.target.value):C()),onKeyDown:async t=>{const{currentTarget:a}=t,i=a.closest(".listbox-container");switch(t.key){case"Enter":(async()=>{let t;await r.searchListObjectFor(af,p)&&p.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(af,!0),e.selectionsMade=!0,n.clearItemStates(!1),m(""))})();break;case"Escape":S(i),e.isActive()&&e.cancel();break;case"Tab":t.shiftKey?o.focusSelection():(S(i),i?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!t.ctrlKey&&!t.metaKey)return;d&&(d(),S(i));break;default:return}t.preventDefault(),t.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,style:{textAlign:`${E}`},"data-testid":"search-input-field"}}):null}function df(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const ff=({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 df(i),i},pf=({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 mf(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=rn(e),[l]=Kn(n),s=n?n.id:null,[c]=Yt(),[u]=Jt(),d=c.get(e.id);let f=u.get(s);return(0,t.useEffect)((()=>{i&&n&&!f&&(f=ff({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}=pf({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 hf(){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,!!ja.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return za(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 qf=(e,t,n=void 0)=>e?.[t]??n;function yf({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]=Un({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)(Wt),b=(0,t.useRef)(),E=(0,t.useRef)(),[C]=mf(i,q,E),[S]=Kn(q),[O]=(0,t.useState)((()=>hf()));if((0,t.useEffect)((()=>{C&&d&&(C.isModal(q)||C.goModal("/qListObjectDef"))}),[C,d]),!q||!S||!v)return null;const I=!0===S.qListObject.qDimensionInfo.qLocked,R=(e,t)=>{const n="escapeKeyDown"!==t;C.noModal(n),a()},x=gu({layout:S,model:q,translator:v,selectionState:O}),w=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return qf(t,"qSelected",0)+qf(t,"qSelectedExcluded",0)+qf(t,"qLocked",0)+qf(t,"qLockedExcluded",0)>0}(S);return t.createElement(ka,{open:d,onClose:R,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Nn,{container:!0,direction:"column",gap:0,ref:E},t.createElement(Nn,{item:!0,container:!0,style:{padding:m.spacing(1)}},t.createElement(Nn,{item:!0},I?t.createElement(ro,{onClick:g,disabled:!I,size:"large"},t.createElement(nr,{title:v.get("Listbox.Unlock")})):t.createElement(ro,{onClick:y,disabled:!w,size:"large"},t.createElement(oo,{title:v.get("Listbox.Lock")}))),t.createElement(Nn,{item:!0,xs:!0}),t.createElement(Nn,{item:!0},t.createElement(yd,{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:C,onConfirm:R,onCancel:()=>R(0,"escapeKeyDown")}}))),t.createElement(Nn,{item:!0,xs:!0},t.createElement("div",{ref:b}),t.createElement(Nn,{item:!0,ref:h},t.createElement(uf,{visible:!0,model:q,listCount:f,selections:C,selectionState:O,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(pu,{model:q,app:i,layout:S,selections:C,selectionState:O,direction:"ltr",onSetListCount:e=>p(e),onCtrlF:()=>{const e=h.current.querySelector("input");e?.focus()}}))))}function gf({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(Wt),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 E=[{color:c.palette.selected.main,ratio:h},{color:c.palette.selected.alternative,ratio:q},{color:c.palette.selected.excluded,ratio:y}];E.forEach(((e,t)=>{e.offset=t?E[t-1].offset+E[t-1].ratio:0}));let C=null,S=null,O=null,I=null;return a||(C=t.createElement(Nn,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(ur,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(ur,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Nn,{item:!0},t.createElement(ro,{size:"large"},t.createElement(nr,null))):p.qOneAndOnlyOne||(S=t.createElement(Nn,{item:!0},t.createElement(ro,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(tr,null)))),O=t.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===v&&E.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(Nn,{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},C,S,O,u&&t.createElement(yf,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(yf,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const vf=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function bf(e){return(0,At.Z)("MuiBadge",e)}const Ef=(0,Tt.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"]),Cf=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Sf=(0,yn.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Of=(0,yn.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,rr.Z)(n.anchorOrigin.vertical)}${(0,rr.Z)(n.anchorOrigin.horizontal)}${(0,rr.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,rr.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),If=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,gn.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:E,showZero:C=!1,variant:S="standard"}=s,O=(0,ue.Z)(s,Cf),{badgeContent:I,invisible:R,max:x,displayValue:w}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=vf({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:C}),N=vf({anchorOrigin:c,color:q,overlap:h,variant:S,badgeContent:v}),L=R||null==I&&"dot"!==S,{color:_=q,overlap:T=h,anchorOrigin:A=c,variant:P=S}=L?N:s,D="dot"!==P?w:void 0,k=(0,ce.Z)({},s,{badgeContent:I,invisible:L,max:x,displayValue:D,showZero:C,anchorOrigin:A,color:_,overlap:T,variant:P}),M=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e,l={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${(0,rr.Z)(n.vertical)}${(0,rr.Z)(n.horizontal)}`,`anchorOrigin${(0,rr.Z)(n.vertical)}${(0,rr.Z)(n.horizontal)}${(0,rr.Z)(o)}`,`overlap${(0,rr.Z)(o)}`,"default"!==t&&`color${(0,rr.Z)(t)}`]};return(0,qn.Z)(l,bf,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:Sf,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:Of,j=null!=(i=null==E?void 0:E.root)?i:p.root,z=null!=(l=null==E?void 0:E.badge)?l:p.badge,G=Qo({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,cn.Z)(null==j?void 0:j.className,M.root,u)}),V=Qo({elementType:B,externalSlotProps:z,ownerState:k,className:(0,cn.Z)(M.badge,null==z?void 0:z.className)});return(0,qe.jsxs)(F,(0,ce.Z)({},G,{children:[m,(0,qe.jsx)(B,(0,ce.Z)({},V,{children:D}))]}))})),Rf=If;var xf=o(33498);function wf(e){return(0,At.Z)("MuiListItem",e)}const Nf=(0,Tt.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Lf=(0,Tt.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function _f(e){return(0,At.Z)("MuiListItemSecondaryAction",e)}(0,Tt.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const Tf=["className"],Af=(0,yn.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}))),Pf=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,ue.Z)(r,Tf),i=t.useContext(Au),l=(0,ce.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,qn.Z)(r,_f,n)})(l);return(0,qe.jsx)(Af,(0,ce.Z)({className:(0,cn.Z)(s.root,o),ownerState:l,ref:n},a))}));Pf.muiName="ListItemSecondaryAction";const Df=Pf,kf=["className"],Mf=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Ff=(0,yn.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&&{[`& > .${Lf.root}`]:{paddingRight:48}},{[`&.${Nf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Nf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Nf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Nf.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"}},[`&.${Nf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dr.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,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Bf=(0,yn.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),jf=t.forwardRef((function(e,n){const r=(0,gn.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:E=!1,slotProps:C={},slots:S={}}=r,O=(0,ue.Z)(r.ContainerProps,kf),I=(0,ue.Z)(r,Mf),R=t.useContext(Au),x=t.useMemo((()=>({dense:m||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,m,q]),w=t.useRef(null);(0,Pu.Z)((()=>{a&&w.current&&w.current.focus()}),[a]);const N=t.Children.toArray(l),L=N.length&&(0,xf.Z)(N[N.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:L,selected:E}),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,qn.Z)(d,wf,r)})(_),A=(0,fr.Z)(w,n),P=S.root||u.Root||Ff,D=C.root||d.root||{},k=(0,ce.Z)({className:(0,cn.Z)(T.root,D.className,s),disabled:h},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,cn.Z)(Nf.focusVisible,v),M=Yr),L?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,qe.jsx)(Au.Provider,{value:x,children:(0,qe.jsxs)(Bf,(0,ce.Z)({as:f,className:(0,cn.Z)(T.container,p),ref:A,ownerState:_},O,{children:[(0,qe.jsx)(P,(0,ce.Z)({},D,!Zo(P)&&{as:M,ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:N})),N.pop()]}))})):(0,qe.jsx)(Au.Provider,{value:x,children:(0,qe.jsxs)(P,(0,ce.Z)({},D,{as:M,ref:A},!Zo(P)&&{ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:[N,b&&(0,qe.jsx)(Df,{children:b})]}))})})),zf=jf;var Gf=o(67605);const Vf=t.createContext({}),Uf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Zf=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}}),$f=(0,yn.ZP)(Yr,{shouldForwardProp:e=>(0,yn.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,rr.Z)(n.color)}`],t[`size${(0,rr.Z)(n.size)}`],t[`${n.variant}Size${(0,rr.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,dr.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,dr.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,dr.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]}),[`&.${Dt.focusVisible}`]:(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Dt.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,dr.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"},[`&.${Dt.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Dt.disabled}`]:{boxShadow:"none"}})),Wf=(0,yn.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,rr.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Zf(e)))),Hf=(0,yn.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,rr.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Zf(e)))),Kf=t.forwardRef((function(e,n){const r=t.useContext(Vf),o=(0,Gf.Z)(r,e),a=(0,gn.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,Uf),E=(0,ce.Z)({},a,{color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:q,type:g,variant:v}),C=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,rr.Z)(t)}`,`size${(0,rr.Z)(o)}`,`${a}Size${(0,rr.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,rr.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,rr.Z)(o)}`]},s=(0,qn.Z)(l,Pt,i);return(0,ce.Z)({},i,s)})(E),S=y&&(0,qe.jsx)(Wf,{className:C.startIcon,ownerState:E,children:y}),O=p&&(0,qe.jsx)(Hf,{className:C.endIcon,ownerState:E,children:p});return(0,qe.jsxs)($f,(0,ce.Z)({ownerState:E,className:(0,cn.Z)(r.className,C.root,c),component:s,disabled:u,focusRipple:!f,focusVisibleClassName:(0,cn.Z)(C.focusVisible,m),ref:n,type:g},b,{classes:C,children:[S,i,O]}))})),Xf=Kf,Yf=e=>er((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)),Qf={item:"MultiState-item"},Jf=(0,yn.ZP)(Nn)((({theme:e})=>({[`&.${Qf.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function ep({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)(Wt),p=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=t.createElement(t.Fragment,null,t.createElement(Nn,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(Rf,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(ur,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Nn,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Nn,{item:!0},t.createElement(ro,{size:"large"},t.createElement(Yf,null)))));const q=t.createElement(Qu,{dense:!0},t.createElement(zf,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Xf,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(zf,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(xl,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(gf,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),y=t.createElement(ka,{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(Jf,{container:!0,gap:0,className:Qf.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&y,l>-1&&t.createElement(yf,{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(yf,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):g}const tp="More",np={item:`${tp}-item`,badge:`${tp}-badge`},rp=(0,yn.ZP)(Nn)((({theme:e})=>({[`&.${np.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${np.badge}`]:{padding:e.spacing(0,1)}})));function op({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(ep,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(gf,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(rp,{container:!0,gap:0,className:np.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Nn,{item:!0},t.createElement(xl,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(ur,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Nn,{item:!0},t.createElement(ro,{size:"large"},t.createElement(Yf,null))),o&&t.createElement(ka,{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(Qu,{dense:!0},e.map(((e,r)=>t.createElement(zf,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(xl,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(ep,{field:e,api:n}):t.createElement(gf,{field:e,api:n}))))))),f)}const ap=120,ip=72;function lp(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 sp({api:e,app:n}){const r=se(),[o]=$n(n),[a]=Kn(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=tn(),[c,u]=Yn(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-ip,n=Math.floor(t/ap);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&lp(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>lp(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(Nn,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Nn,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:`${ap}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(ep,{field:n,api:e}):t.createElement(gf,{field:n,api:e})))),i.more.length>0&&t.createElement(Nn,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:`${ip}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(op,{items:i.more,api:e})))}const cp=e=>er((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)),up=e=>er((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)),dp=(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 fp({api:e,app:n}){const{translator:r}=(0,t.useContext)(Wt),[o]=function(e){const[n]=$n(e),[r]=Kn(n),[o]=Xn(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&dp(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(Nn,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Nn,{item:!0},t.createElement(ro,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(cp,null))),t.createElement(Nn,{item:!0},t.createElement(ro,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(up,null))),t.createElement(Nn,{item:!0},t.createElement(ro,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(Tu,null))))}const pp=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function mp([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function hp(){return pp.map(mp).join("")}function qp({app:e}){const n=se(),[r]=rn(e);return r?t.createElement(Nn,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Nn,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(fp,{api:r,app:e})),t.createElement(Nn,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(sp,{api:r,app:e}))):null}var yp,gp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==o.g?o.g:{};let vp;vp="undefined"!=typeof window?window:"undefined"!=typeof self?self:gp;let bp=null,Ep=null;const Cp=vp.clearTimeout,Sp=vp.setTimeout,Op=vp.cancelAnimationFrame||vp.mozCancelAnimationFrame||vp.webkitCancelAnimationFrame,Ip=vp.requestAnimationFrame||vp.mozRequestAnimationFrame||vp.webkitRequestAnimationFrame;function Rp(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}null==Op||null==Ip?(bp=Cp,Ep=function(e){return Sp(e,20)}):(bp=function([e,t]){Op(e),Cp(t)},Ep=function(e){const t=Ip((function(){Cp(n),e()})),n=Sp((function(){Op(t),e()}),20);return[t,n]}),yp={createDetectElementResize: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__&&bp(this.__resizeRAF__),this.__resizeRAF__=Ep((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=vp.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){}}}}}};class xp extends t.Component{constructor(...e){super(...e),Rp(this,"state",{height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0}),Rp(this,"_autoSizer",null),Rp(this,"_detectElementResize",null),Rp(this,"_parentNode",null),Rp(this,"_resizeObserver",null),Rp(this,"_onResize",(()=>{const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseInt(null!==(r=l.paddingLeft)&&void 0!==r?r:"0",10),c=parseInt(null!==(o=l.paddingRight)&&void 0!==o?o:"0",10),u=parseInt(null!==(a=l.paddingTop)&&void 0!==a?a:"0",10),d=parseInt(null!==(i=l.paddingBottom)&&void 0!==i?i:"0",10),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}))}})),Rp(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((()=>{setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=(0,yp.createDetectElementResize)(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:o,disableWidth:a,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))}}Rp(xp,"defaultProps",{onResize:()=>{},disableHeight:!1,disableWidth:!1,style:{}});var wp=xp;const Np=e=>er((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 Lp(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function _p(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")}function Tp({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 Dl.TAB:if(s)o?Fl(l)||Ml(l):Ml(l)||Fl(l);else{if(!o)break;e.blur(!0)}i();break;case Dl.ENTER:case Dl.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),i();break;case Dl.ESCAPE:(t=>{const{currentTarget:n,target:o}=t,a=o.classList.contains("listbox-container"),i=_p(n.closest(".listbox-container")),l=1===i?.querySelectorAll(".listbox-container").length;if(a||l)e.blur(!0);else{Lp(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 Dl.ARROW_UP:n({up:1});break;case Dl.ARROW_DOWN:n({down:1});break;case Dl.PAGE_UP:n({up:o.stop-o.start});break;case Dl.PAGE_DOWN:n({down:o.stop-o.start});break;case Dl.HOME:n({scrollPosition:a&&i?"overflowStart":"start"});break;case Dl.END:n({scrollPosition:a&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const Ap=(0,yn.ZP)("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function Pp({text:e}){const{translator:n}=(0,t.useContext)(Wt);return t.createElement(Ap,null,n.get(e))}function Dp(){return Dp=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},Dp.apply(this,arguments)}const kp="ListBoxInline",Mp={listBoxHeader:`${kp}-listBoxHeader`,screenReaderOnly:`${kp}-screenReaderOnly`,listboxWrapper:`${kp}-listboxWrapper`},Fp=(0,yn.ZP)(Nn,{shouldForwardProp:e=>!["containerPadding","isGridMode"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n})=>({backgroundColor:e.listBox?.backgroundColor??e.palette.background.default,[`& .${Mp.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${Mp.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${Mp.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"}}))),Bp=(0,yn.ZP)(ur)((({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 jp({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:E=!1}=e,C=se(),S=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:O,keyboardNavigation:I,themeApi:R,constraints:x}=(0,t.useContext)(Wt);C.listBox=(e=>{const t=(t,n)=>e.getStyle("object.listBox",t,n);return{backgroundColor:t("","backgroundColor"),title:{main:{color:t("title.main","color"),fontSize:t("title.main","fontSize"),fontFamily:t("title.main","fontFamily"),fontWeight:t("title.main","fontWeight")}},content:{color:t("content","color"),fontSize:t("content","fontSize"),fontFamily:t("content","fontFamily")}}})(R);const w=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:r?.layout}),N=(0,t.useRef)(),[L,_]=Yn(),[T,A]=(()=>{const[e,n]=(0,t.useState)({}),r=(0,t.useCallback)((e=>{n({current:e})}),[n]);return[e,r]})(),[P,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]=rn(r),Z=(0,t.useRef)(null),[$]=(0,t.useState)((()=>hf())),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=_p(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),Lp(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:N,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)((()=>Tp({keyboard:W,hovering:F,updateKeyScroll:z,containerRef:N,currentScrollIndex:G,app:r,appSelections:U,constraints:x,isModal:H})),[W,F,z,N,G,r,U,x,H]),re=b&&(""===n?.title||!1===n?.showTitle)&&!E,oe=b&&""!==n?.title&&!1!==n?.showTitle||E;(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 E&&(d.isActive()||(d.begin("/qListObjectDef"),d.on("activated",e),d.on("deactivated",t)),D(E)),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,E]),(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);if((0,t.useEffect)((()=>{if(!Z.current||!_)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n}){return!!(e.width<(t?.current?.clientWidth??0)+n+16+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:_,titleRef:Z,iconsWidth:me});Q(e)}),[Z.current,_]),!u||!n||!O)return null;const he="rtl"===o,qe=gu({layout:n,model:u,translator:O,selectionState:$,isDirectQuery:w}),ye=(!0===l||"toggle"===l&&k)&&!m()&&!1!==ie,ge=le.dense??!1,ve=oe?49+(ye?ge?27:40:0)+(ge?39:49):0,be=()=>{M(!k)},Ee=()=>{if("toggle"===l)be();else{const e=T.current.querySelector("input");e?.focus()}},Ce=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:!E&&e,showToolbar:P,containerRef:N,isLocked:ue,listboxSelectionToolbarItems:qe,selections:d,keyboard:W}),Se=ye&&"toggle"===l,Oe=Qa-(de?7:0),Ie=he?Qa-(pe?7:0):0,Re="grid"===le?.dataLayout;let xe;Re&&(xe="row"===le.layoutOrder?"2px 4px":"2px 6px 2px 4px");const we=x?.active?t.createElement(of,{title:O.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(ro,{onClick:be,tabIndex:-1,title:O.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(of,{style:{fontSize:"12px"}})),Ne=m()?t.createElement(nr,{size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(ro,{title:O.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:S,size:"large"},t.createElement(nr,{disableRipple:!0,style:{fontSize:"12px"}}));return t.createElement(t.Fragment,null,re&&t.createElement(yd,Dp({direction:o},Ce(!0))),t.createElement(Fp,{className:"listbox-container",container:!0,tabIndex:W.enabled?-1:void 0,direction:"column",gap:0,containerPadding:xe,style:{height:"100%",minHeight:`${ve}px`,flexFlow:"column nowrap"},onKeyDown:J,onMouseEnter:ee,onMouseLeave:te,ref:e=>{N.current=e,L(e)},isGridMode:Re},oe&&t.createElement(Nn,{item:!0,container:!0,minHeight:32,flexDirection:he?"row-reverse":"row",marginY:1,paddingLeft:`${Oe}px`,paddingRight:`${Ie}px`,wrap:"nowrap"},pe&&t.createElement(Nn,{item:!0,container:!0,alignItems:"center",width:me},ue?Ne:ce&&we,fe&&t.createElement(Np,{tabIndex:-1,title:O.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Nn,{item:!0,xs:!0,minWidth:0,justifyContent:he?"flex-end":"flex-start",className:Mp.listBoxHeader},t.createElement(Bp,{variant:"h6",noWrap:!0,ref:Z,title:n.title},n.title)),t.createElement(Nn,{item:!0},t.createElement(yd,Dp({direction:o},Ce(Y))))),t.createElement(Nn,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":O.get("Listbox.ResultFilterLabel")},t.createElement(Nn,{item:!0,ref:A},t.createElement("div",{className:Mp.screenReaderOnly},O.get("Listbox.Search.ScreenReaderInstructions")),t.createElement(uf,{selections:d,selectionState:$,model:u,dense:ge,keyboard:W,visible:ye,search:l,autoFocus:Se,wildCardSearch:ae,searchEnabled:ie,direction:o,hide:ce&&be})),t.createElement(Nn,{item:!0,xs:!0,className:Mp.listboxWrapper},t.createElement("div",{className:Mp.screenReaderOnly},O.get("Listbox.ScreenReaderInstructions")),K?t.createElement(Pp,{text:X}):t.createElement(wp,null,(({height:e,width:l})=>t.createElement(pu,{model:u,app:r,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:Ee,isModal:H})))))))}const zp=t.memo(jp),Gp=function({options:e={}}){const{model:n}=e,[r]=Kn(n);return t.createElement(zp,{options:e,layout:r})},Vp={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:""},Up=(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 Zp({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i,renderedCallback:l}){const{isExistingObject:s,hasExternalSelectionsApi:c}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i}),[u,d]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const f=s?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=Gn(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,t.useEffect)((()=>{l?a(l):async function(){const t=i.get(n);if(t)a(t);else{const t=await e.getObject(n);i.set(t.id,t),t.once("closed",(()=>{i.clear(t.id)})),a(t)}}()}),[]),o}({app:e,qId:r,options:i}):function({app:e,fieldIdentifier:n,stateName:r,options:o={}}){const[a,i]=(0,t.useState)(""),[l,s]=(0,t.useState)(!0),[c,u]=(0,t.useState)(),[d,f]=(0,t.useState)(),p=o.title??d;(0,t.useEffect)((()=>{const t=o.histogram||"N"!==o.frequencyMode;n.qLibraryId&&t?async function(){try{const t=await e.getDimension(n.qLibraryId),r=await t.getLayout();f(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),f(n))}),[]);const{dense:m,checkboxes:h,listLayout:q,properties:y={}}=o;let{frequencyMode:g,histogram:v=!1}=o;switch(a&&a.failedToFetchFieldDef&&(v=!1,g="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(g):g="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(g):g="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(g):g="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(g):g="R";break;default:g="N"}const b={dense:m};"horizontal"===q&&(b.dataLayout="grid",b.layoutOrder="column",b.maxVisibleColumns={auto:!0},b.maxVisibleRows={auto:!1,maxRows:1});const E=(0,t.useRef)();E.current||(E.current=hp());const C=G()(!0,{},Vp,{qInfo:{qId:E.current},qListObjectDef:{qStateName:r,qFrequencyMode:v&&"N"===g?"V":g},histogram:v,checkboxes:h,layoutOptions:b,title:p});let S;if(G()(!0,C,y),n.qLibraryId?(C.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(C.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==g&&v)if(a?.multiFieldDim)C.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;C.frequencyMax={qValueExpression:cu(e)}}const[O]=Un(C,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:mf(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(Gp,{options:h}):null}const $p={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Wp({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(yf,{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 Hp(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Kp(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 Xp=e=>({qDef:{qFieldDefs:[e]}}),Yp=e=>({qDef:{qDef:e}});function Qp({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?Xp(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||hp(),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),Hp(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 Kp(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?Yp(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||hp(),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),Hp(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];Kp(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 Jp=e=>({qDef:{qFieldDefs:[e]}});function em({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?Jp(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||hp(),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 tm=e=>{let t;var n;return t="string"==typeof e?G()(!0,{},Vp,{qListObjectDef:(n=e,{qDef:{qFieldDefs:[n]}})}):e.qListObjectDef?G()(!0,{},Vp,e):G()(!0,{},Vp,{qListObjectDef:e}),t};function nm({children:e,halo:t}){return{async addDimension(n){const r=tm(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||hp(),!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 rm(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 om({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")?em:e.match("/qChildListDef")?nm:Qp}(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"===rm(t)?await u.addMeasure(t):await u.addDimension(t)}}const am={getValue:(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},setValue:(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]},isEmpty:e=>0===Object.keys(e).length&&e.constructor===Object},im=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},lm=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},sm=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},cm=2**53-1;function um(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function dm(e,t){const n=G()(!0,{},t,e);return am.getValue(n,"qOtherTotalSpec.qOtherCounted")||am.setValue(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),am.getValue(n,"qOtherTotalSpec.qOtherLimit")||am.setValue(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function fm(e,t){return G()(!0,{},t,e)}function pm(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const mm={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===am.getValue(e,t)&&am.setValue(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:um,importCommonProperties:function(e,t,n){const r="masterobject"===am.getValue(t,"properties.qInfo.qType")?"masterobject":am.getValue(n,"qInfo.qType");am.setValue(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:dm,createDefaultMeasure:fm,resolveValue:pm,getHypercubePath:function(e){const t=am.getValue(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?(lm(t.qInterColumnSortOrder,o),++o):(--o,sm(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?am.setValue(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||um(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=pm(o.max,n.dimensions.length,cm),i=pm(o.min,n.dimensions.length,0);return{maxDimensions:pm(r.max,a,cm),minDimensions:pm(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(dm(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(dm(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(dm(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(dm(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(dm(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(fm(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(fm(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(fm(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(fm(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(fm(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=am.getValue(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=am.getValue(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},hm={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=am.getValue(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();im(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&&(mm.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!am.isEmpty(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=mm.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=am.getValue(t,o||"").qHyperCubeDef,s=am.getValue(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=mm.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=mm.getDefaultDimension(),defaultMeasure:m=mm.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,mm.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&mm.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),mm.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),mm.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:m}),mm.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),mm.copyPropertyIfExist("qMaxStackedCells",l,s),mm.copyPropertyIfExist("qNoOfLeftDims",l,s),mm.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),mm.copyPropertyOrSetDefault("qMode",l,s,"S"),mm.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),mm.copyPropertyOrSetDefault("qSortbyYValue",l,s),mm.copyPropertyOrSetDefault("qIndentMode",l,s),mm.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),mm.importCommonProperties(i,e,t),mm.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),mm.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},qm=e=>am.getValue(e,"data.targets.0.propertyPath"),ym=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 hm.exportProperties})(qm(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 hm.importProperties})(qm(e)))(s)({exportFormat:i({propertyTree:o,hypercubePath:mm.getHypercubePath(a)}),initialProperties:{qInfo:{qType:r},visualization:r,...am.getValue(s,"properties.initial",{})},dataDefinition:am.getValue(s,"data.targets.0.",{}),hypercubePath:mm.getHypercubePath(s)})},gm={hypercube:hm};function vm(e){return(0,At.Z)("MuiIcon",e)}(0,Tt.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const bm=["baseClassName","className","color","component","fontSize"],Em=(0,yn.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,rr.Z)(n.color)}`],t[`fontSize${(0,rr.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]}))),Cm=t.forwardRef((function(e,t){const n=(0,gn.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,bm),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,rr.Z)(t)}`,`fontSize${(0,rr.Z)(n)}`]};return(0,qn.Z)(o,vm,r)})(c);return(0,qe.jsx)(Em,(0,ce.Z)({as:i,className:(0,cn.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));Cm.muiName="Icon";const Sm=Cm,Om=e=>er((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 Im({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(ur,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(Sm,null,e.missing||e.error?t.createElement(Om,{style:a}):t.createElement(Ha,{style:a})));return t.createElement(Nn,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Nn,{item:!0},i),t.createElement(Nn,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(ur,{noWrap:!0,component:"p"},t.createElement(ur,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(ur,{component:"span"}," "),t.createElement(ur,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function Rm({data:e}){const n=se();return t.createElement(Nn,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(Im,{d:e,key:n})));return o.length>0&&t.createElement(Nn,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(ur,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function xm({title:e="Error",message:n="",data:r=[]}){return t.createElement(Nn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Nn,{item:!0},t.createElement(Om,{style:{fontSize:"38px"}})),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(Rm,{data:r}))}function wm(e){return(0,At.Z)("MuiCircularProgress",e)}(0,Tt.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Nm=["className","color","disableShrink","size","style","thickness","value","variant"];let Lm,_m,Tm,Am,Pm=e=>e;const Dm=_r(Lm||(Lm=Pm`
75
+ `),Tr.rippleVisible,Br,550,(({theme:e})=>e.transitions.easing.easeInOut),Tr.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Tr.child,Tr.childLeaving,jr,550,(({theme:e})=>e.transitions.easing.easeInOut),Tr.childPulsate,zr,(({theme:e})=>e.transitions.easing.easeInOut)),Ur=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=r,l=(0,ue.Z)(r,Ar),[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,qe.jsx)(Vr,{classes:{ripple:(0,cn.Z)(a.ripple,Tr.ripple),rippleVisible:(0,cn.Z)(a.rippleVisible,Tr.rippleVisible),ripplePulsate:(0,cn.Z)(a.ripplePulsate,Tr.ripplePulsate),child:(0,cn.Z)(a.child,Tr.child),childLeaving:(0,cn.Z)(a.childLeaving,Tr.childLeaving),childPulsate:(0,cn.Z)(a.childPulsate,Tr.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,qe.jsx)(Gr,(0,ce.Z)({className:(0,cn.Z)(Tr.root,a.root,i),ref:h},l,{children:(0,qe.jsx)(Rr,{component:null,exit:!0,children:s})}))})),Zr=Ur;function $r(e){return(0,At.Z)("MuiButtonBase",e)}const Wr=(0,Tt.Z)("MuiButtonBase",["root","disabled","focusVisible"]),Hr=["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"],Kr=(0,yn.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"},[`&.${Wr.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Xr=t.forwardRef((function(e,n){const r=(0,gn.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:E,onMouseDown:C,onMouseLeave:S,onMouseUp:O,onTouchEnd:I,onTouchMove:R,onTouchStart:x,tabIndex:w=0,TouchRippleProps:N,touchRippleRef:L,type:_}=r,T=(0,ue.Z)(r,Hr),A=t.useRef(null),P=t.useRef(null),D=(0,fr.Z)(P,L),{isFocusVisibleRef:k,onFocus:M,onBlur:F,ref:B}=(0,mr.Z)(),[j,z]=t.useState(!1);c&&j&&z(!1),t.useImperativeHandle(o,(()=>({focusVisible:()=>{z(!0),A.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,pr.Z)((r=>(t&&t(r),!n&&P.current&&P.current[e](r),!0)))}t.useEffect((()=>{j&&f&&!u&&G&&P.current.pulsate()}),[u,f,j,G]);const $=Z("start",C),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,pr.Z)((e=>{A.current||(A.current=e.currentTarget),M(e),!0===k.current&&(z(!0),v&&v(e)),g&&g(e)})),ne=()=>{const e=A.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=t.useRef(!1),oe=(0,pr.Z)((e=>{f&&!re.current&&j&&P.current&&" "===e.key&&(re.current=!0,P.current.stop(e,(()=>{P.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!c&&(e.preventDefault(),h&&h(e))})),ae=(0,pr.Z)((e=>{f&&" "===e.key&&P.current&&j&&!e.defaultPrevented&&(re.current=!1,P.current.stop(e,(()=>{P.current.pulsate(e)}))),E&&E(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,fr.Z)(n,B,A),de=(0,ce.Z)({},r,{centerRipple:a,component:s,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:w,focusVisible:j}),fe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},i=(0,qn.Z)(a,$r,o);return n&&r&&(i.root+=` ${r}`),i})(de);return(0,qe.jsxs)(Kr,(0,ce.Z)({as:ie,className:(0,cn.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:w,type:_},le,T,{children:[i,U?(0,qe.jsx)(Zr,(0,ce.Z)({ref:D,center:a},N)):null]}))})),Yr=Xr;function Qr(e){return(0,At.Z)("MuiIconButton",e)}const Jr=(0,Tt.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),eo=["edge","children","className","color","disabled","disableFocusRipple","size"],to=(0,yn.ZP)(Yr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,rr.Z)(n.color)}`],n.edge&&t[`edge${(0,rr.Z)(n.edge)}`],t[`size${(0,rr.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,dr.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,dr.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)},{[`&.${Jr.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),no=t.forwardRef((function(e,t){const n=(0,gn.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,eo),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,rr.Z)(r)}`,o&&`edge${(0,rr.Z)(o)}`,`size${(0,rr.Z)(a)}`]};return(0,qn.Z)(i,Qr,t)})(d);return(0,qe.jsx)(to,(0,ce.Z)({className:(0,cn.Z)(f.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))})),ro=no,oo=e=>er((e=>({...e,shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));var ao=o(37258),io=o(11619),lo=o(94575);var so="unmounted",co="exited",uo="entering",fo="entered",po="exiting",mo=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=co,r.appearStatus=uo):o=fo:o=t.unmountOnExit||t.mountOnEnter?so:co,r.state={status:o},r.nextCallback=null,r}vr(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===so?{status:co}: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!==uo&&n!==fo&&(t=uo):n!==uo&&n!==fo||(t=po)}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===uo){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:sn.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===co&&this.setState({status:so})},r.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[sn.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:uo},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:fo},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:fo},(function(){t.props.onEntered(a)}))},r.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:sn.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:po},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:co},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:co},(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:sn.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===so)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,hr(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t.createElement(br.Provider,{value:null},"function"==typeof r?r(e,o):t.cloneElement(t.Children.only(r),o))},n}(t.Component);function ho(){}mo.contextType=br,mo.propTypes={},mo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ho,onEntering:ho,onEntered:ho,onExit:ho,onExiting:ho,onExited:ho},mo.UNMOUNTED=so,mo.EXITED=co,mo.ENTERING=uo,mo.ENTERED=fo,mo.EXITING=po;const qo=mo,yo=e=>e.scrollTop;function go(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 vo=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function bo(e){return`scale(${e}, ${e**2})`}const Eo={entering:{opacity:1,transform:bo(1)},entered:{opacity:1,transform:"none"}},Co="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),So=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=qo}=e,y=(0,ue.Z)(e,vo),g=t.useRef(),v=t.useRef(),b=se(),E=t.useRef(null),C=(0,fr.Z)(E,a.ref,n),S=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},O=S(u),I=S(((e,t)=>{yo(e);const{duration:n,delay:r,easing:o}=go({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:Co?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)})),R=S(c),x=S(p),w=S((e=>{const{duration:t,delay:n,easing:r}=go({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:Co?o:.666*o,delay:Co?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=bo(.75),d&&d(e)})),N=S(f);return t.useEffect((()=>()=>{clearTimeout(g.current)}),[]),(0,qe.jsx)(q,(0,ce.Z)({appear:o,in:l,nodeRef:E,onEnter:I,onEntered:R,onEntering:O,onExit:w,onExited:N,onExiting:x,addEndListener:e=>{"auto"===h&&(g.current=setTimeout(e,v.current||0)),r&&r(E.current,e)},timeout:"auto"===h?null:h},y,{children:(e,n)=>t.cloneElement(a,(0,ce.Z)({style:(0,ce.Z)({opacity:0,transform:bo(.75),visibility:"exited"!==e||l?void 0:"hidden"},Eo[e],m,a.props.style),ref:C},n))}))}));So.muiSupportAuto=!0;const Oo=So;function Io(){return Io=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},Io.apply(this,arguments)}function Ro(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 xo=o(95882),wo=o(67653),No=o(69781),Lo=o(24784),_o=o(95572),To=o(44068);const Ao=t.forwardRef((function(e,n){const{children:r,container:o,disablePortal:a=!1}=e,[i,l]=t.useState(null),s=(0,xo.Z)(t.isValidElement(r)?r.ref:null,n);if((0,_o.Z)((()=>{a||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,a]),(0,_o.Z)((()=>{if(i&&!a)return(0,To.Z)(n,i),()=>{(0,To.Z)(n,null)}}),[n,i,a]),a){if(t.isValidElement(r)){const e={ref:s};return t.cloneElement(r,e)}return(0,qe.jsx)(t.Fragment,{children:r})}return(0,qe.jsx)(t.Fragment,{children:i?sn.createPortal(r,i):i})}));var Po=o(60838);function Do(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ko(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Mo(e){return parseInt((0,Po.Z)(e).getComputedStyle(e).paddingRight,10)||0}function Fo(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&&ko(e,o)}))}function Bo(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}const jo=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zo(e){const t=[],n=[];return Array.from(e.querySelectorAll(jo)).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 Go(){return!0}const Vo=function(e){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:a=!1,getTabbable:i=zo,isEnabled:l=Go,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,xo.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,wo.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,wo.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,qe.jsxs)(t.Fragment,{children:[(0,qe.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,qe.jsx)("div",{tabIndex:s?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})};function Uo(e){return(0,At.Z)("MuiModal",e)}function Zo(e){return"string"==typeof e}function $o(e,t,n){return void 0===e||Zo(e)?t:Io({},t,{ownerState:Io({},t.ownerState,n)})}function Wo(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Wo(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}(0,Tt.Z)("MuiModal",["root","hidden","backdrop"]);const Ho=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Wo(e))&&(r&&(r+=" "),r+=t);return r};function Ko(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 Xo(e,t){return"function"==typeof e?e(t):e}const Yo=["elementType","externalSlotProps","ownerState"];function Qo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=Ro(e,Yo),i=Xo(r,o),{props:l,internalRef:s}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Ho(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Io({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Io({},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}(Io({},o,r)),l=Ko(r),s=Ko(o),c=t(i),u=Ho(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=Io({},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=Io({},c,n,s,l);return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}}(Io({},a,{externalSlotProps:i}));return $o(n,Io({},l,{ref:(0,xo.Z)(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const Jo={disableDefaultClasses:!1},ea=t.createContext(Jo);function ta(e){const{disableDefaultClasses:n}=t.useContext(ea);return t=>n?"":e(t)}const na=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],ra=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&&ko(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);Fo(t,e.mount,e.modalRef,r,!0);const o=Bo(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=Bo(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,wo.Z)(e);return t.body===e?(0,Po.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Do((0,wo.Z)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Mo(r)+e}px`;const t=(0,wo.Z)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Mo(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,wo.Z)(r).body;else{const t=r.parentElement,n=(0,Po.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=Bo(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&&ko(e.modalRef,t),Fo(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&&ko(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},oa=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=ra,onBackdropClick:y,onClose:g,onKeyDown:v,open:b,onTransitionEnter:E,onTransitionExited:C,slotProps:S={},slots:O={}}=e,I=Ro(e,na),R=q,[x,w]=t.useState(!b),N=t.useRef({}),L=t.useRef(null),_=t.useRef(null),T=(0,xo.Z)(_,n),A=function(e){return!!e&&e.props.hasOwnProperty("in")}(a),P=null==(r=e["aria-hidden"])||r,D=()=>(N.current.modalRef=_.current,N.current.mountNode=L.current,N.current),k=()=>{R.mount(D(),{disableScrollLock:p}),_.current&&(_.current.scrollTop=0)},M=(0,No.Z)((()=>{const e=function(e){return"function"==typeof e?e():e}(l)||(0,wo.Z)(L.current).body;R.add(D(),e),_.current&&k()})),F=t.useCallback((()=>R.isTopModal(D())),[R]),B=(0,No.Z)((e=>{L.current=e,e&&_.current&&(b&&F()?k():ko(_.current,P))})),j=t.useCallback((()=>{R.remove(D(),P)}),[R,P]);t.useEffect((()=>()=>{j()}),[j]),t.useEffect((()=>{b?M():A&&i||j()}),[b,j,A,i,M]);const z=Io({},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,qn.Z)(r,ta(Uo))})(z),V={};void 0===a.props.tabIndex&&(V.tabIndex="-1"),A&&(V.onEnter=(0,Lo.Z)((()=>{w(!1),E&&E()}),a.props.onEnter),V.onExited=(0,Lo.Z)((()=>{w(!0),C&&C(),i&&j()}),a.props.onExited));const U=null!=(o=O.root)?o:"div",Z=Qo({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=Qo({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||A&&!x?(0,qe.jsx)(Ao,{ref:B,container:l,disablePortal:d,children:(0,qe.jsxs)(U,Io({},Z,{children:[!m&&$?(0,qe.jsx)($,Io({},W)):null,(0,qe.jsx)(Vo,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:f,isEnabled:F,open:b,children:t.cloneElement(a,V)})]}))}):null})),aa=oa,ia=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],la={entering:{opacity:1},entered:{opacity:1}},sa=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=qo}=e,v=(0,ue.Z)(e,ia),b=t.useRef(null),E=(0,fr.Z)(b,l.ref,n),C=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},S=C(f),O=C(((e,t)=>{yo(e);const n=go({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=C(d),R=C(h),x=C((e=>{const t=go({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)})),w=C(m);return(0,qe.jsx)(g,(0,ce.Z)({appear:i,in:c,nodeRef:b,onEnter:O,onEntered:I,onEntering:S,onExit:x,onExited:w,onExiting:R,addEndListener:e=>{a&&a(b.current,e)},timeout:y},v,{children:(e,n)=>t.cloneElement(l,(0,ce.Z)({style:(0,ce.Z)({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},la[e],q,l.props.style),ref:E},n))}))})),ca=sa;function ua(e){return(0,At.Z)("MuiBackdrop",e)}(0,Tt.Z)("MuiBackdrop",["root","invisible"]);const da=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],fa=(0,yn.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"}))),pa=t.forwardRef((function(e,t){var n,r,o;const a=(0,gn.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=ca,transitionDuration:q}=a,y=(0,ue.Z)(a,da),g=(0,ce.Z)({},a,{component:s,invisible:d}),v=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,qn.Z)(r,ua,t)})(g),b=null!=(n=p.root)?n:u.root;return(0,qe.jsx)(h,(0,ce.Z)({in:f,timeout:q},y,{children:(0,qe.jsx)(fa,(0,ce.Z)({"aria-hidden":!0},b,{as:null!=(r=null!=(o=m.root)?o:c.Root)?r:s,className:(0,cn.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}))}))})),ma=pa,ha=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],qa=(0,yn.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"}))),ya=(0,yn.ZP)(ma,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ga=t.forwardRef((function(e,n){var r,o,a,i,l,s;const c=(0,gn.Z)({name:"MuiModal",props:e}),{BackdropComponent:u=ya,BackdropProps:d,classes:f,className:p,closeAfterTransition:m=!1,children:h,container:q,component:y,components:g={},componentsProps:v={},disableAutoFocus:b=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:C=!1,disablePortal:S=!1,disableRestoreFocus:O=!1,disableScrollLock:I=!1,hideBackdrop:R=!1,keepMounted:x=!1,onBackdropClick:w,onClose:N,open:L,slotProps:_,slots:T,theme:A}=c,P=(0,ue.Z)(c,ha),[D,k]=t.useState(!0),M={container:q,closeAfterTransition:m,disableAutoFocus:b,disableEnforceFocus:E,disableEscapeKeyDown:C,disablePortal:S,disableRestoreFocus:O,disableScrollLock:I,hideBackdrop:R,keepMounted:x,onBackdropClick:w,onClose:N,open:L},F=(0,ce.Z)({},c,M,{exited:D}),B=null!=(r=null!=(o=null==T?void 0:T.root)?o:g.Root)?r:qa,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,qe.jsx)(aa,(0,ce.Z)({slots:{root:B,backdrop:j},slotProps:{root:()=>(0,ce.Z)({},Xo(z,F),!Zo(B)&&{as:y,theme:A},{className:(0,cn.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,Xo(G,F),{className:(0,cn.Z)(null==G?void 0:G.className,null==f?void 0:f.backdrop)})},onTransitionEnter:()=>k(!1),onTransitionExited:()=>k(!0),ref:n},P,M,{children:h}))})),va=ga,ba=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ea(e){return(0,At.Z)("MuiPaper",e)}(0,Tt.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 Ca=["className","component","elevation","square","variant"],Sa=(0,yn.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,dr.Fq)("#fff",ba(t.elevation))}, ${(0,dr.Fq)("#fff",ba(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Oa=t.forwardRef((function(e,t){const n=(0,gn.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,Ca),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,qn.Z)(a,Ea,o)})(c);return(0,qe.jsx)(Sa,(0,ce.Z)({as:o,ownerState:c,className:(0,cn.Z)(u.root,r),ref:t},s))})),Ia=Oa;function Ra(e){return(0,At.Z)("MuiPopover",e)}(0,Tt.Z)("MuiPopover",["root","paper"]);const xa=["onEntering"],wa=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function Na(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function La(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function _a(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Ta(e){return"function"==typeof e?e():e}const Aa=(0,yn.ZP)(va,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pa=(0,yn.ZP)(Ia,{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}),Da=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiPopover"}),{action:o,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:s="anchorEl",children:c,className:u,container:d,elevation:f=8,marginThreshold:p=16,open:m,PaperProps:h={},transformOrigin:q={vertical:"top",horizontal:"left"},TransitionComponent:y=Oo,transitionDuration:g="auto",TransitionProps:{onEntering:v}={}}=r,b=(0,ue.Z)(r.TransitionProps,xa),E=(0,ue.Z)(r,wa),C=t.useRef(),S=(0,fr.Z)(C,h.ref),O=(0,ce.Z)({},r,{anchorOrigin:i,anchorReference:s,elevation:f,marginThreshold:p,PaperProps:h,transformOrigin:q,TransitionComponent:y,transitionDuration:g,TransitionProps:b}),I=(e=>{const{classes:t}=e;return(0,qn.Z)({root:["root"],paper:["paper"]},Ra,t)})(O),R=t.useCallback((()=>{if("anchorPosition"===s)return l;const e=Ta(a),t=(e&&1===e.nodeType?e:(0,io.Z)(C.current).body).getBoundingClientRect();return{top:t.top+Na(t,i.vertical),left:t.left+La(t,i.horizontal)}}),[a,i.horizontal,i.vertical,l,s]),x=t.useCallback((e=>({vertical:Na(e,q.vertical),horizontal:La(e,q.horizontal)})),[q.horizontal,q.vertical]),w=t.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=x(t);if("none"===s)return{top:null,left:null,transformOrigin:_a(n)};const r=R();let o=r.top-n.vertical,i=r.left-n.horizontal;const l=o+t.height,c=i+t.width,u=(0,lo.Z)(Ta(a)),d=u.innerHeight-p,f=u.innerWidth-p;if(o<p){const e=o-p;o-=e,n.vertical+=e}else if(l>d){const e=l-d;o-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(c>f){const e=c-f;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:_a(n)}}),[a,s,R,x,p]),[N,L]=t.useState(m),_=t.useCallback((()=>{const e=C.current;if(!e)return;const t=w(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,L(!0)}),[w]);t.useEffect((()=>{m&&_()})),t.useImperativeHandle(o,(()=>m?{updatePosition:()=>{_()}}:null),[m,_]),t.useEffect((()=>{if(!m)return;const e=(0,ao.Z)((()=>{_()})),t=(0,lo.Z)(a);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[a,m,_]);let T=g;"auto"!==g||y.muiSupportAuto||(T=void 0);const A=d||(a?(0,io.Z)(Ta(a)).body:void 0);return(0,qe.jsx)(Aa,(0,ce.Z)({BackdropProps:{invisible:!0},className:(0,cn.Z)(I.root,u),container:A,open:m,ref:n,ownerState:O},E,{children:(0,qe.jsx)(y,(0,ce.Z)({appear:!0,in:m,onEntering:(e,t)=>{v&&v(e,t),_()},onExited:()=>{L(!1)},timeout:T},b,{children:(0,qe.jsx)(Pa,(0,ce.Z)({elevation:f},h,{ref:S,className:(0,cn.Z)(I.paper,h.className)},N?void 0:{style:(0,ce.Z)({},h.style,{opacity:0})},{ownerState:O,children:c}))}))}))})),ka=Da;var Ma=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}}(),Fa=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 Ba=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=Fa(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},Fa(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),Ma(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),ja=["S","XS"],za=e=>e.reduce(((e,t)=>e.concat(t)));async function Ga({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 Va="RowColumn",Ua={row:`${Va}-row`,rowBorderBottom:`${Va}-rowBorderBottom`,column:`${Va}-column`,fieldRoot:`${Va}-fieldRoot`,cell:`${Va}-cell`,labelText:`${Va}-labelText`,labelDense:`${Va}-labelDense`,highlighted:`${Va}-highlighted`,checkboxLabel:`${Va}-checkboxLabel`,icon:`${Va}-icon`,S:`${Va}-S`,XS:`${Va}-XS`,A:`${Va}-A`,X:`${Va}-X`,frequencyCount:`${Va}-frequencyCount`,barContainer:`${Va}-barContainer`,bar:`${Va}-bar`,barSelected:`${Va}-barSelected`,barWithCheckbox:`${Va}-barWithCheckbox`,barSelectedWithCheckbox:`${Va}-barSelectedWithCheckbox`,excludedTextWithCheckbox:`${Va}-excludedTextWithCheckbox`},Za=`.${Ua.fieldRoot}`,$a=e=>!(e?.metaKey||e?.ctrlKey);const Wa=e=>({...e,shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]}),Ha=e=>er(Wa(e)),Ka=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,Xa=e=>e?"A"===e.qState:null,Ya=({cell:e,checkboxes:t})=>(Xa(e)||Ka(e))&&t,Qa=9,Ja=80,ei=10,ti=150,ni=40,ri=56,oi=20,ai=e=>e.filter((e=>!!e)).join(" ").trim(),ii=e=>e||"-",li=({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}}),si={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},ci=(0,yn.ZP)("div",{shouldForwardProp:e=>!["flexBasisProp","isGridMode","isGridCol","dense","frequencyWidth","direction"].includes(e)})((({theme:e,flexBasisProp:t,isGridMode:n,isGridCol:r,dense:o,frequencyWidth:a,direction:i})=>({"&: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"}},[`& .${Ua.row}`]:{flexWrap:"nowrap",color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Ua.rowBorderBottom}`]:{borderBottom:r?"none":`1px solid ${e.palette.divider}`,borderLeft:r?`1px solid ${e.palette.divider}`:"none"},[`& .${Ua.column}`]:{flexWrap:"nowrap",borderRight:`1px solid ${e.palette.divider}`,color:e.listBox?.content?.color??e.palette.text.primary},[`& .${Ua.cell}`]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:`${Qa}px`,paddingRight:0},[`& .${Ua.labelText}`]:{flexBasis:t,lineHeight:"16px",userSelect:"none",paddingRight:"1px",...si,fontSize:e.listBox?.content?.fontSize,fontFamily:e.listBox?.content?.fontFamily},[`& .${Ua.labelDense}`]:{fontSize:12},[`& .${Ua.highlighted}`]:{backgroundColor:"#FFC72A"},[`& .${Ua.checkboxLabel}`]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":{...si,display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"}},[`& .${Ua.icon}`]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},[`& .${Ua.S}`]:{...li({theme:e}),border:n?"none":void 0},[`& .${Ua.XS}`]:{...li({theme:e}),background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Ua.A}`]:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText,border:n?"none":void 0},[`& .${Ua.X}`]:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText,border:n?"none":void 0},[`& .${Ua.frequencyCount}`]:{justifyContent:"flex-end",...si,flex:`0 1 ${a}px`,textAlign:"rtl"===i?"left":"right",paddingLeft:"2px"},[`&.${Ua.barContainer}`]:{height:"100%",display:"flex",alignItems:"center"},[`& .${Ua.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%"}},[`& .${Ua.barSelected}`]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:e.palette.background.lighter}},[`& .${Ua.barWithCheckbox}`]:{left:"rtl"===i?4:29,width:"calc(100% - 33px)"},[`& .${Ua.barSelectedWithCheckbox}`]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},[`& .${Ua.excludedTextWithCheckbox}`]:{color:"#828282",fontStyle:"italic"}}))),ui=t.memo(ci),di=t.createContext(void 0);function fi(){return t.useContext(di)}function pi(e){return(0,At.Z)("MuiFormControlLabel",e)}const mi=(0,Tt.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function hi({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 qi=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],yi=(0,yn.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${mi.label}`]:t.label},t.root,t[`labelPlacement${(0,rr.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,[`&.${mi.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},{[`& .${mi.label}`]:{[`&.${mi.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),gi=(0,yn.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${mi.error}`]:{color:(e.vars||e).palette.error.main}}))),vi=t.forwardRef((function(e,n){var r,o;const a=(0,gn.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,qi),q=fi(),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=hi({props:a,muiFormControl:q,states:["error"]}),E=(0,ce.Z)({},a,{disabled:y,labelPlacement:f,required:g,error:b.error}),C=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,rr.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,qn.Z)(i,pi,t)})(E),S=null!=(o=m.typography)?o:l.typography;let O=d;return null==O||O.type===ur||u||(O=(0,qe.jsx)(ur,(0,ce.Z)({component:"span"},S,{className:(0,cn.Z)(C.label,null==S?void 0:S.className),children:O}))),(0,qe.jsxs)(yi,(0,ce.Z)({className:(0,cn.Z)(C.root,i),ownerState:E,ref:n},h,{children:[t.cloneElement(s,v),O,g&&(0,qe.jsxs)(gi,{ownerState:E,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]}))})),bi=vi;var Ei=o(66055);function Ci(e){return(0,At.Z)("PrivateSwitchBase",e)}(0,Tt.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Si=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Oi=(0,yn.ZP)(Yr)((({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}))),Ii=(0,yn.ZP)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ri=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:E,value:C}=e,S=(0,ue.Z)(e,Si),[O,I]=(0,Ei.Z)({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=fi();let x=l;R&&void 0===x&&(x=R.disabled);const w="checkbox"===E||"radio"===E,N=(0,ce.Z)({},e,{checked:O,disabled:x,disableFocusRipple:s,edge:c}),L=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,rr.Z)(o)}`],input:["input"]};return(0,qn.Z)(a,Ci,t)})(N);return(0,qe.jsxs)(Oi,(0,ce.Z)({component:"span",className:(0,cn.Z)(L.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:N,ref:t},S,{children:[(0,qe.jsx)(Ii,(0,ce.Z)({autoFocus:n,checked:r,defaultChecked:i,className:L.input,disabled:x,id:w?d:void 0,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;I(t),q&&q(e,t)},readOnly:g,ref:p,required:v,ownerState:N,tabIndex:b,type:E},"checkbox"===E&&void 0===C?{}:{value:C},f)),O?o:u]}))})),xi=Ri;var wi=o(79143);const Ni=(0,wi.Z)((0,qe.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Li=(0,wi.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),_i=(0,wi.Z)((0,qe.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Ti(e){return(0,At.Z)("MuiCheckbox",e)}const Ai=(0,Tt.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),Pi=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Di=(0,yn.ZP)(xi,{shouldForwardProp:e=>(0,yn.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,rr.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,dr.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&&{[`&.${Ai.checked}, &.${Ai.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Ai.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ki=(0,qe.jsx)(Li,{}),Mi=(0,qe.jsx)(Ni,{}),Fi=(0,qe.jsx)(_i,{}),Bi=t.forwardRef((function(e,n){var r,o;const a=(0,gn.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=ki,color:l="primary",icon:s=Mi,indeterminate:c=!1,indeterminateIcon:u=Fi,inputProps:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,Pi),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,rr.Z)(r)}`]},a=(0,qn.Z)(o,Ti,t);return(0,ce.Z)({},t,a)})(y);return(0,qe.jsx)(Di,(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,cn.Z)(g.root,p)},m,{classes:g}))})),ji=Bi,zi="ListBoxCheckbox",Gi={cbIcon:`${zi}-cbIcon`,cbIconChecked:`${zi}-cbIconChecked`,cbIconExcluded:`${zi}-cbIconExcluded`,cbIconAlternative:`${zi}-cbIconAlternative`,checkbox:`${zi}-checkbox`,dense:`${zi}-dense`},Vi=(0,yn.ZP)(ji)((({theme:e})=>({[`& .${Gi.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"},[`& .${Gi.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:'""'}},[`& .${Gi.cbIconExcluded}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},[`& .${Gi.cbIconAlternative}`]:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},[`&.${Gi.checkbox}`]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},[`&.${Gi.dense}`]:{padding:"4px 8px"}}))),Ui=(e,n=!0,r=!1)=>t.createElement("span",{className:e.cbIcon},r&&t.createElement("span",{className:n&&r?e.cbIconExcluded:""}));function Zi({onChange:e,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}){return t.createElement(Vi,{edge:"start",onChange:e,checked:n,disableRipple:!0,className:[Gi.checkbox,o&&Gi.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:Ui(Gi,i,a),checkedIcon:t.createElement("span",{className:Gi.cbIconChecked})})}const $i=(0,wi.Z)((0,qe.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Wi=(0,wi.Z)((0,qe.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Hi=(0,yn.ZP)("span")({position:"relative",display:"flex"}),Ki=(0,yn.ZP)($i)({transform:"scale(1)"}),Xi=(0,yn.ZP)(Wi)((({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})}))),Yi=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,ce.Z)({},e,{checked:t});return(0,qe.jsxs)(Hi,{className:n.root,ownerState:o,children:[(0,qe.jsx)(Ki,{fontSize:r,className:n.background,ownerState:o}),(0,qe.jsx)(Xi,{fontSize:r,className:n.dot,ownerState:o})]})};var Qi=o(80062);const Ji=t.createContext(void 0);function el(e){return(0,At.Z)("MuiRadio",e)}const tl=(0,Tt.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),nl=["checked","checkedIcon","color","icon","name","onChange","size","className"],rl=(0,yn.ZP)(xi,{shouldForwardProp:e=>(0,yn.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,rr.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,dr.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&&{[`&.${tl.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${tl.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),ol=(0,qe.jsx)(Yi,{checked:!0}),al=(0,qe.jsx)(Yi,{}),il=t.forwardRef((function(e,n){var r,o;const a=(0,gn.Z)({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:l=ol,color:s="primary",icon:c=al,name:u,onChange:d,size:f="medium",className:p}=a,m=(0,ue.Z)(a,nl),h=(0,ce.Z)({},a,{color:s,size:f}),q=(e=>{const{classes:t,color:n}=e,r={root:["root",`color${(0,rr.Z)(n)}`]};return(0,ce.Z)({},t,(0,qn.Z)(r,el,t))})(h),y=t.useContext(Ji);let g=i;const v=(0,Qi.Z)(d,y&&y.onChange);let b=u;var E,C;return y&&(void 0===g&&(E=y.value,g="object"==typeof(C=a.value)&&null!==C?E===C:String(E)===String(C)),void 0===b&&(b=y.name)),(0,qe.jsx)(rl,(0,ce.Z)({type:"radio",icon:t.cloneElement(c,{fontSize:null!=(r=al.props.fontSize)?r:f}),checkedIcon:t.cloneElement(l,{fontSize:null!=(o=ol.props.fontSize)?o:f}),ownerState:h,classes:q,name:b,checked:g,onChange:v,ref:n,className:(0,cn.Z)(q.root,p)},m))})),ll=il,sl="ListBoxRadioButton",cl={denseRadioButton:`${sl}-denseRadioButton`,radioButton:`${sl}-radioButton`},ul=(0,yn.ZP)(ll)((({theme:e,checked:t})=>({[`&.${cl.radioButton}`]:{right:"5px",color:t?e.palette.selected.main:e.palette.main}})));function dl({onChange:e,checked:n,label:r,dense:o,dataN:a}){return t.createElement(ul,{checked:n,onChange:e,value:r,name:r,className:cl.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}const fl=function({label:e,color:n,dense:r,showGray:o=!0,checkboxes:a,cell:i,valueTextAlign:l}){return t.createElement(ur,{component:"span",variant:"body2",className:ai([Ua.labelText,r&&Ua.labelDense,o&&Ya({cell:i,checkboxes:a})&&Ua.excludedTextWithCheckbox]),color:n,align:l,dir:"auto"},t.createElement("span",null,e))},pl=function({label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}){return"string"==typeof e?t.createElement(fl,{label:e,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):e},ml=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(Zi,{onChange:e,label:n,checked:a,dense:i,excluded:Ka(l),isGridCol:s,showGray:c,dataN:o}),m=t.createElement(dl,{onChange:e,label:n,checked:a,dense:i,dataN:o});return t.createElement(bi,{color:r,control:u?m:p,className:Ua.checkboxLabel,label:t.createElement(pl,{label:n,color:r,dense:i,showGray:c,checkboxes:d,cell:l,valueTextAlign:f}),key:o})};function hl({labels:e,dense:n,showGray:r,checkboxes:o}){const a=e.map((([e,n],r)=>t.createElement("span",{id:r,className:n?Ua.highlighted:""},e)));return t.createElement(fl,{label:a,dense:n,showGray:r,checkboxes:o})}const ql=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(hl,{labels:n,dense:o,showGray:a,checkboxes:r});return r?t.createElement(ml,{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 yl({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(ml,{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(fl,{label:n,color:r,dense:i,showGray:!0,checkboxes:d,cell:l,valueTextAlign:f})}const gl=t.memo(yl);function vl(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=vl(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}const bl=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=vl(e))&&(r&&(r+=" "),r+=t);return r};var El=o(4709),Cl=o(19782);const Sl=["className","component"];var Ol=o(93958);const Il=(0,xt.Z)(),Rl=function(e={}){const{themeId:n,defaultTheme:r,defaultClassName:o="MuiBox-root",generateClassName:a}=e,i=(0,El.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Cl.Z);return t.forwardRef((function(e,t){const l=(0,ae.Z)(r),s=hn(e),{className:c,component:u="div"}=s,d=(0,dn.Z)(s,Sl);return(0,qe.jsx)(i,(0,de.Z)({as:u,ref:t,className:bl(c,a?a(o):o),theme:n&&l[n]||l},d))}))}({themeId:le.Z,defaultTheme:Il,defaultClassName:"MuiBox-root",generateClassName:Ol.Z.generate}),xl=Rl,wl=function({qFrequency:e,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}){if(!e||!n||"-"===ii(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(xl,{className:ai([Ua.bar,r&&Ua.barWithCheckbox,o&&(r?Ua.barSelectedWithCheckbox:Ua.barSelected)])},t.createElement(xl,{className:"bar-filled",width:i}))},Nl=function({cell:e,checkboxes:n,dense:r,showGray:o}){const a=ii(e?.qFrequency);return t.createElement(Nn,{item:!0,style:{display:"flex",alignItems:"center"},className:Ua.frequencyCount,"aria-label":a},t.createElement(ur,{noWrap:!0,color:"inherit",variant:"body2",className:ai([r&&Ua.labelDense,Ua.labelText,o&&Ya({cell:e,checkboxes:n})&&Ua.excludedTextWithCheckbox])},a))};function Ll({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 _l=(0,yn.ZP)(Nn,{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{[`&.${Ua.fieldRoot}`]:{...Ll({dataLayout:e,layoutOrder:t,itemPadding:n}),[a]:r?"8px":void 0}}})),Tl={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 Al({layout:e}){const{translator:n}=(0,t.useContext)(Wt),{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 Pl=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===Pl.ARROW_UP||e===Pl.ARROW_DOWN||e===Pl.ARROW_LEFT||e===Pl.ARROW_RIGHT}),Dl=Pl,kl=e=>+e.getAttribute("data-n"),Ml=e=>{const t=e?.querySelector(".search input");return t?.focus(),t},Fl=e=>{const t=e?.querySelector(".value.last-focused, .value.selector, .value");return t?.setAttribute("tabIndex",0),t?.focus(),t},Bl=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:E,actions:C,frequencyMax:S="",histogram:O=!1,keyboard:I,showGray:R=!0,showTick:x=!0,columnCount:w=1,rowCount:N=1,dataOffset:L,focusListItems:_,listCount:T,itemPadding:A,frequencyWidth:P,translator:D,showSearch:k,isModal:M}=a,{dense:F=!1,dataLayout:B="singleColumn",layoutOrder:j}=v;let z,G;const V={max:null,currentIndex:null};if("number"==typeof n&&"number"==typeof r){"row"===j?(z=n*w+r,V.max=N,V.currentIndex=n):(z=r*N+n,V.max=w,V.currentIndex=r);const e=0;G={...o,left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e}}else z=e,V.max=T,V.currentIndex=e,G={...o};z+=L;const[U,Z]=(0,t.useState)(null);(0,t.useEffect)((()=>{null!==U&&(0===V.currentIndex&&_.first&&(U.focus(),_.setFirst(!1)),V.currentIndex===V.max-1&&_.last&&(U.focus(),_.setLast(!1)))}),[U,_.first,_.last]);const $=(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===Dl.ARROW_LEFT||e===Dl.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===Dl.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 Dl.TAB:{const e=d.closest(".listbox-container"),t=s();if(d.classList.add("last-focused"),y){Ml(e)||(t?l.focusSelection():l.blur(!0));break}t?l.focusSelection():(d.blur(),l.blur());break}case Dl.SHIFT:q(!0);break;case Dl.SPACE:e([kl(d)],!1,c);break;case Dl.ARROW_DOWN:case Dl.ARROW_RIGHT:u=m(p,d,!0),y&&u&&(h&&(e([kl(d)],!0),q(!1)),e([kl(u)],!0));break;case Dl.ARROW_UP:case Dl.ARROW_LEFT:u=m(p,d,!1),y&&u&&(h&&(e([kl(d)],!0),q(!1)),e([kl(u)],!0));break;case Dl.ENTER:r();break;case Dl.ESCAPE:if(!s())return;o();break;case Dl.HOME:if(i.setFirst(!0),g){a?.("overflowStart");break}a?.("start");break;case Dl.END:if(i.setLast(!0),g){a?.("overflowEnd");break}a?.("end");break;case Dl.A:if(g||v){t();break}return;case Dl.F:if(g||v){n();break}return;default:return}u&&u.focus(),c.preventDefault(),c.stopPropagation()}}({...C,focusListItems:_,keyboard:I,isModal:M,rowCount:N,columnCount:w,rowIndex:n,columnIndex:r,layoutOrder:j}),[C,I?.innerTabStops,N,w,n,r,j]),W=(0,t.useMemo)((()=>function({pages:e,cellIndex:t}){let n;const r=e.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(r){const e=r.qArea;t>=e.qTop&&t<e.qTop+e.qHeight&&([n]=r.qMatrix[t-e.qTop])}return n}({pages:p,cellIndex:z})),[p,z]),H="S"===W?.qState||"XS"===W?.qState||"L"===W?.qState||"XL"===W?.qState,K=(0,t.useMemo)((()=>(({column:e,histogram:t,checkboxes:n,cell:r,showGray:o})=>{const a=[e?Ua.column:Ua.row];return t||a.push(Ua.rowBorderBottom),r?(n||("XS"===r.qState?a.push(o?Ua.XS:Ua.S):"S"===r.qState||"L"===r.qState?a.push(Ua.S):o&&Xa(r)?a.push(Ua.A):o&&Ka(r)&&a.push(Ua.X)),a):[]})({column:h,histogram:O,checkboxes:q,cell:W,showGray:R})),[W?.qState,O,F,q]),X=(0,t.useCallback)((e=>{e.preventDefault()}),[q]);if(!W)return null;const Y=!["NaN",void 0].includes(W?.qNum);let Q;Q=!y||y.auto?Y?"rtl"===g?"left":"right":{rtl:"right",ltr:"left"}[g]:y?.align||"left";const J="grid"===B&&"column"===j,ee=W?.qText??"";let te;W.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,W.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[]));const ne={alignItems:"center",display:"flex",fontSize:"8px"},re={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"rtl"===g?8:q?0:void 0,paddingRight:q?0:"rtl"===g?8:0,justifyContent:Q},oe=0===e,ae=q?"auto":"max-content",ie=H&&m,le=!q&&H&&!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=Tl[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:W.qState,currentIndex:V.currentIndex,maxIndex:V.max,showSearch:k});return t.createElement(ui,{className:Ua.barContainer,flexBasisProp:ae,style:G,isGridCol:J,isGridMode:"grid"===B,dense:F,frequencyWidth:P,direction:g,"data-testid":"listbox.item"},t.createElement(_l,{role:"row","aria-label":ue,"aria-selected":H,"aria-setsize":V.max,"aria-rowindex":V.currentIndex,ref:Z,container:!0,dataLayout:B,cellPaddingRight:ce,layoutOrder:j,itemPadding:A,gap:0,className:ai(["value",...K]),classes:{root:Ua.fieldRoot},onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:$,onTouchStart:d,onTouchEnd:f,onContextMenu:X,tabIndex:oe&&I.innerTabStops?0:-1,"data-n":W?.qElemNumber,direction:g},W?.qFrequency&&t.createElement(wl,{qFrequency:W?.qFrequency,histogram:O,checkboxes:q,isSelected:H,frequencyMax:S}),t.createElement(Nn,{item:!0,style:re,className:ai([Ua.cell,Ua.selectedCell]),title:`${ee}`},te?t.createElement(ql,{onChange:i,labels:te,checkboxes:q,dense:F,showGray:R,color:"inherit",qElemNumber:W.qElemNumber,isSelected:H,cell:W,isGridCol:J,isSingleSelect:E,valueTextAlign:Q}):t.createElement(gl,{onChange:i,label:ee,color:"inherit",qElemNumber:W.qElemNumber,isSelected:H,dense:F,cell:W,isGridCol:J,showGray:R,isSingleSelect:E,checkboxes:q,valueTextAlign:Q})),b&&t.createElement(Nl,{cell:W,checkboxes:q,dense:F,showGray:R}),se&&t.createElement(Nn,{item:!0,className:Ua.icon},ie&&t.createElement(nr,{style:ne,size:"small"}),le&&t.createElement(Ha,{style:ne,size:"small"}))))};var jl=o(49241),zl=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Gl(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||zl(r)&&zl(o)))return!1;var r,o;return!0}const Vl=function(e,t){var n;void 0===t&&(t=Gl);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 Ul="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Zl(e){cancelAnimationFrame(e.id)}function $l(e,t){var n=Ul(),r={id:requestAnimationFrame((function o(){Ul()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var Wl=-1;function Hl(e){if(void 0===e&&(e=!1),-1===Wl||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Wl=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Wl}var Kl=null;function Xl(e){if(void 0===e&&(e=!1),null===Kl||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?Kl="positive-descending":(t.scrollLeft=1,Kl=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Kl}return Kl}var Yl=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function Ql(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,yr(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:yr(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=Vl((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=Vl((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=Vl((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(Xl()){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&&Zl(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=$l(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}vr(n,e),n.getDerivedStateFromProps=function(e,t){return Jl(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=Hl();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(Xl()){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&&Zl(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?Yl:p,h=e.outerElementType,q=e.outerTagName,y=e.rowCount,g=e.style,v=e.useIsScrolling,b=e.width,E=this.state.isScrolling,C=this._getHorizontalRangeToRender(),S=C[0],O=C[1],I=this._getVerticalRangeToRender(),R=I[0],x=I[1],w=[];if(o>0&&y)for(var N=R;N<=x;N++)for(var L=S;L<=O;L++)w.push((0,t.createElement)(n,{columnIndex:L,data:f,isScrolling:v?E:void 0,key:m({columnIndex:L,data:f,rowIndex:N}),rowIndex:N,style:this._getItemStyle(N,L)}));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:qr({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,t.createElement)(u||d||"div",{children:w,ref:c,style:{height:_,pointerEvents:E?"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 Jl=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},es=function(e,t){return e};function ts(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,yr(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:yr(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Vl((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Vl((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=Vl((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(Xl()){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&&Zl(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=$l(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}vr(n,e),n.getDerivedStateFromProps=function(e,t){return ns(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?Hl():0:s.scrollHeight>s.clientHeight?Hl():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(Xl()){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&&Zl(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?es:f,m=e.layout,h=e.outerElementType,q=e.outerTagName,y=e.style,g=e.useIsScrolling,v=e.width,b=this.state.isScrolling,E="horizontal"===a||"horizontal"===m,C=E?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 w=o(this.props,this._instanceProps);return(0,t.createElement)(h||q||"div",{className:r,onScroll:C,ref:this._outerRefSetter,style:qr({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:E?"100%":w,pointerEvents:b?"none":void 0,width:E?w:"100%"}}))},f._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},f._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,i,this._instanceProps),u=s(this.props,c,i,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),f=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]},n}(t.PureComponent),n.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var ns=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},rs=Ql({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}}),os=ts({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 as="#BBB",is="#f1f1f1",ls={styledScrollbars:"ListBox-styledScrollbars"},ss=(e,t)=>void 0!==e?.visibleRowStopIndex||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,cs=(e,t)=>void 0!==e?.visibleRowStartIndex||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,us=(e,t,n,r)=>e===t*n+r+n;function ds({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=ss(e,s),u=s?n.column:n.row,d=(s?r:o)>=u,f=us(i,c,s?o:r,l),p=!!l&&cs(e,s),m=d&&!f&&c>=u-1||p||a.state.show;a.set(m)}function fs(){return fs=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},fs.apply(this,arguments)}const{StyledFixedSizeList:ps,StyledFixedSizeGrid:ms}=function(){const e=e=>({scrollbarColor:`${as} ${is}`,overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:is},"&::-webkit-scrollbar-thumb":{backgroundColor:as,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:(0,jl.Z)(os,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${ls.styledScrollbars}`]:e(t)}))),StyledFixedSizeGrid:(0,jl.Z)(rs,{shouldForwardProp:e=>"scrollDisabled"!==e})((({scrollDisabled:t})=>({[`&.${ls.styledScrollbars}`]:e(t)})))}}();const hs=e=>{const n=(0,t.useMemo)((()=>"text"in e?e:{}),[e]);return(0,t.useMemo)((()=>((e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();return n.font=t,Array.isArray(e)?Math.max(...e.map((e=>n.measureText(e).width))):n.measureText(e).width})(n.text,n.font||"14px Source Sans Pro")),[n.text,n.font])};function qs(e){if(!e)return"";const t=e.qListObject.qDimensionInfo.qApprMaxGlyphCount;let n="";for(let e=0;e<t;e++)n+="M";return n}const ys=({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},[gs,vs]=Ht({});function bs(e){const t=`${e.id}`,[n]=gs();return{setStoreValue:(e,r)=>n.set(`${t}/${e}`,r),getStoreValue:e=>n.get(`${t}/${e}`)}}function Es(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Cs(e){return e instanceof Es(e).Element||e instanceof Element}function Ss(e){return e instanceof Es(e).HTMLElement||e instanceof HTMLElement}function Os(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Es(e).ShadowRoot||e instanceof ShadowRoot)}var Is=Math.max,Rs=Math.min,xs=Math.round;function ws(){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 Ns(){return!/^((?!chrome|android).)*safari/i.test(ws())}function Ls(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ss(e)&&(o=e.offsetWidth>0&&xs(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&xs(r.height)/e.offsetHeight||1);var i=(Cs(e)?Es(e):window).visualViewport,l=!Ns()&&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 _s(e){var t=Es(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ts(e){return e?(e.nodeName||"").toLowerCase():null}function As(e){return((Cs(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ps(e){return Ls(As(e)).left+_s(e).scrollLeft}function Ds(e){return Es(e).getComputedStyle(e)}function ks(e){var t=Ds(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ms(e,t,n){void 0===n&&(n=!1);var r=Ss(t),o=Ss(t)&&function(e){var t=e.getBoundingClientRect(),n=xs(t.width)/e.offsetWidth||1,r=xs(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=As(t),i=Ls(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Ts(t)||ks(a))&&(l=function(e){return e!==Es(e)&&Ss(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:_s(e);var t}(t)),Ss(t)?((s=Ls(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Ps(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Fs(e){var t=Ls(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 Bs(e){return"html"===Ts(e)?e:e.assignedSlot||e.parentNode||(Os(e)?e.host:null)||As(e)}function js(e){return["html","body","#document"].indexOf(Ts(e))>=0?e.ownerDocument.body:Ss(e)&&ks(e)?e:js(Bs(e))}function zs(e,t){var n;void 0===t&&(t=[]);var r=js(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Es(r),i=o?[a].concat(a.visualViewport||[],ks(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(zs(Bs(i)))}function Gs(e){return["table","td","th"].indexOf(Ts(e))>=0}function Vs(e){return Ss(e)&&"fixed"!==Ds(e).position?e.offsetParent:null}function Us(e){for(var t=Es(e),n=Vs(e);n&&Gs(n)&&"static"===Ds(n).position;)n=Vs(n);return n&&("html"===Ts(n)||"body"===Ts(n)&&"static"===Ds(n).position)?t:n||function(e){var t=/firefox/i.test(ws());if(/Trident/i.test(ws())&&Ss(e)&&"fixed"===Ds(e).position)return null;var n=Bs(e);for(Os(n)&&(n=n.host);Ss(n)&&["html","body"].indexOf(Ts(n))<0;){var r=Ds(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 Zs="top",$s="bottom",Ws="right",Hs="left",Ks="auto",Xs=[Zs,$s,Ws,Hs],Ys="start",Qs="end",Js="viewport",ec="popper",tc=Xs.reduce((function(e,t){return e.concat([t+"-"+Ys,t+"-"+Qs])}),[]),nc=[].concat(Xs,[Ks]).reduce((function(e,t){return e.concat([t,t+"-"+Ys,t+"-"+Qs])}),[]),rc=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function oc(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 ac={placement:"bottom",modifiers:[],strategy:"absolute"};function ic(){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 lc(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ac:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},ac,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:Cs(e)?zs(e):e.contextElement?zs(e.contextElement):[],popper:zs(t)};var i,c,f=function(e){var t=oc(e);return rc.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(ic(t,n)){l.rects={reference:Ms(t,Us(n),"fixed"===l.options.strategy),popper:Fs(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(!ic(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 sc={passive:!0};function cc(e){return e.split("-")[0]}function uc(e){return e.split("-")[1]}function dc(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function fc(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?cc(o):null,i=o?uc(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Zs:t={x:l,y:n.y-r.height};break;case $s:t={x:l,y:n.y+n.height};break;case Ws:t={x:n.x+n.width,y:s};break;case Hs:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?dc(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ys:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Qs:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var pc={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mc(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=Hs,b=Zs,E=window;if(c){var C=Us(n),S="clientHeight",O="clientWidth";C===Es(n)&&"static"!==Ds(C=As(n)).position&&"absolute"===l&&(S="scrollHeight",O="scrollWidth"),(o===Zs||(o===Hs||o===Ws)&&a===Qs)&&(b=$s,h-=(d&&C===E&&E.visualViewport?E.visualViewport.height:C[S])-r.height,h*=s?1:-1),o!==Hs&&(o!==Zs&&o!==$s||a!==Qs)||(v=Ws,p-=(d&&C===E&&E.visualViewport?E.visualViewport.width:C[O])-r.width,p*=s?1:-1)}var I,R=Object.assign({position:l},c&&pc),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:xs(n*o)/o||0,y:xs(r*o)/o||0}}({x:p,y:h},Es(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=(E.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 hc={left:"right",right:"left",bottom:"top",top:"bottom"};function qc(e){return e.replace(/left|right|bottom|top/g,(function(e){return hc[e]}))}var yc={start:"end",end:"start"};function gc(e){return e.replace(/start|end/g,(function(e){return yc[e]}))}function vc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Os(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function bc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ec(e,t,n){return t===Js?bc(function(e,t){var n=Es(e),r=As(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Ns();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Ps(e),y:s}}(e,n)):Cs(t)?function(e,t){var n=Ls(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):bc(function(e){var t,n=As(e),r=_s(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Is(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Is(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Ps(e),s=-r.scrollTop;return"rtl"===Ds(o||n).direction&&(l+=Is(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(As(e)))}function Cc(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Sc(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Oc(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?Js:c,d=n.elementContext,f=void 0===d?ec:d,p=n.altBoundary,m=void 0!==p&&p,h=n.padding,q=void 0===h?0:h,y=Cc("number"!=typeof q?q:Sc(q,Xs)),g=f===ec?"reference":ec,v=e.rects.popper,b=e.elements[m?g:f],E=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=zs(Bs(e)),n=["absolute","fixed"].indexOf(Ds(e).position)>=0&&Ss(e)?Us(e):e;return Cs(n)?t.filter((function(e){return Cs(e)&&vc(e,n)&&"body"!==Ts(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Ec(e,n,r);return t.top=Is(o.top,t.top),t.right=Rs(o.right,t.right),t.bottom=Rs(o.bottom,t.bottom),t.left=Is(o.left,t.left),t}),Ec(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}(Cs(b)?b:b.contextElement||As(e.elements.popper),s,u,i),C=Ls(e.elements.reference),S=fc({reference:C,element:v,strategy:"absolute",placement:o}),O=bc(Object.assign({},v,S)),I=f===ec?O:C,R={top:E.top-I.top+y.top,bottom:I.bottom-E.bottom+y.bottom,left:E.left-I.left+y.left,right:I.right-E.right+y.right},x=e.modifiersData.offset;if(f===ec&&x){var w=x[o];Object.keys(R).forEach((function(e){var t=[Ws,$s].indexOf(e)>=0?1:-1,n=[Zs,$s].indexOf(e)>=0?"y":"x";R[e]+=w[n]*t}))}return R}function Ic(e,t,n){return Is(e,Rs(t,n))}function Rc(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 xc(e){return[Zs,Ws,$s,Hs].some((function(t){return e[t]>=0}))}var wc=lc({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=Es(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,sc)})),l&&s.addEventListener("resize",n.update,sc),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,sc)})),l&&s.removeEventListener("resize",n.update,sc)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=fc({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:cc(t.placement),variation:uc(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,mc(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,mc(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];Ss(o)&&Ts(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}),{});Ss(r)&&Ts(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=nc.reduce((function(e,n){return e[n]=function(e,t,n){var r=cc(e),o=[Hs,Zs].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,[Hs,Ws].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=cc(q),g=s||(y!==q&&m?function(e){if(cc(e)===Ks)return[];var t=qc(e);return[gc(e),t,gc(t)]}(q):[qc(q)]),v=[q].concat(g).reduce((function(e,n){return e.concat(cc(n)===Ks?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?nc:s,u=uc(r),d=u?l?tc:tc.filter((function(e){return uc(e)===u})):Xs,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]=Oc(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[cc(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,E=t.rects.popper,C=new Map,S=!0,O=v[0],I=0;I<v.length;I++){var R=v[I],x=cc(R),w=uc(R)===Ys,N=[Zs,$s].indexOf(x)>=0,L=N?"width":"height",_=Oc(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),T=N?w?Ws:Hs:w?$s:Zs;b[L]>E[L]&&(T=qc(T));var A=qc(T),P=[];if(a&&P.push(_[x]<=0),l&&P.push(_[T]<=0,_[A]<=0),P.every((function(e){return e}))){O=R,S=!1;break}C.set(R,P)}if(S)for(var D=function(e){var t=v.find((function(t){var n=C.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=Oc(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),y=cc(t.placement),g=uc(t.placement),v=!g,b=dc(y),E="x"===b?"y":"x",C=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,I="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,R="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,w={x:0,y:0};if(C){if(a){var N,L="y"===b?Zs:Hs,_="y"===b?$s:Ws,T="y"===b?"height":"width",A=C[b],P=A+q[L],D=A-q[_],k=p?-O[T]/2:0,M=g===Ys?S[T]:O[T],F=g===Ys?-O[T]:-S[T],B=t.elements.arrow,j=p&&B?Fs(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[L],V=z[_],U=Ic(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&&Us(t.elements.arrow),H=W?"y"===b?W.clientTop||0:W.clientLeft||0:0,K=null!=(N=null==x?void 0:x[b])?N:0,X=A+$-K,Y=Ic(p?Rs(P,A+Z-K-H):P,A,p?Is(D,X):D);C[b]=Y,w[b]=Y-A}if(l){var Q,J="x"===b?Zs:Hs,ee="x"===b?$s:Ws,te=C[E],ne="y"===E?"height":"width",re=te+q[J],oe=te-q[ee],ae=-1!==[Zs,Hs].indexOf(y),ie=null!=(Q=null==x?void 0:x[E])?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=Ic(e,t,n);return r>n?n:r}(le,te,se):Ic(p?le:re,te,p?se:oe);C[E]=ce,w[E]=ce-te}t.modifiersData[r]=w}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=cc(n.placement),s=dc(l),c=[Hs,Ws].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Cc("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Sc(e,Xs))}(o.padding,n),d=Fs(a),f="y"===s?Zs:Hs,p="y"===s?$s:Ws,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],q=Us(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],E=y/2-d[c]/2+g,C=Ic(v,E,b),S=s;n.modifiersData[r]=((t={})[S]=C,t.centerOffset=C-E,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)))&&vc(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=Oc(t,{elementContext:"reference"}),l=Oc(t,{altBoundary:!0}),s=Rc(i,r),c=Rc(l,o,a),u=xc(s),d=xc(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 Nc(e){return(0,At.Z)("MuiPopper",e)}(0,Tt.Z)("MuiPopper",["root"]);const Lc=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],_c=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Tc(e){return"function"==typeof e?e():e}const Ac={},Pc=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=Ro(e,Lc),y=t.useRef(null),g=(0,xo.Z)(y,n),v=t.useRef(null),b=(0,xo.Z)(v,f),E=t.useRef(b);(0,_o.Z)((()=>{E.current=b}),[b]),t.useImperativeHandle(f,(()=>v.current),[]);const C=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(C),[I,R]=t.useState(Tc(o));t.useEffect((()=>{v.current&&v.current.forceUpdate()})),t.useEffect((()=>{o&&R(Tc(o))}),[o]),(0,_o.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=wc(I,y.current,Io({placement:C},d,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[I,l,s,c,d,C]);const x={placement:S};null!==h&&(x.TransitionProps=h);const w=(0,qn.Z)({root:["root"]},ta(Nc)),N=null!=(r=m.root)?r:"div",L=Qo({elementType:N,externalSlotProps:p.root,externalForwardedProps:q,additionalProps:{role:"tooltip",ref:g},ownerState:e,className:w.root});return(0,qe.jsx)(N,Io({},L,{children:"function"==typeof a?a(x):a}))})),Dc=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=Ac,popperRef:p,style:m,transition:h=!1,slotProps:q={},slots:y={}}=e,g=Ro(e,_c),[v,b]=t.useState(!0);if(!s&&!u&&(!h||v))return null;let E;if(a)E=a;else if(r){const e=Tc(r);E=e&&void 0!==e.nodeType?(0,wo.Z)(e).body:(0,wo.Z)(null).body}const C=u||!s||h&&!v?void 0:"none",S=h?{in:u,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0;return(0,qe.jsx)(Ao,{disablePortal:l,container:E,children:(0,qe.jsx)(Pc,Io({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:Io({position:"fixed",top:0,left:0,display:C},m),TransitionProps:S,children:o}))})})),kc=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Mc=(0,yn.ZP)(Dc,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fc=t.forwardRef((function(e,t){var n;const r=(0,ve.Z)(),o=(0,gn.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,kc),E=null!=(n=null==g?void 0:g.root)?n:null==l?void 0:l.Root,C=(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,qe.jsx)(Mc,(0,ce.Z)({as:i,direction:null==r?void 0:r.direction,slots:{root:E},slotProps:null!=v?v:s},C,{ref:t}))}));var Bc=o(13212);function jc(e){return(0,At.Z)("MuiTooltip",e)}const zc=(0,Tt.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Gc=["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"],Vc=(0,yn.ZP)(Fc,{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"] .${zc.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${zc.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${zc.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"] .${zc.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"}})}))),Uc=(0,yn.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,rr.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>(0,ce.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,dr.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},{[`.${zc.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"})),[`.${zc.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"})),[`.${zc.popper}[data-popper-placement*="top"] &`]:(0,ce.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${zc.popper}[data-popper-placement*="bottom"] &`]:(0,ce.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})}))),Zc=(0,yn.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,dr.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let $c=!1,Wc=null,Hc={x:0,y:0};function Kc(e,t){return n=>{t&&t(n),e(n)}}const Xc=t.forwardRef((function(e,n){var r,o,a,i,l,s,c,u,d,f,p,m,h,q,y,g,v,b,E;const C=(0,gn.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:I={},componentsProps:R={},describeChild:x=!1,disableFocusListener:w=!1,disableHoverListener:N=!1,disableInteractive:L=!1,disableTouchListener:_=!1,enterDelay:T=100,enterNextDelay:A=0,enterTouchDelay:P=700,followCursor:D=!1,id:k,leaveDelay:M=0,leaveTouchDelay:F=1500,onClose:B,onOpen:j,open:z,placement:G="bottom",PopperComponent:V,PopperProps:U={},slotProps:Z={},slots:$={},title:W,TransitionComponent:H=Oo,TransitionProps:K}=C,X=(0,ue.Z)(C,Gc),Y=se(),Q="rtl"===Y.direction,[J,ee]=t.useState(),[te,ne]=t.useState(null),re=t.useRef(!1),oe=L||D,ae=t.useRef(),ie=t.useRef(),le=t.useRef(),de=t.useRef(),[fe,pe]=(0,Ei.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"});let me=fe;const he=(0,Bc.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(Wc),$c=!0,pe(!0),j&&!me&&j(e)},be=(0,pr.Z)((e=>{clearTimeout(Wc),Wc=setTimeout((()=>{$c=!1}),800+M),pe(!1),B&&me&&B(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Y.transitions.duration.shortest)})),Ee=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(ie.current),clearTimeout(le.current),T||$c&&A?ie.current=setTimeout((()=>{ve(e)}),$c?A:T):ve(e))},Ce=e=>{clearTimeout(ie.current),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),M)},{isFocusVisibleRef:Se,onBlur:Oe,onFocus:Ie,ref:Re}=(0,mr.Z)(),[,xe]=t.useState(!1),we=e=>{Oe(e),!1===Se.current&&(xe(!1),Ce(e))},Ne=e=>{J||ee(e.currentTarget),Ie(e),!0===Se.current&&(xe(!0),Ee(e))},Le=e=>{re.current=!0;const t=O.props;t.onTouchStart&&t.onTouchStart(e)},_e=Ee,Te=Ce;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 Ae=(0,fr.Z)(O.ref,Re,ee,n);W||0===W||(me=!1);const Pe=t.useRef(),De={},ke="string"==typeof W;x?(De.title=me||!ke||N?null:W,De["aria-describedby"]=me?he:null):(De["aria-label"]=ke?W:null,De["aria-labelledby"]=me&&!ke?he:null);const Me=(0,ce.Z)({},De,X,O.props,{className:(0,cn.Z)(X.className,O.props.className),onTouchStart:Le,ref:Ae},D?{onMouseMove:e=>{const t=O.props;t.onMouseMove&&t.onMouseMove(e),Hc={x:e.clientX,y:e.clientY},Pe.current&&Pe.current.update()}}:{}),Fe={};_||(Me.onTouchStart=e=>{Le(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,Ee(e)}),P)},Me.onTouchEnd=e=>{O.props.onTouchEnd&&O.props.onTouchEnd(e),ge(),clearTimeout(le.current),le.current=setTimeout((()=>{be(e)}),F)}),N||(Me.onMouseOver=Kc(_e,Me.onMouseOver),Me.onMouseLeave=Kc(Te,Me.onMouseLeave),oe||(Fe.onMouseOver=_e,Fe.onMouseLeave=Te)),w||(Me.onFocus=Kc(Ne,Me.onFocus),Me.onBlur=Kc(we,Me.onBlur),oe||(Fe.onFocus=Ne,Fe.onBlur=we));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)({},C,{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,rr.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,qn.Z)(i,jc,t)})(je),Ge=null!=(r=null!=(o=$.popper)?o:I.Popper)?r:Vc,Ve=null!=(a=null!=(i=null!=(l=$.transition)?l:I.Transition)?i:H)?a:Oo,Ue=null!=(s=null!=(c=$.tooltip)?c:I.Tooltip)?s:Uc,Ze=null!=(u=null!=(d=$.arrow)?d:I.Arrow)?u:Zc,$e=$o(Ge,(0,ce.Z)({},U,null!=(f=Z.popper)?f:R.popper,{className:(0,cn.Z)(ze.popper,null==U?void 0:U.className,null==(p=null!=(m=Z.popper)?m:R.popper)?void 0:p.className)}),je),We=$o(Ve,(0,ce.Z)({},K,null!=(h=Z.transition)?h:R.transition),je),He=$o(Ue,(0,ce.Z)({},null!=(q=Z.tooltip)?q:R.tooltip,{className:(0,cn.Z)(ze.tooltip,null==(y=null!=(g=Z.tooltip)?g:R.tooltip)?void 0:y.className)}),je),Ke=$o(Ze,(0,ce.Z)({},null!=(v=Z.arrow)?v:R.arrow,{className:(0,cn.Z)(ze.arrow,null==(b=null!=(E=Z.arrow)?E:R.arrow)?void 0:b.className)}),je);return(0,qe.jsxs)(t.Fragment,{children:[t.cloneElement(O,Me),(0,qe.jsx)(Ge,(0,ce.Z)({as:null!=V?V:Fc,placement:G,anchorEl:D?{getBoundingClientRect:()=>({top:Hc.y,left:Hc.x,right:Hc.x,bottom:Hc.y,width:0,height:0})}:J,popperRef:Pe,open:!!J&&me,id:he,transition:!0},Fe,$e,{popperOptions:Be,children:({TransitionProps:e})=>(0,qe.jsx)(Ve,(0,ce.Z)({timeout:Y.transitions.duration.shorter},e,We,{children:(0,qe.jsxs)(Ue,(0,ce.Z)({},He,{children:[W,S?(0,qe.jsx)(Ze,(0,ce.Z)({},Ke,{ref:ne})):null]}))}))}))]})})),Yc=Xc,Qc=(0,yn.ZP)(ur,{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 Jc({width:e,text:n,dense:r,tooltip:o}){const{translator:a}=(0,t.useContext)(Wt);return t.createElement(Yc,{title:o?a.get(n):""},t.createElement(Qc,{width:e,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var eu=o(79246);const tu=(0,yn.ZP)(Ia)((({theme:e,left:t})=>({position:"absolute",bottom:"12px",display:"flex",border:`1px solid ${e.palette.divider}`,width:"calc(100% - 11px)",left:t}))),nu=(0,yn.ZP)("div")((()=>({paddingLeft:"6px",flexGrow:1}))),ru=(0,yn.ZP)("div")((({dense:e})=>({display:"flex",alignItems:e?"center":"flex-start"}))),ou=(0,yn.ZP)(eu.Z)((()=>({fontSize:"14px"})));function au({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(tu,{left:l,style:{maxWidth:i}},t.createElement(nu,null,t.createElement(Jc,{text:e,dense:r,width:s,tooltip:c})),t.createElement(ru,{dense:r},a&&t.createElement(ro,{"aria-label":"close",onClick:()=>n()},t.createElement(ou,null))))}const iu=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t,lu=80;function su({itemWidth:e,layout:t,frequencyMode:n}){const r=e>lu,{frequencyEnabled:o=!1}=t?.qListObject||{},a=!["none",void 0].includes(n);return!(!r||!a&&!o)}const cu=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}))`},uu=(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=cu(r);return(await t.evaluateEx(o)).qNumber})(n,e);a(t),l(!1)})()}),[r&&n]),{frequencyMax:r?o:n?.frequencyMax,awaitingFrequencyMax:i}},du=100,fu=(0,yn.ZP)("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function pu({model:e,app:n,constraints:r,layout:o,selections:a,selectionState:i,direction:l,checkboxes:s,height:c,width:u,frequencyMode:d,update:f,fetchStart:p,postProcessPages:m,calculatePagesHeight:h=!1,keyboard:q={},showGray:y=!0,scrollState:g,selectDisabled:v=(()=>!1),keyScroll:b={state:{},reset:()=>{}},currentScrollIndex:E={set:()=>{}},renderedCallback:C,onCtrlF:S,showSearch:O,isModal:I}){const{translator:R}=(0,t.useContext)(Wt),[x,w]=(0,t.useState)(!1),N=!(!o||!o.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:L=s,histogram:_}=o??{},T=(0,t.useRef)(null),A=(0,t.useRef)({queue:[],validPages:!1,dataOffset:0}),P=(0,t.useRef)({pages:[]}),{frequencyMax:D,awaitingFrequencyMax:k}=uu(n,o),{isLoadingData:M,...F}=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:A,loaderRef:T,model:e,fetchStart:p,scrollTimeout:0,postProcessPages:m,listData:P}),{setStoreValue:B}=bs(e),j=(0,t.useCallback)(F.loadMoreItems,[o]),[z,G]=(0,t.useState)({show:!1,dismissed:!1}),[V,U]=(0,t.useState)([]);F?.pages&&i.update({setPages:U,pages:F.pages,isSingleSelect:N,selectDisabled:v,layout:o});const Z=o?.qListObject.qDimensionInfo.qCardinal;(F?.pages.length&&!k||0===Z)&&C?.();const $=(0,t.useCallback)((e=>{if(!V?.length||!A.current.validPages)return!1;A.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=V.filter((e=>t(e)))[0];return n&&t(n)}),[o,V]),{interactionEvents:W,select:H}=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(),Ga({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 za(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&&$a(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&&$a(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(Za)?.getAttribute("data-n")),r=Number(t.touches[1].target?.closest(Za)?.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&&$a(o?.nativeEvent);a||e.clearItemStates(!0);const i=[];return e.updateItems(t,r,i),e.setSelectableValuesUpdating(),Ga({selections:n,elemNumbers:r?i:t,isSingleSelect:e.isSingleSelect,toggle:a})}}}({selectionState:i,selections:a,checkboxes:L,doc:document,loaderRef:T}),{layoutOptions:K={}}=o||{};let X=!0;K.dataLayout&&(X="singleColumn"===K.dataLayout||"row"===K?.layoutOrder);const Y="grid"===K?.dataLayout,Q=e=>{const t={...X?{rowIndex:e}:{columnIndex:e}},n=Y?t:e;T.current._listRef.scrollToItem(n)},J=()=>{if(A.current.queue=[],A.current.validPages=!1,T.current){T.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===b.state.scrollPosition;if(o&&o.qSelectionInfo.qInSelections||e)return void(e&&b.reset());A.current.dataOffset=0,Q(0)}};f&&f.call(null,J),(0,t.useEffect)((()=>{g&&!x&&T.current&&(T.current._listRef.scrollToItem(g.initScrollPos),w(!0))}),[T.current]),(0,t.useEffect)((()=>{J()}),[o,A.current.dataOffset]);const ee=hs({text:qs(o),font:"14px Source sans pro"});let te=du;const ne="grid"!==K.dataLayout,re=o?.qListObject.qSize?.qcy,oe=function({pages:e,minimumBatchSize:t,count:n,calculatePagesHeight:r=!1}){return(e?.length&&r?ys({pages:e,minimumBatchSize:t,count:n}):n)||0}({pages:V,minimumBatchSize:te,count:re,calculatePagesHeight:h,layoutOptions:K,model:e});let ae=su({itemWidth:u,layout:o,frequencyMode:d});const ie=function({layout:e,width:t,height:n,listCount:r,count:o,textWidth:a,freqIsAllowed:i,checkboxes:l}){const{layoutOptions:s={}}=e||{},{layoutOrder:c,maxVisibleRows:u={},maxVisibleColumns:d,dense:f,dataLayout:p}=s,m=i?ni:0,h=l?oi:0;let q=ri+m+h;!l&&q>=Ja&&(q+=oi);let y,g,v,b,E=a+18+m+h;!l&&E>=Ja&&(E+=oi),E=Math.min(ti,Math.max(E,q));const C="grid"===p;let S=f?20:C?32:29;C&&(S+=4);const O=n??8*S;if(c){let e=t;"row"===c?(y={overflowX:"hidden"},e+=8,({rowCount:b,columnWidth:v,columnCount:g}=function({maxVisibleColumns:e,listCount:t,containerWidth:n,columnAutoWidth:r,itemMinWidth:o}){const a=e?.maxColumns||3,i=n-ei;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:E,itemMinWidth:q}))):(y={overflowY:"hidden"},({rowCount:b,columnWidth:v,columnCount:g}=function({maxVisibleRows:e,itemHeight:t,listCount:n,listHeight:r,columnAutoWidth:o,containerWidth:a,itemMinWidth:i}){let l;const s=e?.maxRows||3,c=Math.floor(r/t);l=!1!==e.auto?c:Math.min(n,s,c);const u=Math.ceil(n/l);return{columnWidth:Math.max(o,a/u,i),columnCount:u,rowCount:l}}({maxVisibleRows:u,itemHeight:S,listCount:r,listHeight:O,columnAutoWidth:E,containerWidth:e,itemMinWidth:q})))}g=("singleColumn"===p?1:g)||1,b=("singleColumn"===p?o:b)||r;const I=s.dense?838e3:577e3;b=Math.min(b,I);const R=Math.floor(3355e4/v);g=Math.min(g,R)||1;const x=b*g,w=Math.min(r,x);return{columnCount:g,columnWidth:v,rowCount:b,overflowStyling:y,itemHeight:S,listHeight:O,scrollBarWidth:ei,count:o,listCount:w,maxCount:{row:I,column:R},itemPadding:4,frequencyWidth:ni}}({layout:o,width:u,height:c,listCount:oe,count:re,textWidth:ee,freqIsAllowed:ae,checkboxes:L});ie.columnWidth&&(ae=su({itemWidth:ie.columnWidth,layout:o,frequencyMode:d}));const{listCount:le}=ie;B("listCount",le);const se=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=iu(r,n.listCount),a=r.qListObject.qDimensionInfo.qCardinal,i=!0}return{scrollIndex:a,offset:l,triggerRerender:i}}({position:e,isRow:X,sizes:ie,layout:o,offset:A.current.dataOffset});A.current.dataOffset=n,r&&i.triggerStateChanged(),Q(t)};(0,t.useEffect)((()=>{const e=b.state;e.up?Q(E.state.start-e.up):e.down?Q(E.state.stop+e.down):e.scrollPosition&&se(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&b.reset()}),[b.state.up,b.state.down,b.state.scrollPosition]);const{textAlign:ce}=o?.qListObject.qDimensionInfo||{},[ue,de]=(0,t.useState)({first:!1,last:!1}),{List:fe,Grid:pe}=function({layout:e,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:l,interactionEvents:s,frequencyMode:c,histogram:u,isSingleSelect:d,select:f,selectAll:p,onCtrlF:m,textAlign:h,selections:q,keyboard:y,showGray:g,scrollState:v,direction:b,sizes:E,listCount:C,overflowDisclaimer:S,setScrollPosition:O,focusListItems:I,setCurrentScrollIndex:R,constraints:x,frequencyMax:w,freqIsAllowed:N,translator:L,showSearch:_,isModal:T}){const{layoutOptions:A={}}=e||{},{columnWidth:P,itemPadding:D,listHeight:k,itemHeight:M,rowCount:F,columnCount:B,frequencyWidth:j}=E||{},z=("grid"===A.dataLayout?P:n)>Ja,G={direction:"rtl"===b?"rtl":"ltr",useIsScrolling:!0,className:ls.styledScrollbars},V=e?.qListObject.qDimensionInfo.qLocked,U={isLocked:V,column:!a,pages:i,...V||l()?{}:s,checkboxes:r,layoutOptions:A,frequencyMode:c,freqIsAllowed:N,isSingleSelect:d,textAlign:h,itemPadding:D,frequencyWidth:j,actions:{select:f,confirm:()=>q?.confirm.call(q),cancel:()=>q?.cancel.call(q),setScrollPosition:O,selectAll:p,onCtrlF:m},frequencyMax:w,histogram:u,keyboard:y,showGray:g,showTick:z,dataOffset:o.current.dataOffset,focusListItems:I,direction:b,translator:L,showSearch:_,isModal:T};return{List:({onItemsRendered:r,ref:a})=>(o.current.listRef=a,t.createElement(ps,fs({},G,{dataTestid:"fixed-size-list",scrollDisabled:x?.active,height:k,width:n,itemCount:C,itemData:{...U,listCount:C},itemSize:M,onItemsRendered:t=>{R({start:t.visibleStartIndex,stop:t.visibleStopIndex}),v&&v.setScrollPos(t.visibleStopIndex),ds({renderProps:t,layoutOptions:A,maxCount:E.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r({...t})},ref:a}),Bl)),Grid:({onItemsRendered:r,ref:a})=>{const{overflowStyling:i,scrollBarWidth:l}=E,{layoutOrder:s}=A||{},c=Math.min(k,F*M+l);return o.current.listRef=a,t.createElement(ms,fs({},G,{dataTestid:"fixed-size-grid",scrollDisabled:x?.active,height:c,width:n,columnCount:B,columnWidth:P,rowCount:F,rowHeight:M,style:{...i},itemData:{...U,column:void 0,columnCount:B,rowCount:F},onItemsRendered:t=>{const n="row"===s;R({start:n?t.visibleRowStartIndex:t.visibleColumnStartIndex,stop:n?t.visibleRowStopIndex:t.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,f,p,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:F,columnCount:B});ds({renderProps:t,layoutOptions:A,maxCount:E.maxCount,columnCount:B,rowCount:F,overflowDisclaimer:S,qCardinal:e?.qListObject?.qDimensionInfo?.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),Bl)}}}({direction:l,layout:o,height:c,width:u,checkboxes:L,frequencyMode:d,histogram:_,keyboard:q,showGray:y,interactionEvents:W,select:H,selectAll:()=>{i.clearItemStates(!1),e.selectListObjectAll("/qListObjectDef")},onCtrlF:S,textAlign:ce,isVertical:ne,pages:V,selectDisabled:v,isSingleSelect:N,selections:a,scrollState:g,local:A,sizes:ie,listCount:le,overflowDisclaimer:{state:z,set:e=>G((t=>({...t,show:e})))},setScrollPosition:se,focusListItems:{first:ue.first,setFirst:e=>de((t=>({...t,first:e}))),last:ue.last,setLast:e=>de((t=>({...t,last:e})))},setCurrentScrollIndex:E.set,constraints:r,frequencyMax:D,freqIsAllowed:ae,translator:R,showSearch:O,isModal:I}),{columnWidth:me,listHeight:he,itemHeight:qe}=ie||{};return ne||(te=function({width:e,columnWidth:t,listHeight:n,itemHeight:r}){return Math.ceil(e/t)*Math.ceil(n/r)*2}({width:u,columnWidth:me,listHeight:he,itemHeight:qe})),t.createElement(fu,null,t.createElement(Al,{className:"screenReaderOnly",layout:o}),!le&&Z>0&&t.createElement(Jc,{width:u,text:"Listbox.NoMatchesForYourTerms"}),t.createElement(Ba,{isItemLoaded:$,itemCount:le||1,loadMoreItems:j.with({minimumBatchSize:te}),threshold:0,minimumBatchSize:te,ref:T,role:"grid"},ne?fe:pe),z.show&&!z.dismissed&&t.createElement(au,{text:"Listbox.ItemsOverflow",dismiss:()=>G((e=>({...e,dismissed:!0}))),parentWidth:T?.current?._listRef?.props?.width,dense:K?.dense}))}const mu=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"}}]}),hu=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"}}]}),qu=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"}}]}),yu=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"}}]}),gu=({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:mu,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:qu,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:hu,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:yu,enabled:()=>["qAlternative","qExcluded"].some((t=>e.qListObject.qDimensionInfo.qStateCounts[t]>0)),action:()=>{r.clearItemStates(!1),t.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean);function vu(e){return(0,At.Z)("MuiDivider",e)}const bu=(0,Tt.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Eu=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Cu=(0,yn.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,dr.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%"}}))),Su=(0,yn.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)`}))),Ou=t.forwardRef((function(e,t){const n=(0,gn.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,Eu),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,qn.Z)(c,vu,r)})(m);return(0,qe.jsx)(Cu,(0,ce.Z)({as:i,className:(0,cn.Z)(h.root,a),role:u,ref:t,ownerState:m},p,{children:o?(0,qe.jsx)(Su,{className:h.wrapper,ownerState:m,children:o}):null}))})),Iu=Ou,Ru=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 xu(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 wu={className:"njs-cell-action"},Nu=t.forwardRef((({ariaExpanded:e=!1,item:n,addAnchor:r=!1},o)=>{const a=se(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=xu(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(ro,{ref:r?null:o,title:n.label,onClick:n.action,onKeyDown:f,onKeyUp:p,disabled:l,style:s,className:[wu.className,m].join(" "),size:"large",disableRipple:!0,"aria-expanded":e,"aria-controls":"moreMenuList","data-testid":m},c&&er(n.getSvgIconShape()),r&&t.createElement("div",{ref:o,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Lu=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"}}]}),_u=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"}}]}),Tu=e=>er(_u(e)),Au=t.createContext({});var Pu=o(18974);function Du(e){return(0,At.Z)("MuiListItemIcon",e)}const ku=(0,Tt.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),Mu=(0,Tt.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Fu(e){return(0,At.Z)("MuiMenuItem",e)}const Bu=(0,Tt.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ju=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],zu=(0,yn.ZP)(Yr,{shouldForwardProp:e=>(0,yn.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"}},[`&.${Bu.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Bu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Bu.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dr.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,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Bu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Bu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bu.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bu.inset}`]:{marginLeft:52},[`& .${Mu.root}`]:{marginTop:0,marginBottom:0},[`& .${Mu.inset}`]:{paddingLeft:36},[`& .${ku.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,{[`& .${ku.root} svg`]:{fontSize:"1.25rem"}})))),Gu=t.forwardRef((function(e,n){const r=(0,gn.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,ju),m=t.useContext(Au),h=t.useMemo((()=>({dense:i||m.dense||!1,disableGutters:s})),[m.dense,i,s]),q=t.useRef(null);(0,Pu.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,qn.Z)(l,Fu,i);return(0,ce.Z)({},i,s)})(r),v=(0,fr.Z)(q,n);let b;return r.disabled||(b=void 0!==d?d:-1),(0,qe.jsx)(Au.Provider,{value:h,children:(0,qe.jsx)(zu,(0,ce.Z)({ref:v,role:u,tabIndex:b,component:a,focusVisibleClassName:(0,cn.Z)(g.focusVisible,c),className:(0,cn.Z)(g.root,f)},p,{ownerState:y,classes:g}))})})),Vu=Gu,Uu=["className"],Zu=(0,yn.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}))),$u=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiListItemIcon"}),{className:o}=r,a=(0,ue.Z)(r,Uu),i=t.useContext(Au),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,qn.Z)(r,Du,n)})(l);return(0,qe.jsx)(Zu,(0,ce.Z)({className:(0,cn.Z)(s.root,o),ownerState:l,ref:n},a))})),Wu=$u;function Hu(e){return(0,At.Z)("MuiList",e)}o(96506),(0,Tt.Z)("MuiList",["root","padding","dense","subheader"]);const Ku=["children","className","component","dense","disablePadding","subheader"],Xu=(0,yn.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}))),Yu=t.forwardRef((function(e,n){const r=(0,gn.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,Ku),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,qn.Z)(a,Hu,t)})(f);return(0,qe.jsx)(Au.Provider,{value:d,children:(0,qe.jsxs)(Xu,(0,ce.Z)({as:i,className:(0,cn.Z)(p.root,a),ref:n,ownerState:f},u,{children:[c,o]}))})})),Qu=Yu,Ju=Do,ed=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function td(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function nd(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function rd(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 od(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")&&rd(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const ad=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,ed),p=t.useRef(null),m=t.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Pu.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=`${Ju((0,io.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,fr.Z)(p,n);let q=-1;t.Children.forEach(i,((e,n)=>{t.isValidElement(e)&&(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===q)&&(q=n),q===n&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(q+=1,q>=i.length&&(q=-1)))}));const 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,qe.jsx)(Qu,(0,ce.Z)({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=p.current,n=e.key,r=(0,io.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),od(t,r,c,s,td);else if("ArrowUp"===n)e.preventDefault(),od(t,r,c,s,nd);else if("Home"===n)e.preventDefault(),od(t,null,c,s,td);else if("End"===n)e.preventDefault(),od(t,null,c,s,nd);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&&rd(r,o);o.previousKeyMatched&&(l||od(t,r,!1,s,td,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},f,{children:y}))}));function id(){return id=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},id.apply(this,arguments)}const ld="More-icon",sd=(0,yn.ZP)(ka)((({theme:e})=>({pointerEvents:"none",[`& .${ld}`]:{color:e.palette.text.primary}})));function cd({item:e,autoFocus:n,onActionClick:r=(()=>{})}){const{hidden:o,disabled:a,hasSvgIconShape:i}=xu(e);return o?null:t.createElement(Vu,{autoFocus:n,title:e.label,onClick:()=>{e.action(),r()},disabled:a,tabindex:"0"},i&&t.createElement(Wu,{className:ld},er(e.getSvgIconShape())),t.createElement(ur,{noWrap:!0},e.label))}const ud=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(sd,id({},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(ad,{id:"moreMenuList"},e.map(((e,n)=>t.createElement(cd,{key:n,item:e,autoFocus:n===c,onActionClick:i})))))})),dd="ActionsToolbar",fd={item:`${dd}-item`,itemSpacing:`${dd}-itemSpacing`,firstItemSpacing:`${dd}-firstItemSpacing`,lastItemSpacing:`${dd}-lastItemSpacing`},pd=(0,yn.ZP)(ka)((({theme:e})=>({[`& .${fd.itemSpacing}`]:{padding:e.spacing(0,.5)},[`& .${fd.firstItemSpacing}`]:{padding:e.spacing(0,.5,0,0)},[`& .${fd.lastItemSpacing}`]:{padding:e.spacing(0,0,0,.5)}}))),md=t.forwardRef((({className:e,ariaExpanded:n=!1,actions:r=[],first:o=!1,last:a=!1,addAnchor:i=!1,isRtl:l=!1},s)=>r.length>0?t.createElement(Nn,{item:!0,container:!0,gap:0,flexDirection:l?"row-reverse":"row",wrap:"nowrap",className:e},r.map(((e,l)=>{let c=[];const u=o&&0===l,d=a&&r.length-1===l;return u&&!d&&(c=[fd.firstItemSpacing,fd.item]),d&&!u&&(c=[...c,fd.lastItemSpacing,fd.item]),u||d||0!==c.length||(c=[fd.itemSpacing,fd.item]),t.createElement(Nn,{item:!0,key:e.key,className:c.join(" ").trim()},t.createElement(Nu,{ariaExpanded:n,key:e.key,item:e,ref:0===l?s:null,addAnchor:i}))}))):null)),hd={pointerEvents:"none"},qd={vertical:"bottom",horizontal:"right"},yd=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)(Wt);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>e.canClear(),action:()=>e.clear(),getSvgIconShape:_u},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>e.canCancel(),action:()=>{r(),e.cancel()},keyboardAction:()=>{o(),r(),e.cancel()},getSvgIconShape:Lu},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>e.canConfirm(),action:()=>{n(),e.confirm()},keyboardAction:()=>{o(),n(),e.confirm()},getSvgIconShape:Wa}]}(o),{translator:d,keyboardNavigation:f}=(0,t.useContext)(Wt),[p,m]=(0,t.useState)(!1),h={vertical:7,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]},E=(0,t.useMemo)((()=>function({keyboardNavigation:e,focusHandler:t,getEnabledButton:n,selections:r}){return o=>{const{target:a,nativeEvent:i}=o,{keyCode:l}=i;switch(l){case Dl.ARROW_LEFT:case Dl.ARROW_DOWN:case Dl.ARROW_RIGHT:case Dl.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()})([Dl.ARROW_LEFT,Dl.ARROW_DOWN].includes(l)?e-1:e+1)}o.stopPropagation(),o.preventDefault();break;case Dl.SPACE:o.preventDefault();break;case Dl.TAB:e&&t?.refocusContent&&(o.shiftKey&&n(!1)===o.target||!o.shiftKey&&n(!0)===o.target)&&(o.preventDefault(),o.stopPropagation(),t.refocusContent());break;case Dl.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 C=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);C=!0,S=[...e,...a.actions]}if(!o.show&&0===I.length)return null;const R={key:"more",label:d.get("Menu.More"),getSvgIconShape:Ru,hidden:!1,active:p,enabled:()=>C,action:()=>m(!p)},x=I.length>0,w=S.length>0,N=x&&o.show||w&&o.show,L="rtl"===c,_=t.createElement(Nn,{ref:q,onKeyDown:E,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:L?"row-reverse":"row"}},x&&t.createElement(md,{actions:I,first:!0,last:!w&&!o.show}),w&&t.createElement(md,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:p,actions:[R],first:!x,last:!o.show,addAnchor:!0}),N&&t.createElement(Nn,{item:!0,className:fd.itemSpacing,style:v},t.createElement(Iu,{orientation:"vertical"})),o.show&&t.createElement(md,{className:"actions-toolbar-default-actions",actions:u,first:!x&&!w,last:!0,isRtl:L}),p&&t.createElement(ud,{show:p,actions:S,alignTo:O,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{m(!1)}}));return i.show?t.createElement(pd,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:h,transformOrigin:qd,hideBackdrop:!0,style:hd,PaperProps:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:g.spacing(.8)}}},_):e&&_};function gd(e){return(0,At.Z)("MuiInputAdornment",e)}const vd=(0,Tt.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var bd;const Ed=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Cd=(0,yn.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,rr.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&&{[`&.${vd.positionStart}&:not(.${vd.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Sd=t.forwardRef((function(e,n){const r=(0,gn.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,Ed),f=fi()||{};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,rr.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,rr.Z)(a)}`]};return(0,qn.Z)(l,gd,t)})(m);return(0,qe.jsx)(di.Provider,{value:null,children:(0,qe.jsx)(Cd,(0,ce.Z)({as:i,ownerState:m,className:(0,cn.Z)(h.root,a),ref:n},d,{children:"string"!=typeof o||s?(0,qe.jsxs)(t.Fragment,{children:["start"===c?bd||(bd=(0,qe.jsx)("span",{className:"notranslate",children:"​"})):null,o]}):(0,qe.jsx)(ur,{color:"text.secondary",children:o})}))})})),Od=Sd;var Id;const Rd=["children","classes","className","label","notched"],xd=(0,yn.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%"}),wd=(0,yn.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 Nd(e){return(0,At.Z)("MuiInputBase",e)}const Ld=(0,Tt.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function _d(e){return(0,At.Z)("MuiOutlinedInput",e)}const Td=(0,ce.Z)({},Ld,(0,Tt.Z)("MuiOutlinedInput",["root","notchedOutline","input"]));var Ad=o(56918),Pd=o(89128);const Dd=["onChange","maxRows","minRows","style","value"];function kd(e){return parseInt(e,10)||0}const Md={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Fd(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Bd=t.forwardRef((function(e,n){const{onChange:r,maxRows:o,minRows:a=1,style:i,value:l}=e,s=Ro(e,Dd),{current:c}=t.useRef(null!=l),u=t.useRef(null),d=(0,xo.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,Po.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=kd(n.paddingBottom)+kd(n.paddingTop),s=kd(n.borderBottomWidth)+kd(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();Fd(e)||h((t=>y(t,e)))}),[q]);return t.useEffect((()=>{const e=(0,Pd.Z)((()=>{p.current=0,u.current&&(()=>{const e=q();Fd(e)||sn.flushSync((()=>{h((t=>y(t,e)))}))})()}));let t;const n=u.current,r=(0,Po.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,_o.Z)((()=>{g()})),t.useEffect((()=>{p.current=0}),[l]),(0,qe.jsxs)(t.Fragment,{children:[(0,qe.jsx)("textarea",Io({value:l,onChange:e=>{p.current=0,c||g(),r&&r(e)},ref:d,rows:a,style:Io({height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0},i)},s)),(0,qe.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:Io({},Md,i,{padding:0})})]})}));function jd(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,qe.jsx)(Nr,{styles:r})}const zd=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,ae.Z)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,qe.jsx)(jd,{styles:o})},Gd=function(e){return(0,qe.jsx)(zd,(0,ce.Z)({},e,{defaultTheme:ie.Z,themeId:le.Z}))};function Vd(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}const Ud=["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"],Zd=(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,rr.Z)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},$d=(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]},Wd=(0,yn.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Zd})((({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",[`&.${Ld.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%"}))),Hd=(0,yn.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:$d})((({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] + .${Ld.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},[`&.${Ld.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"})})),Kd=(0,qe.jsx)(Gd,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Xd=t.forwardRef((function(e,n){var r;const o=(0,gn.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:E,multiline:C=!1,name:S,onBlur:O,onChange:I,onClick:R,onFocus:x,onKeyDown:w,onKeyUp:N,placeholder:L,readOnly:_,renderSuffix:T,rows:A,slotProps:P={},slots:D={},startAdornment:k,type:M="text",value:F}=o,B=(0,ue.Z)(o,Ud),j=null!=g.value?g.value:F,{current:z}=t.useRef(null!=j),G=t.useRef(),V=t.useCallback((e=>{}),[]),U=(0,fr.Z)(G,v,g.ref,V),[Z,$]=t.useState(!1),W=fi(),H=hi({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&&(Vd(e.value)&&""!==e.value||t&&Vd(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():K&&K()}),[K,X]);(0,Pu.Z)((()=>{z&&Y({value:j})}),[j,Y,z]),t.useEffect((()=>{Y(G.current)}),[]);let Q=y,J=g;C&&"input"===Q&&(J=A?(0,ce.Z)({type:void 0,minRows:A,maxRows:A},J):(0,ce.Z)({type:void 0,maxRows:b,minRows:E},J),Q=Bd),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:C,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,rr.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,qn.Z)(h,Nd,t)})(ee),ne=D.root||c.Root||Wd,re=P.root||u.root||{},oe=D.input||c.Input||Hd;return J=(0,ce.Z)({},J,null!=(r=P.input)?r:u.input),(0,qe.jsxs)(t.Fragment,{children:[!p&&Kd,(0,qe.jsxs)(ne,(0,ce.Z)({},re,!Zo(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,cn.Z)(te.root,re.className,s,_&&"MuiInputBase-readOnly"),children:[k,(0,qe.jsx)(di.Provider,{value:null,children:(0,qe.jsx)(oe,(0,ce.Z)({ownerState:ee,"aria-invalid":H.error,"aria-describedby":a,autoComplete:i,autoFocus:l,defaultValue:d,disabled:H.disabled,id:q,onAnimationStart:e=>{Y("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:S,placeholder:L,readOnly:_,required:H.required,rows:A,value:j,onKeyDown:w,onKeyUp:N,type:M},J,!Zo(oe)&&{as:Q,ownerState:(0,ce.Z)({},ee,J.ownerState)},{ref:U,className:(0,cn.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,Ad.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]}))]})})),Yd=Xd,Qd=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Jd=(0,yn.ZP)(Wd,{shouldForwardProp:e=>(0,yn.FO)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Zd})((({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 .${Td.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Td.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Td.focused} .${Td.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Td.error} .${Td.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Td.disabled} .${Td.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"}))})),ef=(0,yn.ZP)((function(e){const{className:t,label:n,notched:r}=e,o=(0,ue.Z)(e,Rd),a=null!=n&&""!==n,i=(0,ce.Z)({},e,{notched:r,withLabel:a});return(0,qe.jsx)(xd,(0,ce.Z)({"aria-hidden":!0,className:t,ownerState:i},o,{children:(0,qe.jsx)(wd,{ownerState:i,children:a?(0,qe.jsx)("span",{children:n}):Id||(Id=(0,qe.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),tf=(0,yn.ZP)(Hd,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:$d})((({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}))),nf=t.forwardRef((function(e,n){var r,o,a,i,l;const s=(0,gn.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,Qd),g=(e=>{const{classes:t}=e,n=(0,qn.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},_d,t);return(0,ce.Z)({},t,n)})(s),v=fi(),b=hi({props:s,muiFormControl:v,states:["required"]}),E=(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}),C=null!=(r=null!=(o=h.root)?o:c.Root)?r:Jd,S=null!=(a=null!=(i=h.input)?i:c.Input)?a:tf;return(0,qe.jsx)(Yd,(0,ce.Z)({slots:{root:C,input:S},renderSuffix:e=>(0,qe.jsx)(ef,{ownerState:E,className:g.notchedOutline,label:null!=f&&""!==f&&b.required?l||(l=(0,qe.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})}))}));nf.muiName="Input";const rf=nf,of=e=>er((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)),af="/qListObjectDef",lf="**",sf=(0,yn.ZP)(Od)((({theme:e})=>({color:e.listBox?.content?.color}))),cf=(0,yn.ZP)(rf)((({theme:e})=>({color:e.listBox?.content?.color,display:"flex"})));function uf({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)(Wt),[p,m]=(0,t.useState)(""),[h,q]=(0,t.useState)(!1),y=(0,t.useRef)(),g=se(),{getStoreValue:v}=bs(r),b="rtl"===u,E=b?"right":"left",C=async()=>{if(e.isModal())try{await r.abortListObjectSearch(af)}finally{m("")}};(0,t.useEffect)((()=>{i||C()}),[i]),(0,t.useEffect)((()=>(e.on("deactivated",C),()=>{e.removeListener&&e.removeListener("deactivated",C)})),[]),(0,t.useEffect)((()=>{if(h&&y.current){const e=p.length-1;y.current.setSelectionRange(e,e),q(!1)}}),[h,y.current]);function S(e){const t=e?.querySelector(".last-focused")||e?.querySelector('[role="row"]:first-child');t.setAttribute("tabIndex",0),t?.focus()}return i&&!1!==c?t.createElement(cf,{startAdornment:t.createElement(sf,{position:"start"},t.createElement(of,{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:`${Qa}px`},a&&{fontSize:12,paddingLeft:g.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:b?"row-reverse":"row"}],inputRef:y,size:"small",fullWidth:!0,placeholder:f.get("Listbox.Search"),value:p,onFocus:()=>{s&&(m(lf),q(!0)),e.isModal()||e.begin(["/qListObjectDef"])},onChange:async e=>(m(e.target.value),e.target.value.length?r.searchListObjectFor(af,e.target.value):C()),onKeyDown:async t=>{const{currentTarget:a}=t,i=a.closest(".listbox-container");switch(t.key){case"Enter":(async()=>{let t;await r.searchListObjectFor(af,p)&&p.length&&v("listCount")>0&&(t=r.acceptListObjectSearch(af,!0),e.selectionsMade=!0,n.clearItemStates(!1),m(""))})();break;case"Escape":S(i),e.isActive()&&e.cancel();break;case"Tab":t.shiftKey?o.focusSelection():(S(i),i?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!t.ctrlKey&&!t.metaKey)return;d&&(d(),S(i));break;default:return}t.preventDefault(),t.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,style:{textAlign:`${E}`},"data-testid":"search-input-field"}}):null}function df(e){return Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e}const ff=({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 df(i),i},pf=({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 mf(e,n,r,o){const a=Array.isArray(r)?r:[r],[i]=rn(e),[l]=Kn(n),s=n?n.id:null,[c]=Yt(),[u]=Jt(),d=c.get(e.id);let f=u.get(s);return(0,t.useEffect)((()=>{i&&n&&!f&&(f=ff({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}=pf({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 hf(){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,!!ja.includes(n)&&t.qElemNumber;var n})).filter((e=>!1!==e))));return za(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 qf=(e,t,n=void 0)=>e?.[t]??n;function yf({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]=Un({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)(Wt),b=(0,t.useRef)(),E=(0,t.useRef)(),[C]=mf(i,q,E),[S]=Kn(q),[O]=(0,t.useState)((()=>hf()));if((0,t.useEffect)((()=>{C&&d&&(C.isModal(q)||C.goModal("/qListObjectDef"))}),[C,d]),!q||!S||!v)return null;const I=!0===S.qListObject.qDimensionInfo.qLocked,R=(e,t)=>{const n="escapeKeyDown"!==t;C.noModal(n),a()},x=gu({layout:S,model:q,translator:v,selectionState:O}),w=function(e){const t=e?.qListObject.qDimensionInfo.qStateCounts||{};return qf(t,"qSelected",0)+qf(t,"qSelectedExcluded",0)+qf(t,"qLocked",0)+qf(t,"qLockedExcluded",0)>0}(S);return t.createElement(ka,{open:d,onClose:R,anchorEl:e.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},t.createElement(Nn,{container:!0,direction:"column",gap:0,ref:E},t.createElement(Nn,{item:!0,container:!0,style:{padding:m.spacing(1)}},t.createElement(Nn,{item:!0},I?t.createElement(ro,{onClick:g,disabled:!I,size:"large"},t.createElement(nr,{title:v.get("Listbox.Unlock")})):t.createElement(ro,{onClick:y,disabled:!w,size:"large"},t.createElement(oo,{title:v.get("Listbox.Lock")}))),t.createElement(Nn,{item:!0,xs:!0}),t.createElement(Nn,{item:!0},t.createElement(yd,{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:C,onConfirm:R,onCancel:()=>R(0,"escapeKeyDown")}}))),t.createElement(Nn,{item:!0,xs:!0},t.createElement("div",{ref:b}),t.createElement(Nn,{item:!0,ref:h},t.createElement(uf,{visible:!0,model:q,listCount:f,selections:C,selectionState:O,keyboard:{enabled:!1},autoFocus:c??!0})),t.createElement(pu,{model:q,app:i,layout:S,selections:C,selectionState:O,direction:"ltr",onSetListCount:e=>p(e),onCtrlF:()=>{const e=h.current.querySelector("input");e?.focus()}}))))}function gf({field:e,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}){const{translator:l}=(0,t.useContext)(Wt),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 E=[{color:c.palette.selected.main,ratio:h},{color:c.palette.selected.alternative,ratio:q},{color:c.palette.selected.excluded,ratio:y}];E.forEach(((e,t)=>{e.offset=t?E[t-1].offset+E[t-1].ratio:0}));let C=null,S=null,O=null,I=null;return a||(C=t.createElement(Nn,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:p.qLocked?"0.3":""}},t.createElement(ur,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},p.qField),t.createElement(ur,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},b)),p.qLocked?S=t.createElement(Nn,{item:!0},t.createElement(ro,{size:"large"},t.createElement(nr,null))):p.qOneAndOnlyOne||(S=t.createElement(Nn,{item:!0},t.createElement(ro,{title:l.get("Selection.Clear"),onClick:t=>{t.stopPropagation(),n.clearField(p.qField,e.states[r])},size:"large"},t.createElement(tr,null)))),O=t.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===v&&E.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(Nn,{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},C,S,O,u&&t.createElement(yf,{alignTo:s,show:u,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}))),a?t.createElement(yf,{alignTo:s,show:!0,close:f,app:n.model,fieldName:p.qField,stateName:e.states[r]}):I}const vf=e=>{const n=t.useRef({});return t.useEffect((()=>{n.current=e})),n.current};function bf(e){return(0,At.Z)("MuiBadge",e)}const Ef=(0,Tt.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"]),Cf=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Sf=(0,yn.ZP)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Of=(0,yn.ZP)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,rr.Z)(n.anchorOrigin.vertical)}${(0,rr.Z)(n.anchorOrigin.horizontal)}${(0,rr.Z)(n.overlap)}`],"default"!==n.color&&t[`color${(0,rr.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.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%",[`&.${Ef.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),If=t.forwardRef((function(e,t){var n,r,o,a,i,l;const s=(0,gn.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:E,showZero:C=!1,variant:S="standard"}=s,O=(0,ue.Z)(s,Cf),{badgeContent:I,invisible:R,max:x,displayValue:w}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=vf({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:C}),N=vf({anchorOrigin:c,color:q,overlap:h,variant:S,badgeContent:v}),L=R||null==I&&"dot"!==S,{color:_=q,overlap:T=h,anchorOrigin:A=c,variant:P=S}=L?N:s,D="dot"!==P?w:void 0,k=(0,ce.Z)({},s,{badgeContent:I,invisible:L,max:x,displayValue:D,showZero:C,anchorOrigin:A,color:_,overlap:T,variant:P}),M=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e,l={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${(0,rr.Z)(n.vertical)}${(0,rr.Z)(n.horizontal)}`,`anchorOrigin${(0,rr.Z)(n.vertical)}${(0,rr.Z)(n.horizontal)}${(0,rr.Z)(o)}`,`overlap${(0,rr.Z)(o)}`,"default"!==t&&`color${(0,rr.Z)(t)}`]};return(0,qn.Z)(l,bf,i)})(k),F=null!=(n=null!=(r=null==b?void 0:b.root)?r:f.Root)?n:Sf,B=null!=(o=null!=(a=null==b?void 0:b.badge)?a:f.Badge)?o:Of,j=null!=(i=null==E?void 0:E.root)?i:p.root,z=null!=(l=null==E?void 0:E.badge)?l:p.badge,G=Qo({elementType:F,externalSlotProps:j,externalForwardedProps:O,additionalProps:{ref:t,as:d},ownerState:k,className:(0,cn.Z)(null==j?void 0:j.className,M.root,u)}),V=Qo({elementType:B,externalSlotProps:z,ownerState:k,className:(0,cn.Z)(M.badge,null==z?void 0:z.className)});return(0,qe.jsxs)(F,(0,ce.Z)({},G,{children:[m,(0,qe.jsx)(B,(0,ce.Z)({},V,{children:D}))]}))})),Rf=If;var xf=o(33498);function wf(e){return(0,At.Z)("MuiListItem",e)}const Nf=(0,Tt.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Lf=(0,Tt.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function _f(e){return(0,At.Z)("MuiListItemSecondaryAction",e)}(0,Tt.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);const Tf=["className"],Af=(0,yn.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}))),Pf=t.forwardRef((function(e,n){const r=(0,gn.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=r,a=(0,ue.Z)(r,Tf),i=t.useContext(Au),l=(0,ce.Z)({},r,{disableGutters:i.disableGutters}),s=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,qn.Z)(r,_f,n)})(l);return(0,qe.jsx)(Af,(0,ce.Z)({className:(0,cn.Z)(s.root,o),ownerState:l,ref:n},a))}));Pf.muiName="ListItemSecondaryAction";const Df=Pf,kf=["className"],Mf=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Ff=(0,yn.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&&{[`& > .${Lf.root}`]:{paddingRight:48}},{[`&.${Nf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Nf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Nf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Nf.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"}},[`&.${Nf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,dr.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,dr.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Bf=(0,yn.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),jf=t.forwardRef((function(e,n){const r=(0,gn.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:E=!1,slotProps:C={},slots:S={}}=r,O=(0,ue.Z)(r.ContainerProps,kf),I=(0,ue.Z)(r,Mf),R=t.useContext(Au),x=t.useMemo((()=>({dense:m||R.dense||!1,alignItems:o,disableGutters:q})),[o,R.dense,m,q]),w=t.useRef(null);(0,Pu.Z)((()=>{a&&w.current&&w.current.focus()}),[a]);const N=t.Children.toArray(l),L=N.length&&(0,xf.Z)(N[N.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:L,selected:E}),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,qn.Z)(d,wf,r)})(_),A=(0,fr.Z)(w,n),P=S.root||u.Root||Ff,D=C.root||d.root||{},k=(0,ce.Z)({className:(0,cn.Z)(T.root,D.className,s),disabled:h},I);let M=c||"li";return i&&(k.component=c||"div",k.focusVisibleClassName=(0,cn.Z)(Nf.focusVisible,v),M=Yr),L?(M=k.component||c?M:"div","li"===f&&("li"===M?M="div":"li"===k.component&&(k.component="div")),(0,qe.jsx)(Au.Provider,{value:x,children:(0,qe.jsxs)(Bf,(0,ce.Z)({as:f,className:(0,cn.Z)(T.container,p),ref:A,ownerState:_},O,{children:[(0,qe.jsx)(P,(0,ce.Z)({},D,!Zo(P)&&{as:M,ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:N})),N.pop()]}))})):(0,qe.jsx)(Au.Provider,{value:x,children:(0,qe.jsxs)(P,(0,ce.Z)({},D,{as:M,ref:A},!Zo(P)&&{ownerState:(0,ce.Z)({},_,D.ownerState)},k,{children:[N,b&&(0,qe.jsx)(Df,{children:b})]}))})})),zf=jf;var Gf=o(67605);const Vf=t.createContext({}),Uf=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Zf=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}}),$f=(0,yn.ZP)(Yr,{shouldForwardProp:e=>(0,yn.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,rr.Z)(n.color)}`],t[`size${(0,rr.Z)(n.size)}`],t[`${n.variant}Size${(0,rr.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,dr.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,dr.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,dr.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]}),[`&.${Dt.focusVisible}`]:(0,ce.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Dt.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,dr.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"},[`&.${Dt.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Dt.disabled}`]:{boxShadow:"none"}})),Wf=(0,yn.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,rr.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Zf(e)))),Hf=(0,yn.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,rr.Z)(n.size)}`]]}})((({ownerState:e})=>(0,ce.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Zf(e)))),Kf=t.forwardRef((function(e,n){const r=t.useContext(Vf),o=(0,Gf.Z)(r,e),a=(0,gn.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,Uf),E=(0,ce.Z)({},a,{color:l,component:s,disabled:u,disableElevation:d,disableFocusRipple:f,fullWidth:h,size:q,type:g,variant:v}),C=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e,l={root:["root",a,`${a}${(0,rr.Z)(t)}`,`size${(0,rr.Z)(o)}`,`${a}Size${(0,rr.Z)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,rr.Z)(o)}`],endIcon:["endIcon",`iconSize${(0,rr.Z)(o)}`]},s=(0,qn.Z)(l,Pt,i);return(0,ce.Z)({},i,s)})(E),S=y&&(0,qe.jsx)(Wf,{className:C.startIcon,ownerState:E,children:y}),O=p&&(0,qe.jsx)(Hf,{className:C.endIcon,ownerState:E,children:p});return(0,qe.jsxs)($f,(0,ce.Z)({ownerState:E,className:(0,cn.Z)(r.className,C.root,c),component:s,disabled:u,focusRipple:!f,focusVisibleClassName:(0,cn.Z)(C.focusVisible,m),ref:n,type:g},b,{classes:C,children:[S,i,O]}))})),Xf=Kf,Yf=e=>er((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)),Qf={item:"MultiState-item"},Jf=(0,yn.ZP)(Nn)((({theme:e})=>({[`&.${Qf.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"}})));function ep({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)(Wt),p=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=t.createElement(t.Fragment,null,t.createElement(Nn,{item:!0,xs:!0,zeroMinWidth:!0},t.createElement(Rf,{style:{padding:"0px 8px"},color:"secondary",badgeContent:e.states.length},t.createElement(ur,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},e.name))),t.createElement(Nn,{item:!0},t.createElement("div",{style:{width:"12px"}})),t.createElement(Nn,{item:!0},t.createElement(ro,{size:"large"},t.createElement(Yf,null)))));const q=t.createElement(Qu,{dense:!0},t.createElement(zf,{title:p,onClick:()=>{e.states.forEach((t=>n.clearField(e.name,t)))}},t.createElement(Xf,{variant:"contained",fullWidth:!0},p)),e.states.map(((r,o)=>t.createElement(zf,{key:o,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,o)},t.createElement(xl,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},t.createElement(gf,{field:e,api:n,stateIx:o,skipHandleShowListBoxPopover:!0})))))),y=t.createElement(ka,{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(Jf,{container:!0,gap:0,className:Qf.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&y,l>-1&&t.createElement(yf,{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(yf,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:e.selections[l].qField,stateName:e.states[l]}):g}const tp="More",np={item:`${tp}-item`,badge:`${tp}-badge`},rp=(0,yn.ZP)(Nn)((({theme:e})=>({[`&.${np.item}`]:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},[`& .${np.badge}`]:{padding:e.spacing(0,1)}})));function op({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(ep,{field:e[i],api:n,moreAlignTo:u,onClose:d}):t.createElement(gf,{field:e[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),t.createElement(rp,{container:!0,gap:0,className:np.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},t.createElement(Nn,{item:!0},t.createElement(xl,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},t.createElement(ur,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",e.length))),t.createElement(Nn,{item:!0},t.createElement(ro,{size:"large"},t.createElement(Yf,null))),o&&t.createElement(ka,{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(Qu,{dense:!0},e.map(((e,r)=>t.createElement(zf,{key:r,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,r)},t.createElement(xl,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?t.createElement(ep,{field:e,api:n}):t.createElement(gf,{field:e,api:n}))))))),f)}const ap=120,ip=72;function lp(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 sp({api:e,app:n}){const r=se(),[o]=$n(n),[a]=Kn(o),[i,l]=(0,t.useState)({items:[],more:[]}),[s]=tn(),[c,u]=Yn(),[d,f]=(0,t.useState)(0);return(0,t.useEffect)((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-ip,n=Math.floor(t/ap);f(n)}),[u]),(0,t.useEffect)((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&lp(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>lp(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(Nn,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((n=>t.createElement(Nn,{item:!0,key:`${n.states.join("::")}::${n.name}`,style:{position:"relative",maxWidth:"240px",minWidth:`${ap}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},n.states.length>1?t.createElement(ep,{field:n,api:e}):t.createElement(gf,{field:n,api:e})))),i.more.length>0&&t.createElement(Nn,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:`${ip}px`,background:r.palette.background.paper,borderRight:`1px solid ${r.palette.divider}`}},t.createElement(op,{items:i.more,api:e})))}const cp=e=>er((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)),up=e=>er((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)),dp=(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 fp({api:e,app:n}){const{translator:r}=(0,t.useContext)(Wt),[o]=function(e){const[n]=$n(e),[r]=Kn(n),[o]=Xn(e),[a,i]=(0,t.useState)(null);return(0,t.useEffect)((()=>{o&&n&&r&&dp(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(Nn,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},t.createElement(Nn,{item:!0},t.createElement(ro,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>e.back(),size:"large"},t.createElement(cp,null))),t.createElement(Nn,{item:!0},t.createElement(ro,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>e.forward(),size:"large"},t.createElement(up,null))),t.createElement(Nn,{item:!0},t.createElement(ro,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>e.clear(),size:"large"},t.createElement(Tu,null))))}const pp=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function mp([e,t]){return(e+(Math.random()*(t-e)|0)).toString(32)}function hp(){return pp.map(mp).join("")}function qp({app:e}){const n=se(),[r]=rn(e);return r?t.createElement(Nn,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},t.createElement(Nn,{item:!0,style:{borderRight:`1px solid ${n.palette.divider}`}},t.createElement(fp,{api:r,app:e})),t.createElement(Nn,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},t.createElement(sp,{api:r,app:e}))):null}var yp,gp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==o.g?o.g:{};let vp;vp="undefined"!=typeof window?window:"undefined"!=typeof self?self:gp;let bp=null,Ep=null;const Cp=vp.clearTimeout,Sp=vp.setTimeout,Op=vp.cancelAnimationFrame||vp.mozCancelAnimationFrame||vp.webkitCancelAnimationFrame,Ip=vp.requestAnimationFrame||vp.mozRequestAnimationFrame||vp.webkitRequestAnimationFrame;function Rp(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}null==Op||null==Ip?(bp=Cp,Ep=function(e){return Sp(e,20)}):(bp=function([e,t]){Op(e),Cp(t)},Ep=function(e){const t=Ip((function(){Cp(n),e()})),n=Sp((function(){Op(t),e()}),20);return[t,n]}),yp={createDetectElementResize: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__&&bp(this.__resizeRAF__),this.__resizeRAF__=Ep((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=vp.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){}}}}}};class xp extends t.Component{constructor(...e){super(...e),Rp(this,"state",{height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0}),Rp(this,"_autoSizer",null),Rp(this,"_detectElementResize",null),Rp(this,"_parentNode",null),Rp(this,"_resizeObserver",null),Rp(this,"_onResize",(()=>{const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseInt(null!==(r=l.paddingLeft)&&void 0!==r?r:"0",10),c=parseInt(null!==(o=l.paddingRight)&&void 0!==o?o:"0",10),u=parseInt(null!==(a=l.paddingTop)&&void 0!==a?a:"0",10),d=parseInt(null!==(i=l.paddingBottom)&&void 0!==i?i:"0",10),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}))}})),Rp(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((()=>{setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=(0,yp.createDetectElementResize)(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:n,defaultWidth:r,disableHeight:o,disableWidth:a,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))}}Rp(xp,"defaultProps",{onResize:()=>{},disableHeight:!1,disableWidth:!1,style:{}});var wp=xp;const Np=e=>er((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 Lp(e){e?.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function _p(e){return e?.closest(".njs-cell")||e?.closest(".qv-gridcell")}function Tp({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 Dl.TAB:if(s)o?Fl(l)||Ml(l):Ml(l)||Fl(l);else{if(!o)break;e.blur(!0)}i();break;case Dl.ENTER:case Dl.SPACE:if(!t.target.classList.contains("listbox-container"))break;e.focus(),i();break;case Dl.ESCAPE:(t=>{const{currentTarget:n,target:o}=t,a=o.classList.contains("listbox-container"),i=_p(n.closest(".listbox-container")),l=1===i?.querySelectorAll(".listbox-container").length;if(a||l)e.blur(!0);else{Lp(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 Dl.ARROW_UP:n({up:1});break;case Dl.ARROW_DOWN:n({down:1});break;case Dl.PAGE_UP:n({up:o.stop-o.start});break;case Dl.PAGE_DOWN:n({down:o.stop-o.start});break;case Dl.HOME:n({scrollPosition:a&&i?"overflowStart":"start"});break;case Dl.END:n({scrollPosition:a&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const Ap=(0,yn.ZP)("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function Pp({text:e}){const{translator:n}=(0,t.useContext)(Wt);return t.createElement(Ap,null,n.get(e))}function Dp(){return Dp=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},Dp.apply(this,arguments)}const kp="ListBoxInline",Mp={listBoxHeader:`${kp}-listBoxHeader`,screenReaderOnly:`${kp}-screenReaderOnly`,listboxWrapper:`${kp}-listboxWrapper`},Fp=(0,yn.ZP)(Nn,{shouldForwardProp:e=>!["containerPadding","isGridMode"].includes(e)})((({theme:e,containerPadding:t,isGridMode:n})=>({backgroundColor:e.listBox?.backgroundColor??e.palette.background.default,[`& .${Mp.listBoxHeader}`]:{alignSelf:"center",display:"flex"},[`& .${Mp.screenReaderOnly}`]:{position:"absolute",height:0,width:0,overflow:"hidden"},[`& .${Mp.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"}}))),Bp=(0,yn.ZP)(ur)((({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 jp({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:E=!1}=e,C=se(),S=(0,t.useCallback)((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:O,keyboardNavigation:I,themeApi:R,constraints:x}=(0,t.useContext)(Wt);C.listBox=(e=>{const t=(t,n)=>e.getStyle("object.listBox",t,n);return{backgroundColor:t("","backgroundColor"),title:{main:{color:t("title.main","color"),fontSize:t("title.main","fontSize"),fontFamily:t("title.main","fontFamily"),fontWeight:t("title.main","fontWeight")}},content:{color:t("content","color"),fontSize:t("content","fontSize"),fontFamily:t("content","fontFamily")}}})(R);const w=function({appLayout:e}){return!!e?.qIsDirectQueryMode}({appLayout:r?.layout}),N=(0,t.useRef)(),[L,_]=Yn(),[T,A]=(()=>{const[e,n]=(0,t.useState)({}),r=(0,t.useCallback)((e=>{n({current:e})}),[n]);return[e,r]})(),[P,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]=rn(r),Z=(0,t.useRef)(null),[$]=(0,t.useState)((()=>hf())),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=_p(e.current)||e.current?.parentElement;var a;a=e.current,a?.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),Lp(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:N,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)((()=>Tp({keyboard:W,hovering:F,updateKeyScroll:z,containerRef:N,currentScrollIndex:G,app:r,appSelections:U,constraints:x,isModal:H})),[W,F,z,N,G,r,U,x,H]),re=b&&(""===n?.title||!1===n?.showTitle)&&!E,oe=b&&""!==n?.title&&!1!==n?.showTitle||E;(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 E&&(d.isActive()||(d.begin("/qListObjectDef"),d.on("activated",e),d.on("deactivated",t)),D(E)),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,E]),(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);if((0,t.useEffect)((()=>{if(!Z.current||!_)return;const e=function({containerRect:e,titleRef:t,iconsWidth:n}){return!!(e.width<(t?.current?.clientWidth??0)+n+16+128||t?.current?.scrollWidth>t?.current?.offsetWidth)}({containerRect:_,titleRef:Z,iconsWidth:me});Q(e)}),[Z.current,_]),!u||!n||!O)return null;const he="rtl"===o,qe=gu({layout:n,model:u,translator:O,selectionState:$,isDirectQuery:w}),ye=(!0===l||"toggle"===l&&k)&&!m()&&!1!==ie,ge=le.dense??!1,ve=oe?49+(ye?ge?27:40:0)+(ge?39:49):0,be=()=>{M(!k)},Ee=()=>{if("toggle"===l)be();else{const e=T.current.querySelector("input");e?.focus()}},Ce=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:!E&&e,showToolbar:P,containerRef:N,isLocked:ue,listboxSelectionToolbarItems:qe,selections:d,keyboard:W}),Se=ye&&"toggle"===l,Oe=Qa-(de?7:0),Ie=he?Qa-(pe?7:0):0,Re="grid"===le?.dataLayout;let xe;Re&&(xe="row"===le.layoutOrder?"2px 4px":"2px 6px 2px 4px");const we=x?.active?t.createElement(of,{title:O.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(ro,{onClick:be,tabIndex:-1,title:O.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},t.createElement(of,{style:{fontSize:"12px"}})),Ne=m()?t.createElement(nr,{size:"large",style:{fontSize:"12px",padding:"7px"}}):t.createElement(ro,{title:O.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:S,size:"large"},t.createElement(nr,{disableRipple:!0,style:{fontSize:"12px"}}));return K&&v?.(),t.createElement(t.Fragment,null,re&&t.createElement(yd,Dp({direction:o},Ce(!0))),t.createElement(Fp,{className:"listbox-container",container:!0,tabIndex:W.enabled?-1:void 0,direction:"column",gap:0,containerPadding:xe,style:{height:"100%",minHeight:`${ve}px`,flexFlow:"column nowrap"},onKeyDown:J,onMouseEnter:ee,onMouseLeave:te,ref:e=>{N.current=e,L(e)},isGridMode:Re},oe&&t.createElement(Nn,{item:!0,container:!0,minHeight:32,flexDirection:he?"row-reverse":"row",marginY:1,paddingLeft:`${Oe}px`,paddingRight:`${Ie}px`,wrap:"nowrap"},pe&&t.createElement(Nn,{item:!0,container:!0,alignItems:"center",width:me},ue?Ne:ce&&we,fe&&t.createElement(Np,{tabIndex:-1,title:O.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),t.createElement(Nn,{item:!0,xs:!0,minWidth:0,justifyContent:he?"flex-end":"flex-start",className:Mp.listBoxHeader},t.createElement(Bp,{variant:"h6",noWrap:!0,ref:Z,title:n.title},n.title)),t.createElement(Nn,{item:!0},t.createElement(yd,Dp({direction:o},Ce(Y))))),t.createElement(Nn,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":O.get("Listbox.ResultFilterLabel")},t.createElement(Nn,{item:!0,ref:A},t.createElement("div",{className:Mp.screenReaderOnly},O.get("Listbox.Search.ScreenReaderInstructions")),t.createElement(uf,{selections:d,selectionState:$,model:u,dense:ge,keyboard:W,visible:ye,search:l,autoFocus:Se,wildCardSearch:ae,searchEnabled:ie,direction:o,hide:ce&&be})),t.createElement(Nn,{item:!0,xs:!0,className:Mp.listboxWrapper},t.createElement("div",{className:Mp.screenReaderOnly},O.get("Listbox.ScreenReaderInstructions")),K?t.createElement(Pp,{text:X}):t.createElement(wp,null,(({height:e,width:l})=>t.createElement(pu,{model:u,app:r,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:Ee,isModal:H})))))))}const zp=t.memo(jp),Gp=function({options:e={}}){const{model:n}=e,[r]=Kn(n);return t.createElement(zp,{options:e,layout:r})},Vp={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:""},Up=(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 Zp({app:e,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i,renderedCallback:l}){const{isExistingObject:s,hasExternalSelectionsApi:c}=function({qId:e,options:t}){return{isExistingObject:!(!e&&!t.sessionModel),hasExternalSelectionsApi:!!t.selectionsApi}}({qId:r,options:i}),[u,d]=(0,t.useState)(0);(0,t.useEffect)((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const f=s?function({app:e,qId:n,options:r={}}){const[o,a]=(0,t.useState)(),[i]=Gn(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error(`Option "${c.join(", ")}" is not applicable for existing objects.`);return(0,t.useEffect)((()=>{l?a(l):async function(){const t=i.get(n);if(t)a(t);else{const t=await e.getObject(n);i.set(t.id,t),t.once("closed",(()=>{i.clear(t.id)})),a(t)}}()}),[]),o}({app:e,qId:r,options:i}):function({app:e,fieldIdentifier:n,stateName:r,options:o={}}){const[a,i]=(0,t.useState)(""),[l,s]=(0,t.useState)(!0),[c,u]=(0,t.useState)(),[d,f]=(0,t.useState)(),p=o.title??d;(0,t.useEffect)((()=>{const t=o.histogram||"N"!==o.frequencyMode;n.qLibraryId&&t?async function(){try{const t=await e.getDimension(n.qLibraryId),r=await t.getLayout();f(r.qDim.title),"N"===r.qDim.qGrouping?i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""):i({multiFieldDim:!0}),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error(`Disabling frequency count and histogram: ${e&&e.message}`)}}():(s(!1),f(n))}),[]);const{dense:m,checkboxes:h,listLayout:q,properties:y={}}=o;let{frequencyMode:g,histogram:v=!1}=o;switch(a&&a.failedToFetchFieldDef&&(v=!1,g="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(g):g="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(g):g="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(g):g="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(g):g="R";break;default:g="N"}const b={dense:m};"horizontal"===q&&(b.dataLayout="grid",b.layoutOrder="column",b.maxVisibleColumns={auto:!0},b.maxVisibleRows={auto:!1,maxRows:1});const E=(0,t.useRef)();E.current||(E.current=hp());const C=G()(!0,{},Vp,{qInfo:{qId:E.current},qListObjectDef:{qStateName:r,qFrequencyMode:v&&"N"===g?"V":g},histogram:v,checkboxes:h,layoutOptions:b,title:p});let S;if(G()(!0,C,y),n.qLibraryId?(C.qListObjectDef.qLibraryId=n.qLibraryId,S=n.qLibraryId):(C.qListObjectDef.qDef.qFieldDefs=[n],S=n),"P"!==g&&v)if(a?.multiFieldDim)C.frequencyMax="fetch";else{const e=n.qLibraryId?a:S;C.frequencyMax={qValueExpression:cu(e)}}const[O]=Un(C,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:mf(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(Gp,{options:h}):null}const $p={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function Wp({app:e,fieldIdentifier:n,stateName:r,element:o,options:a={}}){const[i,l]=(0,t.useState)(!!a.show);return t.createElement(yf,{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 Hp(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Kp(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 Xp=e=>({qDef:{qFieldDefs:[e]}}),Yp=e=>({qDef:{qDef:e}});function Qp({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?Xp(n):{...n,qDef:n.qDef||{}};return a.qDef.cId=a.qDef.cId||hp(),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),Hp(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 Kp(e.qInterColumnSortOrder,n),t.dimensions.removed(o,r,n),o},addMeasure(n){const a="string"==typeof n?Yp(n):{...n,qDef:n.qDef||{}};a.qDef.cId=a.qDef.cId||hp(),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),Hp(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];Kp(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 Jp=e=>({qDef:{qFieldDefs:[e]}});function em({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?Jp(n):{...n,qDef:n.qDef||{}};return o.qDef.cId=o.qDef.cId||hp(),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 tm=e=>{let t;var n;return t="string"==typeof e?G()(!0,{},Vp,{qListObjectDef:(n=e,{qDef:{qFieldDefs:[n]}})}):e.qListObjectDef?G()(!0,{},Vp,e):G()(!0,{},Vp,{qListObjectDef:e}),t};function nm({children:e,halo:t}){return{async addDimension(n){const r=tm(n),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||hp(),!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 rm(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 om({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")?em:e.match("/qChildListDef")?nm:Qp}(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"===rm(t)?await u.addMeasure(t):await u.addDimension(t)}}const am={getValue:(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},setValue:(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]},isEmpty:e=>0===Object.keys(e).length&&e.constructor===Object},im=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},lm=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},sm=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},cm=2**53-1;function um(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function dm(e,t){const n=G()(!0,{},t,e);return am.getValue(n,"qOtherTotalSpec.qOtherCounted")||am.setValue(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),am.getValue(n,"qOtherTotalSpec.qOtherLimit")||am.setValue(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function fm(e,t){return G()(!0,{},t,e)}function pm(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}const mm={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===am.getValue(e,t)&&am.setValue(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:um,importCommonProperties:function(e,t,n){const r="masterobject"===am.getValue(t,"properties.qInfo.qType")?"masterobject":am.getValue(n,"qInfo.qType");am.setValue(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:dm,createDefaultMeasure:fm,resolveValue:pm,getHypercubePath:function(e){const t=am.getValue(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?(lm(t.qInterColumnSortOrder,o),++o):(--o,sm(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?am.setValue(r,`${n}.qHyperCubeDef`,e.properties.qHyperCubeDef):t.hasOwnProperty(o)||um(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=pm(o.max,n.dimensions.length,cm),i=pm(o.min,n.dimensions.length,0);return{maxDimensions:pm(r.max,a,cm),minDimensions:pm(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(dm(a.dimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(dm(a.dimensions[i],o));else if(a.dimensions.length)for(i=0;i<a.dimensions.length;++i)r.qLayoutExclude.qHyperCubeDef.qDimensions.push(dm(a.dimensions[i],o));if(a.excludedDimensions.length)for(i=0;i<a.excludedDimensions.length;++i)r.qDimensions.length<n?r.qDimensions.push(dm(a.excludedDimensions[i],o)):r.qLayoutExclude.qHyperCubeDef.qDimensions.push(dm(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(fm(a.measures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(fm(a.measures[i],o));else if(a.measures.length)for(i=0;i<a.measures.length;++i)r.qLayoutExclude.qHyperCubeDef.qMeasures.push(fm(a.measures[i],o));if(a.excludedMeasures.length)for(i=0;i<a.excludedMeasures.length;++i)r.qMeasures.length<n?r.qMeasures.push(fm(a.excludedMeasures[i],o)):r.qLayoutExclude.qHyperCubeDef.qMeasures.push(fm(a.excludedMeasures[i],o))},updateDimensionsOnAdded:function({newProperties:e,dataDefinition:t,hypercubePath:n}){if(t.dimensions&&"function"==typeof t.dimensions.added){const r=am.getValue(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=am.getValue(e,n||"").qHyperCubeDef,o=[...r.qMeasures];r.qMeasures=[],o.forEach((n=>{r.qMeasures.push(n),t.measures.added(n,e)}))}}},hm={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=am.getValue(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();im(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&&(mm.restoreChangedProperties(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!am.isEmpty(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=mm.createNewProperties({exportFormat:e,initialProperties:t,hypercubePath:o}),l=am.getValue(t,o||"").qHyperCubeDef,s=am.getValue(i,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f}=mm.getMaxMinDimensionMeasure({exportFormat:e,dataDefinition:n}),{defaultDimension:p=mm.getDefaultDimension(),defaultMeasure:m=mm.getDefaultMeasure()}=r;return s.qDimensions.length=0,s.qMeasures.length=0,mm.shouldInitLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f})&&mm.initLayoutExclude({exportFormat:e,maxDimensions:c,minDimensions:u,maxMeasures:d,minMeasures:f,newHyperCubeDef:s}),mm.addDefaultDimensions({exportFormat:e,maxDimensions:c,minDimensions:u,newHyperCubeDef:s,defaultDimension:p}),mm.addDefaultMeasures({exportFormat:e,maxMeasures:d,minMeasures:f,newHyperCubeDef:s,defaultMeasure:m}),mm.setInterColumnSortOrder({exportFormat:e,newHyperCubeDef:s}),mm.copyPropertyIfExist("qMaxStackedCells",l,s),mm.copyPropertyIfExist("qNoOfLeftDims",l,s),mm.copyPropertyOrSetDefault("qInitialDataFetch",l,s,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),mm.copyPropertyOrSetDefault("qMode",l,s,"S"),mm.copyPropertyOrSetDefault("qReductionMode",l,s,"N"),mm.copyPropertyOrSetDefault("qSortbyYValue",l,s),mm.copyPropertyOrSetDefault("qIndentMode",l,s),mm.copyPropertyOrSetDefault("qShowTotalsAbove",l,s),mm.importCommonProperties(i,e,t),mm.updateDimensionsOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),mm.updateMeasuresOnAdded({newProperties:i,dataDefinition:n,hypercubePath:o}),a.qProperty=i,a}(e)},qm=e=>am.getValue(e,"data.targets.0.propertyPath"),ym=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 hm.exportProperties})(qm(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 hm.importProperties})(qm(e)))(s)({exportFormat:i({propertyTree:o,hypercubePath:mm.getHypercubePath(a)}),initialProperties:{qInfo:{qType:r},visualization:r,...am.getValue(s,"properties.initial",{})},dataDefinition:am.getValue(s,"data.targets.0.",{}),hypercubePath:mm.getHypercubePath(s)})},gm={hypercube:hm};function vm(e){return(0,At.Z)("MuiIcon",e)}(0,Tt.Z)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const bm=["baseClassName","className","color","component","fontSize"],Em=(0,yn.ZP)("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,rr.Z)(n.color)}`],t[`fontSize${(0,rr.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]}))),Cm=t.forwardRef((function(e,t){const n=(0,gn.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,bm),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,rr.Z)(t)}`,`fontSize${(0,rr.Z)(n)}`]};return(0,qn.Z)(o,vm,r)})(c);return(0,qe.jsx)(Em,(0,ce.Z)({as:i,className:(0,cn.Z)(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));Cm.muiName="Icon";const Sm=Cm,Om=e=>er((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 Im({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(ur,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},t.createElement(Sm,null,e.missing||e.error?t.createElement(Om,{style:a}):t.createElement(Ha,{style:a})));return t.createElement(Nn,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},t.createElement(Nn,{item:!0},i),t.createElement(Nn,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},t.createElement(ur,{noWrap:!0,component:"p"},t.createElement(ur,{component:"span",variant:"subtitle2",color:r},e.description),t.createElement(ur,{component:"span"}," "),t.createElement(ur,{component:"span",variant:"subtitle2",color:e.error?"error":"inherit",style:{fontWeight:400}},e.label))))}function Rm({data:e}){const n=se();return t.createElement(Nn,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},e.map(((e,r)=>{const o=e.descriptions.map(((e,n)=>t.createElement(Im,{d:e,key:n})));return o.length>0&&t.createElement(Nn,{container:!0,item:!0,key:r,direction:"column",style:{paddingBottom:n.spacing(2)}},t.createElement(ur,{noWrap:!0,key:r,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),o)})))}function xm({title:e="Error",message:n="",data:r=[]}){return t.createElement(Nn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},t.createElement(Nn,{item:!0},t.createElement(Om,{style:{fontSize:"38px"}})),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"h6",align:"center","data-tid":"error-title"},e)),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),t.createElement(Rm,{data:r}))}function wm(e){return(0,At.Z)("MuiCircularProgress",e)}(0,Tt.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Nm=["className","color","disableShrink","size","style","thickness","value","variant"];let Lm,_m,Tm,Am,Pm=e=>e;const Dm=_r(Lm||(Lm=Pm`
76
76
  0% {
77
77
  transform: rotate(0deg);
78
78
  }
@@ -99,4 +99,4 @@
99
99
  animation: ${0} 1.4s linear infinite;
100
100
  `),Dm))),Fm=(0,yn.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Bm=(0,yn.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,rr.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&&Lr(Am||(Am=Pm`
101
101
  animation: ${0} 1.4s ease-in-out infinite;
102
- `),km))),jm=t.forwardRef((function(e,t){const n=(0,gn.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,Nm),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,rr.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,rr.Z)(n)}`,o&&"circleDisableShrink"]};return(0,qn.Z)(a,wm,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,qe.jsx)(Mm,(0,ce.Z)({className:(0,cn.Z)(p.root,r),style:(0,ce.Z)({width:i,height:i},h,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,qe.jsx)(Fm,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,qe.jsx)(Bm,{className:p.circle,style:m,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),zm=jm;function Gm(){return Gm=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},Gm.apply(this,arguments)}const Vm="Progress",Um={root:`${Vm}-root`,front:`${Vm}-front`,back:`${Vm}-back`},Zm=(0,yn.ZP)("div")((({theme:e})=>({[`&.${Um.root}`]:{position:"relative",display:"inline-block"},[`& .${Um.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${Um.back}`]:{color:e.palette.divider}}))),$m={small:16,medium:32,large:64,xlarge:128};function Wm({size:e="medium",...n}){const r=$m[e];return t.createElement(Zm,{className:Um.root},t.createElement(zm,Gm({variant:"determinate",value:100,className:Um.back,size:r,thickness:3},n)),t.createElement(zm,Gm({variant:"indeterminate",disableShrink:!0,className:Um.front,size:r,thickness:3},n)))}function Hm(){return Hm=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},Hm.apply(this,arguments)}const Km={stripes:"LongRunningQuery-stripes"},Xm=(0,yn.ZP)(Nn)((()=>({[`& .${Km.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 Ym({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Xm,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Nn,{item:!0},t.createElement(Wm,null)),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Nn,Hm({item:!0},r),t.createElement(Xf,{variant:"contained",onClick:e},n.get("Cancel"))))}function Qm({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Nn,{item:!0},t.createElement(Om,{style:{fontSize:"38px"}})),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Nn,{item:!0},t.createElement(Xf,Hm({variant:"contained",onClick:e},r),n.get("Retry"))))}function Jm({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(Wt);return t.createElement(Nn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:Km.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(Ym,{cancel:r.cancel,translator:o,className:Km.cancel}),n&&t.createElement(Qm,{retry:r.retry,translator:o,className:Km.retry}))}function eh(){return t.createElement(Nn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(Wm,{size:"large"}))}const th="Header",nh={containerStyle:`${th}-containerStyle`,containerTitleStyle:`${th}-containerTitleStyle`},rh=(0,yn.ZP)(Nn)((({theme:e})=>({[`&.${nh.containerStyle}`]:{flexGrow:0},[`&.${nh.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),oh=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]=Yn(),[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=[nh.containerStyle,...q?[nh.containerTitleStyle]:[]],g=(o||c)&&(m||!q),v=q&&!g&&!m,b=t.createElement(yd,{show:v,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:g,anchorEl:r},focusHandler:a});return t.createElement(rh,{ref:f,item:!0,container:!0,wrap:"nowrap",className:y.join(" ")},t.createElement(Nn,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Nn,{container:!0,wrap:"nowrap",direction:"column"},l&&t.createElement(ur,{variant:"h6",noWrap:!0,className:"njs-cell-title",style:i.main},e.title),s&&t.createElement(ur,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:i.subTitle},e.subtitle))),t.createElement(Nn,{item:!0},b))},ah="Footer-itemStyle",ih=(0,yn.ZP)(Nn)((({theme:e})=>({[`& .${ah}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),lh=function({layout:e,titleStyles:n={}}){return e&&e.showTitles&&e.footnote?t.createElement(ih,{container:!0},t.createElement(Nn,{item:!0,className:ah},t.createElement(ur,{noWrap:!0,variant:"body2",className:"njs-cell-footer",style:n.footer},e.footnote))):null};class sh{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 ch=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)(Wt),[p]=(0,t.useState)((()=>new sh)),[m,h]=(0,t.useState)(!1),[q,y]=(0,t.useState)(0),[g,v,b]=Yn(),[E,C]=(0,t.useState)(null),S=(0,t.useCallback)((e=>{e&&C(e)}),[]);return(0,t.useEffect)((()=>{if(E)return l.created({options:n}),l.mounted(E),h(!0),()=>{p.stop(),l.willUnmount()}}),[E,l]),(0,t.useEffect)((()=>{m&&E&&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,E,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%"}}))},uh={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},dh={"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 fh(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=dh[e.bgImage.position]),t}(e),a=function(e){let t=uh.originalSize;return e?.bgImage?.sizing&&(t=uh[e.bgImage.sizing]),t}(e);return r?{url:r,pos:o,size:a}:void 0}}function ph(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 mh(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 hh=(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 qh({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(eh,null):null}const yh=e=>!e.qError||7005===e.qError.qErrorCode,gh=(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}})),vh=e=>e&&(Array.isArray(e)?e:[e])||[],bh=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:gh(o,vh(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:gh(a,vh(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},Eh=(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)(Wt),g=se(),[v,b,E]=Yn(),[C,S]=(0,t.useReducer)(hh,{loading:!1,loaded:!1,longRunningQuery:!1,error:(O=a)?{title:O.message}:null,sn:null,visualization:null});var O;const[I,{validating:R,canCancel:x,canRetry:w},N]=Kn(n),[L]=Xn(u),[_,T,A]=Yn(),[P,D]=(0,t.useState)(r),[k,M]=(0,t.useState)(o),F=`njs-cell-${l}`,[B]=mf(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)((()=>{df(K.current)}),[]),(0,t.useEffect)((()=>{if(I&&e.public.theme){const t=I.components?I.components.find((e=>"general"===e.key)):null;H({main:mh(t,"main",e.public.theme,I.visualization),footer:mh(t,"footer",e.public.theme,I.visualization),subTitle:mh(t,"subTitle",e.public.theme,I.visualization)}),U(ph(t,e.public.theme,I.visualization)),$(fh(t,e.app))}}),[I,e.public.theme,e.app,p]),K.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&A&&A.focus()},K.current.refocusContent=()=>{C.sn.component&&"function"==typeof C.sn.component.focus&&C.sn.component.focus()},(0,t.useEffect)((()=>{if(a||!L||!I)return;if(C.visualization===I.visualization&&C.sn)return void(async e=>{const[t,r]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),m=vh(p.qDimensionInfo||p.qItems).filter(yh),h=vh(p.qMeasureInfo).filter(yh);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=bh(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:C.sn,layout:I,model:n})})(C.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,C.sn,n,B,I,L,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:()=>C.sn.generator.qae,toggleFocus(e){"function"==typeof C.sn.component.focus&&(e?C.sn.component.focus():C.sn.component.blur())},setSnOptions:D,setSnPlugins:M,async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(I));return"function"==typeof C.sn.component.setSnapshotData&&(n=await C.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:g.name,appLayout:L,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[C.sn,T,b,I,g.name,L]);let X=null;return C.loading&&!C.longRunningQuery?X=t.createElement(qh,null):C.error?X=t.createElement(xm,C.error):C.loaded&&(X=t.createElement(ch,{key:I.visualization,sn:C.sn,halo:e,snOptions:P,snPlugins:k,layout:I,appLayout:L})),t.createElement(Ia,{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(Nn,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...y?{}:{padding:g.spacing(1)},...C.longRunningQuery?{opacity:"0.3"}:{}}},E&&I&&C.sn&&t.createElement(oh,{layout:I,sn:C.sn,anchorEl:E,hovering:j,focusHandler:K.current,titleStyles:W}," "),t.createElement(Nn,{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),t.createElement(lh,{layout:I,titleStyles:W})),C.longRunningQuery&&t.createElement(Jm,{canCancel:x,canRetry:w,api:N}))}));function Ch(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Sh(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],(Ch(i)&&Ch(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(...Sh(`${e}${o}/`,t[o],n[o]))})),r}function Oh(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 Ih=()=>{};async function Rh(e,n,r,o,a=(async()=>{})){const l=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=Ih,l=null,s=null,c=null;const u=new Promise((e=>{c=e}));let d={},f=[];const p=new(i()),m={id:e.id,model:e,async destroy(){await o(),a(),a=Ih},async convertTo(t,r=!0){const o=await ym({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){p.addListener(e,t)},removeListener(e,t){p.removeListener(e,t)},__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=hp(),f=sn.createPortal(t.createElement(Eh,{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:d,initialSnPlugins:f,initialError:r,onMount:c,emitter:p}),u},async applyProperties(t){const n=Sh("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{s?(async()=>{await u,l.current.setSnOptions({...d,...e})})():d={...d,...e}})(e)},plugins(e){(async e=>{Oh(e),s?(async()=>{await u,l.current.setSnPlugins(e)})():f=e})(e)},exportImage:()=>l.current.exportImage(),takeSnapshot:()=>l.current.takeSnapshot(),getModel:()=>e}};return m}({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 xh({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 om({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}),Vn.set(e.id,e),e}return l}const wh=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=Kn(e),{theme:c}=(0,t.useContext)(Wt),[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=Mn.get(a);i||(i=o.app.getObject(e),Mn.set(a,i));const l=await i;return Vn.set(a,l),Rh(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:hp(),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(Eh,{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(ph(e,n.public.theme)),h(fh(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)},Nh=()=>{};async function Lh({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=Mn.get(i);l||(l=a.app.getObject(e),Mn.set(i,l));const s=await l;return Vn.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=Nh,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=Nh},__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=sn.createPortal(t.createElement(wh,{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=Sh("/",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=>{Oh(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):Rh(s,{options:n,plugins:r,element:o},a)}function _h(e={}){return{isEnabled:t=>!0===e[t]}}const Th=G().bind(null,!0),Ah={},{isArray:Ph}=Array;function Dh(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function kh(e){return void 0===e}function Mh(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Fh(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]=kh(e[r||t])?a:e[t],e=e[r||t]})),e}function Bh(e,t){let n=!0;if(Dh(e)&&Dh(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Bh(e[r],t[r])||(n=!1)})),n);if(Ph(e)&&Ph(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Bh(e[n],t[n]))return!1;return!0}return e===t}Ah.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Th({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;Bh(a,i)||Mh(t,o)||(kh(i)?r.push({op:"add",path:l,value:a}):Dh(a)&&Dh(i)?r=r.concat(Ah.generate(i,a,l)):Ph(a)&&Ph(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]&&kh(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(Bh(t,o))return r;if(!kh(t[0])&&kh(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(Ah.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=>{kh(t[o])&&!Mh(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},Ah.apply=function(e,t){t.forEach((t=>{let n=Fh(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(Ph(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Ph(o)&&Ph(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Dh(o)&&Dh(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!Mh(i,e)&&delete i[e]})),Th(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=Fh(e,t.from);Ph(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Ph(n)?n.splice(+r,1):delete n[r]);var i}))},Ah.clone=function(e){return Th({},e)},Ah.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},Ah.updateObject=function(e,t){Object.keys(e).length?Ah.apply(e,Ah.generate(e,t)):Th(e,t)};const jh=Ah,zh=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 Gh,Vh;function Uh(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 Zh(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 $h(e){Hh(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 Wh(e){if(e.__hooks.obsolete)return Promise.resolve();Vh=-1,Gh=e;let t=-1;Gh.__hooks.initiated&&(t=Gh.__hooks.list.length);try{Gh.fn.call(null)}catch(e){console.error(e)}Gh.__hooks.initiated=!0,t>-1&&t!==Gh.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=Gh.__hooks;return Qh(Gh),Vh=void 0,Gh=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){Hh(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Hh(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 Hh(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 Kh(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 Xh(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 Yh(e){return e.__hooks.imperativeHandle}function Qh(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Jh(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Qh(e))}function eq(e){if(void 0===Gh)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Gh.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function tq(e){return eq(++Vh),Gh.context[e]}function nq(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function rq(e){return{__hooked:!0,fn:e,initiate:Zh,run:Wh,teardown:$h,runSnaps:Kh,runMenu:Xh,focus:Aq,blur:Pq,observeActions:Jh,getImperativeHandle:Yh,updateRectOnNextRun:nq}}function oq(e){const t=eq(++Vh);if(!t.value){t.component=Gh;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,Wh(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function aq(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=eq(++Vh);Uh(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Gh.__hooks.pendingEffects.indexOf(n)&&Gh.__hooks.pendingEffects.push(n))}function iq(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=eq(++Vh);Uh(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Gh.__hooks.pendingLayoutEffects.push(n))}function lq(e,t){t||console.warn("useMemo called without dependencies.");const n=eq(++Vh);return Uh(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function sq(e,t){const[n,r]=oq((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=eq(++Vh);return o.component||(o.component=Gh),iq((()=>{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 cq(){return tq("element")}function uq(){const e=cq(),t=Gh.__hooks.resizer,[n,r]=oq((()=>{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()),iq((()=>{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 dq(){return tq("layout")}function fq(){const e=tq("layout"),[t]=oq({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function pq(){return tq("appLayout")}function mq(){const e=tq("model");return e&&e.session?e:void 0}function hq(){const e=tq("app");return e&&e.session?e:void 0}function qq(){const e=tq("global");return e&&e.session?e:void 0}function yq(){return tq("selections")}function gq(){return tq("theme")}function vq(){return tq("nebbie")}function bq(){return tq("translator")}function Eq(){return tq("deviceType")}function Cq(){return tq("plugins")}function Sq(e,t){const[n]=oq({action(){n._config.action.call(null)}});return n.component||(n.component=Gh,Gh.__hooks.actions.list.push(n)),lq((()=>{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 Oq(){return console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),tq("constraints")}function Iq(){return tq("interactions")}function Rq(){return tq("options")}function xq(e,t){const n=eq(++Vh);if(!n.imperative){if(Gh.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(Uh(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Gh.__hooks.imperativeHandle=r}}function wq(e){const t=eq(++Vh);t.value||(t.value=1,Gh.__hooks.snaps.push(t)),t.fn=e}function Nq(e){const t=eq(++Vh);t.value||(t.value=1,Gh.__hooks.menus.push(t)),t.fn=e}function Lq(){eq(++Vh);const e=Gh.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function _q(){return tq("emitter")}function Tq(){const e=tq("keyboardNavigation"),t=tq("focusHandler");if(!Gh.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(Pq(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Gh);Gh.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),Aq(this))}.bind(Gh);Gh.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Gh);Gh.__hooks.accessibility.focusSelectionFunction=r}const n=Gh.__hooks.accessibility.focusFunction,r=Gh.__hooks.accessibility.exitFunction,o=Gh.__hooks.accessibility.focusSelectionFunction,[a,i]=oq({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Gh.__hooks.accessibility.setter=i,Gh.__hooks.accessibility.enabled=e,aq((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function Aq(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 Pq(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const Dq={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},kq=Object.keys(Dq),Mq=e=>(Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e);function Fq(e,t,n){"function"==typeof e.component&&(e.component=rq(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==Wh&&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={...Dq};Mq(n);const r={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==kq.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=zh(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=jh.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));jh.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=jh.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 Bq=()=>{};function jq(e,t){return void 0===e?()=>t:()=>e}function zq(e){const t=e||{};return{min:"function"==typeof t.min?t.min:jq(t.min,0),max:"function"==typeof t.max?t.max:jq(t.max,1e3),added:t.added||t.add||Bq,description:t.description||Bq,moved:t.moved||t.move||Bq,removed:t.removed||t.remove||Bq,replaced:t.replaced||t.replace||Bq,isDefined:()=>!!e}}const Gq=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function Vq(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error(`Incorrect definition for ${e} at ${t}. Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef`)}return{propertyPath:t,layoutPath:n,resolveLayout:e=>Gq(e,n,{}),dimensions:zq(e.dimensions),measures:zq(e.measures)}}function Uq(e={}){let t,n=e.properties||{};return e.properties&&(e.properties.initial||e.properties.onChange)&&(n=e.properties.initial,t=e.properties.onChange),{properties:{initial:n,onChange:t},data:{targets:((e.data||{}).targets||[]).map(Vq)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Zq(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:Uq(n.qae),component:n.component||{},create:e=>Fq(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var $q=o(82103);const Wq={};function Hq(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,$q.satisfies)(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!Wq[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);Wq[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 Wq[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Zq(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 Kq={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()))}},Xq=(e={},t={})=>({...e,...t}),Yq=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),Qq=function e(o={}){const a=function(e){const t=n({initial:e});return Object.keys(r).forEach((e=>{t.translator.add(r[e])})),{translator:t.translator}}(o.context.language);function i(e,n){if(n)return i.createConfiguration(n)(e);let r={...o.context,translator:a.translator};const[l]=function({app:e,context:n}){let r;const o=new Promise((e=>{r=e})),a=t.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","4.0.1"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),n&&an(n),oe.createRoot(i).render(t.createElement(ln,{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&&an(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:_h(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]=Hq(t.name,e)),n[t.name].register(t.version,r)},getSupportedVersion:(e,t)=>n[e]?n[e].getMatchingVersionFromProperties(t):null,get(e){const{name:t}=e;let{version:o}=e;if(n[t]){if(!n[t].versions[o]){const e=Object.keys(n[t].versions)[0];console.warn(`Version ${o} of ${t} is not registered. Falling back to version ${e}`),o=e}}else console.warn(`Visualization ${t} is not registered. Adding it now.`),this.register({name:t,version:o});return n[t].get(o)||r.get(e)},getList:()=>Object.keys(n).map((e=>({name:e,versions:Object.keys(n[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{n[e]&&(n[e]=void 0),function(e){Object.keys(Wq).forEach((t=>{t.split("__")[0]===e&&(Wq[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?Lh(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 om({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}),Vn.set(f.id,f);const p=(e=>{const t=zn({type:"SET",value:e});return()=>{t(),Vn.clear(e.id)}})(f);return Rh(f,{options:o,plugins:a,element:i},s,d,(async()=>{await s.app.destroySessionObject(f.id),p()}))}(e,u)),create:async e=>xh(e,u,!1),generateProperties:async e=>xh(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 sn.createPortal(t.createElement(qp,{app:n}),e,hp())}({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 sn.createPortal(t.createElement(Zp,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,hp())}({element:i,app:e,fieldIdentifier:n,qId:r,options:Up({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 df(a),a},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(n,r,o){q._popoverInstance&&(l.remove(q._popoverInstance),q._popoverInstance=null);const a=((e={})=>{const t={...$p};return G()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(Wp,{element:n,key:hp(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,df(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:Xq(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:Yq(e.types,t.types),themes:Yq(e.themes,t.themes),flags:Xq(e.flags,t.flags),anything:Xq(e.anything,t.anything)}))(o,t)),i.config=o,i}(Kq),Jq=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},ey=globalThis.crypto||{getRandomValues:()=>123456},ty=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^ey.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})}},ny=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,ry=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=ny(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},oy=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function ay(e){return!oy.includes(e)}function iy(e){const t=ny(e.getLayout);return t.qInfo&&t.qInfo.qId}function ly(e,t){let n=iy(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:ny(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:ry(n,{async:ay(t),delay:r})})),{}),genericType:e.type}}}function sy(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!iy(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const cy=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(sy);const n=function(e,t){return e.reduce(((e,n)=>({...e,...ly(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},uy=function(){return()=>Promise.resolve({id:"app-layout"})},dy={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new Jq,r=new ty,o=new cy(e,t),a=new uy,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},fy=dy,py={generator:Zq,hook:rq,theme:re,locale:n};var my=o(9196),hy=o.n(my);const qy=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 yy=o(78173),gy=o.n(yy);class vy 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 by extends vy{}var Ey=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(Ey||{});class Cy extends vy{}var Sy=(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))(Sy||{}),Oy=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(Oy||{});const Iy=(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)},Ry=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},xy="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var wy=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}},Ny=class extends wy{},Ly=class extends wy{},_y=class extends wy{},Ty=class extends wy{},Ay=class extends wy{},Py=(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 Dy(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var ky,My,Fy=Object.create,By=Object.defineProperty,jy=Object.getOwnPropertyDescriptor,zy=Object.getOwnPropertyNames,Gy=Object.getPrototypeOf,Vy=Object.prototype.hasOwnProperty,Uy=(ky={"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)}var f={NOT_CONNECTED:-1,OBJECT_NOT_FOUND:-2,EXPECTED_ARRAY_OF_PATCHES:-3,PATCH_HAS_NO_PARENT:-4,ENTRY_ALREADY_DEFINED:-5,NO_CONFIG_SUPPLIED:-6,PROMISE_REQUIRED:-7,SCHEMA_STRUCT_TYPE_NOT_FOUND:-8,SCHEMA_MIXIN_CANT_OVERRIDE_FUNCTION:-9,SCHEMA_MIXIN_EXTEND_NOT_ALLOWED:-10,SESSION_SUSPENDED:-11,SESSION_NOT_ATTACHED:-12};function p(e){return(p="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 m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function g(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}var v=0,b=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),v+=1,n.id=v,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(f.SESSION_SUSPENDED,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=h(h({},n.config.protocol),e);delete r.outKey;var o=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,o,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}],o=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var o=t.then;t.then=function(){for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var l=o.apply(this,a);return e.addToPromiseChain(l,n,r),l}}}],n&&y(t.prototype,n),o&&y(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}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"!==E(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===E(o)?o:String(o)),r)}var o}var S=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(f.ENTRY_ALREADY_DEFINED,"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 O(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"!==I(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===I(o)?o:String(o)),r)}var o}function I(e){return(I="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 R=Object.prototype.hasOwnProperty;function x(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function w(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"!==I(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return R.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var N=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new S,this.types=new S}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(f.SCHEMA_STRUCT_TYPE_NOT_FOUND,"".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=x(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(f.SCHEMA_MIXIN_CANT_OVERRIDE_FUNCTION,"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(f.SCHEMA_MIXIN_EXTEND_NOT_ALLOWED,"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=x(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 w.apply(this,[o,a].concat(t))}}))}}],n&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===L(o)?o:String(o)),r)}var o}var T=function(){function e(t,n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this),this.id=t,this.handle=n,this.resolve=o,this.reject=a}var t,n;return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&_(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function 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"!==A(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===A(o)?o:String(o)),r)}var o}var D=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(f.NOT_CONNECTED,"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(f.NOT_CONNECTED,"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 T(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(f.NOT_CONNECTED,"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 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)}function M(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"!==k(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===k(o)?o:String(o)),r)}var o}var F=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(f.SESSION_NOT_ATTACHED,"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&&M(t.prototype,n),r&&M(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function B(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function j(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(f.OBJECT_NOT_FOUND,"Object not found");return e.config.Promise.reject(r)}return n}var z=Object.prototype.hasOwnProperty,G=Object.prototype.toString,V=Object.defineProperty,U=Object.getOwnPropertyDescriptor,Z=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===G.call(e)},$=function(e){if(!e||"[object Object]"!==G.call(e))return!1;var t,n=z.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&z.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||z.call(e,t)},W=function(e,t){V&&"__proto__"===t.name?V(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},H=function(e,t){if("__proto__"===t){if(!z.call(e,t))return;if(U)return U(e,t).value}return e[t]};function K(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 X(e){return(X="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 Y=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=H(l,n),l!==(o=H(t,n))&&(u&&o&&($(o)||(a=Z(o)))?(a?(a=!1,i=r&&Z(r)?r:[]):i=r&&$(r)?r:{},W(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&W(l,{name:n,newValue:o}));return l}.bind(null,!0),Q={},J=Array.isArray;function ee(e){return null!=e&&!Array.isArray(e)&&"object"===X(e)}function te(e){return void 0===e}function ne(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function re(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]=te(e[n||t])?a:e[t],e=e[n||t]}})),e}function oe(e,t){var n=!0;if(ee(e)&&ee(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){oe(e[r],t[r])||(n=!1)})),n);if(J(e)&&J(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!oe(e[r],t[r]))return!1;return!0}return e===t}function ae(e){return(ae="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)}Q.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?Y({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);oe(a,i)||ne(t,o)||(te(i)?r.push({op:"add",path:l,value:a}):ee(a)&&ee(i)?r=r.concat(Q.generate(i,a,l)):J(a)&&J(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&te(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(oe(t,o))return r;if(!te(t[0])&&te(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(Q.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){te(t[o])&&!ne(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Q.apply=function(e,t){t.forEach((function(t){var n,r,o=re(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(J(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(J(i)&&J(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 K(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 K(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)?K(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(ee(i)&&ee(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!ne(n,e)&&delete n[e]})),Y(i,t.value);else{if(!o)throw d(f.PATCH_HAS_NO_PARENT,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var p=re(e,t.from);J(o)?o.splice(+a,0,p.splice(+l,1)[0]):(o[a]=p[l],delete p[l])}else"remove"===t.op&&(J(o)?o.splice(+a,1):delete o[a])}))},Q.clone=function(e){return Y({},e)},Q.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},Q.updateObject=function(e,t){Object.keys(e).length?Q.apply(e,Q.generate(e,t)):Y(e,t)};var ie={};function le(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(f.EXPECTED_ARRAY_OF_PATCHES,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ie[e.id]){var t={};ie[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 ie[e.id]}))}}(e);var n=ie[e.id];return n[t]||(n[t]=new S),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==ae(r[0].value)?a=r[0].value:Q.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 se(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}le.sessions=ie;var ce="qReturn";function ue(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[ce].qGenericId=n.qSessionAppId||n[ce].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[ce],hasOwnProperty.call(n,ce)?n[ce]:-1!==t.outKey?n[t.outKey]:n}function de(e,t,n){return n.result}function fe(e){return(fe="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 pe(e){return function(e){if(Array.isArray(e))return me(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 me(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)?me(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 me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==fe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==fe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===fe(o)?o:String(o)),r)}var o}var qe=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:B}].concat(pe(this.request||[])),this.response=[{onFulfilled:se},{onFulfilled:le},{onFulfilled:de},{onFulfilled:ue}].concat(pe(this.response||[]),[{onFulfilled:j}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&he(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==ye(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ye(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===ye(o)?o:String(o)),r)}var o}function ve(){return ve="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=Ee(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}},ve.apply(this,arguments)}function be(e,t){return(be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ee(e){return(Ee=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&&be(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=Ee(r);if(o){var n=Ee(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===ye(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 ve(Ee(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 ve(Ee(i.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(S);function Se(e){return(Se="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 Oe(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"!==Se(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Se(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===Se(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 qe({apis:i,Promise:n,request:r,response:o}),s=new D({createSocket:t,Promise:n,url:a}),c=new F({apis:i,Promise:n,rpc:s});return new b({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw d(f.NO_CONFIG_SUPPLIED,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw d(f.PROMISE_REQUIRED,"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 N(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Oe(t.prototype,null),n&&Oe(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 My||(0,ky[zy(ky)[0]])((My={exports:{}}).exports,My),My.exports}),Zy=((e,t,n)=>(n=null!=e?Fy(Gy(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of zy(t))Vy.call(e,n)||undefined===n||By(e,n,{get:()=>t[n],enumerable:!(r=jy(t,n))||r.enumerable});return e})(e&&e.__esModule?n:By(n,"default",{value:e,enumerable:!0}),e)))(Uy()),$y=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}},Wy=class extends $y{},Hy=class extends $y{},Ky=class extends $y{},Xy=class extends $y{},Yy=class extends $y{},Qy=class extends $y{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},Jy=(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)},eg="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function tg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var ng=WebSocket;function rg(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const og=new Cy("Only supported for AuthType.WebIntegration");class ag{constructor(e){if(!e.host)throw new Cy("Empty host in config");let t,n,r;try{const r=Iy(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new Cy("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new Cy("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==Oy.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===Oy.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 Cy(`${Sy.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new Cy(Sy.EMPTY_HOST);if(!(e.authType in Oy))throw new Cy(`${Sy.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[Oy.WebIntegration]:["webIntegrationId"],[Oy.APIKey]:["apiKey"],[Oy.JWTAuth]:["fetchToken","webIntegrationId"],[Oy.OAuth2]:["clientId"],[Oy.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 Cy(`${Sy.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[Oy.APIKey]:["isSecure"],[Oy.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[Oy.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[Oy.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 Cy(`${Sy.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===Oy.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new Cy(`${Sy.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Dy},response:{handlers:[],use:Dy}},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=Py(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=Py(`${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 ${Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.20.1",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Ly({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 Ty({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new Ny({error:"Failed to authenticate host using api-key",...f}):new Ny({error:"Unauthenticated",...f});if(404===u.status)throw new Ay({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new _y({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 _y({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:rg},response:{handlers:[],use:rg}},this.sessions={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:tg},response:{handlers:[],use:tg}},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=Jy(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=Jy(`${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 ${Buffer.from(`${e.clientId}:${e.clientSecret}`).toString("base64")}`}:e.apiKey&&"/oauth/token"!==r&&(i={Authorization:`Bearer ${e.apiKey}`,...i}));const l=n?.body,s=void 0!==l?.append,c={...n,redirect:"follow",headers:{...s?{}:{"content-type":"application/json"},"User-Agent":"qlik-sdk-typescript/0.20.1",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Hy({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 Xy({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new Wy({error:"Failed to authenticate host using api-key",...f}):new Wy({error:"Unauthenticated",...f});if(404===u.status)throw new Yy({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Ky({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 Ky({error:"Missing fetch function"})}}(e).restClientInstance}async rpc(e){const{url:t,createSocket:n}=await this.buildUrlAndCreateSocket(e);return this.sessions[t.toString()]=this.sessions[t.toString()]||(()=>{const e=Zy.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:t,createSocket:n,protocol:{delta:!1}});return e.intercept.response=this.interceptors.response.handlers,e.intercept.request=this.interceptors.request.handlers,e.on("closed",(t=>{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 Qy(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[t.toString()].on("traffic:*",((e,n)=>{"handle"in n&&(this.sessions[t.toString()]?.eventListeners?.[n.handle]?.[`traffic:${e}`]?.forEach((e=>{e(n)})),this.sessions[t.toString()]?.eventListeners?.[n.handle]?.["traffic:*"]?.forEach((e=>{e(n)}))),"change"in n&&n.change.forEach((e=>{this.sessions[t.toString()]?.eventListeners?.[e]?.changed?.forEach((e=>e(n)))})),"close"in n&&n.close.forEach((e=>{this.sessions[t.toString()]?.eventListeners?.[e]?.closed?.forEach((e=>e(n)))}))})),this.sessions[t.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||eg,a=Jy(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 Ky(`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&&!eg?e=>new ng(e,{headers:{Authorization:`Bearer ${this.config.apiKey}`}}):e=>new ng(e),{url:t,createSocket:n}}}(this.config),this.rpc=e=>this.rpcClient.rpc(e),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||xy,a=Iy(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===Oy.APIKey||n.authType===Oy.OAuth2&&!o)return i;if([Oy.WebIntegration,Oy.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===Oy.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 Cy(`${Sy.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!==Oy.WebIntegration)throw og;const e=Iy(`${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!==Oy.WebIntegration)throw og;const e=Iy(`${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(Iy(`${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 by(Ey.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 Cy({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(xy&&(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!==Oy.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new Cy("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=Ry(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||Ry(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:Iy(`${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,xy&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const ig=()=>{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},lg=(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}},sg=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=ig();if(n.engine_url?t={...t,...lg(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}})),cg=async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await sg();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new ag({webIntegrationId:e,autoRedirect:!0,authType:Oy.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=gy().buildUrl(r);return(await hy().create({schema:qy,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}},ug=new Map,dg=[],fg=dg.map,pg=dg.some,mg=dg.hasOwnProperty,hg=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,qg=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,yg=/(?:\.[^/]*|\/)$/;class gg extends Error{constructor(e){super(e)}}function vg(e){const t=hg.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function bg(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(dg.pop()(o(e)))}catch(e){n(new gg("invalid module"))}r.remove()},r.onerror=()=>{n(new gg("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=Og,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(fg.call(arguments,n)).then(Eg):n(e)}return a.alias=function(t){return bg(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function Eg(e){const t={};for(const n of e)for(const e in n)mg.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:Cg(n,e)}):t[e]=n[e]);return t}function Cg(e,t){return()=>e[t]}function Sg(e){return"exports"==(e+="")||"module"===e}function Og(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),dg.push(pg.call(t,Sg)?e=>{const r={},o={exports:r};return Promise.all(fg.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(fg.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}gg.prototype.name=gg.name,bg(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=ug.get(n);return r||ug.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new gg("unable to load package.json");return e.redirected&&!ug.has(e.url)&&ug.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 gg("illegal name");const a=vg(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(vg(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!yg.test(a.path)&&(a.path+=".js"),a.path&&a.version&&qg.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)),yg.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),Og.amd={};const Ig=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return bg((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},Rg={},xg=e=>{Rg[e]&&Rg[e].forEach((e=>e()))};function wg(e){const t=()=>{Ig(e.supernova.name,e.supernova.url).then((t=>{window[e.supernova.name]=t,xg(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=>Ig(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(Rg[e]||(Rg[e]=[]),Rg[e].push(t),window[e]&&t(),()=>{const n=Rg[e].indexOf(t);Rg[e].splice(n,1)});const Ng=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const Lg=async e=>{const t=document.querySelector("#chart-container"),n=await sg(),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()=>Ig(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||[Ng({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 fy.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),f=Qq(u,{types:[{name:o,load:a}],...l}),p=await f.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{p.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function _g(){const e=await sg();await wg(e),e.enigma.appId||(location.href=location.origin);const t=ig(),n=await cg(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>Qq.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=ig();e.fixture?Lg(e):e.snapshot?async function(){const e=await sg(),{themes:t,supernova:n}=e;await wg(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=Qq.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=ig();!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})}))}():_g()}))})()})();
102
+ `),km))),jm=t.forwardRef((function(e,t){const n=(0,gn.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,Nm),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,rr.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,rr.Z)(n)}`,o&&"circleDisableShrink"]};return(0,qn.Z)(a,wm,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,qe.jsx)(Mm,(0,ce.Z)({className:(0,cn.Z)(p.root,r),style:(0,ce.Z)({width:i,height:i},h,l),ownerState:f,ref:t,role:"progressbar"},q,d,{children:(0,qe.jsx)(Fm,{className:p.svg,ownerState:f,viewBox:"22 22 44 44",children:(0,qe.jsx)(Bm,{className:p.circle,style:m,ownerState:f,cx:44,cy:44,r:(44-s)/2,fill:"none",strokeWidth:s})})}))})),zm=jm;function Gm(){return Gm=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},Gm.apply(this,arguments)}const Vm="Progress",Um={root:`${Vm}-root`,front:`${Vm}-front`,back:`${Vm}-back`},Zm=(0,yn.ZP)("div")((({theme:e})=>({[`&.${Um.root}`]:{position:"relative",display:"inline-block"},[`& .${Um.front}`]:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},[`& .${Um.back}`]:{color:e.palette.divider}}))),$m={small:16,medium:32,large:64,xlarge:128};function Wm({size:e="medium",...n}){const r=$m[e];return t.createElement(Zm,{className:Um.root},t.createElement(zm,Gm({variant:"determinate",value:100,className:Um.back,size:r,thickness:3},n)),t.createElement(zm,Gm({variant:"indeterminate",disableShrink:!0,className:Um.front,size:r,thickness:3},n)))}function Hm(){return Hm=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},Hm.apply(this,arguments)}const Km={stripes:"LongRunningQuery-stripes"},Xm=(0,yn.ZP)(Nn)((()=>({[`& .${Km.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 Ym({cancel:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Xm,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},t.createElement(Nn,{item:!0},t.createElement(Wm,null)),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),t.createElement(Nn,Hm({item:!0},r),t.createElement(Xf,{variant:"contained",onClick:e},n.get("Cancel"))))}function Qm({retry:e,translator:n,...r}){return t.createElement(t.Fragment,null,t.createElement(Nn,{item:!0},t.createElement(Om,{style:{fontSize:"38px"}})),t.createElement(Nn,{item:!0},t.createElement(ur,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),t.createElement(Nn,{item:!0},t.createElement(Xf,Hm({variant:"contained",onClick:e},r),n.get("Retry"))))}function Jm({canCancel:e,canRetry:n,api:r}){const{translator:o}=(0,t.useContext)(Wt);return t.createElement(Nn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:Km.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},e&&t.createElement(Ym,{cancel:r.cancel,translator:o,className:Km.cancel}),n&&t.createElement(Qm,{retry:r.retry,translator:o,className:Km.retry}))}function eh(){return t.createElement(Nn,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t.createElement(Wm,{size:"large"}))}const th="Header",nh={containerStyle:`${th}-containerStyle`,containerTitleStyle:`${th}-containerTitleStyle`},rh=(0,yn.ZP)(Nn)((({theme:e})=>({[`&.${nh.containerStyle}`]:{flexGrow:0},[`&.${nh.containerTitleStyle}`]:{paddingBottom:e.spacing(1)}}))),oh=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]=Yn(),[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=[nh.containerStyle,...q?[nh.containerTitleStyle]:[]],g=(o||c)&&(m||!q),v=q&&!g&&!m,b=t.createElement(yd,{show:v,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:g,anchorEl:r},focusHandler:a});return t.createElement(rh,{ref:f,item:!0,container:!0,wrap:"nowrap",className:y.join(" ")},t.createElement(Nn,{item:!0,zeroMinWidth:!0,xs:!0},t.createElement(Nn,{container:!0,wrap:"nowrap",direction:"column"},l&&t.createElement(ur,{variant:"h6",noWrap:!0,className:"njs-cell-title",style:i.main},e.title),s&&t.createElement(ur,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title",style:i.subTitle},e.subtitle))),t.createElement(Nn,{item:!0},b))},ah="Footer-itemStyle",ih=(0,yn.ZP)(Nn)((({theme:e})=>({[`& .${ah}`]:{minWidth:0,paddingTop:e.spacing(1)}}))),lh=function({layout:e,titleStyles:n={}}){return e&&e.showTitles&&e.footnote?t.createElement(ih,{container:!0},t.createElement(Nn,{item:!0,className:ah},t.createElement(ur,{noWrap:!0,variant:"body2",className:"njs-cell-footer",style:n.footer},e.footnote))):null};class sh{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 ch=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)(Wt),[p]=(0,t.useState)((()=>new sh)),[m,h]=(0,t.useState)(!1),[q,y]=(0,t.useState)(0),[g,v,b]=Yn(),[E,C]=(0,t.useState)(null),S=(0,t.useCallback)((e=>{e&&C(e)}),[]);return(0,t.useEffect)((()=>{if(E)return l.created({options:n}),l.mounted(E),h(!0),()=>{p.stop(),l.willUnmount()}}),[E,l]),(0,t.useEffect)((()=>{m&&E&&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,E,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%"}}))},uh={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},dh={"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 fh(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=dh[e.bgImage.position]),t}(e),a=function(e){let t=uh.originalSize;return e?.bgImage?.sizing&&(t=uh[e.bgImage.sizing]),t}(e);return r?{url:r,pos:o,size:a}:void 0}}function ph(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 mh(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 hh=(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 qh({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(eh,null):null}const yh=e=>!e.qError||7005===e.qError.qErrorCode,gh=(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}})),vh=e=>e&&(Array.isArray(e)?e:[e])||[],bh=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:gh(o,vh(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:gh(a,vh(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},Eh=(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)(Wt),g=se(),[v,b,E]=Yn(),[C,S]=(0,t.useReducer)(hh,{loading:!1,loaded:!1,longRunningQuery:!1,error:(O=a)?{title:O.message}:null,sn:null,visualization:null});var O;const[I,{validating:R,canCancel:x,canRetry:w},N]=Kn(n),[L]=Xn(u),[_,T,A]=Yn(),[P,D]=(0,t.useState)(r),[k,M]=(0,t.useState)(o),F=`njs-cell-${l}`,[B]=mf(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)((()=>{df(K.current)}),[]),(0,t.useEffect)((()=>{if(I&&e.public.theme){const t=I.components?I.components.find((e=>"general"===e.key)):null;H({main:mh(t,"main",e.public.theme,I.visualization),footer:mh(t,"footer",e.public.theme,I.visualization),subTitle:mh(t,"subTitle",e.public.theme,I.visualization)}),U(ph(t,e.public.theme,I.visualization)),$(fh(t,e.app))}}),[I,e.public.theme,e.app,p]),K.current.blurCallback=t=>{e.root.toggleFocusOfCells(),t&&A&&A.focus()},K.current.refocusContent=()=>{C.sn.component&&"function"==typeof C.sn.component.focus&&C.sn.component.focus()},(0,t.useEffect)((()=>{if(a||!L||!I)return;if(C.visualization===I.visualization&&C.sn)return void(async e=>{const[t,r]=await(async(e,t,{targets:n},r)=>{const{hasUnfulfilledErrors:o,aggMinD:a,aggMinM:i,hasLayoutErrors:l,layoutErrors:s}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),m=vh(p.qDimensionInfo||p.qItems).filter(yh),h=vh(p.qMeasureInfo).filter(yh);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=bh(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:C.sn,layout:I,model:n})})(C.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,C.sn,n,B,I,L,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:()=>C.sn.generator.qae,toggleFocus(e){"function"==typeof C.sn.component.focus&&(e?C.sn.component.focus():C.sn.component.blur())},setSnOptions:D,setSnPlugins:M,async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(I));return"function"==typeof C.sn.component.setSnapshotData&&(n=await C.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:g.name,appLayout:L,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof e.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const t=await this.takeSnapshot();return e.config.snapshot.capture(t)}})),[C.sn,T,b,I,g.name,L]);let X=null;return C.loading&&!C.longRunningQuery?X=t.createElement(qh,null):C.error?X=t.createElement(xm,C.error):C.loaded&&(X=t.createElement(ch,{key:I.visualization,sn:C.sn,halo:e,snOptions:P,snPlugins:k,layout:I,appLayout:L})),t.createElement(Ia,{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(Nn,{container:!0,direction:"column",gap:0,style:{position:"relative",width:"100%",height:"100%",...y?{}:{padding:g.spacing(1)},...C.longRunningQuery?{opacity:"0.3"}:{}}},E&&I&&C.sn&&t.createElement(oh,{layout:I,sn:C.sn,anchorEl:E,hovering:j,focusHandler:K.current,titleStyles:W}," "),t.createElement(Nn,{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),E&&I&&C.sn&&t.createElement(lh,{layout:I,titleStyles:W})),C.longRunningQuery&&t.createElement(Jm,{canCancel:x,canRetry:w,api:N}))}));function Ch(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Sh(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],(Ch(i)&&Ch(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(...Sh(`${e}${o}/`,t[o],n[o]))})),r}function Oh(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 Ih=()=>{};async function Rh(e,n,r,o,a=(async()=>{})){const l=function({model:e,halo:n,initialError:r,onDestroy:o=(async()=>{})}={}){let a=Ih,l=null,s=null,c=null;const u=new Promise((e=>{c=e}));let d={},f=[];const p=new(i()),m={id:e.id,model:e,async destroy(){await o(),a(),a=Ih},async convertTo(t,r=!0){const o=await ym({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){p.addListener(e,t)},removeListener(e,t){p.removeListener(e,t)},__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=hp(),f=sn.createPortal(t.createElement(Eh,{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:d,initialSnPlugins:f,initialError:r,onMount:c,emitter:p}),u},async applyProperties(t){const n=Sh("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{s?(async()=>{await u,l.current.setSnOptions({...d,...e})})():d={...d,...e}})(e)},plugins(e){(async e=>{Oh(e),s?(async()=>{await u,l.current.setSnPlugins(e)})():f=e})(e)},exportImage:()=>l.current.exportImage(),takeSnapshot:()=>l.current.takeSnapshot(),getModel:()=>e}};return m}({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 xh({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 om({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}),Vn.set(e.id,e),e}return l}const wh=function({model:e,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}){const{root:l}=n,[s]=Kn(e),{theme:c}=(0,t.useContext)(Wt),[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=Mn.get(a);i||(i=o.app.getObject(e),Mn.set(a,i));const l=await i;return Vn.set(a,l),Rh(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:hp(),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(Eh,{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(ph(e,n.public.theme)),h(fh(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)},Nh=()=>{};async function Lh({id:e,options:n,plugins:r,element:o},a){const i=`${e}`;let l=Mn.get(i);l||(l=a.app.getObject(e),Mn.set(i,l));const s=await l;return Vn.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=Nh,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=Nh},__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=sn.createPortal(t.createElement(wh,{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=Sh("/",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=>{Oh(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):Rh(s,{options:n,plugins:r,element:o},a)}function _h(e={}){return{isEnabled:t=>!0===e[t]}}const Th=G().bind(null,!0),Ah={},{isArray:Ph}=Array;function Dh(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function kh(e){return void 0===e}function Mh(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Fh(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]=kh(e[r||t])?a:e[t],e=e[r||t]})),e}function Bh(e,t){let n=!0;if(Dh(e)&&Dh(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Bh(e[r],t[r])||(n=!1)})),n);if(Ph(e)&&Ph(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Bh(e[n],t[n]))return!1;return!0}return e===t}Ah.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?Th({},{val:e}).val:e}(t[o]),i=e[o],l=`${n}/${o}`;Bh(a,i)||Mh(t,o)||(kh(i)?r.push({op:"add",path:l,value:a}):Dh(a)&&Dh(i)?r=r.concat(Ah.generate(i,a,l)):Ph(a)&&Ph(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]&&kh(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(Bh(t,o))return r;if(!kh(t[0])&&kh(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(Ah.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=>{kh(t[o])&&!Mh(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},Ah.apply=function(e,t){t.forEach((t=>{let n=Fh(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(Ph(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Ph(o)&&Ph(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Dh(o)&&Dh(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!Mh(i,e)&&delete i[e]})),Th(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=Fh(e,t.from);Ph(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Ph(n)?n.splice(+r,1):delete n[r]);var i}))},Ah.clone=function(e){return Th({},e)},Ah.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},Ah.updateObject=function(e,t){Object.keys(e).length?Ah.apply(e,Ah.generate(e,t)):Th(e,t)};const jh=Ah,zh=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 Gh,Vh;function Uh(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 Zh(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 $h(e){Hh(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 Wh(e){if(e.__hooks.obsolete)return Promise.resolve();Vh=-1,Gh=e;let t=-1;Gh.__hooks.initiated&&(t=Gh.__hooks.list.length);try{Gh.fn.call(null)}catch(e){console.error(e)}Gh.__hooks.initiated=!0,t>-1&&t!==Gh.__hooks.list.length&&console.error("Detected a change in the order of hooks called.");const n=Gh.__hooks;return Qh(Gh),Vh=void 0,Gh=void 0,n.chain.promise||(n.chain.promise=new Promise((e=>{n.chain.resolve=e}))),function(e){Hh(e.pendingLayoutEffects)}(n),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Hh(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 Hh(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 Kh(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 Xh(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 Yh(e){return e.__hooks.imperativeHandle}function Qh(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Jh(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Qh(e))}function eq(e){if(void 0===Gh)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Gh.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function tq(e){return eq(++Vh),Gh.context[e]}function nq(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function rq(e){return{__hooked:!0,fn:e,initiate:Zh,run:Wh,teardown:$h,runSnaps:Kh,runMenu:Xh,focus:Aq,blur:Pq,observeActions:Jh,getImperativeHandle:Yh,updateRectOnNextRun:nq}}function oq(e){const t=eq(++Vh);if(!t.value){t.component=Gh;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,Wh(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function aq(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=eq(++Vh);Uh(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Gh.__hooks.pendingEffects.indexOf(n)&&Gh.__hooks.pendingEffects.push(n))}function iq(e,t){if(void 0!==t&&!Array.isArray(t))throw new Error("Invalid dependencies. Second argument must be an array.");const n=eq(++Vh);Uh(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Gh.__hooks.pendingLayoutEffects.push(n))}function lq(e,t){t||console.warn("useMemo called without dependencies.");const n=eq(++Vh);return Uh(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function sq(e,t){const[n,r]=oq((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=eq(++Vh);return o.component||(o.component=Gh),iq((()=>{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 cq(){return tq("element")}function uq(){const e=cq(),t=Gh.__hooks.resizer,[n,r]=oq((()=>{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()),iq((()=>{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 dq(){return tq("layout")}function fq(){const e=tq("layout"),[t]=oq({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current}function pq(){return tq("appLayout")}function mq(){const e=tq("model");return e&&e.session?e:void 0}function hq(){const e=tq("app");return e&&e.session?e:void 0}function qq(){const e=tq("global");return e&&e.session?e:void 0}function yq(){return tq("selections")}function gq(){return tq("theme")}function vq(){return tq("nebbie")}function bq(){return tq("translator")}function Eq(){return tq("deviceType")}function Cq(){return tq("plugins")}function Sq(e,t){const[n]=oq({action(){n._config.action.call(null)}});return n.component||(n.component=Gh,Gh.__hooks.actions.list.push(n)),lq((()=>{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 Oq(){return console.warn("useContraints has been deprecated, please change to useInteractions instead. Note that interactions uses inverted values compared to contraints."),tq("constraints")}function Iq(){return tq("interactions")}function Rq(){return tq("options")}function xq(e,t){const n=eq(++Vh);if(!n.imperative){if(Gh.__hooks.imperativeHandle)throw new Error("useImperativeHandle already used.");n.imperative=!0}if(Uh(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Gh.__hooks.imperativeHandle=r}}function wq(e){const t=eq(++Vh);t.value||(t.value=1,Gh.__hooks.snaps.push(t)),t.fn=e}function Nq(e){const t=eq(++Vh);t.value||(t.value=1,Gh.__hooks.menus.push(t)),t.fn=e}function Lq(){eq(++Vh);const e=Gh.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}}function _q(){return tq("emitter")}function Tq(){const e=tq("keyboardNavigation"),t=tq("focusHandler");if(!Gh.__hooks.accessibility.exitFunction){const e=function(e=!1){const n=this.__hooks.accessibility;n.enabled&&n.active&&(Pq(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Gh);Gh.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),Aq(this))}.bind(Gh);Gh.__hooks.accessibility.focusFunction=n;const r=function(e=!1){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Gh);Gh.__hooks.accessibility.focusSelectionFunction=r}const n=Gh.__hooks.accessibility.focusFunction,r=Gh.__hooks.accessibility.exitFunction,o=Gh.__hooks.accessibility.focusSelectionFunction,[a,i]=oq({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Gh.__hooks.accessibility.setter=i,Gh.__hooks.accessibility.enabled=e,aq((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a}function Aq(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 Pq(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const Dq={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},kq=Object.keys(Dq),Mq=e=>(Object.keys(i().prototype).forEach((t=>{e[t]=i().prototype[t]})),i().init(e),e);function Fq(e,t,n){"function"==typeof e.component&&(e.component=rq(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){e.component.run!==Wh&&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={...Dq};Mq(n);const r={emit(...e){n.emit(...e)}};Object.keys(e.component||{}).forEach((t=>{-1!==kq.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=zh(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=jh.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));jh.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=jh.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 Bq=()=>{};function jq(e,t){return void 0===e?()=>t:()=>e}function zq(e){const t=e||{};return{min:"function"==typeof t.min?t.min:jq(t.min,0),max:"function"==typeof t.max?t.max:jq(t.max,1e3),added:t.added||t.add||Bq,description:t.description||Bq,moved:t.moved||t.move||Bq,removed:t.removed||t.remove||Bq,replaced:t.replaced||t.replace||Bq,isDefined:()=>!!e}}const Gq=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function Vq(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error(`Incorrect definition for ${e} at ${t}. Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef`)}return{propertyPath:t,layoutPath:n,resolveLayout:e=>Gq(e,n,{}),dimensions:zq(e.dimensions),measures:zq(e.measures)}}function Uq(e={}){let t,n=e.properties||{};return e.properties&&(e.properties.initial||e.properties.onChange)&&(n=e.properties.initial,t=e.properties.onChange),{properties:{initial:n,onChange:t},data:{targets:((e.data||{}).targets||[]).map(Vq)},exportProperties:e.exportProperties,importProperties:e.importProperties}}function Zq(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:Uq(n.qae),component:n.component||{},create:e=>Fq(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var $q=o(82103);const Wq={};function Hq(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,$q.satisfies)(e,a.deps.properties),supernova:()=>async function(e,t,{config:n},r){const o=`${e}__${t}`;if(!Wq[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);Wq[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 Wq[o]}(i.name,i.version,t,n.load).then((e=>(r=r||Zq(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 Kq={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()))}},Xq=(e={},t={})=>({...e,...t}),Yq=(e=[],t=[])=>[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t)),Qq=function e(o={}){const a=function(e){const t=n({initial:e});return Object.keys(r).forEach((e=>{t.translator.add(r[e])})),{translator:t.translator}}(o.context.language);function i(e,n){if(n)return i.createConfiguration(n)(e);let r={...o.context,translator:a.translator};const[l]=function({app:e,context:n}){let r;const o=new Promise((e=>{r=e})),a=t.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","4.0.3"),i.setAttribute("data-app-id",e.id),document.body.appendChild(i),n&&an(n),oe.createRoot(i).render(t.createElement(ln,{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&&an(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:_h(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]=Hq(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(Wq).forEach((t=>{t.split("__")[0]===e&&(Wq[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?Lh(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 om({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}),Vn.set(f.id,f);const p=(e=>{const t=zn({type:"SET",value:e});return()=>{t(),Vn.clear(e.id)}})(f);return Rh(f,{options:o,plugins:a,element:i},s,d,(async()=>{await s.app.destroySessionObject(f.id),p()}))}(e,u)),create:async e=>xh(e,u,!1),generateProperties:async e=>xh(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 sn.createPortal(t.createElement(qp,{app:n}),e,hp())}({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 sn.createPortal(t.createElement(Zp,{app:n,element:e,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),e,hp())}({element:i,app:e,fieldIdentifier:n,qId:r,options:Up({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 df(a),a},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(n,r,o){q._popoverInstance&&(l.remove(q._popoverInstance),q._popoverInstance=null);const a=((e={})=>{const t={...$p};return G()(!0,t,e),t})({onPopoverClose:()=>q.emit("fieldPopoverClose"),...o});q._popoverInstance=t.createElement(Wp,{element:n,key:hp(),app:e,fieldIdentifier:r,options:a,stateName:o.stateName||"$"}),l.add(q._popoverInstance)}}};return u.public.nebbie=q,u.types=d,df(q),q}return i.createConfiguration=t=>e(((e,t)=>({context:Xq(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:{...t.snapshot||e.snapshot},types:Yq(e.types,t.types),themes:Yq(e.themes,t.themes),flags:Xq(e.flags,t.flags),anything:Xq(e.anything,t.anything)}))(o,t)),i.config=o,i}(Kq),Jq=function(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - "+ +Date.now()})}},ey=globalThis.crypto||{getRandomValues:()=>123456},ty=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^ey.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})}},ny=(e,{args:t=[],defaultValue:n}={})=>"function"==typeof e?e(...t):void 0!==e?e:n,ry=(e,{defaultValue:t,async:n=!0,delay:r=0}={})=>(...o)=>{const a=ny(e,{defaultValue:t,args:o});return n?new Promise((e=>{setTimeout((()=>e(a)),r)})):a},oy=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function ay(e){return!oy.includes(e)}function iy(e){const t=ny(e.getLayout);return t.qInfo&&t.qInfo.qId}function ly(e,t){let n=iy(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:ny(a,{defaultValue:!0}),on:()=>{},once:()=>{},...Object.entries(i).reduce(((e,[t,n])=>({...e,[t]:ry(n,{async:ay(t),delay:r})})),{}),genericType:e.type}}}function sy(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!iy(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}const cy=function(e=[],t={}){if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(sy);const n=function(e,t){return e.reduce(((e,n)=>({...e,...ly(n,t)})),{})}(e,t);return async e=>Promise.resolve(n[e])},uy=function(){return()=>Promise.resolve({id:"app-layout"})},dy={fromGenericObjects:(e,t={})=>function(e,t={}){const n=new Jq,r=new ty,o=new cy(e,t),a=new uy,i={id:"app - "+ +Date.now(),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,t)},fy=dy,py={generator:Zq,hook:rq,theme:re,locale:n};var my=o(9196),hy=o.n(my);const qy=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 yy=o(78173),gy=o.n(yy);class vy 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 by extends vy{}var Ey=(e=>(e.FAILED_AUTH_API_KEY="Failed to authenticate host using api-key",e.UNAUTHENTICATED="Unauthenticated access",e))(Ey||{});class Cy extends vy{}var Sy=(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))(Sy||{}),Oy=(e=>(e.APIKey="APIKey",e.WebIntegration="WebIntegration",e.JWTAuth="JWTAuth",e.OAuth2="OAuth2",e.None="None",e))(Oy||{});const Iy=(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)},Ry=e=>{let t="";for(let n=0;n<e;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t},xy="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);var wy=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}},Ny=class extends wy{},Ly=class extends wy{},_y=class extends wy{},Ty=class extends wy{},Ay=class extends wy{},Py=(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 Dy(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}"undefined"!=typeof window&&("WebSocket"in window||window);var ky,My,Fy=Object.create,By=Object.defineProperty,jy=Object.getOwnPropertyDescriptor,zy=Object.getOwnPropertyNames,Gy=Object.getPrototypeOf,Vy=Object.prototype.hasOwnProperty,Uy=(ky={"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)}var f={NOT_CONNECTED:-1,OBJECT_NOT_FOUND:-2,EXPECTED_ARRAY_OF_PATCHES:-3,PATCH_HAS_NO_PARENT:-4,ENTRY_ALREADY_DEFINED:-5,NO_CONFIG_SUPPLIED:-6,PROMISE_REQUIRED:-7,SCHEMA_STRUCT_TYPE_NOT_FOUND:-8,SCHEMA_MIXIN_CANT_OVERRIDE_FUNCTION:-9,SCHEMA_MIXIN_EXTEND_NOT_ALLOWED:-10,SESSION_SUSPENDED:-11,SESSION_NOT_ATTACHED:-12};function p(e){return(p="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 m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,g(r.key),r)}}function g(e){var t=function(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==p(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===p(t)?t:String(t)}var v=0,b=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),v+=1,n.id=v,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(f.SESSION_SUSPENDED,"Session suspended",this.rpc.closeEvent));t.id=this.rpc.createRequestId();var r=this.intercept.executeRequests(this,this.Promise.resolve(t)).then((function(e){var r=h(h({},n.config.protocol),e);delete r.outKey;var o=n.rpc.send(r);return e.retry=function(){return n.send(t)},n.intercept.executeResponses(n,o,e)}));return e.addToPromiseChain(r,"requestId",t.id),r}},{key:"suspend",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:4e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.suspendResume.suspend(t,n).then((function(){return e.emit("suspended",{initiator:"manual",code:t,reason:n})}))}},{key:"resume",value:function(e){var t=this;return this.suspendResume.resume(e).then((function(e){return t.emit("resumed"),e}))}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.globalPromise=void 0,this.rpc.close(t,n).then((function(t){return e.emit("closed",t)}))}},{key:"emitHandleChanged",value:function(e){var t=this.apis.getApi(e);t&&t.emit("changed")}},{key:"emitHandleClosed",value:function(e){var t=this.apis.getApi(e);t&&(t.emit("closed"),t.removeAllListeners())}}],o=[{key:"addToPromiseChain",value:function(t,n,r){t[n]=r;var o=t.then;t.then=function(){for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];var l=o.apply(this,a);return e.addToPromiseChain(l,n,r),l}}}],n&&y(t.prototype,n),o&&y(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}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"!==E(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===E(o)?o:String(o)),r)}var o}var S=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(f.ENTRY_ALREADY_DEFINED,"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 O(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"!==I(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===I(o)?o:String(o)),r)}var o}function I(e){return(I="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 R=Object.prototype.hasOwnProperty;function x(e){return e.substring(0,1).toLowerCase()+e.substring(1)}function w(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"!==I(r[0])||Array.isArray(r[0])||Object.keys(r[0]).every((function(e){return R.call(t,e)}))&&(r=Object.keys(t).map((function(e){return r[0][e]||t[e]}))),e.apply(this,r)}var N=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=t,this.Promise=t.Promise,this.schema=t.schema,this.mixins=new S,this.types=new S}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(f.SCHEMA_STRUCT_TYPE_NOT_FOUND,"".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=x(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(f.SCHEMA_MIXIN_CANT_OVERRIDE_FUNCTION,"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(f.SCHEMA_MIXIN_EXTEND_NOT_ALLOWED,"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=x(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 w.apply(this,[o,a].concat(t))}}))}}],n&&O(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==L(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===L(o)?o:String(o)),r)}var o}var T=function(){function e(t,n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this),this.id=t,this.handle=n,this.resolve=o,this.reject=a}var t,n;return t=e,(n=[{key:"resolveWith",value:function(e){this.resolve(e),this.emit("resolved",this.id)}},{key:"rejectWith",value:function(e){this.reject(e),this.emit("rejected",this.id)}}])&&_(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function 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"!==A(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==A(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===A(o)?o:String(o)),r)}var o}var D=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(f.NOT_CONNECTED,"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(f.NOT_CONNECTED,"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 T(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(f.NOT_CONNECTED,"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 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)}function M(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"!==k(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===k(o)?o:String(o)),r)}var o}var F=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(f.SESSION_NOT_ATTACHED,"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&&M(t.prototype,n),r&&M(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function B(e,t){var n=e.config.protocol.delta&&-1!==t.outKey&&"qSuccess"!==t.outKey;return n&&(t.delta=n),t}function j(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(f.OBJECT_NOT_FOUND,"Object not found");return e.config.Promise.reject(r)}return n}var z=Object.prototype.hasOwnProperty,G=Object.prototype.toString,V=Object.defineProperty,U=Object.getOwnPropertyDescriptor,Z=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===G.call(e)},$=function(e){if(!e||"[object Object]"!==G.call(e))return!1;var t,n=z.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&z.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||z.call(e,t)},W=function(e,t){V&&"__proto__"===t.name?V(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},H=function(e,t){if("__proto__"===t){if(!z.call(e,t))return;if(U)return U(e,t).value}return e[t]};function K(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 X(e){return(X="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 Y=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=H(l,n),l!==(o=H(t,n))&&(u&&o&&($(o)||(a=Z(o)))?(a?(a=!1,i=r&&Z(r)?r:[]):i=r&&$(r)?r:{},W(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&W(l,{name:n,newValue:o}));return l}.bind(null,!0),Q={},J=Array.isArray;function ee(e){return null!=e&&!Array.isArray(e)&&"object"===X(e)}function te(e){return void 0===e}function ne(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function re(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]=te(e[n||t])?a:e[t],e=e[n||t]}})),e}function oe(e,t){var n=!0;if(ee(e)&&ee(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){oe(e[r],t[r])||(n=!1)})),n);if(J(e)&&J(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!oe(e[r],t[r]))return!1;return!0}return e===t}function ae(e){return(ae="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)}Q.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var a=function(e){return e?Y({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);oe(a,i)||ne(t,o)||(te(i)?r.push({op:"add",path:l,value:a}):ee(a)&&ee(i)?r=r.concat(Q.generate(i,a,l)):J(a)&&J(i)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),a=-1;function i(e,t,n){if(e[n]&&te(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(oe(t,o))return r;if(!te(t[0])&&te(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(Q.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){te(t[o])&&!ne(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Q.apply=function(e,t){t.forEach((function(t){var n,r,o=re(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(J(o))"-"===a&&(a=o.length),o.splice(+a,"add"===t.op?0:1,t.value);else if(J(i)&&J(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 K(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 K(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)?K(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(ee(i)&&ee(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!ne(n,e)&&delete n[e]})),Y(i,t.value);else{if(!o)throw d(f.PATCH_HAS_NO_PARENT,"Patchee is not an object we can patch");o[a]=t.value}else if("move"===t.op){var p=re(e,t.from);J(o)?o.splice(+a,0,p.splice(+l,1)[0]):(o[a]=p[l],delete p[l])}else"remove"===t.op&&(J(o)?o.splice(+a,1):delete o[a])}))},Q.clone=function(e){return Y({},e)},Q.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},Q.updateObject=function(e,t){Object.keys(e).length?Q.apply(e,Q.generate(e,t)):Y(e,t)};var ie={};function le(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(f.EXPECTED_ARRAY_OF_PATCHES,"Unexpected RPC response, expected array of patches");o[n]=function(e,t,n,r){var o=function(e,t){!function(e){if(!ie[e.id]){var t={};ie[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 ie[e.id]}))}}(e);var n=ie[e.id];return n[t]||(n[t]=new S),n[t]}(e,t),a=o.get(n);return void 0===a&&(a=Array.isArray(r[0].value)?[]:{}),r.length&&("/"===r[0].path&&"object"!==ae(r[0].value)?a=r[0].value:Q.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 se(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}le.sessions=ie;var ce="qReturn";function ue(e,t,n){return"CreateSessionApp"===t.method||"CreateSessionAppFromApp"===t.method?n[ce].qGenericId=n.qSessionAppId||n[ce].qGenericId:"GetInteract"!==t.method&&"StoreTempSelectionState"!==t.method&&"CreateTemporaryBookmark"!==t.method||delete n[ce],hasOwnProperty.call(n,ce)?n[ce]:-1!==t.outKey?n[t.outKey]:n}function de(e,t,n){return n.result}function fe(e){return(fe="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 pe(e){return function(e){if(Array.isArray(e))return me(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 me(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)?me(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 me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function he(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==fe(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==fe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===fe(o)?o:String(o)),r)}var o}var qe=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:B}].concat(pe(this.request||[])),this.response=[{onFulfilled:se},{onFulfilled:le},{onFulfilled:de},{onFulfilled:ue}].concat(pe(this.response||[]),[{onFulfilled:j}])}var t,n;return t=e,(n=[{key:"executeRequests",value:function(e,t){var n=this;return this.request.reduce((function(t,r){var o=r.onFulfilled&&r.onFulfilled.bind(n,e);return t.then(o)}),t)}},{key:"executeResponses",value:function(e,t,n){var r=this;return this.response.reduce((function(t,o){return t.then(o.onFulfilled&&o.onFulfilled.bind(r,e,n),o.onRejected&&o.onRejected.bind(r,e,n))}),t)}}])&&he(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(void 0,o=function(e,t){if("object"!==ye(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==ye(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===ye(o)?o:String(o)),r)}var o}function ve(){return ve="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=Ee(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}},ve.apply(this,arguments)}function be(e,t){return(be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ee(e){return(Ee=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&&be(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=Ee(r);if(o){var n=Ee(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===ye(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 ve(Ee(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 ve(Ee(i.prototype),"getAll",this).call(this).map((function(e){return{handle:e.key,api:e.value.api}}))}},{key:"getApisByType",value:function(e){return this.getApis().filter((function(t){return t.api.type===e}))}}])&&ge(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(S);function Se(e){return(Se="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 Oe(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"!==Se(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==Se(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key),"symbol"===Se(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 qe({apis:i,Promise:n,request:r,response:o}),s=new D({createSocket:t,Promise:n,url:a}),c=new F({apis:i,Promise:n,rpc:s});return new b({apis:i,config:e,intercept:l,rpc:s,suspendResume:c})}},{key:"configureDefaults",value:function(e){if(!e)throw d(f.NO_CONFIG_SUPPLIED,"You need to supply a configuration.");if(!e.Promise&&"undefined"==typeof Promise)throw d(f.PROMISE_REQUIRED,"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 N(e)}},{key:"create",value:function(t){return e.configureDefaults(t),t.mixins.forEach((function(e){t.definition.registerMixin(e)})),e.getSession(t)}}],null&&Oe(t.prototype,null),n&&Oe(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 My||(0,ky[zy(ky)[0]])((My={exports:{}}).exports,My),My.exports}),Zy=((e,t,n)=>(n=null!=e?Fy(Gy(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of zy(t))Vy.call(e,n)||undefined===n||By(e,n,{get:()=>t[n],enumerable:!(r=jy(t,n))||r.enumerable});return e})(e&&e.__esModule?n:By(n,"default",{value:e,enumerable:!0}),e)))(Uy()),$y=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}},Wy=class extends $y{},Hy=class extends $y{},Ky=class extends $y{},Xy=class extends $y{},Yy=class extends $y{},Qy=class extends $y{constructor(e,t){super(`Engine close error: ${e}, ${t}`),this.closeCode=e,this.closeMsg=t}},Jy=class extends $y{constructor(e,t,n){super(`Engine message error: ${e}, ${t}, ${n}`),this.errorCode=e,this.errorMessage=t,this.parameter=n}},eg=(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)},tg="undefined"!=typeof window&&("WebSocket"in window||"MozWebSocket"in window);function ng(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}var rg=WebSocket;function og(e){const t=Array.isArray(e)?e:[e];this.handlers=this.handlers.concat(t)}const ag=new Cy("Only supported for AuthType.WebIntegration");class ig{constructor(e){if(!e.host)throw new Cy("Empty host in config");let t,n,r;try{const r=Iy(e.host,e.isSecure);t=r.host,n="https:"===r.protocol}catch(e){r=e}if(r)throw new Cy("Invalid host in config");if(void 0!==e.isSecure&&e.isSecure!==n)throw new Cy("Ambiguous config, mismatch for host and isSecure");this.config={...e,host:t,isSecure:n},this.config.authType!==Oy.WebIntegration||"autoRedirect"in this.config||(this.config.autoRedirect=!1),this.config.authType===Oy.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 Cy(`${Sy.MISSING_REQUIRED_PROPERTY}: ${n}`);if(!e.host||""===e.host)throw new Cy(Sy.EMPTY_HOST);if(!(e.authType in Oy))throw new Cy(`${Sy.UNSUPPORTED_AUTH_TYPE}: ${e.authType}`);const n={[Oy.WebIntegration]:["webIntegrationId"],[Oy.APIKey]:["apiKey"],[Oy.JWTAuth]:["fetchToken","webIntegrationId"],[Oy.OAuth2]:["clientId"],[Oy.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 Cy(`${Sy.MISSING_REQUIRED_PROPERTY}: ${t}`);const o={[Oy.APIKey]:["isSecure"],[Oy.WebIntegration]:["autoRedirect","csrfToken","isSecure"],[Oy.OAuth2]:["clientSecret","redirectUri","scopes","refreshToken","isSecure"],[Oy.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 Cy(`${Sy.UNSUPPORTED_PROPERTY} ${t} for authType ${e.authType}`);if(e.authType===Oy.OAuth2&&!e.clientSecret&&!e.redirectUri)throw new Cy(`${Sy.MISSING_REQUIRED_PROPERTY}: clientSecret or redirectUri`)})(this.config);const o=new class{constructor(e){if(this.interceptors={request:{handlers:[],use:Dy},response:{handlers:[],use:Dy}},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=Py(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=Py(`${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.21.1",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Ly({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 Ty({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new Ny({error:"Failed to authenticate host using api-key",...f}):new Ny({error:"Unauthenticated",...f});if(404===u.status)throw new Ay({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new _y({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 _y({error:"Missing fetch function"})}}(this.config);this.rpcClient=new class{constructor(e,t){this.interceptors={request:{handlers:[],use:og},response:{handlers:[],use:og}},this.sessions={},this.config=e,this.rest=t??new class{constructor(e){if(this.interceptors={request:{handlers:[],use:ng},response:{handlers:[],use:ng}},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=eg(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=eg(`${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.21.1",...i}};let u,d;try{u=await this.restClientInstance.fetch(o,{...c,credentials:"include"});for(const e of this.interceptors.response.handlers){const t=e;u=await t(u)}}catch(t){throw new Hy({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 Xy({error:"Failed to authorize using OAuth",...f}):"APIKey"===e.authType?new Wy({error:"Failed to authenticate host using api-key",...f}):new Wy({error:"Unauthenticated",...f});if(404===u.status)throw new Yy({error:u.statusText||"Requested resource not found or lacking access permissions",...f});const{errors:p}=f;throw new Ky({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 Ky({error:"Missing fetch function"})}}(e).restClientInstance;const n={onFulfilled:(e,t,n)=>{if("error"in n){const{error:e}=n;throw new Jy(e.code,e.message,e.parameter)}return n}};this.interceptors.response.use(n)}async rpc(e){const t={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 Yy({error:"Object not found",code:-2});return n}},{url:n,createSocket:r}=await this.buildUrlAndCreateSocket(e);return this.sessions[n.toString()]=this.sessions[n.toString()]||(()=>{const e=Zy.default.create({schema:{structs:{Global:{},Doc:{},GenericMeasure:{},GenericVariable:{},GenericBookmark:{},GenericDimension:{},GenericObject:{},Field:{}}},url:n,createSocket:r,protocol:{delta:!1}});return this.interceptors.response.use(t),e.intercept.response=this.interceptors.response.handlers,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 Qy(t.code,t.reason)),delete this.sessions[e.config?.url]})),e})(),this.sessions[n.toString()].on("traffic:*",((e,t)=>{"handle"in t&&(this.sessions[n.toString()]?.eventListeners?.[t.handle]?.[`traffic:${e}`]?.forEach((async e=>{await e(t)})),this.sessions[n.toString()]?.eventListeners?.[t.handle]?.["traffic:*"]?.forEach((async e=>{await e(t)}))),"change"in t&&t.change.forEach((e=>{this.sessions[n.toString()]?.eventListeners?.[e]?.changed?.forEach((async e=>{await e(t)}))})),"close"in t&&t.close.forEach((e=>{this.sessions[n.toString()]?.eventListeners?.[e]?.closed?.forEach((async e=>{await e(t)}))}))})),this.sessions[n.toString()]}async buildUrlAndCreateSocket(e){const t=await(async(e,t,n,r=null)=>{const o=r||tg,a=eg(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 Ky(`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&&!tg?e=>new rg(e,{headers:{Authorization:`Bearer ${this.config.apiKey}`}}):e=>new rg(e),{url:t,createSocket:n}}}(this.config),this.rpc=e=>this.rpcClient.rpc(e),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||xy,a=Iy(n.host,n?.isSecure),i=`${"http:"===a.protocol||"ws:"===a.protocol?"ws:":"wss:"}//${a.host}/app/${e}`;if(n.authType===Oy.APIKey||n.authType===Oy.OAuth2&&!o)return i;if([Oy.WebIntegration,Oy.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===Oy.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 Cy(`${Sy.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!==Oy.WebIntegration)throw ag;const e=Iy(`${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!==Oy.WebIntegration)throw ag;const e=Iy(`${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(Iy(`${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 by(Ey.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 Cy({error:o,error_code:t?.error_code,error_description:t?.error_description,error_detail:t?.error_detail,error_uri:t?.error_uri});if(xy&&(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!==Oy.OAuth2||!this.config.scopes.includes("offline_access")||!this.config.refreshToken)throw new Cy("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=Ry(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||Ry(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:Iy(`${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,xy&&(localStorage.setItem(`${this.config.clientId}_state`,this.state),localStorage.setItem(`${this.config.clientId}_verifier`,this.verifier)),{url:t,verifier:n,state:r}}}const lg=()=>{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},sg=(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}},cg=()=>fetch("/info").then((e=>e.json())).then((async e=>{let t=e;const n=lg();if(n.engine_url?t={...t,...sg(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}})),ug=async e=>{try{const{clientId:t,webIntegrationId:n,enigma:r,enigma:{host:o}}=await cg();let a="";if(n){const t=await(async({webIntegrationId:e,host:t})=>{const n=new ig({webIntegrationId:e,autoRedirect:!0,authType:Oy.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=gy().buildUrl(r);return(await hy().create({schema:qy,url:a}).open()).openDoc(e)}catch(e){throw new Error("Failed to open app!")}},dg=new Map,fg=[],pg=fg.map,mg=fg.some,hg=fg.hasOwnProperty,qg=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,yg=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,gg=/(?:\.[^/]*|\/)$/;class vg extends Error{constructor(e){super(e)}}function bg(e){const t=qg.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function Eg(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(fg.pop()(o(e)))}catch(e){n(new vg("invalid module"))}r.remove()},r.onerror=()=>{n(new vg("unable to load module")),r.remove()},r.async=!0,r.src=e,window.define=Ig,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(pg.call(arguments,n)).then(Cg):n(e)}return a.alias=function(t){return Eg(((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r)))},a.resolve=e,a}function Cg(e){const t={};for(const n of e)for(const e in n)hg.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:Sg(n,e)}):t[e]=n[e]);return t}function Sg(e,t){return()=>e[t]}function Og(e){return"exports"==(e+="")||"module"===e}function Ig(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),fg.push(mg.call(t,Og)?e=>{const r={},o={exports:r};return Promise.all(pg.call(t,(t=>"exports"==(t+="")?r:"module"===t?o:e(t)))).then((e=>(n.apply(null,e),o.exports)))}:e=>Promise.all(pg.call(t,e)).then((e=>"function"==typeof n?n.apply(null,e):n)))}vg.prototype.name=vg.name,Eg(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=dg.get(n);return r||dg.set(n,r=fetch(n).then((e=>{if(!e.ok)throw new vg("unable to load package.json");return e.redirected&&!dg.has(e.url)&&dg.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 vg("illegal name");const a=bg(r);if(!a)return`${e}${r}`;if(!a.version&&null!=o&&o.startsWith(e)){const t=await n(bg(o.substring(e.length)));a.version=t.dependencies&&t.dependencies[a.name]||t.peerDependencies&&t.peerDependencies[a.name]}if(a.path&&!gg.test(a.path)&&(a.path+=".js"),a.path&&a.version&&yg.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)),gg.test(t)?t:`${t}.js`}}(i)||"index.js"}`}}()),Ig.amd={};const Rg=(t,n)=>{const r=n?e=>e:e=>`/pkg/${encodeURIComponent(e)}`;return Eg((async e=>r(e))).alias({"@nebula.js/stardust":e})(n||t)},xg={},wg=e=>{xg[e]&&xg[e].forEach((e=>e()))};function Ng(e){const t=()=>{Rg(e.supernova.name,e.supernova.url).then((t=>{window[e.supernova.name]=t,wg(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=>Rg(e.name,e.url).then((t=>{window[e.name]=t}))));return Promise.all(t)}return Promise.resolve()}window.onHotChange=(e,t)=>(xg[e]||(xg[e]=[]),xg[e].push(t),window[e]&&t(),()=>{const n=xg[e].indexOf(t);xg[e].splice(n,1)});const Lg=({type:e})=>({getLayout:{qInfo:{qId:+Date.now()},visualization:e}});const _g=async e=>{const t=document.querySelector("#chart-container"),n=await cg(),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()=>Rg(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||[Lg({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 fy.fromGenericObjects(i,c),d=function(e=[]){const{getLayout:t}=e[0];return("function"==typeof t?t():t).qInfo.qId}(i),f=Qq(u,{types:[{name:o,load:a}],...l}),p=await f.render({type:o,element:t,id:d,...s});(s?.events||[]).forEach((e=>{p.addListener(e,(e=>{document.querySelector("#events").innerHTML=e}))}))};async function Tg(){const e=await cg();await Ng(e),e.enigma.appId||(location.href=location.origin);const t=lg(),n=await ug(e.enigma.appId),r=await(async({app:e,supernova:{name:t},themes:n,theme:r,language:o})=>Qq.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=lg();e.fixture?_g(e):e.snapshot?async function(){const e=await cg(),{themes:t,supernova:n}=e;await Ng(e);const r=document.querySelector("#chart-container");r.classList.toggle("full",!0);const o=Qq.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=lg();!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})}))}():Tg()}))})()})();