@nebula.js/sn-table 6.0.2 → 6.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/core/esm/index.js CHANGED
@@ -1,24 +1,24 @@
1
1
  /*
2
- * @nebula.js/sn-table v6.0.2
2
+ * @nebula.js/sn-table v6.0.3
3
3
  * Copyright (c) 2025 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
6
6
 
7
- import{useMemo as e,useOptions as t,usePromise as r,useState as n,useEffect as o,useTheme as i,useInteractionState as a,onContextMenu as s,onTakeSnapshot as l,useImperativeHandle as u,useElement as c,useStaleLayout as d,useApp as p,useModel as f,useTranslator as h,useSelections as m,useKeyboard as g,useRect as b,useEmbed as v}from"@nebula.js/stardust";import*as y from"react";import x,{useContext as S,useState as C,useMemo as E,useEffect as w,createElement as R,isValidElement as A,cloneElement as k,Children as P,useReducer as I,createContext as L,useRef as M,useCallback as _,forwardRef as D,memo as T,useLayoutEffect as O,PureComponent as q,startTransition as N,useImperativeHandle as j}from"react";import*as z from"react-dom";import F from"react-dom";import $ from"picasso-plugin-q";import H from"picasso.js";function B(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function G(e){if("object"==typeof e&&B(e))return(e.r<<16)+(e.g<<8)+e.b;let t=0,r=0,n=0;if("string"==typeof e){let o;(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))?(t=parseInt(o[1],10),r=parseInt(o[2],10),n=parseInt(o[3],10)):(o=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))?(t=parseInt(o[1],16),r=parseInt(o[2],16),n=parseInt(o[3],16)):(o=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))&&(t=parseInt(o[1]+o[1],16),r=parseInt(o[2]+o[2],16),n=parseInt(o[3]+o[3],16))}return(t<<16)+(r<<8)+n}const W={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function V(...e){const t={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:!1,spaces:{}};let r=0,n=0,o=0,i=1;if(null!==(a=e[0])&&"object"==typeof a&&"type"in a&&"qcm-color"===a.type)({r:r,g:n,b:o,a:i}=e[0]),t.invalid=e[0].invalid,t.spaces={...e[0].spaces};else if(B(e[0]))({r:r,g:n,b:o}=e[0]),"a"in e[0]&&({a:i}=e[0]);else if(e.length<3)if("string"==typeof e[0]){const a=e[0];let s;if(s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(a))r=parseInt(s[1],10),n=parseInt(s[2],10),o=parseInt(s[3],10);else if(s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(a))r=parseInt(s[1],10),n=parseInt(s[2],10),o=parseInt(s[3],10),i=parseFloat(s[4]);else if(s=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(a))i=parseInt(s[1],10)/255,r=parseInt(s[2],10),n=parseInt(s[3],10),o=parseInt(s[4],10);else if(s=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(a))r=parseInt(s[1],16),n=parseInt(s[2],16),o=parseInt(s[3],16),i=1;else if(s=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(a))r=parseInt(s[1]+s[1],16),n=parseInt(s[2]+s[2],16),o=parseInt(s[3]+s[3],16),i=1;else if(s=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(a)){let e=parseFloat(s[1]),t=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,t/=100,a/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*t:(2-2*a)*t;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;r=d[0]+p,n=d[1]+p,o=d[2]+p,r=Math.round(255*r),n=Math.round(255*n),o=Math.round(255*o),i=1}else if(s=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(a)){let e=parseFloat(s[1]),t=parseFloat(s[3]),a=parseFloat(s[5]);i=parseFloat(s[7]),e%=360,t/=100,a/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*t:(2-2*a)*t;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;r=d[0]+p,n=d[1]+p,o=d[2]+p,r=Math.round(255*r),n=Math.round(255*n),o=Math.round(255*o)}else if(s=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(a)){let e=parseFloat(s[1]),t=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,t/=100,a/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,a=a<0?0:a>1?1:a;const l=a*t;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-l;r=d[0]+p,n=d[1]+p,o=d[2]+p,r=Math.round(255*r),n=Math.round(255*n),o=Math.round(255*o),i=1}else{const e=a.toLowerCase();if(function(e){return e in W}(e)){const t=W[e];({r:r,g:n,b:o}=t),i="a"in t?t.a:1}else t.invalid=!0}}else"number"==typeof e[0]&&e[0]>=0&&"argb"===e[1]?(i=(4278190080&e[0])>>>24,i/=255,r=(16711680&e[0])>>16,n=(65280&e[0])>>8,o=255&e[0]):"number"==typeof e[0]&&e[0]>=0?(r=(16711680&e[0])>>16,n=(65280&e[0])>>8,o=255&e[0]):t.invalid=!0;else 3===e.length||4===e.length?(r=e[0],n=e[1],o=e[2],i=4===e.length?e[3]:1):t.invalid=!0;var a;return Number.isNaN(+r+n+o+i)&&(t.invalid=!0),t.r=Math.floor(r),t.g=Math.floor(n),t.b=Math.floor(o),t.a=i,t}function U(e){let t,r,n=0;const o="string"==typeof e?V(e):e,i=o.r/255,a=o.g/255,s=o.b/255,{a:l}=o,u=Math.max(i,a,s),c=Math.min(i,a,s),d=(u+c)/2;if(u===c)t=0,n=0;else{switch(r=u-c,t=d>.5?r/(2-u-c):r/(u+c),u){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n,s:100*t,l:100*d,a:l}}function Y(e){let t,r,n=0;const o="string"==typeof e?V(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=l;if(l===u)t=0,n=0;else{switch(r=l-u,t=0===r?0:r/c,l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n%360,s:100*t,v:100*c}}function K(e){if(B(e))return`rgb(${e.r}, ${e.g}, ${e.b})`;const t="string"==typeof e?G(e):e;return`rgb(${(16711680&t)>>16}, ${(65280&t)>>8}, ${255&t})`}function X(e,t){return B(e)?`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`:X(V(e))}function J(e){return B(e)?1===e.a?K(e):X(e):J(V(e))}const Z=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function Q(e){return.2126*Z(e.r)+.7152*Z(e.g)+.0722*Z(e.b)}function ee(...e){const t=V(...e),r={type:t.type,r:t.r,g:t.g,b:t.b,a:t.a,invalid:t.invalid,spaces:t.spaces},n=()=>(r.spaces.hslaObject||(r.spaces.hslaObject=U(r)),r.spaces.hslaObject),o=e=>{const t=n(),{h:r,s:o,l:i,a:a}=t;return`hsla(${r}, ${o}, ${Math.max(0,Math.min(i+e,100))}, ${a})`};return{get type(){return r.type},isInvalid:()=>r.invalid,get r(){return r.r},get g(){return r.g},get b(){return r.b},get a(){return r.a},getR:()=>r.r,getG:()=>r.g,getB:()=>r.b,getAlpha:()=>r.a,setAlpha:e=>{r.a=e,r.spaces={}},isEqualTo:e=>{let t;if("string"==typeof e)t=V(e);else{if(e.type!==r.type)return!1;t=e}return t.r===r.r&&t.g===r.g&&t.b===r.b&&t.a===r.a},isDark:()=>function(...e){const t=V(...e);return t.invalid||Q(t)<.4}(r),getRGB:()=>(r.spaces.rgb||(r.spaces.rgb=K(r)),r.spaces.rgb),getRGBA:()=>(r.spaces.rgba||(r.spaces.rgba=X(r)),r.spaces.rgba),getString:()=>(r.spaces.string||(r.spaces.string=J(r)),r.spaces.string),getHex:()=>(r.spaces.hex||(r.spaces.hex=function(e){let t,r,n;if(B(e))return t=e.r.toString(16),r=e.g.toString(16),n=e.b.toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${[t,r,n].join("")}`;const o="string"==typeof e?G(e):e;return t=((16711680&o)>>16).toString(16),r=((65280&o)>>8).toString(16),n=(255&o).toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${t}${r}${n}`}(r)),r.spaces.hex),getHSL:()=>(r.spaces.hsl||(r.spaces.hsl=function(e){let t,r,n=0;const o="string"==typeof e?V(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=(l+u)/2;if(l===u)t=0,n=0;else{switch(r=l-u,t=c>.5?r/(2-l-u):r/(l+u),l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return`hsl(${360*n}, ${100*t}, ${100*c})`}(r)),r.spaces.hsl),getHSLA:()=>(r.spaces.hsla||(r.spaces.hsla=function(e){const{h:t,s:r,l:n,a:o}=U(e);return`hsla(${t}, ${r}, ${n}, ${o})`}(r)),r.spaces.hsla),getHSLAObject:n,getShiftedHSLA:o,getHSV:()=>(r.spaces.hsv||(r.spaces.hsv=function(e){const{h:t,s:r,v:n}=Y(e);return`hsv(${t}, ${r}, ${n})`}(r)),r.spaces.hsv),getHSVObject:()=>(r.spaces.hsvObject||(r.spaces.hsvObject=Y(r)),r.spaces.hsvObject),blend:(e,t)=>`rgba(${Math.floor(r.r+(e.r-r.r)*t)}, ${Math.floor(r.g+(e.g-r.g)*t)}, ${Math.floor(r.b+(e.b-r.b)*t)}, ${Math.floor(r.a+(e.getAlpha()-r.a)*t)})`,getBrightenedColor:(e=1)=>ee(o(18*e)),getDarkenedColor:(e=1)=>ee(o(18*-e))}}function te(e,t){if(!e||!t)return;const r=Q(e),n=Q(t);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)}var re,ne,oe=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],ie=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];function ae(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?ie:oe}var se=function(){if(ne)return re;ne=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return re=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},re}();function le(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function ue(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function ce(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(se);var de=1/.7,pe="\\s*([+-]?\\d+)\\s*",fe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",he="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",me=/^#([0-9a-f]{3,8})$/,ge=new RegExp(`^rgb\\(${pe},${pe},${pe}\\)$`),be=new RegExp(`^rgb\\(${he},${he},${he}\\)$`),ve=new RegExp(`^rgba\\(${pe},${pe},${pe},${fe}\\)$`),ye=new RegExp(`^rgba\\(${he},${he},${he},${fe}\\)$`),xe=new RegExp(`^hsl\\(${fe},${he},${he}\\)$`),Se=new RegExp(`^hsla\\(${fe},${he},${he},${fe}\\)$`),Ce={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ee(){return this.rgb().formatHex()}function we(){return this.rgb().formatRgb()}function Re(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=me.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Ae(t):3===r?new Le(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ke(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ke(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ge.exec(e))?new Le(t[1],t[2],t[3],1):(t=be.exec(e))?new Le(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ve.exec(e))?ke(t[1],t[2],t[3],t[4]):(t=ye.exec(e))?ke(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=xe.exec(e))?qe(t[1],t[2]/100,t[3]/100,1):(t=Se.exec(e))?qe(t[1],t[2]/100,t[3]/100,t[4]):Ce.hasOwnProperty(e)?Ae(Ce[e]):"transparent"===e?new Le(NaN,NaN,NaN,0):null}function Ae(e){return new Le(e>>16&255,e>>8&255,255&e,1)}function ke(e,t,r,n){return n<=0&&(e=t=r=NaN),new Le(e,t,r,n)}function Pe(e){return e instanceof ce||(e=Re(e)),e?new Le((e=e.rgb()).r,e.g,e.b,e.opacity):new Le}function Ie(e,t,r,n){return 1===arguments.length?Pe(e):new Le(e,t,r,null==n?1:n)}function Le(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Me(){return`#${Oe(this.r)}${Oe(this.g)}${Oe(this.b)}`}function _e(){const e=De(this.opacity);return`${1===e?"rgb(":"rgba("}${Te(this.r)}, ${Te(this.g)}, ${Te(this.b)}${1===e?")":`, ${e})`}`}function De(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Te(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Oe(e){return((e=Te(e))<16?"0":"")+e.toString(16)}function qe(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new je(e,t,r,n)}function Ne(e){if(e instanceof je)return new je(e.h,e.s,e.l,e.opacity);if(e instanceof ce||(e=Re(e)),!e)return new je;if(e instanceof je)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new je(a,s,l,e.opacity)}function je(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function ze(e){return(e=(e||0)%360)<0?e+360:e}function Fe(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}le(ce,Re,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ee,formatHex:Ee,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ne(this).formatHsl()},formatRgb:we,toString:we}),le(Le,Ie,ue(ce,{brighter(e){return e=null==e?de:Math.pow(de,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Le(Te(this.r),Te(this.g),Te(this.b),De(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Me,formatHex:Me,formatHex8:function(){return`#${Oe(this.r)}${Oe(this.g)}${Oe(this.b)}${Oe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:_e,toString:_e})),le(je,(function(e,t,r,n){return 1===arguments.length?Ne(e):new je(e,t,r,null==n?1:n)}),ue(ce,{brighter(e){return e=null==e?de:Math.pow(de,e),new je(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new je(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new Le($e(e>=240?e-240:e+120,o,n),$e(e,o,n),$e(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new je(ze(this.h),Fe(this.s),Fe(this.l),De(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=De(this.opacity);return`${1===e?"hsl(":"hsla("}${ze(this.h)}, ${100*Fe(this.s)}%, ${100*Fe(this.l)}%${1===e?")":`, ${e})`}`}}));const He=Math.PI/180,Be=180/Math.PI,Ge=4/29,We=6/29,Ve=3*We*We;function Ue(e){if(e instanceof Ye)return new Ye(e.l,e.a,e.b,e.opacity);if(e instanceof Qe)return et(e);e instanceof Le||(e=Pe(e));var t,r,n=Ze(e.r),o=Ze(e.g),i=Ze(e.b),a=Ke((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=Ke((.4360747*n+.3850649*o+.1430804*i)/.96422),r=Ke((.0139322*n+.0971045*o+.7141733*i)/.82521)),new Ye(116*a-16,500*(t-a),200*(a-r),e.opacity)}function Ye(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function Ke(e){return e>.008856451679035631?Math.pow(e,1/3):e/Ve+Ge}function Xe(e){return e>We?e*e*e:Ve*(e-Ge)}function Je(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ze(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Qe(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function et(e){if(isNaN(e.h))return new Ye(e.l,0,0,e.opacity);var t=e.h*He;return new Ye(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}le(Ye,(function(e,t,r,n){return 1===arguments.length?Ue(e):new Ye(e,t,r,null==n?1:n)}),ue(ce,{brighter(e){return new Ye(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Ye(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new Le(Je(3.1338561*(t=.96422*Xe(t))-1.6168667*(e=1*Xe(e))-.4906146*(r=.82521*Xe(r))),Je(-.9787684*t+1.9161415*e+.033454*r),Je(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),le(Qe,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof Qe)return new Qe(e.h,e.c,e.l,e.opacity);if(e instanceof Ye||(e=Ue(e)),0===e.a&&0===e.b)return new Qe(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Be;return new Qe(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Qe(e,t,r,null==n?1:n)}),ue(ce,{brighter(e){return new Qe(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new Qe(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return et(this).rgb()}}));var tt=e=>()=>e;function rt(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):tt(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?rt:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):tt(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=Ie(e)).r,(t=Ie(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=rt(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var nt,ot="center",it="bottom";function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=function(){var e={};return{get:function(t){return e[t]},set:function(t,r){return e[t]=r,r},has:function(t){return t in e},remove:function(t){delete e[t]},empty:function(){e={}}}}();return function(n){var o=t(n);return r.has(o)?r.get(o):r.set(o,e(n))}}function st(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function lt(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=ct)):void 0===t&&(t=ut);for(var r,n,o,i,a,s=new ft(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new ft(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(pt)}function ut(e){return e.children}function ct(e){return Array.isArray(e)?e[1]:null}function dt(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function pt(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ft(e){this.data=e,this.depth=this.height=0,this.parent=null}[{key:"NoDataExist",alignment:ot,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:ot,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:ot,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:ot},{key:"DataRangeIncludingZero",alignment:it},{key:"LimitedData",alignment:it},{key:"NegativeOrZeroValues",alignment:it}].reduce((function(e,t){return e[t.key]=t,e}),{}),ft.prototype=lt.prototype={constructor:ft,count:function(){return this.eachAfter(st)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return lt(this).eachBefore(dt)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},nt=function(e){
7
+ import{useMemo as e,useOptions as t,usePromise as r,useState as n,useEffect as o,useTheme as i,useInteractionState as a,onContextMenu as s,onTakeSnapshot as l,useImperativeHandle as u,useElement as c,useStaleLayout as d,useApp as p,useModel as f,useTranslator as h,useSelections as m,useKeyboard as g,useRect as b,useEmbed as v}from"@nebula.js/stardust";import*as y from"react";import x,{useContext as S,useState as C,useMemo as E,useEffect as w,createElement as R,isValidElement as A,cloneElement as k,Children as P,useReducer as L,createContext as I,useRef as M,useCallback as _,forwardRef as D,memo as T,useLayoutEffect as O,PureComponent as q,startTransition as N,useImperativeHandle as j}from"react";import*as z from"react-dom";import F from"react-dom";import $ from"picasso-plugin-q";import H from"picasso.js";function B(e){return null!==e&&"object"==typeof e&&"r"in e&&"number"==typeof e.r&&"g"in e&&"number"==typeof e.g&&"b"in e&&"number"==typeof e.b&&("number"==typeof e.a||void 0===e.a)}function G(e){if("object"==typeof e&&B(e))return(e.r<<16)+(e.g<<8)+e.b;let t=0,r=0,n=0;if("string"==typeof e){let o;(o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))?(t=parseInt(o[1],10),r=parseInt(o[2],10),n=parseInt(o[3],10)):(o=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e))?(t=parseInt(o[1],16),r=parseInt(o[2],16),n=parseInt(o[3],16)):(o=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e))&&(t=parseInt(o[1]+o[1],16),r=parseInt(o[2]+o[2],16),n=parseInt(o[3]+o[3],16))}return(t<<16)+(r<<8)+n}const W={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function V(...e){const t={type:"qcm-color",r:0,g:0,b:0,a:1,invalid:!1,spaces:{}};let r=0,n=0,o=0,i=1;if(null!==(a=e[0])&&"object"==typeof a&&"type"in a&&"qcm-color"===a.type)({r:r,g:n,b:o,a:i}=e[0]),t.invalid=e[0].invalid,t.spaces={...e[0].spaces};else if(B(e[0]))({r:r,g:n,b:o}=e[0]),"a"in e[0]&&({a:i}=e[0]);else if(e.length<3)if("string"==typeof e[0]){const a=e[0];let s;if(s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(a))r=parseInt(s[1],10),n=parseInt(s[2],10),o=parseInt(s[3],10);else if(s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(a))r=parseInt(s[1],10),n=parseInt(s[2],10),o=parseInt(s[3],10),i=parseFloat(s[4]);else if(s=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(a))i=parseInt(s[1],10)/255,r=parseInt(s[2],10),n=parseInt(s[3],10),o=parseInt(s[4],10);else if(s=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(a))r=parseInt(s[1],16),n=parseInt(s[2],16),o=parseInt(s[3],16),i=1;else if(s=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(a))r=parseInt(s[1]+s[1],16),n=parseInt(s[2]+s[2],16),o=parseInt(s[3]+s[3],16),i=1;else if(s=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(a)){let e=parseFloat(s[1]),t=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,t/=100,a/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*t:(2-2*a)*t;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;r=d[0]+p,n=d[1]+p,o=d[2]+p,r=Math.round(255*r),n=Math.round(255*n),o=Math.round(255*o),i=1}else if(s=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(a)){let e=parseFloat(s[1]),t=parseFloat(s[3]),a=parseFloat(s[5]);i=parseFloat(s[7]),e%=360,t/=100,a/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,a=a<0?0:a>1?1:a;const l=a<=.5?2*a*t:(2-2*a)*t;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-.5*l;r=d[0]+p,n=d[1]+p,o=d[2]+p,r=Math.round(255*r),n=Math.round(255*n),o=Math.round(255*o)}else if(s=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(a)){let e=parseFloat(s[1]),t=parseFloat(s[3]),a=parseFloat(s[5]);e%=360,t/=100,a/=100,e=e<0?0:e>360?360:e,t=t<0?0:t>1?1:t,a=a<0?0:a>1?1:a;const l=a*t;let u=e/60;const c=l*(1-Math.abs(u%2-1));let d=[];switch(u=Math.floor(u),u){case 0:d=[l,c,0];break;case 1:d=[c,l,0];break;case 2:d=[0,l,c];break;case 3:d=[0,c,l];break;case 4:d=[c,0,l];break;case 5:d=[l,0,c];break;default:d=[0,0,0]}const p=a-l;r=d[0]+p,n=d[1]+p,o=d[2]+p,r=Math.round(255*r),n=Math.round(255*n),o=Math.round(255*o),i=1}else{const e=a.toLowerCase();if(function(e){return e in W}(e)){const t=W[e];({r:r,g:n,b:o}=t),i="a"in t?t.a:1}else t.invalid=!0}}else"number"==typeof e[0]&&e[0]>=0&&"argb"===e[1]?(i=(4278190080&e[0])>>>24,i/=255,r=(16711680&e[0])>>16,n=(65280&e[0])>>8,o=255&e[0]):"number"==typeof e[0]&&e[0]>=0?(r=(16711680&e[0])>>16,n=(65280&e[0])>>8,o=255&e[0]):t.invalid=!0;else 3===e.length||4===e.length?(r=e[0],n=e[1],o=e[2],i=4===e.length?e[3]:1):t.invalid=!0;var a;return Number.isNaN(+r+n+o+i)&&(t.invalid=!0),t.r=Math.floor(r),t.g=Math.floor(n),t.b=Math.floor(o),t.a=i,t}function U(e){let t,r,n=0;const o="string"==typeof e?V(e):e,i=o.r/255,a=o.g/255,s=o.b/255,{a:l}=o,u=Math.max(i,a,s),c=Math.min(i,a,s),d=(u+c)/2;if(u===c)t=0,n=0;else{switch(r=u-c,t=d>.5?r/(2-u-c):r/(u+c),u){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n,s:100*t,l:100*d,a:l}}function Y(e){let t,r,n=0;const o="string"==typeof e?V(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=l;if(l===u)t=0,n=0;else{switch(r=l-u,t=0===r?0:r/c,l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return{h:360*n%360,s:100*t,v:100*c}}function K(e){if(B(e))return`rgb(${e.r}, ${e.g}, ${e.b})`;const t="string"==typeof e?G(e):e;return`rgb(${(16711680&t)>>16}, ${(65280&t)>>8}, ${255&t})`}function X(e,t){return B(e)?`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`:X(V(e))}function J(e){return B(e)?1===e.a?K(e):X(e):J(V(e))}const Z=e=>{const t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};function Q(e){return.2126*Z(e.r)+.7152*Z(e.g)+.0722*Z(e.b)}function ee(...e){const t=V(...e),r={type:t.type,r:t.r,g:t.g,b:t.b,a:t.a,invalid:t.invalid,spaces:t.spaces},n=()=>(r.spaces.hslaObject||(r.spaces.hslaObject=U(r)),r.spaces.hslaObject),o=e=>{const t=n(),{h:r,s:o,l:i,a:a}=t;return`hsla(${r}, ${o}, ${Math.max(0,Math.min(i+e,100))}, ${a})`};return{get type(){return r.type},isInvalid:()=>r.invalid,get r(){return r.r},get g(){return r.g},get b(){return r.b},get a(){return r.a},getR:()=>r.r,getG:()=>r.g,getB:()=>r.b,getAlpha:()=>r.a,setAlpha:e=>{r.a=e,r.spaces={}},isEqualTo:e=>{let t;if("string"==typeof e)t=V(e);else{if(e.type!==r.type)return!1;t=e}return t.r===r.r&&t.g===r.g&&t.b===r.b&&t.a===r.a},isDark:()=>function(...e){const t=V(...e);return t.invalid||Q(t)<.4}(r),getRGB:()=>(r.spaces.rgb||(r.spaces.rgb=K(r)),r.spaces.rgb),getRGBA:()=>(r.spaces.rgba||(r.spaces.rgba=X(r)),r.spaces.rgba),getString:()=>(r.spaces.string||(r.spaces.string=J(r)),r.spaces.string),getHex:()=>(r.spaces.hex||(r.spaces.hex=function(e){let t,r,n;if(B(e))return t=e.r.toString(16),r=e.g.toString(16),n=e.b.toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${[t,r,n].join("")}`;const o="string"==typeof e?G(e):e;return t=((16711680&o)>>16).toString(16),r=((65280&o)>>8).toString(16),n=(255&o).toString(16),1===t.length&&(t=`0${t}`),1===r.length&&(r=`0${r}`),1===n.length&&(n=`0${n}`),`#${t}${r}${n}`}(r)),r.spaces.hex),getHSL:()=>(r.spaces.hsl||(r.spaces.hsl=function(e){let t,r,n=0;const o="string"==typeof e?V(e):e,i=o.r/255,a=o.g/255,s=o.b/255,l=Math.max(i,a,s),u=Math.min(i,a,s),c=(l+u)/2;if(l===u)t=0,n=0;else{switch(r=l-u,t=c>.5?r/(2-l-u):r/(l+u),l){case i:n=(a-s)/r+(a<s?6:0);break;case a:n=(s-i)/r+2;break;case s:n=(i-a)/r+4}n/=6}return`hsl(${360*n}, ${100*t}, ${100*c})`}(r)),r.spaces.hsl),getHSLA:()=>(r.spaces.hsla||(r.spaces.hsla=function(e){const{h:t,s:r,l:n,a:o}=U(e);return`hsla(${t}, ${r}, ${n}, ${o})`}(r)),r.spaces.hsla),getHSLAObject:n,getShiftedHSLA:o,getHSV:()=>(r.spaces.hsv||(r.spaces.hsv=function(e){const{h:t,s:r,v:n}=Y(e);return`hsv(${t}, ${r}, ${n})`}(r)),r.spaces.hsv),getHSVObject:()=>(r.spaces.hsvObject||(r.spaces.hsvObject=Y(r)),r.spaces.hsvObject),blend:(e,t)=>`rgba(${Math.floor(r.r+(e.r-r.r)*t)}, ${Math.floor(r.g+(e.g-r.g)*t)}, ${Math.floor(r.b+(e.b-r.b)*t)}, ${Math.floor(r.a+(e.getAlpha()-r.a)*t)})`,getBrightenedColor:(e=1)=>ee(o(18*e)),getDarkenedColor:(e=1)=>ee(o(18*-e))}}function te(e,t){if(!e||!t)return;const r=Q(e),n=Q(t);return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)}var re,ne,oe=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],ie=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];function ae(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?ie:oe}var se=function(){if(ne)return re;ne=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return re=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},re}();function le(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function ue(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function ce(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(se);var de=1/.7,pe="\\s*([+-]?\\d+)\\s*",fe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",he="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",me=/^#([0-9a-f]{3,8})$/,ge=new RegExp(`^rgb\\(${pe},${pe},${pe}\\)$`),be=new RegExp(`^rgb\\(${he},${he},${he}\\)$`),ve=new RegExp(`^rgba\\(${pe},${pe},${pe},${fe}\\)$`),ye=new RegExp(`^rgba\\(${he},${he},${he},${fe}\\)$`),xe=new RegExp(`^hsl\\(${fe},${he},${he}\\)$`),Se=new RegExp(`^hsla\\(${fe},${he},${he},${fe}\\)$`),Ce={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ee(){return this.rgb().formatHex()}function we(){return this.rgb().formatRgb()}function Re(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=me.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Ae(t):3===r?new Ie(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ke(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ke(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ge.exec(e))?new Ie(t[1],t[2],t[3],1):(t=be.exec(e))?new Ie(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ve.exec(e))?ke(t[1],t[2],t[3],t[4]):(t=ye.exec(e))?ke(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=xe.exec(e))?qe(t[1],t[2]/100,t[3]/100,1):(t=Se.exec(e))?qe(t[1],t[2]/100,t[3]/100,t[4]):Ce.hasOwnProperty(e)?Ae(Ce[e]):"transparent"===e?new Ie(NaN,NaN,NaN,0):null}function Ae(e){return new Ie(e>>16&255,e>>8&255,255&e,1)}function ke(e,t,r,n){return n<=0&&(e=t=r=NaN),new Ie(e,t,r,n)}function Pe(e){return e instanceof ce||(e=Re(e)),e?new Ie((e=e.rgb()).r,e.g,e.b,e.opacity):new Ie}function Le(e,t,r,n){return 1===arguments.length?Pe(e):new Ie(e,t,r,null==n?1:n)}function Ie(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Me(){return`#${Oe(this.r)}${Oe(this.g)}${Oe(this.b)}`}function _e(){const e=De(this.opacity);return`${1===e?"rgb(":"rgba("}${Te(this.r)}, ${Te(this.g)}, ${Te(this.b)}${1===e?")":`, ${e})`}`}function De(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Te(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Oe(e){return((e=Te(e))<16?"0":"")+e.toString(16)}function qe(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new je(e,t,r,n)}function Ne(e){if(e instanceof je)return new je(e.h,e.s,e.l,e.opacity);if(e instanceof ce||(e=Re(e)),!e)return new je;if(e instanceof je)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new je(a,s,l,e.opacity)}function je(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function ze(e){return(e=(e||0)%360)<0?e+360:e}function Fe(e){return Math.max(0,Math.min(1,e||0))}function $e(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}le(ce,Re,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ee,formatHex:Ee,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ne(this).formatHsl()},formatRgb:we,toString:we}),le(Ie,Le,ue(ce,{brighter(e){return e=null==e?de:Math.pow(de,e),new Ie(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Ie(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ie(Te(this.r),Te(this.g),Te(this.b),De(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Me,formatHex:Me,formatHex8:function(){return`#${Oe(this.r)}${Oe(this.g)}${Oe(this.b)}${Oe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:_e,toString:_e})),le(je,(function(e,t,r,n){return 1===arguments.length?Ne(e):new je(e,t,r,null==n?1:n)}),ue(ce,{brighter(e){return e=null==e?de:Math.pow(de,e),new je(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new je(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new Ie($e(e>=240?e-240:e+120,o,n),$e(e,o,n),$e(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new je(ze(this.h),Fe(this.s),Fe(this.l),De(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=De(this.opacity);return`${1===e?"hsl(":"hsla("}${ze(this.h)}, ${100*Fe(this.s)}%, ${100*Fe(this.l)}%${1===e?")":`, ${e})`}`}}));const He=Math.PI/180,Be=180/Math.PI,Ge=4/29,We=6/29,Ve=3*We*We;function Ue(e){if(e instanceof Ye)return new Ye(e.l,e.a,e.b,e.opacity);if(e instanceof Qe)return et(e);e instanceof Ie||(e=Pe(e));var t,r,n=Ze(e.r),o=Ze(e.g),i=Ze(e.b),a=Ke((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=Ke((.4360747*n+.3850649*o+.1430804*i)/.96422),r=Ke((.0139322*n+.0971045*o+.7141733*i)/.82521)),new Ye(116*a-16,500*(t-a),200*(a-r),e.opacity)}function Ye(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function Ke(e){return e>.008856451679035631?Math.pow(e,1/3):e/Ve+Ge}function Xe(e){return e>We?e*e*e:Ve*(e-Ge)}function Je(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ze(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Qe(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function et(e){if(isNaN(e.h))return new Ye(e.l,0,0,e.opacity);var t=e.h*He;return new Ye(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}le(Ye,(function(e,t,r,n){return 1===arguments.length?Ue(e):new Ye(e,t,r,null==n?1:n)}),ue(ce,{brighter(e){return new Ye(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Ye(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new Ie(Je(3.1338561*(t=.96422*Xe(t))-1.6168667*(e=1*Xe(e))-.4906146*(r=.82521*Xe(r))),Je(-.9787684*t+1.9161415*e+.033454*r),Je(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),le(Qe,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof Qe)return new Qe(e.h,e.c,e.l,e.opacity);if(e instanceof Ye||(e=Ue(e)),0===e.a&&0===e.b)return new Qe(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Be;return new Qe(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Qe(e,t,r,null==n?1:n)}),ue(ce,{brighter(e){return new Qe(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new Qe(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return et(this).rgb()}}));var tt=e=>()=>e;function rt(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):tt(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?rt:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):tt(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=Le(e)).r,(t=Le(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=rt(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var nt,ot="center",it="bottom";function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=function(){var e={};return{get:function(t){return e[t]},set:function(t,r){return e[t]=r,r},has:function(t){return t in e},remove:function(t){delete e[t]},empty:function(){e={}}}}();return function(n){var o=t(n);return r.has(o)?r.get(o):r.set(o,e(n))}}function st(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function lt(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=ct)):void 0===t&&(t=ut);for(var r,n,o,i,a,s=new ft(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new ft(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(pt)}function ut(e){return e.children}function ct(e){return Array.isArray(e)?e[1]:null}function dt(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function pt(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ft(e){this.data=e,this.depth=this.height=0,this.parent=null}[{key:"NoDataExist",alignment:ot,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:ot,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:ot,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:ot},{key:"DataRangeIncludingZero",alignment:it},{key:"LimitedData",alignment:it},{key:"NegativeOrZeroValues",alignment:it}].reduce((function(e,t){return e[t.key]=t,e}),{}),ft.prototype=lt.prototype={constructor:ft,count:function(){return this.eachAfter(st)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return lt(this).eachBefore(dt)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},nt=function(e){
8
8
  /*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
9
- e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},nt({exports:{}});const ht=()=>{let e;return{promise:new Promise((t=>{e=t})),resolve:e}};function mt(t,r){return e((()=>t),r)}const gt={},bt=()=>{const{viewState:n}=t(),o=(t=>{const r=e((()=>({current:gt})),[]);return r.current=r.current===gt?t:r.current,r})(new Set),i=void 0!==n,{promise:a,resolve:s}=e((()=>ht()),[]),l=mt((e=>{i&&o.current.add(e)}),[o]),u=mt(function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){return e.apply(n,i)}),r)}}((async()=>{await Promise.all(o.current),o.current.clear(),s()}),1e3),[s,o]);return r((async()=>{i&&await a}),[a,i]),e((()=>({viewState:n,isDownloadedAsPDForImage:i,notifyIsDoneRendering:u,waitForPromise:l})),[u,i,n,l])};function vt(e,t){return function(){return null}}function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yt.apply(null,arguments)}function xt(e){return xt="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},xt(e)}function St(e){return e&&"object"===xt(e)&&e.constructor===Object}function Ct(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},n=r.clone?yt({},e):e;return St(e)&&St(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(St(t[o])&&o in e?n[o]=Ct(e[o],t[o],r):n[o]=t[o])})),n}function Et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var Rt={exports:{}};function At(){}function kt(){}kt.resetWarningCache=At;Rt.exports=function(){function e(e,t,r,n,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kt,resetWarningCache:At};return r.PropTypes=r,r}();var Pt=Et(Rt.exports),It=(Pt.element,function(){return null});It.isRequired=(Pt.element.isRequired,function(){return null});var Lt=function(){return null};function Mt(e){var t=function(e,t){if("object"!=xt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=xt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==xt(t)?t:t+""}function _t(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var Dt={exports:{}},Tt={},Ot=60103,qt=60106,Nt=60107,jt=60108,zt=60114,Ft=60109,$t=60110,Ht=60112,Bt=60113,Gt=60120,Wt=60115,Vt=60116,Ut=60121,Yt=60122,Kt=60117,Xt=60129,Jt=60131;if("function"==typeof Symbol&&Symbol.for){var Zt=Symbol.for;Ot=Zt("react.element"),qt=Zt("react.portal"),Nt=Zt("react.fragment"),jt=Zt("react.strict_mode"),zt=Zt("react.profiler"),Ft=Zt("react.provider"),$t=Zt("react.context"),Ht=Zt("react.forward_ref"),Bt=Zt("react.suspense"),Gt=Zt("react.suspense_list"),Wt=Zt("react.memo"),Vt=Zt("react.lazy"),Ut=Zt("react.block"),Yt=Zt("react.server.block"),Kt=Zt("react.fundamental"),Xt=Zt("react.debug_trace_mode"),Jt=Zt("react.legacy_hidden")}function Qt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ot:switch(e=e.type){case Nt:case zt:case jt:case Bt:case Gt:return e;default:switch(e=e&&e.$$typeof){case $t:case Ht:case Vt:case Wt:case Ft:return e;default:return t}}case qt:return t}}}var er=Ft,tr=Ot,rr=Ht,nr=Nt,or=Vt,ir=Wt,ar=qt,sr=zt,lr=jt,ur=Bt;Tt.ContextConsumer=$t,Tt.ContextProvider=er,Tt.Element=tr,Tt.ForwardRef=rr,Tt.Fragment=nr,Tt.Lazy=or,Tt.Memo=ir,Tt.Portal=ar,Tt.Profiler=sr,Tt.StrictMode=lr,Tt.Suspense=ur,Tt.isAsyncMode=function(){return!1},Tt.isConcurrentMode=function(){return!1},Tt.isContextConsumer=function(e){return Qt(e)===$t},Tt.isContextProvider=function(e){return Qt(e)===Ft},Tt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ot},Tt.isForwardRef=function(e){return Qt(e)===Ht},Tt.isFragment=function(e){return Qt(e)===Nt},Tt.isLazy=function(e){return Qt(e)===Vt},Tt.isMemo=function(e){return Qt(e)===Wt},Tt.isPortal=function(e){return Qt(e)===qt},Tt.isProfiler=function(e){return Qt(e)===zt},Tt.isStrictMode=function(e){return Qt(e)===jt},Tt.isSuspense=function(e){return Qt(e)===Bt},Tt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Nt||e===zt||e===Xt||e===jt||e===Bt||e===Gt||e===Jt||"object"==typeof e&&null!==e&&(e.$$typeof===Vt||e.$$typeof===Wt||e.$$typeof===Ft||e.$$typeof===$t||e.$$typeof===Ht||e.$$typeof===Kt||e.$$typeof===Ut||e[0]===Yt)},Tt.typeOf=Qt,Dt.exports=Tt;var cr=Dt.exports,dr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function pr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||function(e){var t="".concat(e).match(dr);return t&&t[1]||""}(e)||t}function fr(e,t,r){var n=pr(t);return e.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}var hr="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),mr=Pt.oneOfType([Pt.func,Pt.object]),gr=Object.freeze({__proto__:null,HTMLElementType:function(e,t,r,n,o){return null},chainPropTypes:vt,deepmerge:Ct,elementAcceptingRef:It,elementTypeAcceptingRef:Lt,exactProp:function(e){return e},formatMuiErrorMessage:_t,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return pr(e,"Component");if("object"===xt(e))switch(e.$$typeof){case cr.ForwardRef:return fr(e,e.render,"ForwardRef");case cr.Memo:return fr(e,e.type,"memo");default:return}}},ponyfillGlobal:hr,refType:mr});function br(e){if(e.type)return e;if("#"===e.charAt(0))return br(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(_t(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function vr(e,t){return e=br(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}(e)}function yr(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function xr(e,t){if(null==e)return{};var r,n,o=yr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Cr(e,t){if(e){if("string"==typeof e)return Sr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sr(e,t):void 0}}function Er(e){return function(e){if(Array.isArray(e))return Sr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Cr(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 wr(e,t){return t?Ct(e,t,{clone:!1}):e}var Rr={xs:0,sm:600,md:960,lg:1280,xl:1920},Ar={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Rr[e],"px)")}};function kr(e,t,r){if(Array.isArray(t)){var n=e.theme.breakpoints||Ar;return t.reduce((function(e,o,i){return e[n.up(n.keys[i])]=r(t[i]),e}),{})}if("object"===xt(t)){var o=e.theme.breakpoints||Ar;return Object.keys(t).reduce((function(e,n){return e[o.up(n)]=r(t[n]),e}),{})}return r(t)}function Pr(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Ir(e){var t=e.prop,r=e.cssProperty,n=void 0===r?e.prop:r,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var r=e[t],a=Pr(e.theme,o)||{};return kr(e,r,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Pr(a,e)||e,i&&(t=i(t))),!1===n?t:function(e,t,r){return(t=Mt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},n,t)}))};return a.propTypes={},a.filterProps=[t],a}function Lr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=function(e){return t.reduce((function(t,r){var n=r(e);return n?wr(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}function Mr(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var _r=Ir({prop:"border",themeKey:"borders",transform:Mr}),Dr=Ir({prop:"borderTop",themeKey:"borders",transform:Mr}),Tr=Ir({prop:"borderRight",themeKey:"borders",transform:Mr}),Or=Ir({prop:"borderBottom",themeKey:"borders",transform:Mr}),qr=Ir({prop:"borderLeft",themeKey:"borders",transform:Mr}),Nr=Ir({prop:"borderColor",themeKey:"palette"}),jr=Ir({prop:"borderRadius",themeKey:"shape"}),zr=Lr(_r,Dr,Tr,Or,qr,Nr,jr);function Fr(e,t){var r={};return Object.keys(e).forEach((function(n){-1===t.indexOf(n)&&(r[n]=e[n])})),r}function $r(e){var t=function(t){var r=e(t);return t.css?yt({},wr(r,e(yt({theme:t.theme},t.css))),Fr(t.css,[e.filterProps])):t.sx?yt({},wr(r,e(yt({theme:t.theme},t.sx))),Fr(t.sx,[e.filterProps])):r};return t.propTypes={},t.filterProps=["css","sx"].concat(Er(e.filterProps)),t}var Hr=Lr(Ir({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Ir({prop:"display"}),Ir({prop:"overflow"}),Ir({prop:"textOverflow"}),Ir({prop:"visibility"}),Ir({prop:"whiteSpace"})),Br=Ir({prop:"flexBasis"}),Gr=Ir({prop:"flexDirection"}),Wr=Ir({prop:"flexWrap"}),Vr=Ir({prop:"justifyContent"}),Ur=Ir({prop:"alignItems"}),Yr=Ir({prop:"alignContent"}),Kr=Ir({prop:"order"}),Xr=Ir({prop:"flex"}),Jr=Ir({prop:"flexGrow"}),Zr=Ir({prop:"flexShrink"}),Qr=Ir({prop:"alignSelf"}),en=Ir({prop:"justifyItems"}),tn=Ir({prop:"justifySelf"}),rn=Lr(Br,Gr,Wr,Vr,Ur,Yr,Kr,Xr,Jr,Zr,Qr,en,tn),nn=Ir({prop:"gridGap"}),on=Ir({prop:"gridColumnGap"}),an=Ir({prop:"gridRowGap"}),sn=Ir({prop:"gridColumn"}),ln=Ir({prop:"gridRow"}),un=Ir({prop:"gridAutoFlow"}),cn=Ir({prop:"gridAutoColumns"}),dn=Ir({prop:"gridAutoRows"}),pn=Ir({prop:"gridTemplateColumns"}),fn=Ir({prop:"gridTemplateRows"}),hn=Ir({prop:"gridTemplateAreas"}),mn=Ir({prop:"gridArea"}),gn=Lr(nn,on,an,sn,ln,un,cn,dn,pn,fn,hn,mn),bn=Ir({prop:"color",themeKey:"palette"}),vn=Ir({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),yn=Lr(bn,vn),xn=Ir({prop:"position"}),Sn=Ir({prop:"zIndex",themeKey:"zIndex"}),Cn=Ir({prop:"top"}),En=Ir({prop:"right"}),wn=Ir({prop:"bottom"}),Rn=Ir({prop:"left"}),An=Lr(xn,Sn,Cn,En,wn,Rn),kn=Ir({prop:"boxShadow",themeKey:"shadows"});function Pn(e){return e<=1?"".concat(100*e,"%"):e}var In=Ir({prop:"width",transform:Pn}),Ln=Ir({prop:"maxWidth",transform:Pn}),Mn=Ir({prop:"minWidth",transform:Pn}),_n=Ir({prop:"height",transform:Pn}),Dn=Ir({prop:"maxHeight",transform:Pn}),Tn=Ir({prop:"minHeight",transform:Pn}),On=Ir({prop:"size",cssProperty:"width",transform:Pn}),qn=Ir({prop:"size",cssProperty:"height",transform:Pn}),Nn=Ir({prop:"boxSizing"}),jn=Lr(In,Ln,Mn,_n,Dn,Tn,Nn);function zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Cr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fn={m:"margin",p:"padding"},$n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bn=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){if(e.length>2){if(!Hn[e])return[e];e=Hn[e]}var t=zn(e.split(""),2),r=t[0],n=t[1],o=Fn[r],i=$n[n]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Gn=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Wn(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function Vn(e,t){return function(r){return e.reduce((function(e,n){return e[n]=function(e,t){if("string"==typeof t||null==t)return t;var r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:"-".concat(r)}(t,r),e}),{})}}function Un(e){var t=Wn(e.theme);return Object.keys(e).map((function(r){if(-1===Gn.indexOf(r))return null;var n=Vn(Bn(r),t),o=e[r];return kr(e,o,n)})).reduce(wr,{})}Un.propTypes={},Un.filterProps=Gn;var Yn=Ir({prop:"fontFamily",themeKey:"typography"}),Kn=Ir({prop:"fontSize",themeKey:"typography"}),Xn=Ir({prop:"fontStyle",themeKey:"typography"}),Jn=Ir({prop:"fontWeight",themeKey:"typography"}),Zn=Ir({prop:"letterSpacing"}),Qn=Ir({prop:"lineHeight"}),eo=Ir({prop:"textAlign"}),to=Lr(Yn,Kn,Xn,Jn,Zn,Qn,eo),ro=Object.freeze({__proto__:null,alignContent:Yr,alignItems:Ur,alignSelf:Qr,bgcolor:vn,border:_r,borderBottom:Or,borderColor:Nr,borderLeft:qr,borderRadius:jr,borderRight:Tr,borderTop:Dr,borders:zr,bottom:wn,boxSizing:Nn,breakpoints:function(e){var t=function(t){var r=e(t),n=t.theme.breakpoints||Ar,o=n.keys.reduce((function(r,o){return t[o]&&((r=r||{})[n.up(o)]=e(yt({theme:t.theme},t[o]))),r}),null);return wr(r,o)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl"].concat(Er(e.filterProps)),t},color:bn,compose:Lr,createUnarySpacing:Wn,css:function(e){return $r(e)},display:Hr,flex:Xr,flexBasis:Br,flexDirection:Gr,flexGrow:Jr,flexShrink:Zr,flexWrap:Wr,flexbox:rn,fontFamily:Yn,fontSize:Kn,fontStyle:Xn,fontWeight:Jn,grid:gn,gridArea:mn,gridAutoColumns:cn,gridAutoFlow:un,gridAutoRows:dn,gridColumn:sn,gridColumnGap:on,gridGap:nn,gridRow:ln,gridRowGap:an,gridTemplateAreas:hn,gridTemplateColumns:pn,gridTemplateRows:fn,height:_n,justifyContent:Vr,justifyItems:en,justifySelf:tn,left:Rn,letterSpacing:Zn,lineHeight:Qn,maxHeight:Dn,maxWidth:Ln,minHeight:Tn,minWidth:Mn,order:Kr,palette:yn,position:xn,positions:An,right:En,shadows:kn,sizeHeight:qn,sizeWidth:On,sizing:jn,spacing:Un,style:Ir,styleFunctionSx:$r,textAlign:eo,top:Cn,typography:to,width:In,zIndex:Sn}),no="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",oo=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function io(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,r=void 0!==t&&t,n=e.productionPrefix,o=void 0===n?"jss":n,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var n=t.options.name;if(n&&0===n.indexOf("Mui")&&!t.options.link&&!r){if(-1!==oo.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(n,"-").concat(e.key);return t.options.theme[no]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(s).concat(o).concat(u())}}function ao(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o,i=t.props[r];for(o in i)void 0===n[o]&&(n[o]=i[o]);return n}var so="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},lo="object"===("undefined"==typeof window?"undefined":so(window))&&"object"===("undefined"==typeof document?"undefined":so(document))&&9===document.nodeType;function uo(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Mt(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function co(e,t){return co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},co(e,t)}function po(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,co(e,t)}function fo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ho={}.constructor;function mo(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(mo);if(e.constructor!==ho)return e;var t={};for(var r in e)t[r]=mo(e[r]);return t}function go(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,o=mo(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0],null)}var bo=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},vo=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=bo(e[r]," ");else t=bo(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function yo(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function xo(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function So(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var o=r.indent,i=void 0===o?0:o,a=t.fallbacks;!1===r.format&&(i=-1/0);var s=yo(r),l=s.linebreak,u=s.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var d=a[c];for(var p in d){var f=d[p];null!=f&&(n&&(n+=l),n+=xo(p+":"+u+vo(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(n&&(n+=l),n+=xo(h+":"+u+vo(m)+";",i))}for(var g in t){var b=t[g];null!=b&&"fallbacks"!==g&&(n&&(n+=l),n+=xo(g+":"+u+vo(b)+";",i))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),xo(""+e+u+"{"+n,--i)+xo("}",i)):n}var Co=/([[\].#*$><+~=|^:(),"'`\s])/g,Eo="undefined"!=typeof CSS&&CSS.escape,wo=function(e){return Eo?Eo(e):e.replace(Co,"\\$1")},Ro=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,o=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var o=t;r&&!1===r.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!n)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Ao=function(e){function t(t,r,n){var o;o=e.call(this,t,r,n)||this;var i=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(fo(fo(o)),s),o.selectorText="."+wo(o.id)),o}po(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=vo(r))}return e},r.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?yt({},e,{allowEmpty:!0}):e;return So(this.selectorText,this.style,r)},uo(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;if(r&&t)t.setSelector(r,e)||t.replaceRule(r,this)}},get:function(){return this.selectorText}}]),t}(Ro),ko={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new Ao(e,t,r)}},Po={indent:1,children:!0},Io=/@([\w-]+)/,Lo=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var n=e.match(Io);for(var o in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new ei(yt({},r,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=Po);var t=yo(e).linebreak;if(null==e.indent&&(e.indent=Po.indent),null==e.children&&(e.children=Po.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),Mo=/@container|@media|@supports\s+/,_o={onCreateRule:function(e,t,r){return Mo.test(e)?new Lo(e,t,r):null}},Do={indent:1,children:!0},To=/@keyframes\s+([\w-]+)/,Oo=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var n=e.match(To);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,i=r.sheet,a=r.generateId;for(var s in this.id=!1===o?this.name:wo(a(this,i)),this.rules=new ei(yt({},r,{parent:this})),t)this.rules.add(s,t[s],yt({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Do);var t=yo(e).linebreak;if(null==e.indent&&(e.indent=Do.indent),null==e.children&&(e.children=Do.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),qo=/@keyframes\s+/,No=/\$([\w-]+)/g,jo=function(e,t){return"string"==typeof e?e.replace(No,(function(e,r){return r in t?t[r]:e})):e},zo=function(e,t,r){var n=e[t],o=jo(n,r);o!==n&&(e[t]=o)},Fo={onCreateRule:function(e,t,r){return"string"==typeof e&&qo.test(e)?new Oo(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&zo(e,"animation-name",r.keyframes),"animation"in e&&zo(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return jo(e,n.keyframes);default:return e}}},$o=function(e){function t(){return e.apply(this,arguments)||this}return po(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?yt({},e,{allowEmpty:!0}):e;return So(this.key,this.style,r)},t}(Ro),Ho={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new $o(e,t,r):null}},Bo=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=yo(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=So(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return So(this.at,this.style,e)},e}(),Go=/@font-face/,Wo={onCreateRule:function(e,t,r){return Go.test(e)?new Bo(e,t,r):null}},Vo=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return So(this.key,this.style,e)},e}(),Uo={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new Vo(e,t,r):null}},Yo=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Ko={"@charset":!0,"@import":!0,"@namespace":!0},Xo={onCreateRule:function(e,t,r){return e in Ko?new Yo(e,t,r):null}},Jo=[ko,_o,Fo,Ho,Wo,Uo,Xo],Zo={process:!0},Qo={force:!0,process:!0},ei=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var n=this.options,o=n.parent,i=n.sheet,a=n.jss,s=n.Renderer,l=n.generateId,u=n.scoped,c=yt({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},r),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(c.selector="."+wo(this.classes[d]));var p=go(d,t,c);if(!p)return null;this.register(p);var f=void 0===c.index?this.index.length:c.index;return this.index.splice(f,0,p),p},t.replace=function(e,t,r){var n=this.get(e),o=this.index.indexOf(n);n&&this.remove(n);var i=r;return-1!==o&&(i=yt({},r,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Ao?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Oo&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Ao?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Oo&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=Zo);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var s=t.style;if(i.onUpdate(r,t,a,n),n.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var u=t.style[l];u!==s[l]&&t.prop(l,u,Qo)}for(var c in s){var d=t.style[c],p=s[c];null==d&&d!==p&&t.prop(c,null,Qo)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,o=yo(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||n)&&(t&&(t+=o),t+=a)}return t},e}(),ti=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=yt({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ei(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var o=this.rules.add(e,t,r);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(n?n.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var o=this.rules.replace(e,t,r);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?n.renderable&&this.renderer.replaceRule(n.renderable,o):this.renderer.deleteRule(n)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var o=this.addRule(n,e[n],t);o&&r.push(o)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),ri=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var o=this.registry.onCreateRule[n](e,t,r);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,o=0;o<this.registry.onChangeValue.length;o++)n=this.registry.onChangeValue[o](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),ni=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=yr(t,["attached"]),o=yo(n).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=r&&s.attached!==r||(i&&(i+=o),i+=s.toString(n))}return i},uo(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),oi=new ni,ii="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ai="2f1acc6c3a606b082e5eef5e54414ffb";null==ii[ai]&&(ii[ai]=0);var si=ii[ai]++,li=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var o="",i="";return n&&(n.options.classNamePrefix&&(i=n.options.classNamePrefix),null!=n.options.jss.id&&(o=String(n.options.jss.id))),e.minify?""+(i||"c")+si+o+t:i+r.key+"-"+si+(o?"-"+o:"")+"-"+t}},ui=function(e){var t;return function(){return t||(t=e()),t}},ci=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},di=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=vo(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var o=n?n.indexOf("!important"):-1,i=o>-1?n.substr(0,o-1):n;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},pi=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},fi=function(e,t){return e.selectorText=t,e.selectorText===t},hi=ui((function(){return document.querySelector("head")}));function mi(e){var t=oi.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var o=function(e){for(var t=hi(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var gi=ui((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),bi=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},vi=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},yi=function(){function e(e){this.getPropertyValue=ci,this.setProperty=di,this.removeProperty=pi,this.setSelector=fi,this.hasInsertedRules=!1,this.cssRules=[],e&&oi.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},r=t.media,n=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var i=gi();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=mi(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var o=r,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else hi().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,o=r;if("conditional"===e.type||"keyframes"===e.type){var i=vi(r,t);if(!1===(o=bi(r,n.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(n.rules,o),o}var a=e.toString();if(!a)return!1;var s=vi(r,t),l=bi(r,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof ti&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),xi=0,Si=function(){function e(e){this.id=xi++,this.version="10.10.0",this.plugins=new ri,this.options={id:{minify:!1},createGenerateId:li,Renderer:lo?yi:null,plugins:[]},this.generateId=li({minify:!1});for(var t=0;t<Jo.length;t++)this.plugins.use(Jo[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=yt({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===oi.index?0:oi.index+1);var n=new ti(e,yt({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},t.removeStyleSheet=function(e){return e.detach(),oi.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var n=yt({},r,{name:e,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=go(e,t,n);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),Ci=function(e){return new Si(e)},Ei="object"==typeof CSS&&null!=CSS&&"number"in CSS;function wi(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if("function"===o)t||(t={}),t[r]=n;else if("object"===o&&null!==n&&!Array.isArray(n)){var i=wi(n);i&&(t||(t={}),t[r]=i)}}return t}
9
+ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},nt({exports:{}});const ht=()=>{let e;return{promise:new Promise((t=>{e=t})),resolve:e}};function mt(t,r){return e((()=>t),r)}const gt={},bt=()=>{const{viewState:n}=t(),o=(t=>{const r=e((()=>({current:gt})),[]);return r.current=r.current===gt?t:r.current,r})(new Set),i=void 0!==n,{promise:a,resolve:s}=e((()=>ht()),[]),l=mt((e=>{i&&o.current.add(e)}),[o]),u=mt(function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return function(){for(var n=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];clearTimeout(t),t=setTimeout((function(){return e.apply(n,i)}),r)}}((async()=>{await Promise.all(o.current),o.current.clear(),s()}),1e3),[s,o]);return r((async()=>{i&&await a}),[a,i]),e((()=>({viewState:n,isDownloadedAsPDForImage:i,notifyIsDoneRendering:u,waitForPromise:l})),[u,i,n,l])};function vt(e,t){return function(){return null}}function yt(){return yt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yt.apply(null,arguments)}function xt(e){return xt="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},xt(e)}function St(e){return e&&"object"===xt(e)&&e.constructor===Object}function Ct(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},n=r.clone?yt({},e):e;return St(e)&&St(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(St(t[o])&&o in e?n[o]=Ct(e[o],t[o],r):n[o]=t[o])})),n}function Et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var Rt={exports:{}};function At(){}function kt(){}kt.resetWarningCache=At;Rt.exports=function(){function e(e,t,r,n,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kt,resetWarningCache:At};return r.PropTypes=r,r}();var Pt=Et(Rt.exports),Lt=(Pt.element,function(){return null});Lt.isRequired=(Pt.element.isRequired,function(){return null});var It=function(){return null};function Mt(e){var t=function(e,t){if("object"!=xt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=xt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==xt(t)?t:t+""}function _t(e){for(var t="https://mui.com/production-error/?code="+e,r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var Dt={exports:{}},Tt={},Ot=60103,qt=60106,Nt=60107,jt=60108,zt=60114,Ft=60109,$t=60110,Ht=60112,Bt=60113,Gt=60120,Wt=60115,Vt=60116,Ut=60121,Yt=60122,Kt=60117,Xt=60129,Jt=60131;if("function"==typeof Symbol&&Symbol.for){var Zt=Symbol.for;Ot=Zt("react.element"),qt=Zt("react.portal"),Nt=Zt("react.fragment"),jt=Zt("react.strict_mode"),zt=Zt("react.profiler"),Ft=Zt("react.provider"),$t=Zt("react.context"),Ht=Zt("react.forward_ref"),Bt=Zt("react.suspense"),Gt=Zt("react.suspense_list"),Wt=Zt("react.memo"),Vt=Zt("react.lazy"),Ut=Zt("react.block"),Yt=Zt("react.server.block"),Kt=Zt("react.fundamental"),Xt=Zt("react.debug_trace_mode"),Jt=Zt("react.legacy_hidden")}function Qt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ot:switch(e=e.type){case Nt:case zt:case jt:case Bt:case Gt:return e;default:switch(e=e&&e.$$typeof){case $t:case Ht:case Vt:case Wt:case Ft:return e;default:return t}}case qt:return t}}}var er=Ft,tr=Ot,rr=Ht,nr=Nt,or=Vt,ir=Wt,ar=qt,sr=zt,lr=jt,ur=Bt;Tt.ContextConsumer=$t,Tt.ContextProvider=er,Tt.Element=tr,Tt.ForwardRef=rr,Tt.Fragment=nr,Tt.Lazy=or,Tt.Memo=ir,Tt.Portal=ar,Tt.Profiler=sr,Tt.StrictMode=lr,Tt.Suspense=ur,Tt.isAsyncMode=function(){return!1},Tt.isConcurrentMode=function(){return!1},Tt.isContextConsumer=function(e){return Qt(e)===$t},Tt.isContextProvider=function(e){return Qt(e)===Ft},Tt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ot},Tt.isForwardRef=function(e){return Qt(e)===Ht},Tt.isFragment=function(e){return Qt(e)===Nt},Tt.isLazy=function(e){return Qt(e)===Vt},Tt.isMemo=function(e){return Qt(e)===Wt},Tt.isPortal=function(e){return Qt(e)===qt},Tt.isProfiler=function(e){return Qt(e)===zt},Tt.isStrictMode=function(e){return Qt(e)===jt},Tt.isSuspense=function(e){return Qt(e)===Bt},Tt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Nt||e===zt||e===Xt||e===jt||e===Bt||e===Gt||e===Jt||"object"==typeof e&&null!==e&&(e.$$typeof===Vt||e.$$typeof===Wt||e.$$typeof===Ft||e.$$typeof===$t||e.$$typeof===Ht||e.$$typeof===Kt||e.$$typeof===Ut||e[0]===Yt)},Tt.typeOf=Qt,Dt.exports=Tt;var cr=Dt.exports,dr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function pr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||function(e){var t="".concat(e).match(dr);return t&&t[1]||""}(e)||t}function fr(e,t,r){var n=pr(t);return e.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}var hr="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),mr=Pt.oneOfType([Pt.func,Pt.object]),gr=Object.freeze({__proto__:null,HTMLElementType:function(e,t,r,n,o){return null},chainPropTypes:vt,deepmerge:Ct,elementAcceptingRef:Lt,elementTypeAcceptingRef:It,exactProp:function(e){return e},formatMuiErrorMessage:_t,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return pr(e,"Component");if("object"===xt(e))switch(e.$$typeof){case cr.ForwardRef:return fr(e,e.render,"ForwardRef");case cr.Memo:return fr(e,e.type,"memo");default:return}}},ponyfillGlobal:hr,refType:mr});function br(e){if(e.type)return e;if("#"===e.charAt(0))return br(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(_t(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function vr(e,t){return e=br(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}(e)}function yr(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function xr(e,t){if(null==e)return{};var r,n,o=yr(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function Sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Cr(e,t){if(e){if("string"==typeof e)return Sr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sr(e,t):void 0}}function Er(e){return function(e){if(Array.isArray(e))return Sr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Cr(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 wr(e,t){return t?Ct(e,t,{clone:!1}):e}var Rr={xs:0,sm:600,md:960,lg:1280,xl:1920},Ar={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Rr[e],"px)")}};function kr(e,t,r){if(Array.isArray(t)){var n=e.theme.breakpoints||Ar;return t.reduce((function(e,o,i){return e[n.up(n.keys[i])]=r(t[i]),e}),{})}if("object"===xt(t)){var o=e.theme.breakpoints||Ar;return Object.keys(t).reduce((function(e,n){return e[o.up(n)]=r(t[n]),e}),{})}return r(t)}function Pr(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Lr(e){var t=e.prop,r=e.cssProperty,n=void 0===r?e.prop:r,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var r=e[t],a=Pr(e.theme,o)||{};return kr(e,r,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Pr(a,e)||e,i&&(t=i(t))),!1===n?t:function(e,t,r){return(t=Mt(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},n,t)}))};return a.propTypes={},a.filterProps=[t],a}function Ir(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=function(e){return t.reduce((function(t,r){var n=r(e);return n?wr(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}function Mr(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var _r=Lr({prop:"border",themeKey:"borders",transform:Mr}),Dr=Lr({prop:"borderTop",themeKey:"borders",transform:Mr}),Tr=Lr({prop:"borderRight",themeKey:"borders",transform:Mr}),Or=Lr({prop:"borderBottom",themeKey:"borders",transform:Mr}),qr=Lr({prop:"borderLeft",themeKey:"borders",transform:Mr}),Nr=Lr({prop:"borderColor",themeKey:"palette"}),jr=Lr({prop:"borderRadius",themeKey:"shape"}),zr=Ir(_r,Dr,Tr,Or,qr,Nr,jr);function Fr(e,t){var r={};return Object.keys(e).forEach((function(n){-1===t.indexOf(n)&&(r[n]=e[n])})),r}function $r(e){var t=function(t){var r=e(t);return t.css?yt({},wr(r,e(yt({theme:t.theme},t.css))),Fr(t.css,[e.filterProps])):t.sx?yt({},wr(r,e(yt({theme:t.theme},t.sx))),Fr(t.sx,[e.filterProps])):r};return t.propTypes={},t.filterProps=["css","sx"].concat(Er(e.filterProps)),t}var Hr=Ir(Lr({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Lr({prop:"display"}),Lr({prop:"overflow"}),Lr({prop:"textOverflow"}),Lr({prop:"visibility"}),Lr({prop:"whiteSpace"})),Br=Lr({prop:"flexBasis"}),Gr=Lr({prop:"flexDirection"}),Wr=Lr({prop:"flexWrap"}),Vr=Lr({prop:"justifyContent"}),Ur=Lr({prop:"alignItems"}),Yr=Lr({prop:"alignContent"}),Kr=Lr({prop:"order"}),Xr=Lr({prop:"flex"}),Jr=Lr({prop:"flexGrow"}),Zr=Lr({prop:"flexShrink"}),Qr=Lr({prop:"alignSelf"}),en=Lr({prop:"justifyItems"}),tn=Lr({prop:"justifySelf"}),rn=Ir(Br,Gr,Wr,Vr,Ur,Yr,Kr,Xr,Jr,Zr,Qr,en,tn),nn=Lr({prop:"gridGap"}),on=Lr({prop:"gridColumnGap"}),an=Lr({prop:"gridRowGap"}),sn=Lr({prop:"gridColumn"}),ln=Lr({prop:"gridRow"}),un=Lr({prop:"gridAutoFlow"}),cn=Lr({prop:"gridAutoColumns"}),dn=Lr({prop:"gridAutoRows"}),pn=Lr({prop:"gridTemplateColumns"}),fn=Lr({prop:"gridTemplateRows"}),hn=Lr({prop:"gridTemplateAreas"}),mn=Lr({prop:"gridArea"}),gn=Ir(nn,on,an,sn,ln,un,cn,dn,pn,fn,hn,mn),bn=Lr({prop:"color",themeKey:"palette"}),vn=Lr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),yn=Ir(bn,vn),xn=Lr({prop:"position"}),Sn=Lr({prop:"zIndex",themeKey:"zIndex"}),Cn=Lr({prop:"top"}),En=Lr({prop:"right"}),wn=Lr({prop:"bottom"}),Rn=Lr({prop:"left"}),An=Ir(xn,Sn,Cn,En,wn,Rn),kn=Lr({prop:"boxShadow",themeKey:"shadows"});function Pn(e){return e<=1?"".concat(100*e,"%"):e}var Ln=Lr({prop:"width",transform:Pn}),In=Lr({prop:"maxWidth",transform:Pn}),Mn=Lr({prop:"minWidth",transform:Pn}),_n=Lr({prop:"height",transform:Pn}),Dn=Lr({prop:"maxHeight",transform:Pn}),Tn=Lr({prop:"minHeight",transform:Pn}),On=Lr({prop:"size",cssProperty:"width",transform:Pn}),qn=Lr({prop:"size",cssProperty:"height",transform:Pn}),Nn=Lr({prop:"boxSizing"}),jn=Ir(Ln,In,Mn,_n,Dn,Tn,Nn);function zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||Cr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Fn={m:"margin",p:"padding"},$n={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bn=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){if(e.length>2){if(!Hn[e])return[e];e=Hn[e]}var t=zn(e.split(""),2),r=t[0],n=t[1],o=Fn[r],i=$n[n]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Gn=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Wn(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function Vn(e,t){return function(r){return e.reduce((function(e,n){return e[n]=function(e,t){if("string"==typeof t||null==t)return t;var r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:"-".concat(r)}(t,r),e}),{})}}function Un(e){var t=Wn(e.theme);return Object.keys(e).map((function(r){if(-1===Gn.indexOf(r))return null;var n=Vn(Bn(r),t),o=e[r];return kr(e,o,n)})).reduce(wr,{})}Un.propTypes={},Un.filterProps=Gn;var Yn=Lr({prop:"fontFamily",themeKey:"typography"}),Kn=Lr({prop:"fontSize",themeKey:"typography"}),Xn=Lr({prop:"fontStyle",themeKey:"typography"}),Jn=Lr({prop:"fontWeight",themeKey:"typography"}),Zn=Lr({prop:"letterSpacing"}),Qn=Lr({prop:"lineHeight"}),eo=Lr({prop:"textAlign"}),to=Ir(Yn,Kn,Xn,Jn,Zn,Qn,eo),ro=Object.freeze({__proto__:null,alignContent:Yr,alignItems:Ur,alignSelf:Qr,bgcolor:vn,border:_r,borderBottom:Or,borderColor:Nr,borderLeft:qr,borderRadius:jr,borderRight:Tr,borderTop:Dr,borders:zr,bottom:wn,boxSizing:Nn,breakpoints:function(e){var t=function(t){var r=e(t),n=t.theme.breakpoints||Ar,o=n.keys.reduce((function(r,o){return t[o]&&((r=r||{})[n.up(o)]=e(yt({theme:t.theme},t[o]))),r}),null);return wr(r,o)};return t.propTypes={},t.filterProps=["xs","sm","md","lg","xl"].concat(Er(e.filterProps)),t},color:bn,compose:Ir,createUnarySpacing:Wn,css:function(e){return $r(e)},display:Hr,flex:Xr,flexBasis:Br,flexDirection:Gr,flexGrow:Jr,flexShrink:Zr,flexWrap:Wr,flexbox:rn,fontFamily:Yn,fontSize:Kn,fontStyle:Xn,fontWeight:Jn,grid:gn,gridArea:mn,gridAutoColumns:cn,gridAutoFlow:un,gridAutoRows:dn,gridColumn:sn,gridColumnGap:on,gridGap:nn,gridRow:ln,gridRowGap:an,gridTemplateAreas:hn,gridTemplateColumns:pn,gridTemplateRows:fn,height:_n,justifyContent:Vr,justifyItems:en,justifySelf:tn,left:Rn,letterSpacing:Zn,lineHeight:Qn,maxHeight:Dn,maxWidth:In,minHeight:Tn,minWidth:Mn,order:Kr,palette:yn,position:xn,positions:An,right:En,shadows:kn,sizeHeight:qn,sizeWidth:On,sizing:jn,spacing:Un,style:Lr,styleFunctionSx:$r,textAlign:eo,top:Cn,typography:to,width:Ln,zIndex:Sn}),no="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",oo=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function io(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,r=void 0!==t&&t,n=e.productionPrefix,o=void 0===n?"jss":n,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,u=function(){return l+=1};return function(e,t){var n=t.options.name;if(n&&0===n.indexOf("Mui")&&!t.options.link&&!r){if(-1!==oo.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(n,"-").concat(e.key);return t.options.theme[no]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(s).concat(o).concat(u())}}function ao(e){var t=e.theme,r=e.name,n=e.props;if(!t||!t.props||!t.props[r])return n;var o,i=t.props[r];for(o in i)void 0===n[o]&&(n[o]=i[o]);return n}var so="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},lo="object"===("undefined"==typeof window?"undefined":so(window))&&"object"===("undefined"==typeof document?"undefined":so(document))&&9===document.nodeType;function uo(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Mt(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function co(e,t){return co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},co(e,t)}function po(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,co(e,t)}function fo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ho={}.constructor;function mo(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(mo);if(e.constructor!==ho)return e;var t={};for(var r in e)t[r]=mo(e[r]);return t}function go(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,o=mo(t),i=n.plugins.onCreateRule(e,o,r);return i||(e[0],null)}var bo=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},vo=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=bo(e[r]," ");else t=bo(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function yo(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function xo(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function So(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var o=r.indent,i=void 0===o?0:o,a=t.fallbacks;!1===r.format&&(i=-1/0);var s=yo(r),l=s.linebreak,u=s.space;if(e&&i++,a)if(Array.isArray(a))for(var c=0;c<a.length;c++){var d=a[c];for(var p in d){var f=d[p];null!=f&&(n&&(n+=l),n+=xo(p+":"+u+vo(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(n&&(n+=l),n+=xo(h+":"+u+vo(m)+";",i))}for(var g in t){var b=t[g];null!=b&&"fallbacks"!==g&&(n&&(n+=l),n+=xo(g+":"+u+vo(b)+";",i))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),xo(""+e+u+"{"+n,--i)+xo("}",i)):n}var Co=/([[\].#*$><+~=|^:(),"'`\s])/g,Eo="undefined"!=typeof CSS&&CSS.escape,wo=function(e){return Eo?Eo(e):e.replace(Co,"\\$1")},Ro=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,o=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var o=t;r&&!1===r.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!n)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Ao=function(e){function t(t,r,n){var o;o=e.call(this,t,r,n)||this;var i=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(fo(fo(o)),s),o.selectorText="."+wo(o.id)),o}po(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=vo(r))}return e},r.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?yt({},e,{allowEmpty:!0}):e;return So(this.selectorText,this.style,r)},uo(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;if(r&&t)t.setSelector(r,e)||t.replaceRule(r,this)}},get:function(){return this.selectorText}}]),t}(Ro),ko={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new Ao(e,t,r)}},Po={indent:1,children:!0},Lo=/@([\w-]+)/,Io=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var n=e.match(Lo);for(var o in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new ei(yt({},r,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=Po);var t=yo(e).linebreak;if(null==e.indent&&(e.indent=Po.indent),null==e.children&&(e.children=Po.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),Mo=/@container|@media|@supports\s+/,_o={onCreateRule:function(e,t,r){return Mo.test(e)?new Io(e,t,r):null}},Do={indent:1,children:!0},To=/@keyframes\s+([\w-]+)/,Oo=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var n=e.match(To);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,i=r.sheet,a=r.generateId;for(var s in this.id=!1===o?this.name:wo(a(this,i)),this.rules=new ei(yt({},r,{parent:this})),t)this.rules.add(s,t[s],yt({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Do);var t=yo(e).linebreak;if(null==e.indent&&(e.indent=Do.indent),null==e.children&&(e.children=Do.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),qo=/@keyframes\s+/,No=/\$([\w-]+)/g,jo=function(e,t){return"string"==typeof e?e.replace(No,(function(e,r){return r in t?t[r]:e})):e},zo=function(e,t,r){var n=e[t],o=jo(n,r);o!==n&&(e[t]=o)},Fo={onCreateRule:function(e,t,r){return"string"==typeof e&&qo.test(e)?new Oo(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&zo(e,"animation-name",r.keyframes),"animation"in e&&zo(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return jo(e,n.keyframes);default:return e}}},$o=function(e){function t(){return e.apply(this,arguments)||this}return po(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=!!t&&t.options.link?yt({},e,{allowEmpty:!0}):e;return So(this.key,this.style,r)},t}(Ro),Ho={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new $o(e,t,r):null}},Bo=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=yo(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=So(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return So(this.at,this.style,e)},e}(),Go=/@font-face/,Wo={onCreateRule:function(e,t,r){return Go.test(e)?new Bo(e,t,r):null}},Vo=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return So(this.key,this.style,e)},e}(),Uo={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new Vo(e,t,r):null}},Yo=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),Ko={"@charset":!0,"@import":!0,"@namespace":!0},Xo={onCreateRule:function(e,t,r){return e in Ko?new Yo(e,t,r):null}},Jo=[ko,_o,Fo,Ho,Wo,Uo,Xo],Zo={process:!0},Qo={force:!0,process:!0},ei=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var n=this.options,o=n.parent,i=n.sheet,a=n.jss,s=n.Renderer,l=n.generateId,u=n.scoped,c=yt({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},r),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(c.selector="."+wo(this.classes[d]));var p=go(d,t,c);if(!p)return null;this.register(p);var f=void 0===c.index?this.index.length:c.index;return this.index.splice(f,0,p),p},t.replace=function(e,t,r){var n=this.get(e),o=this.index.indexOf(n);n&&this.remove(n);var i=r;return-1!==o&&(i=yt({},r,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Ao?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Oo&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Ao?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Oo&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=Zo);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var s=t.style;if(i.onUpdate(r,t,a,n),n.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var u=t.style[l];u!==s[l]&&t.prop(l,u,Qo)}for(var c in s){var d=t.style[c],p=s[c];null==d&&d!==p&&t.prop(c,null,Qo)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,o=yo(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||n)&&(t&&(t+=o),t+=a)}return t},e}(),ti=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=yt({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ei(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var o=this.rules.add(e,t,r);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(n?n.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var o=this.rules.replace(e,t,r);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?n.renderable&&this.renderer.replaceRule(n.renderable,o):this.renderer.deleteRule(n)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var o=this.addRule(n,e[n],t);o&&r.push(o)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),ri=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var o=this.registry.onCreateRule[n](e,t,r);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,o=0;o<this.registry.onChangeValue.length;o++)n=this.registry.onChangeValue[o](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),ni=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=yr(t,["attached"]),o=yo(n).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=r&&s.attached!==r||(i&&(i+=o),i+=s.toString(n))}return i},uo(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),oi=new ni,ii="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ai="2f1acc6c3a606b082e5eef5e54414ffb";null==ii[ai]&&(ii[ai]=0);var si=ii[ai]++,li=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var o="",i="";return n&&(n.options.classNamePrefix&&(i=n.options.classNamePrefix),null!=n.options.jss.id&&(o=String(n.options.jss.id))),e.minify?""+(i||"c")+si+o+t:i+r.key+"-"+si+(o?"-"+o:"")+"-"+t}},ui=function(e){var t;return function(){return t||(t=e()),t}},ci=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},di=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=vo(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var o=n?n.indexOf("!important"):-1,i=o>-1?n.substr(0,o-1):n;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},pi=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},fi=function(e,t){return e.selectorText=t,e.selectorText===t},hi=ui((function(){return document.querySelector("head")}));function mi(e){var t=oi.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var o=function(e){for(var t=hi(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var gi=ui((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),bi=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},vi=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},yi=function(){function e(e){this.getPropertyValue=ci,this.setProperty=di,this.removeProperty=pi,this.setSelector=fi,this.hasInsertedRules=!1,this.cssRules=[],e&&oi.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},r=t.media,n=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var i=gi();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=mi(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var o=r,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else hi().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,o=r;if("conditional"===e.type||"keyframes"===e.type){var i=vi(r,t);if(!1===(o=bi(r,n.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(n.rules,o),o}var a=e.toString();if(!a)return!1;var s=vi(r,t),l=bi(r,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof ti&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),xi=0,Si=function(){function e(e){this.id=xi++,this.version="10.10.0",this.plugins=new ri,this.options={id:{minify:!1},createGenerateId:li,Renderer:lo?yi:null,plugins:[]},this.generateId=li({minify:!1});for(var t=0;t<Jo.length;t++)this.plugins.use(Jo[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=yt({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===oi.index?0:oi.index+1);var n=new ti(e,yt({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},t.removeStyleSheet=function(e){return e.detach(),oi.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var n=yt({},r,{name:e,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=go(e,t,n);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),Ci=function(e){return new Si(e)},Ei="object"==typeof CSS&&null!=CSS&&"number"in CSS;function wi(e){var t=null;for(var r in e){var n=e[r],o=typeof n;if("function"===o)t||(t={}),t[r]=n;else if("object"===o&&null!==n&&!Array.isArray(n)){var i=wi(n);i&&(t||(t={}),t[r]=i)}}return t}
10
10
  /**
11
11
  * A better abstraction over CSS.
12
12
  *
13
13
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
14
14
  * @website https://github.com/cssinjs/jss
15
15
  * @license MIT
16
- */Ci();var Ri=Date.now(),Ai="fnValues"+Ri,ki="fnStyle"+ ++Ri,Pi="@global",Ii="@global ",Li=function(){function e(e,t,r){for(var n in this.type="global",this.at=Pi,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new ei(yt({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Mi=function(){function e(e,t,r){this.type="global",this.at=Pi,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(8);this.rule=r.jss.createRule(n,t,yt({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),_i=/\s*,\s*/g;function Di(e,t){for(var r=e.split(_i),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function Ti(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===Pi)return new Li(e,t,r);if("@"===e[0]&&e.substr(0,8)===Ii)return new Mi(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,o=n?n[Pi]:null;if(o){for(var i in o)t.addRule(i,o[i],yt({},r,{selector:Di(i,e.selector)}));delete n[Pi]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var o in n)if("@"===o[0]&&o.substr(0,7)===Pi){var i=Di(o.substr(7),e.selector);t.addRule(i,n[o],yt({},r,{selector:i})),delete n[o]}}(e,t))}}}var Oi=/\s*,\s*/g,qi=/&/g,Ni=/\$([\w-]+)/g;function ji(){function e(e,t){return function(r,n){var o=e.getRule(n)||t&&t.getRule(n);return o?o.selector:n}}function t(e,t){for(var r=t.split(Oi),n=e.split(Oi),o="",i=0;i<r.length;i++)for(var a=r[i],s=0;s<n.length;s++){var l=n[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(qi,a):a+" "+l}return o}function r(e,t,r){if(r)return yt({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var o=yt({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(n,o,i){if("style"!==o.type)return n;var a,s,l=o,u=l.options.parent;for(var c in n){var d=-1!==c.indexOf("&"),p="@"===c[0];if(d||p){if(a=r(l,u,a),d){var f=t(c,l.selector);s||(s=e(u,i)),f=f.replace(Ni,s);var h=l.key+"-"+c;"replaceRule"in u?u.replaceRule(h,n[c],yt({},a,{selector:f})):u.addRule(h,n[c],yt({},a,{selector:f}))}else p&&u.addRule(c,{},a).addRule(l.key,n[c],{selector:l.selector});delete n[c]}}return n}}}var zi=/[A-Z]/g,Fi=/^ms-/,$i={};function Hi(e){return"-"+e.toLowerCase()}function Bi(e){if($i.hasOwnProperty(e))return $i[e];var t=e.replace(zi,Hi);return $i[e]=Fi.test(t)?"-"+t:t}function Gi(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:Bi(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Gi):t.fallbacks=Gi(e.fallbacks)),t}var Wi=Ei&&CSS?CSS.px:"px",Vi=Ei&&CSS?CSS.ms:"ms",Ui=Ei&&CSS?CSS.percent:"%";function Yi(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var Ki=Yi({"animation-delay":Vi,"animation-duration":Vi,"background-position":Wi,"background-position-x":Wi,"background-position-y":Wi,"background-size":Wi,border:Wi,"border-bottom":Wi,"border-bottom-left-radius":Wi,"border-bottom-right-radius":Wi,"border-bottom-width":Wi,"border-left":Wi,"border-left-width":Wi,"border-radius":Wi,"border-right":Wi,"border-right-width":Wi,"border-top":Wi,"border-top-left-radius":Wi,"border-top-right-radius":Wi,"border-top-width":Wi,"border-width":Wi,"border-block":Wi,"border-block-end":Wi,"border-block-end-width":Wi,"border-block-start":Wi,"border-block-start-width":Wi,"border-block-width":Wi,"border-inline":Wi,"border-inline-end":Wi,"border-inline-end-width":Wi,"border-inline-start":Wi,"border-inline-start-width":Wi,"border-inline-width":Wi,"border-start-start-radius":Wi,"border-start-end-radius":Wi,"border-end-start-radius":Wi,"border-end-end-radius":Wi,margin:Wi,"margin-bottom":Wi,"margin-left":Wi,"margin-right":Wi,"margin-top":Wi,"margin-block":Wi,"margin-block-end":Wi,"margin-block-start":Wi,"margin-inline":Wi,"margin-inline-end":Wi,"margin-inline-start":Wi,padding:Wi,"padding-bottom":Wi,"padding-left":Wi,"padding-right":Wi,"padding-top":Wi,"padding-block":Wi,"padding-block-end":Wi,"padding-block-start":Wi,"padding-inline":Wi,"padding-inline-end":Wi,"padding-inline-start":Wi,"mask-position-x":Wi,"mask-position-y":Wi,"mask-size":Wi,height:Wi,width:Wi,"min-height":Wi,"max-height":Wi,"min-width":Wi,"max-width":Wi,bottom:Wi,left:Wi,top:Wi,right:Wi,inset:Wi,"inset-block":Wi,"inset-block-end":Wi,"inset-block-start":Wi,"inset-inline":Wi,"inset-inline-end":Wi,"inset-inline-start":Wi,"box-shadow":Wi,"text-shadow":Wi,"column-gap":Wi,"column-rule":Wi,"column-rule-width":Wi,"column-width":Wi,"font-size":Wi,"font-size-delta":Wi,"letter-spacing":Wi,"text-decoration-thickness":Wi,"text-indent":Wi,"text-stroke":Wi,"text-stroke-width":Wi,"word-spacing":Wi,motion:Wi,"motion-offset":Wi,outline:Wi,"outline-offset":Wi,"outline-width":Wi,perspective:Wi,"perspective-origin-x":Ui,"perspective-origin-y":Ui,"transform-origin":Ui,"transform-origin-x":Ui,"transform-origin-y":Ui,"transform-origin-z":Ui,"transition-delay":Vi,"transition-duration":Vi,"vertical-align":Wi,"flex-basis":Wi,"shape-margin":Wi,size:Wi,gap:Wi,grid:Wi,"grid-gap":Wi,"row-gap":Wi,"grid-row-gap":Wi,"grid-column-gap":Wi,"grid-template-rows":Wi,"grid-template-columns":Wi,"grid-auto-rows":Wi,"grid-auto-columns":Wi,"box-shadow-x":Wi,"box-shadow-y":Wi,"box-shadow-blur":Wi,"box-shadow-spread":Wi,"font-line-height":Wi,"text-shadow-x":Wi,"text-shadow-y":Wi,"text-shadow-blur":Wi});function Xi(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=Xi(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=Xi(o,t[o],r);else for(var i in t)t[i]=Xi(e+"-"+i,t[i],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||Ki[e];return!a||0===t&&a===Wi?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Ji(e){void 0===e&&(e={});var t=Yi(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=Xi(n,e[n],t);return e},onChangeValue:function(e,r){return Xi(r,e,t)}}}var Zi="",Qi="",ea="",ta="",ra=lo&&"ontouchstart"in document.documentElement;if(lo){var na={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},oa=document.createElement("p").style;for(var ia in na)if(ia+"Transform"in oa){Zi=ia,Qi=na[ia];break}"Webkit"===Zi&&"msHyphens"in oa&&(Zi="ms",Qi=na.ms,ta="edge"),"Webkit"===Zi&&"-apple-trailing-word"in oa&&(ea="apple")}var aa=Zi,sa=Qi,la=ea,ua=ta,ca=ra;var da={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===aa?"-webkit-"+e:sa+e)}},pa={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===aa?sa+"print-"+e:e)}},fa=/[-\s]+(.)?/g;function ha(e,t){return t?t.toUpperCase():""}function ma(e){return e.replace(fa,ha)}function ga(e){return ma("-"+e)}var ba,va={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===aa){var r="mask-image";if(ma(r)in t)return e;if(aa+ga(r)in t)return sa+e}return e}},ya={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==la||ca?e:sa+e)}},xa={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:sa+e)}},Sa={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:sa+e)}},Ca={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===aa||"ms"===aa&&"edge"!==ua?sa+e:e)}},Ea={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===aa||"ms"===aa||"apple"===la?sa+e:e)}},wa={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===aa?"WebkitColumn"+ga(e)in t&&sa+"column-"+e:"Moz"===aa&&("page"+ga(e)in t&&"page-"+e))}},Ra={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===aa)return e;var r=e.replace("-inline","");return aa+ga(r)in t&&sa+r}},Aa={supportedProperty:function(e,t){return ma(e)in t&&e}},ka={supportedProperty:function(e,t){var r=ga(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:aa+r in t?sa+e:"Webkit"!==aa&&"Webkit"+r in t&&"-webkit-"+e}},Pa={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===aa?""+sa+e:e)}},Ia={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===aa?sa+"scroll-chaining":e)}},La={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ma={supportedProperty:function(e,t){var r=La[e];return!!r&&(aa+ga(r)in t&&sa+r)}},_a={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Da=Object.keys(_a),Ta=function(e){return sa+e},Oa={supportedProperty:function(e,t,r){var n=r.multiple;if(Da.indexOf(e)>-1){var o=_a[e];if(!Array.isArray(o))return aa+ga(o)in t&&sa+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(aa+ga(o[0])in t))return!1;return o.map(Ta)}return!1}},qa=[da,pa,va,ya,xa,Sa,Ca,Ea,wa,Ra,Aa,ka,Pa,Ia,Ma,Oa],Na=qa.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),ja=qa.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Er(t.noPrefill)),e}),[]),za={};if(lo){ba=document.createElement("p");var Fa=window.getComputedStyle(document.documentElement,"");for(var $a in Fa)isNaN($a)||(za[Fa[$a]]=Fa[$a]);ja.forEach((function(e){return delete za[e]}))}function Ha(e,t){if(void 0===t&&(t={}),!ba)return e;if(null!=za[e])return za[e];"transition"!==e&&"transform"!==e||(t[e]=e in ba.style);for(var r=0;r<Na.length&&(za[e]=Na[r](e,ba.style,t),!za[e]);r++);try{ba.style[e]=""}catch(e){return!1}return za[e]}var Ba,Ga={},Wa={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Va=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ua(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?Ha(t):", "+Ha(r);return n||(t||r)}function Ya(e,t){var r=t;if(!Ba||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Ga[n])return Ga[n];try{Ba.style[e]=r}catch(e){return Ga[n]=!1,!1}if(Wa[e])r=r.replace(Va,Ua);else if(""===Ba.style[e]&&("-ms-flex"===(r=sa+r)&&(Ba.style[e]="-ms-flexbox"),Ba.style[e]=r,""===Ba.style[e]))return Ga[n]=!1,!1;return Ba.style[e]="",Ga[n]=r,Ga[n]}function Ka(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var o=!1,i=Ha(r);i&&i!==r&&(o=!0);var a=!1,s=Ya(i,vo(n));s&&s!==n&&(a=!0),(o||a)&&(o&&delete t[r],t[i||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===aa?e:"@"+sa+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Ya(t,vo(e))||e}}}function Xa(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=go(e,{},r);return n[ki]=t,n},onProcessStyle:function(e,t){if(Ai in t||ki in t)return e;var r={};for(var n in e){var o=e[n];"function"==typeof o&&(delete e[n],r[n]=o)}return t[Ai]=r,e},onUpdate:function(e,t,r,n){var o=t,i=o[ki];i&&(o.style=i(e)||{});var a=o[Ai];if(a)for(var s in a)o.prop(s,a[s](e),n)}},Ti(),ji(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Gi(e[t]);return e}return Gi(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Bi(t);return t===n?e:(r.prop(n,e),null)}},Ji(),"undefined"==typeof window?null:Ka(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)n[o[i]]=t[o[i]];return n}})]};var e}function Ja(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,r=e.newClasses;if(e.Component,!r)return t;var n=yt({},t);return Object.keys(r).forEach((function(e){r[e]&&(n[e]="".concat(t[e]," ").concat(r[e]))})),n}lo&&(Ba=document.createElement("p"));var Za=function(e,t,r,n){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},Qa=function(e,t,r){var n=e.get(t);return n?n.get(r):void 0},es=function(e,t,r){e.get(t).delete(r)},ts=x.createContext(null);function rs(){return x.useContext(ts)}var ns,os=Ci(Xa()),is=io(),as=new Map,ss={disableGeneration:!1,generateClassName:is,jss:os,sheetsCache:null,sheetsManager:as,sheetsRegistry:null},ls=x.createContext(ss);function us(e){var t=e.children,r=e.injectFirst,n=void 0!==r&&r,o=e.disableGeneration,i=void 0!==o&&o,a=xr(e,["children","injectFirst","disableGeneration"]),s=yt({},x.useContext(ls),{disableGeneration:i},a);if(!s.jss.options.insertionPoint&&n&&"undefined"!=typeof window){if(!ns){var l=document.head;ns=document.createComment("mui-inject-first"),l.insertBefore(ns,l.firstChild)}s.jss=Ci({plugins:Xa().plugins,insertionPoint:ns})}return x.createElement(ls.Provider,{value:s},t)}var cs=-1e9;var ds={};function ps(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Qa(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Za(o.sheetsManager,i,n,s));var l=yt({},i.options,o,{theme:n,flip:"boolean"==typeof o.flip?o.flip:"rtl"===n.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=o.sheetsRegistry;if(0===s.refs){var c;o.sheetsCache&&(c=Qa(o.sheetsCache,i,n));var d=i.create(n,a);c||((c=o.jss.createStyleSheet(d,yt({link:!1},l))).attach(),o.sheetsCache&&Za(o.sheetsCache,i,n,c)),u&&u.add(c),s.staticSheet=c,s.dynamicStyles=wi(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,yt({link:!0},l));p.update(t),p.attach(),r.dynamicSheet=p,r.classes=Ja({baseClasses:s.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function fs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?ds:i,s=xr(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(r,n){var o;try{o=t?e(r):e}catch(e){throw e}if(!n||!r.overrides||!r.overrides[n])return o;var i=r.overrides[n],a=yt({},o);return Object.keys(i).forEach((function(e){a[e]=Ct(a[e],i[e])})),a},options:{}}}(e),u=r||n||"makeStyles";l.options={index:cs+=1,name:r,meta:u,classNamePrefix:u};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=rs()||a,n=yt({},x.useContext(ls),s),i=x.useRef(),u=x.useRef();!function(e,t){var r,n=x.useRef([]),o=x.useMemo((function(){return{}}),t);n.current!==o&&(n.current=o,r=e()),x.useEffect((function(){return function(){r&&r()}}),[o])}((function(){var o={name:r,state:{},stylesCreator:l,stylesOptions:n,theme:t};return ps(o,e),u.current=!1,i.current=o,function(){!function(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=Qa(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;0===i.refs&&(es(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,l]),x.useEffect((function(){u.current&&function(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}(i.current,e),u.current=!0}));var c=function(e,t,r){var n=e.state;if(e.stylesOptions.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,o=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,o=!0),o&&(n.cacheClasses.value=Ja({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}(i.current,e.classes,o);return c}}var hs=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t}return uo(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new ni;var r=io();return x.createElement(us,yt({sheetsManager:t,serverGenerateClassName:r,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return x.createElement("style",yt({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}();function ms(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=ms(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function gs(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=ms(e))&&(n&&(n+=" "),n+=t);return n}var bs={exports:{}},vs={},ys="function"==typeof Symbol&&Symbol.for,xs=ys?Symbol.for("react.element"):60103,Ss=ys?Symbol.for("react.portal"):60106,Cs=ys?Symbol.for("react.fragment"):60107,Es=ys?Symbol.for("react.strict_mode"):60108,ws=ys?Symbol.for("react.profiler"):60114,Rs=ys?Symbol.for("react.provider"):60109,As=ys?Symbol.for("react.context"):60110,ks=ys?Symbol.for("react.async_mode"):60111,Ps=ys?Symbol.for("react.concurrent_mode"):60111,Is=ys?Symbol.for("react.forward_ref"):60112,Ls=ys?Symbol.for("react.suspense"):60113,Ms=ys?Symbol.for("react.suspense_list"):60120,_s=ys?Symbol.for("react.memo"):60115,Ds=ys?Symbol.for("react.lazy"):60116,Ts=ys?Symbol.for("react.block"):60121,Os=ys?Symbol.for("react.fundamental"):60117,qs=ys?Symbol.for("react.responder"):60118,Ns=ys?Symbol.for("react.scope"):60119;function js(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case xs:switch(e=e.type){case ks:case Ps:case Cs:case ws:case Es:case Ls:return e;default:switch(e=e&&e.$$typeof){case As:case Is:case Ds:case _s:case Rs:return e;default:return t}}case Ss:return t}}}function zs(e){return js(e)===Ps}vs.AsyncMode=ks,vs.ConcurrentMode=Ps,vs.ContextConsumer=As,vs.ContextProvider=Rs,vs.Element=xs,vs.ForwardRef=Is,vs.Fragment=Cs,vs.Lazy=Ds,vs.Memo=_s,vs.Portal=Ss,vs.Profiler=ws,vs.StrictMode=Es,vs.Suspense=Ls,vs.isAsyncMode=function(e){return zs(e)||js(e)===ks},vs.isConcurrentMode=zs,vs.isContextConsumer=function(e){return js(e)===As},vs.isContextProvider=function(e){return js(e)===Rs},vs.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===xs},vs.isForwardRef=function(e){return js(e)===Is},vs.isFragment=function(e){return js(e)===Cs},vs.isLazy=function(e){return js(e)===Ds},vs.isMemo=function(e){return js(e)===_s},vs.isPortal=function(e){return js(e)===Ss},vs.isProfiler=function(e){return js(e)===ws},vs.isStrictMode=function(e){return js(e)===Es},vs.isSuspense=function(e){return js(e)===Ls},vs.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Cs||e===Ps||e===ws||e===Es||e===Ls||e===Ms||"object"==typeof e&&null!==e&&(e.$$typeof===Ds||e.$$typeof===_s||e.$$typeof===Rs||e.$$typeof===As||e.$$typeof===Is||e.$$typeof===Os||e.$$typeof===qs||e.$$typeof===Ns||e.$$typeof===Ts)},vs.typeOf=js,bs.exports=vs;var Fs=bs.exports,$s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Hs={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Bs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Gs={};function Ws(e){return Fs.isMemo(e)?Bs:Gs[e.$$typeof]||$s}Gs[Fs.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gs[Fs.Memo]=Bs;var Vs=Object.defineProperty,Us=Object.getOwnPropertyNames,Ys=Object.getOwnPropertySymbols,Ks=Object.getOwnPropertyDescriptor,Xs=Object.getPrototypeOf,Js=Object.prototype;var Zs=function e(t,r,n){if("string"!=typeof r){if(Js){var o=Xs(r);o&&o!==Js&&e(t,o,n)}var i=Us(r);Ys&&(i=i.concat(Ys(r)));for(var a=Ws(t),s=Ws(r),l=0;l<i.length;++l){var u=i[l];if(!(Hs[u]||n&&n[u]||s&&s[u]||a&&a[u])){var c=Ks(r,u);try{Vs(t,u,c)}catch(e){}}}}return t},Qs=Et(Zs);function el(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var r=x.forwardRef((function(r,n){var o=r.innerRef,i=xr(r,["innerRef"]),a=rs()||e;return x.createElement(t,yt({theme:a,ref:o||n},i))}));return Qs(r,t),r}}var tl=el(),rl=Object.freeze({__proto__:null,ServerStyleSheets:hs,StylesContext:ls,StylesProvider:us,ThemeProvider:function(e){var t=e.children,r=e.theme,n=rs(),o=x.useMemo((function(){var e=null===n?r:function(e,t){return"function"==typeof t?t(e):yt({},e,t)}(n,r);return null!=e&&(e[no]=null!==n),e}),[r,n]);return x.createElement(ts.Provider,{value:o},t)},createGenerateClassName:io,createStyles:function(e){return e},getThemeProps:ao,jssPreset:Xa,makeStyles:fs,mergeClasses:Ja,sheetsManager:as,styled:function(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.name,i=xr(n,["name"]),a=o,s=fs("function"==typeof t?function(e){return{root:function(r){return t(yt({theme:e},r))}}}:{root:t},yt({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(r=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var l=x.forwardRef((function(t,n){var o,i,a,l=t.children,u=t.className,c=t.clone,d=t.component,p=xr(t,["children","className","clone","component"]),f=gs(s(t).root,u),h=p;if(r&&(o=h,i=r,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),c)return x.cloneElement(l,yt({className:gs(l.props.className,f)},h));if("function"==typeof l)return l(yt({className:f},h));var m=d||e;return x.createElement(m,yt({ref:n,className:f},h),l)}));return Qs(l,e),l}},useTheme:rs,withStyles:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var n=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=xr(t,["defaultTheme","withTheme","name"]),l=a,u=fs(e,yt({defaultTheme:n,Component:r,name:a||r.displayName,classNamePrefix:l},s)),c=x.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,l=xr(e,["classes","innerRef"]),c=u(yt({},r.defaultProps,e)),d=l;return("string"==typeof a||i)&&(o=rs()||n,a&&(d=ao({theme:o,name:a,props:l})),i&&!d.theme&&(d.theme=o)),x.createElement(r,yt({ref:s||t,classes:c},d))}));return Qs(c,r),c}},withTheme:tl,withThemeCreator:el});
16
+ */Ci();var Ri=Date.now(),Ai="fnValues"+Ri,ki="fnStyle"+ ++Ri,Pi="@global",Li="@global ",Ii=function(){function e(e,t,r){for(var n in this.type="global",this.at=Pi,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new ei(yt({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Mi=function(){function e(e,t,r){this.type="global",this.at=Pi,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(8);this.rule=r.jss.createRule(n,t,yt({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),_i=/\s*,\s*/g;function Di(e,t){for(var r=e.split(_i),n="",o=0;o<r.length;o++)n+=t+" "+r[o].trim(),r[o+1]&&(n+=", ");return n}function Ti(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===Pi)return new Ii(e,t,r);if("@"===e[0]&&e.substr(0,8)===Li)return new Mi(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,o=n?n[Pi]:null;if(o){for(var i in o)t.addRule(i,o[i],yt({},r,{selector:Di(i,e.selector)}));delete n[Pi]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var o in n)if("@"===o[0]&&o.substr(0,7)===Pi){var i=Di(o.substr(7),e.selector);t.addRule(i,n[o],yt({},r,{selector:i})),delete n[o]}}(e,t))}}}var Oi=/\s*,\s*/g,qi=/&/g,Ni=/\$([\w-]+)/g;function ji(){function e(e,t){return function(r,n){var o=e.getRule(n)||t&&t.getRule(n);return o?o.selector:n}}function t(e,t){for(var r=t.split(Oi),n=e.split(Oi),o="",i=0;i<r.length;i++)for(var a=r[i],s=0;s<n.length;s++){var l=n[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(qi,a):a+" "+l}return o}function r(e,t,r){if(r)return yt({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var o=yt({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(n,o,i){if("style"!==o.type)return n;var a,s,l=o,u=l.options.parent;for(var c in n){var d=-1!==c.indexOf("&"),p="@"===c[0];if(d||p){if(a=r(l,u,a),d){var f=t(c,l.selector);s||(s=e(u,i)),f=f.replace(Ni,s);var h=l.key+"-"+c;"replaceRule"in u?u.replaceRule(h,n[c],yt({},a,{selector:f})):u.addRule(h,n[c],yt({},a,{selector:f}))}else p&&u.addRule(c,{},a).addRule(l.key,n[c],{selector:l.selector});delete n[c]}}return n}}}var zi=/[A-Z]/g,Fi=/^ms-/,$i={};function Hi(e){return"-"+e.toLowerCase()}function Bi(e){if($i.hasOwnProperty(e))return $i[e];var t=e.replace(zi,Hi);return $i[e]=Fi.test(t)?"-"+t:t}function Gi(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:Bi(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Gi):t.fallbacks=Gi(e.fallbacks)),t}var Wi=Ei&&CSS?CSS.px:"px",Vi=Ei&&CSS?CSS.ms:"ms",Ui=Ei&&CSS?CSS.percent:"%";function Yi(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var o in e)n[o]=e[o],n[o.replace(t,r)]=e[o];return n}var Ki=Yi({"animation-delay":Vi,"animation-duration":Vi,"background-position":Wi,"background-position-x":Wi,"background-position-y":Wi,"background-size":Wi,border:Wi,"border-bottom":Wi,"border-bottom-left-radius":Wi,"border-bottom-right-radius":Wi,"border-bottom-width":Wi,"border-left":Wi,"border-left-width":Wi,"border-radius":Wi,"border-right":Wi,"border-right-width":Wi,"border-top":Wi,"border-top-left-radius":Wi,"border-top-right-radius":Wi,"border-top-width":Wi,"border-width":Wi,"border-block":Wi,"border-block-end":Wi,"border-block-end-width":Wi,"border-block-start":Wi,"border-block-start-width":Wi,"border-block-width":Wi,"border-inline":Wi,"border-inline-end":Wi,"border-inline-end-width":Wi,"border-inline-start":Wi,"border-inline-start-width":Wi,"border-inline-width":Wi,"border-start-start-radius":Wi,"border-start-end-radius":Wi,"border-end-start-radius":Wi,"border-end-end-radius":Wi,margin:Wi,"margin-bottom":Wi,"margin-left":Wi,"margin-right":Wi,"margin-top":Wi,"margin-block":Wi,"margin-block-end":Wi,"margin-block-start":Wi,"margin-inline":Wi,"margin-inline-end":Wi,"margin-inline-start":Wi,padding:Wi,"padding-bottom":Wi,"padding-left":Wi,"padding-right":Wi,"padding-top":Wi,"padding-block":Wi,"padding-block-end":Wi,"padding-block-start":Wi,"padding-inline":Wi,"padding-inline-end":Wi,"padding-inline-start":Wi,"mask-position-x":Wi,"mask-position-y":Wi,"mask-size":Wi,height:Wi,width:Wi,"min-height":Wi,"max-height":Wi,"min-width":Wi,"max-width":Wi,bottom:Wi,left:Wi,top:Wi,right:Wi,inset:Wi,"inset-block":Wi,"inset-block-end":Wi,"inset-block-start":Wi,"inset-inline":Wi,"inset-inline-end":Wi,"inset-inline-start":Wi,"box-shadow":Wi,"text-shadow":Wi,"column-gap":Wi,"column-rule":Wi,"column-rule-width":Wi,"column-width":Wi,"font-size":Wi,"font-size-delta":Wi,"letter-spacing":Wi,"text-decoration-thickness":Wi,"text-indent":Wi,"text-stroke":Wi,"text-stroke-width":Wi,"word-spacing":Wi,motion:Wi,"motion-offset":Wi,outline:Wi,"outline-offset":Wi,"outline-width":Wi,perspective:Wi,"perspective-origin-x":Ui,"perspective-origin-y":Ui,"transform-origin":Ui,"transform-origin-x":Ui,"transform-origin-y":Ui,"transform-origin-z":Ui,"transition-delay":Vi,"transition-duration":Vi,"vertical-align":Wi,"flex-basis":Wi,"shape-margin":Wi,size:Wi,gap:Wi,grid:Wi,"grid-gap":Wi,"row-gap":Wi,"grid-row-gap":Wi,"grid-column-gap":Wi,"grid-template-rows":Wi,"grid-template-columns":Wi,"grid-auto-rows":Wi,"grid-auto-columns":Wi,"box-shadow-x":Wi,"box-shadow-y":Wi,"box-shadow-blur":Wi,"box-shadow-spread":Wi,"font-line-height":Wi,"text-shadow-x":Wi,"text-shadow-y":Wi,"text-shadow-blur":Wi});function Xi(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=Xi(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=Xi(o,t[o],r);else for(var i in t)t[i]=Xi(e+"-"+i,t[i],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||Ki[e];return!a||0===t&&a===Wi?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Ji(e){void 0===e&&(e={});var t=Yi(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=Xi(n,e[n],t);return e},onChangeValue:function(e,r){return Xi(r,e,t)}}}var Zi="",Qi="",ea="",ta="",ra=lo&&"ontouchstart"in document.documentElement;if(lo){var na={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},oa=document.createElement("p").style;for(var ia in na)if(ia+"Transform"in oa){Zi=ia,Qi=na[ia];break}"Webkit"===Zi&&"msHyphens"in oa&&(Zi="ms",Qi=na.ms,ta="edge"),"Webkit"===Zi&&"-apple-trailing-word"in oa&&(ea="apple")}var aa=Zi,sa=Qi,la=ea,ua=ta,ca=ra;var da={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===aa?"-webkit-"+e:sa+e)}},pa={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===aa?sa+"print-"+e:e)}},fa=/[-\s]+(.)?/g;function ha(e,t){return t?t.toUpperCase():""}function ma(e){return e.replace(fa,ha)}function ga(e){return ma("-"+e)}var ba,va={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===aa){var r="mask-image";if(ma(r)in t)return e;if(aa+ga(r)in t)return sa+e}return e}},ya={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==la||ca?e:sa+e)}},xa={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:sa+e)}},Sa={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:sa+e)}},Ca={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===aa||"ms"===aa&&"edge"!==ua?sa+e:e)}},Ea={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===aa||"ms"===aa||"apple"===la?sa+e:e)}},wa={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===aa?"WebkitColumn"+ga(e)in t&&sa+"column-"+e:"Moz"===aa&&("page"+ga(e)in t&&"page-"+e))}},Ra={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===aa)return e;var r=e.replace("-inline","");return aa+ga(r)in t&&sa+r}},Aa={supportedProperty:function(e,t){return ma(e)in t&&e}},ka={supportedProperty:function(e,t){var r=ga(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:aa+r in t?sa+e:"Webkit"!==aa&&"Webkit"+r in t&&"-webkit-"+e}},Pa={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===aa?""+sa+e:e)}},La={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===aa?sa+"scroll-chaining":e)}},Ia={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ma={supportedProperty:function(e,t){var r=Ia[e];return!!r&&(aa+ga(r)in t&&sa+r)}},_a={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Da=Object.keys(_a),Ta=function(e){return sa+e},Oa={supportedProperty:function(e,t,r){var n=r.multiple;if(Da.indexOf(e)>-1){var o=_a[e];if(!Array.isArray(o))return aa+ga(o)in t&&sa+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(aa+ga(o[0])in t))return!1;return o.map(Ta)}return!1}},qa=[da,pa,va,ya,xa,Sa,Ca,Ea,wa,Ra,Aa,ka,Pa,La,Ma,Oa],Na=qa.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),ja=qa.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Er(t.noPrefill)),e}),[]),za={};if(lo){ba=document.createElement("p");var Fa=window.getComputedStyle(document.documentElement,"");for(var $a in Fa)isNaN($a)||(za[Fa[$a]]=Fa[$a]);ja.forEach((function(e){return delete za[e]}))}function Ha(e,t){if(void 0===t&&(t={}),!ba)return e;if(null!=za[e])return za[e];"transition"!==e&&"transform"!==e||(t[e]=e in ba.style);for(var r=0;r<Na.length&&(za[e]=Na[r](e,ba.style,t),!za[e]);r++);try{ba.style[e]=""}catch(e){return!1}return za[e]}var Ba,Ga={},Wa={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Va=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ua(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?Ha(t):", "+Ha(r);return n||(t||r)}function Ya(e,t){var r=t;if(!Ba||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Ga[n])return Ga[n];try{Ba.style[e]=r}catch(e){return Ga[n]=!1,!1}if(Wa[e])r=r.replace(Va,Ua);else if(""===Ba.style[e]&&("-ms-flex"===(r=sa+r)&&(Ba.style[e]="-ms-flexbox"),Ba.style[e]=r,""===Ba.style[e]))return Ga[n]=!1,!1;return Ba.style[e]="",Ga[n]=r,Ga[n]}function Ka(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var o=!1,i=Ha(r);i&&i!==r&&(o=!0);var a=!1,s=Ya(i,vo(n));s&&s!==n&&(a=!0),(o||a)&&(o&&delete t[r],t[i||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===aa?e:"@"+sa+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Ya(t,vo(e))||e}}}function Xa(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=go(e,{},r);return n[ki]=t,n},onProcessStyle:function(e,t){if(Ai in t||ki in t)return e;var r={};for(var n in e){var o=e[n];"function"==typeof o&&(delete e[n],r[n]=o)}return t[Ai]=r,e},onUpdate:function(e,t,r,n){var o=t,i=o[ki];i&&(o.style=i(e)||{});var a=o[Ai];if(a)for(var s in a)o.prop(s,a[s](e),n)}},Ti(),ji(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Gi(e[t]);return e}return Gi(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Bi(t);return t===n?e:(r.prop(n,e),null)}},Ji(),"undefined"==typeof window?null:Ka(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)n[o[i]]=t[o[i]];return n}})]};var e}function Ja(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,r=e.newClasses;if(e.Component,!r)return t;var n=yt({},t);return Object.keys(r).forEach((function(e){r[e]&&(n[e]="".concat(t[e]," ").concat(r[e]))})),n}lo&&(Ba=document.createElement("p"));var Za=function(e,t,r,n){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(r,n)},Qa=function(e,t,r){var n=e.get(t);return n?n.get(r):void 0},es=function(e,t,r){e.get(t).delete(r)},ts=x.createContext(null);function rs(){return x.useContext(ts)}var ns,os=Ci(Xa()),is=io(),as=new Map,ss={disableGeneration:!1,generateClassName:is,jss:os,sheetsCache:null,sheetsManager:as,sheetsRegistry:null},ls=x.createContext(ss);function us(e){var t=e.children,r=e.injectFirst,n=void 0!==r&&r,o=e.disableGeneration,i=void 0!==o&&o,a=xr(e,["children","injectFirst","disableGeneration"]),s=yt({},x.useContext(ls),{disableGeneration:i},a);if(!s.jss.options.insertionPoint&&n&&"undefined"!=typeof window){if(!ns){var l=document.head;ns=document.createComment("mui-inject-first"),l.insertBefore(ns,l.firstChild)}s.jss=Ci({plugins:Xa().plugins,insertionPoint:ns})}return x.createElement(ls.Provider,{value:s},t)}var cs=-1e9;var ds={};function ps(e,t){var r=e.state,n=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=Qa(o.sheetsManager,i,n);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Za(o.sheetsManager,i,n,s));var l=yt({},i.options,o,{theme:n,flip:"boolean"==typeof o.flip?o.flip:"rtl"===n.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=o.sheetsRegistry;if(0===s.refs){var c;o.sheetsCache&&(c=Qa(o.sheetsCache,i,n));var d=i.create(n,a);c||((c=o.jss.createStyleSheet(d,yt({link:!1},l))).attach(),o.sheetsCache&&Za(o.sheetsCache,i,n,c)),u&&u.add(c),s.staticSheet=c,s.dynamicStyles=wi(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,yt({link:!0},l));p.update(t),p.attach(),r.dynamicSheet=p,r.classes=Ja({baseClasses:s.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else r.classes=s.staticSheet.classes;s.refs+=1}}function fs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.name,n=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?ds:i,s=xr(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(r,n){var o;try{o=t?e(r):e}catch(e){throw e}if(!n||!r.overrides||!r.overrides[n])return o;var i=r.overrides[n],a=yt({},o);return Object.keys(i).forEach((function(e){a[e]=Ct(a[e],i[e])})),a},options:{}}}(e),u=r||n||"makeStyles";l.options={index:cs+=1,name:r,meta:u,classNamePrefix:u};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=rs()||a,n=yt({},x.useContext(ls),s),i=x.useRef(),u=x.useRef();!function(e,t){var r,n=x.useRef([]),o=x.useMemo((function(){return{}}),t);n.current!==o&&(n.current=o,r=e()),x.useEffect((function(){return function(){r&&r()}}),[o])}((function(){var o={name:r,state:{},stylesCreator:l,stylesOptions:n,theme:t};return ps(o,e),u.current=!1,i.current=o,function(){!function(e){var t=e.state,r=e.theme,n=e.stylesOptions,o=e.stylesCreator;if(!n.disableGeneration){var i=Qa(n.sheetsManager,o,r);i.refs-=1;var a=n.sheetsRegistry;0===i.refs&&(es(n.sheetsManager,o,r),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,l]),x.useEffect((function(){u.current&&function(e,t){var r=e.state;r.dynamicSheet&&r.dynamicSheet.update(t)}(i.current,e),u.current=!0}));var c=function(e,t,r){var n=e.state;if(e.stylesOptions.disableGeneration)return t||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,o=!0),t!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=t,o=!0),o&&(n.cacheClasses.value=Ja({baseClasses:n.cacheClasses.lastJSS,newClasses:t,Component:r})),n.cacheClasses.value}(i.current,e.classes,o);return c}}var hs=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t}return uo(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new ni;var r=io();return x.createElement(us,yt({sheetsManager:t,serverGenerateClassName:r,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return x.createElement("style",yt({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}();function ms(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=ms(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function gs(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=ms(e))&&(n&&(n+=" "),n+=t);return n}var bs={exports:{}},vs={},ys="function"==typeof Symbol&&Symbol.for,xs=ys?Symbol.for("react.element"):60103,Ss=ys?Symbol.for("react.portal"):60106,Cs=ys?Symbol.for("react.fragment"):60107,Es=ys?Symbol.for("react.strict_mode"):60108,ws=ys?Symbol.for("react.profiler"):60114,Rs=ys?Symbol.for("react.provider"):60109,As=ys?Symbol.for("react.context"):60110,ks=ys?Symbol.for("react.async_mode"):60111,Ps=ys?Symbol.for("react.concurrent_mode"):60111,Ls=ys?Symbol.for("react.forward_ref"):60112,Is=ys?Symbol.for("react.suspense"):60113,Ms=ys?Symbol.for("react.suspense_list"):60120,_s=ys?Symbol.for("react.memo"):60115,Ds=ys?Symbol.for("react.lazy"):60116,Ts=ys?Symbol.for("react.block"):60121,Os=ys?Symbol.for("react.fundamental"):60117,qs=ys?Symbol.for("react.responder"):60118,Ns=ys?Symbol.for("react.scope"):60119;function js(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case xs:switch(e=e.type){case ks:case Ps:case Cs:case ws:case Es:case Is:return e;default:switch(e=e&&e.$$typeof){case As:case Ls:case Ds:case _s:case Rs:return e;default:return t}}case Ss:return t}}}function zs(e){return js(e)===Ps}vs.AsyncMode=ks,vs.ConcurrentMode=Ps,vs.ContextConsumer=As,vs.ContextProvider=Rs,vs.Element=xs,vs.ForwardRef=Ls,vs.Fragment=Cs,vs.Lazy=Ds,vs.Memo=_s,vs.Portal=Ss,vs.Profiler=ws,vs.StrictMode=Es,vs.Suspense=Is,vs.isAsyncMode=function(e){return zs(e)||js(e)===ks},vs.isConcurrentMode=zs,vs.isContextConsumer=function(e){return js(e)===As},vs.isContextProvider=function(e){return js(e)===Rs},vs.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===xs},vs.isForwardRef=function(e){return js(e)===Ls},vs.isFragment=function(e){return js(e)===Cs},vs.isLazy=function(e){return js(e)===Ds},vs.isMemo=function(e){return js(e)===_s},vs.isPortal=function(e){return js(e)===Ss},vs.isProfiler=function(e){return js(e)===ws},vs.isStrictMode=function(e){return js(e)===Es},vs.isSuspense=function(e){return js(e)===Is},vs.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Cs||e===Ps||e===ws||e===Es||e===Is||e===Ms||"object"==typeof e&&null!==e&&(e.$$typeof===Ds||e.$$typeof===_s||e.$$typeof===Rs||e.$$typeof===As||e.$$typeof===Ls||e.$$typeof===Os||e.$$typeof===qs||e.$$typeof===Ns||e.$$typeof===Ts)},vs.typeOf=js,bs.exports=vs;var Fs=bs.exports,$s={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Hs={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Bs={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Gs={};function Ws(e){return Fs.isMemo(e)?Bs:Gs[e.$$typeof]||$s}Gs[Fs.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gs[Fs.Memo]=Bs;var Vs=Object.defineProperty,Us=Object.getOwnPropertyNames,Ys=Object.getOwnPropertySymbols,Ks=Object.getOwnPropertyDescriptor,Xs=Object.getPrototypeOf,Js=Object.prototype;var Zs=function e(t,r,n){if("string"!=typeof r){if(Js){var o=Xs(r);o&&o!==Js&&e(t,o,n)}var i=Us(r);Ys&&(i=i.concat(Ys(r)));for(var a=Ws(t),s=Ws(r),l=0;l<i.length;++l){var u=i[l];if(!(Hs[u]||n&&n[u]||s&&s[u]||a&&a[u])){var c=Ks(r,u);try{Vs(t,u,c)}catch(e){}}}}return t},Qs=Et(Zs);function el(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).defaultTheme;return function(t){var r=x.forwardRef((function(r,n){var o=r.innerRef,i=xr(r,["innerRef"]),a=rs()||e;return x.createElement(t,yt({theme:a,ref:o||n},i))}));return Qs(r,t),r}}var tl=el(),rl=Object.freeze({__proto__:null,ServerStyleSheets:hs,StylesContext:ls,StylesProvider:us,ThemeProvider:function(e){var t=e.children,r=e.theme,n=rs(),o=x.useMemo((function(){var e=null===n?r:function(e,t){return"function"==typeof t?t(e):yt({},e,t)}(n,r);return null!=e&&(e[no]=null!==n),e}),[r,n]);return x.createElement(ts.Provider,{value:o},t)},createGenerateClassName:io,createStyles:function(e){return e},getThemeProps:ao,jssPreset:Xa,makeStyles:fs,mergeClasses:Ja,sheetsManager:as,styled:function(e){return function(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.name,i=xr(n,["name"]),a=o,s=fs("function"==typeof t?function(e){return{root:function(r){return t(yt({theme:e},r))}}}:{root:t},yt({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(r=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var l=x.forwardRef((function(t,n){var o,i,a,l=t.children,u=t.className,c=t.clone,d=t.component,p=xr(t,["children","className","clone","component"]),f=gs(s(t).root,u),h=p;if(r&&(o=h,i=r,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),c)return x.cloneElement(l,yt({className:gs(l.props.className,f)},h));if("function"==typeof l)return l(yt({className:f},h));var m=d||e;return x.createElement(m,yt({ref:n,className:f},h),l)}));return Qs(l,e),l}},useTheme:rs,withStyles:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var n=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=xr(t,["defaultTheme","withTheme","name"]),l=a,u=fs(e,yt({defaultTheme:n,Component:r,name:a||r.displayName,classNamePrefix:l},s)),c=x.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,l=xr(e,["classes","innerRef"]),c=u(yt({},r.defaultProps,e)),d=l;return("string"==typeof a||i)&&(o=rs()||n,a&&(d=ao({theme:o,name:a,props:l})),i&&!d.theme&&(d.theme=o)),x.createElement(r,yt({ref:s||t,classes:c},d))}));return Qs(c,r),c}},withTheme:tl,withThemeCreator:el});
17
17
  /** @license Material-UI v4.11.5
18
18
  *
19
19
  * This source code is licensed under the MIT license found in the
20
20
  * LICENSE file in the root directory of this source tree.
21
- */const nl={GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF"},ol={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",...nl,GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},il=12,al=14,sl=16,ll=24,ul=3,cl=300,dl=400,pl=600,fl=700,hl={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};vr(ol.GREYSCALE_0,.05),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5);vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5);var ml={exports:{}},gl={},bl=x,vl=Symbol.for("react.element"),yl=Symbol.for("react.fragment"),xl=Object.prototype.hasOwnProperty,Sl=bl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Cl={key:!0,ref:!0,__self:!0,__source:!0};function El(e,t,r){var n,o={},i=null,a=null;for(n in void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)xl.call(t,n)&&!Cl.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:vl,type:e,key:i,ref:a,props:o,_owner:Sl.current}}gl.Fragment=yl,gl.jsx=El,gl.jsxs=El,ml.exports=gl;var wl,Rl=ml.exports;function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Al.apply(null,arguments)}var kl,Pl=function(e){return y.createElement("svg",Al({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),wl||(wl=y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Il.apply(null,arguments)}var Ll=function(e){return y.createElement("svg",Il({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),kl||(kl=y.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function Ml({fontSize:e="medium",children:t=null,className:r=""}={}){const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Rl.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})}function _l(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Rl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Rl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Dl(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Rl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Rl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Tl(e={}){return Rl.jsx(Ml,{fontSize:"medium",...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Rl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Ol(e={}){return Rl.jsx(Ml,{fontSize:"medium",...e,children:Rl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Rl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Rl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function ql({className:e}){return Rl.jsx(Ml,{fontSize:"small",className:e,children:Rl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Rl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Rl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Rl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}Rl.jsx(Ll,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Rl.jsx(Pl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Rl.jsx(Tl,{}),Rl.jsx(Ol,{}),Rl.jsx((function(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Rl.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),Rl.jsx(_l,{}),Rl.jsx(Dl,{}),Rl.jsx(Pl,{style:{color:ol.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Nl={black:"#000",white:"#fff"},jl="#e57373",zl="#ef5350",Fl="#f44336",$l="#d32f2f",Hl="#c62828",Bl="#f3e5f5",Gl="#ce93d8",Wl="#ba68c8",Vl="#ab47bc",Ul="#9c27b0",Yl="#7b1fa2",Kl="#e3f2fd",Xl="#90caf9",Jl="#42a5f5",Zl="#1976d2",Ql="#1565c0",eu="#4fc3f7",tu="#29b6f6",ru="#03a9f4",nu="#0288d1",ou="#01579b",iu="#81c784",au="#66bb6a",su="#4caf50",lu="#388e3c",uu="#2e7d32",cu="#1b5e20",du="#ffb74d",pu="#ffa726",fu="#ff9800",hu="#f57c00",mu="#e65100",gu={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function bu(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var vu=Object.freeze({__proto__:null,default:bu}),yu="$$material";function xu(){return xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xu.apply(this,arguments)}function Su(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var Cu=function(){return Cu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Cu.apply(this,arguments)};function Eu(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var wu=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=r?r.call(n,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0},Ru=Et(wu),Au="-ms-",ku="-moz-",Pu="-webkit-",Iu="comm",Lu="rule",Mu="decl",_u="@keyframes",Du=Math.abs,Tu=String.fromCharCode,Ou=Object.assign;function qu(e){return e.trim()}function Nu(e,t){return(e=t.exec(e))?e[0]:e}function ju(e,t,r){return e.replace(t,r)}function zu(e,t,r){return e.indexOf(t,r)}function Fu(e,t){return 0|e.charCodeAt(t)}function $u(e,t,r){return e.slice(t,r)}function Hu(e){return e.length}function Bu(e){return e.length}function Gu(e,t){return t.push(e),e}function Wu(e,t){return e.filter((function(e){return!Nu(e,t)}))}var Vu=1,Uu=1,Yu=0,Ku=0,Xu=0,Ju="";function Zu(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Vu,column:Uu,length:a,return:"",siblings:s}}function Qu(e,t){return Ou(Zu("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ec(e){for(;e.root;)e=Qu(e.root,{children:[e]});Gu(e,e.siblings)}function tc(){return Xu=Ku<Yu?Fu(Ju,Ku++):0,Uu++,10===Xu&&(Uu=1,Vu++),Xu}function rc(){return Fu(Ju,Ku)}function nc(){return Ku}function oc(e,t){return $u(Ju,e,t)}function ic(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ac(e){return qu(oc(Ku-1,uc(91===e?e+2:40===e?e+1:e)))}function sc(e){for(;(Xu=rc())&&Xu<33;)tc();return ic(e)>2||ic(Xu)>3?"":" "}function lc(e,t){for(;--t&&tc()&&!(Xu<48||Xu>102||Xu>57&&Xu<65||Xu>70&&Xu<97););return oc(e,nc()+(t<6&&32==rc()&&32==tc()))}function uc(e){for(;tc();)switch(Xu){case e:return Ku;case 34:case 39:34!==e&&39!==e&&uc(Xu);break;case 40:41===e&&uc(e);break;case 92:tc()}return Ku}function cc(e,t){for(;tc()&&e+Xu!==57&&(e+Xu!==84||47!==rc()););return"/*"+oc(t,Ku-1)+"*"+Tu(47===e?e:tc())}function dc(e){for(;!ic(rc());)tc();return oc(e,Ku)}function pc(e){return function(e){return Ju="",e}(fc("",null,null,null,[""],e=function(e){return Vu=Uu=1,Yu=Hu(Ju=e),Ku=0,[]}(e),0,[0],e))}function fc(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,E=y;g;)switch(h=v,v=tc()){case 40:if(108!=h&&58==Fu(E,d-1)){-1!=zu(E+=ju(ac(v),"&","&\f"),"&\f",Du(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:E+=ac(v);break;case 9:case 10:case 13:case 32:E+=sc(h);break;case 92:E+=lc(nc()-1,7);continue;case 47:switch(rc()){case 42:case 47:Gu(mc(cc(tc(),nc()),t,r,l),l);break;default:E+="/"}break;case 123*m:s[u++]=Hu(E)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(E=ju(E,/\f/g,"")),f>0&&Hu(E)-d&&Gu(f>32?gc(E+";",n,r,d-1,l):gc(ju(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(Gu(C=hc(E,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)fc(E,t,C,C,x,i,d,s,S);else switch(99===p&&110===Fu(E,3)?100:p){case 100:case 108:case 109:case 115:fc(e,C,C,n&&Gu(hc(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S);break;default:fc(E,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=E="",d=a;break;case 58:d=1+Hu(E),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(Xu=Ku>0?Fu(Ju,--Ku):0,Uu--,10===Xu&&(Uu=1,Vu--),Xu))continue;switch(E+=Tu(v),v*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(Hu(E)-1)*b,b=1;break;case 64:45===rc()&&(E+=ac(tc())),p=rc(),c=d=Hu(y=E+=dc(nc())),v++;break;case 45:45===h&&2==Hu(E)&&(m=0)}}return i}function hc(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=Bu(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=$u(e,p+1,p=Du(g=a[m])),x=e;v<h;++v)(x=qu(g>0?f[v]+" "+y:ju(y,/&\f/g,f[v])))&&(l[b++]=x);return Zu(e,t,r,0===o?Lu:s,l,u,c,d)}function mc(e,t,r,n){return Zu(e,t,r,Iu,Tu(Xu),$u(e,2,-2),0,n)}function gc(e,t,r,n,o){return Zu(e,t,r,Mu,$u(e,0,n),$u(e,n+1,-1),n,o)}function bc(e,t,r){switch(function(e,t){return 45^Fu(e,0)?(((t<<2^Fu(e,0))<<2^Fu(e,1))<<2^Fu(e,2))<<2^Fu(e,3):0}(e,t)){case 5103:return Pu+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Pu+e+e;case 4789:return ku+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Pu+e+ku+e+Au+e+e;case 5936:switch(Fu(e,t+11)){case 114:return Pu+e+Au+ju(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pu+e+Au+ju(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pu+e+Au+ju(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Pu+e+Au+e+e;case 6165:return Pu+e+Au+"flex-"+e+e;case 5187:return Pu+e+ju(e,/(\w+).+(:[^]+)/,Pu+"box-$1$2"+Au+"flex-$1$2")+e;case 5443:return Pu+e+Au+"flex-item-"+ju(e,/flex-|-self/g,"")+(Nu(e,/flex-|baseline/)?"":Au+"grid-row-"+ju(e,/flex-|-self/g,""))+e;case 4675:return Pu+e+Au+"flex-line-pack"+ju(e,/align-content|flex-|-self/g,"")+e;case 5548:return Pu+e+Au+ju(e,"shrink","negative")+e;case 5292:return Pu+e+Au+ju(e,"basis","preferred-size")+e;case 6060:return Pu+"box-"+ju(e,"-grow","")+Pu+e+Au+ju(e,"grow","positive")+e;case 4554:return Pu+ju(e,/([^-])(transform)/g,"$1"+Pu+"$2")+e;case 6187:return ju(ju(ju(e,/(zoom-|grab)/,Pu+"$1"),/(image-set)/,Pu+"$1"),e,"")+e;case 5495:case 3959:return ju(e,/(image-set\([^]*)/,Pu+"$1$`$1");case 4968:return ju(ju(e,/(.+:)(flex-)?(.*)/,Pu+"box-pack:$3"+Au+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Pu+e+e;case 4200:if(!Nu(e,/flex-|baseline/))return Au+"grid-column-align"+$u(e,t)+e;break;case 2592:case 3360:return Au+ju(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,Nu(e.props,/grid-\w+-end/)}))?~zu(e+(r=r[t].value),"span",0)?e:Au+ju(e,"-start","")+e+Au+"grid-row-span:"+(~zu(r,"span",0)?Nu(r,/\d+/):+Nu(r,/\d+/)-+Nu(e,/\d+/))+";":Au+ju(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return Nu(e.props,/grid-\w+-start/)}))?e:Au+ju(ju(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ju(e,/(.+)-inline(.+)/,Pu+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Hu(e)-1-t>6)switch(Fu(e,t+1)){case 109:if(45!==Fu(e,t+4))break;case 102:return ju(e,/(.+:)(.+)-([^]+)/,"$1"+Pu+"$2-$3$1"+ku+(108==Fu(e,t+3)?"$3":"$2-$3"))+e;case 115:return~zu(e,"stretch",0)?bc(ju(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ju(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,n,o,i,a,s){return Au+r+":"+n+s+(o?Au+r+"-span:"+(i?a:+a-+n)+s:"")+e}));case 4949:if(121===Fu(e,t+6))return ju(e,":",":"+Pu)+e;break;case 6444:switch(Fu(e,45===Fu(e,14)?18:11)){case 120:return ju(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Pu+(45===Fu(e,14)?"inline-":"")+"box$3$1"+Pu+"$2$3$1"+Au+"$2box$3")+e;case 100:return ju(e,":",":"+Au)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ju(e,"scroll-","scroll-snap-")+e}return e}function vc(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function yc(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Mu:return e.return=e.return||e.value;case Iu:return"";case _u:return e.return=e.value+"{"+vc(e.children,n)+"}";case Lu:if(!Hu(e.value=e.props.join(",")))return""}return Hu(r=vc(e.children,n))?e.return=e.value+"{"+r+"}":""}function xc(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Mu:return void(e.return=bc(e.value,e.length,r));case _u:return vc([Qu(e,{value:ju(e.value,"@","@"+Pu)})],n);case Lu:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(Nu(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ec(Qu(e,{props:[ju(t,/:(read-\w+)/,":-moz-$1")]})),ec(Qu(e,{props:[t]})),Ou(e,{props:Wu(r,n)});break;case"::placeholder":ec(Qu(e,{props:[ju(t,/:(plac\w+)/,":"+Pu+"input-$1")]})),ec(Qu(e,{props:[ju(t,/:(plac\w+)/,":-moz-$1")]})),ec(Qu(e,{props:[ju(t,/:(plac\w+)/,Au+"input-$1")]})),ec(Qu(e,{props:[t]})),Ou(e,{props:Wu(r,n)})}return""}))}}var Sc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Cc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ec="active",wc="data-styled-version",Rc="6.1.18",Ac="/*!sc*/\n",kc="undefined"!=typeof window&&"undefined"!=typeof document,Pc=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),Ic={},Lc=Object.freeze([]),Mc=Object.freeze({});function _c(e,t,r){return void 0===r&&(r=Mc),e.theme!==r.theme&&e.theme||t||r.theme}var Dc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Tc=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Oc=/(^-|-$)/g;function qc(e){return e.replace(Tc,"-").replace(Oc,"")}var Nc=/(a)(d)/gi,jc=function(e){return String.fromCharCode(e+(e>25?39:97))};function zc(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=jc(t%52)+r;return(jc(t%52)+r).replace(Nc,"$1-$2")}var Fc,$c=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Hc=function(e){return $c(5381,e)};function Bc(e){return zc(Hc(e)>>>0)}function Gc(e){return"string"==typeof e&&!0}var Wc="function"==typeof Symbol&&Symbol.for,Vc=Wc?Symbol.for("react.memo"):60115,Uc=Wc?Symbol.for("react.forward_ref"):60112,Yc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Kc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jc=((Fc={})[Uc]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fc[Vc]=Xc,Fc);function Zc(e){return("type"in(t=e)&&t.type.$$typeof)===Vc?Xc:"$$typeof"in e?Jc[e.$$typeof]:Yc;var t}var Qc=Object.defineProperty,ed=Object.getOwnPropertyNames,td=Object.getOwnPropertySymbols,rd=Object.getOwnPropertyDescriptor,nd=Object.getPrototypeOf,od=Object.prototype;function id(e,t,r){if("string"!=typeof t){if(od){var n=nd(t);n&&n!==od&&id(e,n,r)}var o=ed(t);td&&(o=o.concat(td(t)));for(var i=Zc(e),a=Zc(t),s=0;s<o.length;++s){var l=o[s];if(!(l in Kc||r&&r[l]||a&&l in a||i&&l in i)){var u=rd(t,l);try{Qc(e,l,u)}catch(e){}}}}return e}function ad(e){return"function"==typeof e}function sd(e){return"object"==typeof e&&"styledComponentId"in e}function ld(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ud(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function cd(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function dd(e,t,r){if(void 0===r&&(r=!1),!r&&!cd(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=dd(e[n],t[n]);else if(cd(t))for(var n in t)e[n]=dd(e[n],t[n]);return e}function pd(e,t){Object.defineProperty(e,"toString",{value:t})}function fd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var hd=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw fd(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(Ac);return t},e}(),md=new Map,gd=new Map,bd=1,vd=function(e){if(md.has(e))return md.get(e);for(;gd.has(bd);)bd++;var t=bd++;return md.set(e,t),gd.set(t,e),t},yd=function(e,t){bd=t+1,md.set(e,t),gd.set(t,e)},xd="style[".concat(Cc,"][").concat(wc,'="').concat(Rc,'"]'),Sd=new RegExp("^".concat(Cc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Cd=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Ed=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(Ac),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var l=s.match(Sd);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(yd(c,u),Cd(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},wd=function(e){for(var t=document.querySelectorAll(xd),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(Cc)!==Ec&&(Ed(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var Rd=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Cc,"]")));return t[t.length-1]}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(Cc,Ec),n.setAttribute(wc,Rc);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Ad=function(){function e(e){this.element=Rd(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}throw fd(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),kd=function(){function e(e){this.element=Rd(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Pd=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Id=kc,Ld={isServer:!kc,useCSSOMInjection:!Pc},Md=function(){function e(e,t,r){void 0===e&&(e=Mc),void 0===t&&(t={});var n=this;this.options=Cu(Cu({},Ld),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&kc&&Id&&(Id=!1,wd(this)),pd(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=function(r){var o=function(e){return gd.get(e)}(r);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(r);if(void 0===i||!i.size||0===a.length)return"continue";var s="".concat(Cc,".g").concat(r,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(Ac)},i=0;i<r;i++)o(i);return n}(n)}))}return e.registerId=function(e){return vd(e)},e.prototype.rehydrate=function(){!this.server&&kc&&wd(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Cu(Cu({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new Pd(r):t?new Ad(r):new kd(r)}(this.options),new hd(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(vd(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(vd(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(vd(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_d=/&/g,Dd=/^\s*\/\/.*$/gm;function Td(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Td(e.children,t)),e}))}function Od(e){var t,r,n,o=void 0===e?Mc:e,i=o.options,a=void 0===i?Mc:i,s=o.plugins,l=void 0===s?Lc:s,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},c=l.slice();c.push((function(e){e.type===Lu&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(_d,r).replace(n,u))})),a.prefix&&c.push(xc),c.push(yc);var d=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Dd,""),u=pc(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(u=Td(u,a.namespace));var d,p=[];return vc(u,function(e){var t=Bu(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}(c.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=l.length?l.reduce((function(e,t){return t.name||fd(15),$c(e,t.name)}),5381).toString():"",d}var qd=new Md,Nd=Od(),jd=x.createContext({shouldForwardProp:void 0,styleSheet:qd,stylis:Nd});jd.Consumer;var zd=x.createContext(void 0);function Fd(){return S(jd)}function $d(e){var t=C(e.stylisPlugins),r=t[0],n=t[1],o=Fd().styleSheet,i=E((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),a=E((function(){return Od({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);w((function(){Ru(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var s=E((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a}}),[e.shouldForwardProp,i,a]);return x.createElement(jd.Provider,{value:s},x.createElement(zd.Provider,{value:a},e.children))}var Hd=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Nd);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,pd(this,(function(){throw fd(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Nd),this.name+e.hash},e}(),Bd=function(e){return e>="A"&&e<="Z"};function Gd(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Bd(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Wd=function(e){return null==e||!1===e||""===e},Vd=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Wd(i)&&(Array.isArray(i)&&i.isCss||ad(i)?n.push("".concat(Gd(o),":"),i,";"):cd(i)?n.push.apply(n,Eu(Eu(["".concat(o," {")],Vd(i),!1),["}"],!1)):n.push("".concat(Gd(o),": ").concat((t=o,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in Sc||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ud(e,t,r,n){return Wd(e)?[]:sd(e)?[".".concat(e.styledComponentId)]:ad(e)?!ad(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ud(e(t),t,r,n):e instanceof Hd?r?(e.inject(r,n),[e.getName(n)]):[e]:cd(e)?Vd(e):Array.isArray(e)?Array.prototype.concat.apply(Lc,e.map((function(e){return Ud(e,t,r,n)}))):[e.toString()];var o}function Yd(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ad(r)&&!sd(r))return!1}return!0}var Kd=Hc(Rc),Xd=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Yd(e),this.componentId=t,this.baseHash=$c(Kd,t),this.baseStyle=r,Md.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=ld(n,this.staticRulesId);else{var o=ud(Ud(this.rules,e,t,r)),i=zc($c(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=ld(n,i),this.staticRulesId=i}else{for(var s=$c(this.baseHash,r.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=ud(Ud(c,e,t,r));s=$c(s,d+u),l+=d}}if(l){var p=zc(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(l,".".concat(p),void 0,this.componentId)),n=ld(n,p)}}return n},e}(),Jd=x.createContext(void 0);Jd.Consumer;var Zd={};function Qd(e,t,r){var n=sd(e),o=e,i=!Gc(e),a=t.attrs,s=void 0===a?Lc:a,l=t.componentId,u=void 0===l?function(e,t){var r="string"!=typeof e?"sc":qc(e);Zd[r]=(Zd[r]||0)+1;var n="".concat(r,"-").concat(Bc(Rc+r+Zd[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return Gc(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,p=t.displayName&&t.componentId?"".concat(qc(t.displayName),"-").concat(t.componentId):t.componentId||u,f=n&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(n&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;h=function(e,t){return m(e,t)&&g(e,t)}}else h=m}var b=new Xd(r,p,n?o.componentStyle:void 0);function v(e,t){return function(e,t,r){var n=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=x.useContext(Jd),c=Fd(),d=e.shouldForwardProp||c.shouldForwardProp,p=_c(t,u,i)||Mc,f=function(e,t,r){for(var n,o=Cu(Cu({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var a=ad(n=e[i])?n(o):n;for(var s in a)o[s]="className"===s?ld(o[s],a[s]):"style"===s?Cu(Cu({},o[s]),a[s]):a[s]}return t.className&&(o.className=ld(o.className,t.className)),o}(n,t,p),h=f.as||l,m={};for(var g in f)void 0===f[g]||"$"===g[0]||"as"===g||"theme"===g&&f.theme===p||("forwardedAs"===g?m.as=f.forwardedAs:d&&!d(g,h)||(m[g]=f[g]));var b=function(e,t){var r=Fd();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(o,f),v=ld(a,s);return b&&(v+=" "+b),f.className&&(v+=" "+f.className),m[Gc(h)&&!Dc.has(h)?"class":"className"]=v,r&&(m.ref=r),R(h,m)}(y,e,t)}v.displayName=d;var y=x.forwardRef(v);return y.attrs=f,y.componentStyle=b,y.displayName=d,y.shouldForwardProp=h,y.foldedComponentIds=n?ld(o.foldedComponentIds,o.styledComponentId):"",y.styledComponentId=p,y.target=n?o.target:e,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)dd(e,o[n],!0);return e}({},o.defaultProps,e):e}}),pd(y,(function(){return".".concat(y.styledComponentId)})),i&&id(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function ep(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var tp=function(e){return Object.assign(e,{isCss:!0})};function rp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ad(e)||cd(e))return tp(Ud(ep(Lc,Eu([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?Ud(n):tp(Ud(ep(n,t)))}function np(e,t,r){if(void 0===r&&(r=Mc),!t)throw fd(1,t);var n=function(n){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,r,rp.apply(void 0,Eu([n],o,!1)))};return n.attrs=function(n){return np(e,t,Cu(Cu({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return np(e,t,Cu(Cu({},r),n))},n}var op=function(e){return np(Qd,e)},ip=op;Dc.forEach((function(e){ip[e]=op(e)}));var ap=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Yd(e),Md.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(ud(Ud(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&Md.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function sp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=ud(rp.apply(void 0,Eu([e],t,!1))),o=Bc(n);return new Hd(o,n)}function lp(e){const{injectFirst:t,children:r}=e;if(t&&"undefined"!=typeof window){const e=document.head;if(!e.querySelector('[data-styled="active"]')){const t=document.createElement("style");t.setAttribute("data-styled","active"),e.insertBefore(t,e.firstChild)}}return r}lp.propTypes={children:Pt.node,injectFirst:Pt.bool};const up=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=rp.apply(void 0,Eu([e],t,!1)),o="sc-global-".concat(Bc(JSON.stringify(n))),i=new ap(n,o),a=function(e){var t=Fd(),r=x.useContext(Jd),n=x.useRef(t.styleSheet.allocateGSInstance(o)).current;return t.styleSheet.server&&s(n,e,t.styleSheet,r,t.stylis),x.useLayoutEffect((function(){if(!t.styleSheet.server)return s(n,e,t.styleSheet,r,t.stylis),function(){return i.removeStyles(n,t.styleSheet)}}),[n,e,t.styleSheet,r,t.stylis]),null};function s(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,Ic,r,o);else{var s=Cu(Cu({},t),{theme:_c(t,n,a.defaultProps)});i.renderStyles(e,s,r,o)}}return x.memo(a)}((e=>{const{styles:t,defaultTheme:r={}}=e;return"function"==typeof t?t(null==(n=e.theme)||0===Object.keys(n).length?r:e.theme):t;var n}));
21
+ */const nl={GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF"},ol={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",...nl,GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},il=12,al=14,sl=16,ll=24,ul=3,cl=300,dl=400,pl=600,fl=700,hl={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};vr(ol.GREYSCALE_0,.05),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5);vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5),vr(ol.GREEN_PALE,.5),vr(ol.BLUE_PALE,.5);var ml={exports:{}},gl={},bl=x,vl=Symbol.for("react.element"),yl=Symbol.for("react.fragment"),xl=Object.prototype.hasOwnProperty,Sl=bl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Cl={key:!0,ref:!0,__self:!0,__source:!0};function El(e,t,r){var n,o={},i=null,a=null;for(n in void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)xl.call(t,n)&&!Cl.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:vl,type:e,key:i,ref:a,props:o,_owner:Sl.current}}gl.Fragment=yl,gl.jsx=El,gl.jsxs=El,ml.exports=gl;var wl,Rl=ml.exports;function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Al.apply(null,arguments)}var kl,Pl=function(e){return y.createElement("svg",Al({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),wl||(wl=y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ll.apply(null,arguments)}var Il=function(e){return y.createElement("svg",Ll({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),kl||(kl=y.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function Ml({fontSize:e="medium",children:t=null,className:r=""}={}){const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Rl.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})}function _l(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Rl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Rl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Dl(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Rl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Rl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Tl(e={}){return Rl.jsx(Ml,{fontSize:"medium",...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Rl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Ol(e={}){return Rl.jsx(Ml,{fontSize:"medium",...e,children:Rl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Rl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Rl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function ql({className:e}){return Rl.jsx(Ml,{fontSize:"small",className:e,children:Rl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Rl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Rl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Rl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}Rl.jsx(Il,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Rl.jsx(Pl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Rl.jsx(Tl,{}),Rl.jsx(Ol,{}),Rl.jsx((function(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Rl.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),Rl.jsx(_l,{}),Rl.jsx(Dl,{}),Rl.jsx(Pl,{style:{color:ol.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Nl={black:"#000",white:"#fff"},jl="#e57373",zl="#ef5350",Fl="#f44336",$l="#d32f2f",Hl="#c62828",Bl="#f3e5f5",Gl="#ce93d8",Wl="#ba68c8",Vl="#ab47bc",Ul="#9c27b0",Yl="#7b1fa2",Kl="#e3f2fd",Xl="#90caf9",Jl="#42a5f5",Zl="#1976d2",Ql="#1565c0",eu="#4fc3f7",tu="#29b6f6",ru="#03a9f4",nu="#0288d1",ou="#01579b",iu="#81c784",au="#66bb6a",su="#4caf50",lu="#388e3c",uu="#2e7d32",cu="#1b5e20",du="#ffb74d",pu="#ffa726",fu="#ff9800",hu="#f57c00",mu="#e65100",gu={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function bu(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var vu=Object.freeze({__proto__:null,default:bu}),yu="$$material";function xu(){return xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xu.apply(this,arguments)}function Su(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var Cu=function(){return Cu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Cu.apply(this,arguments)};function Eu(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var wu=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=r?r.call(n,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0},Ru=Et(wu),Au="-ms-",ku="-moz-",Pu="-webkit-",Lu="comm",Iu="rule",Mu="decl",_u="@keyframes",Du=Math.abs,Tu=String.fromCharCode,Ou=Object.assign;function qu(e){return e.trim()}function Nu(e,t){return(e=t.exec(e))?e[0]:e}function ju(e,t,r){return e.replace(t,r)}function zu(e,t,r){return e.indexOf(t,r)}function Fu(e,t){return 0|e.charCodeAt(t)}function $u(e,t,r){return e.slice(t,r)}function Hu(e){return e.length}function Bu(e){return e.length}function Gu(e,t){return t.push(e),e}function Wu(e,t){return e.filter((function(e){return!Nu(e,t)}))}var Vu=1,Uu=1,Yu=0,Ku=0,Xu=0,Ju="";function Zu(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Vu,column:Uu,length:a,return:"",siblings:s}}function Qu(e,t){return Ou(Zu("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ec(e){for(;e.root;)e=Qu(e.root,{children:[e]});Gu(e,e.siblings)}function tc(){return Xu=Ku<Yu?Fu(Ju,Ku++):0,Uu++,10===Xu&&(Uu=1,Vu++),Xu}function rc(){return Fu(Ju,Ku)}function nc(){return Ku}function oc(e,t){return $u(Ju,e,t)}function ic(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ac(e){return qu(oc(Ku-1,uc(91===e?e+2:40===e?e+1:e)))}function sc(e){for(;(Xu=rc())&&Xu<33;)tc();return ic(e)>2||ic(Xu)>3?"":" "}function lc(e,t){for(;--t&&tc()&&!(Xu<48||Xu>102||Xu>57&&Xu<65||Xu>70&&Xu<97););return oc(e,nc()+(t<6&&32==rc()&&32==tc()))}function uc(e){for(;tc();)switch(Xu){case e:return Ku;case 34:case 39:34!==e&&39!==e&&uc(Xu);break;case 40:41===e&&uc(e);break;case 92:tc()}return Ku}function cc(e,t){for(;tc()&&e+Xu!==57&&(e+Xu!==84||47!==rc()););return"/*"+oc(t,Ku-1)+"*"+Tu(47===e?e:tc())}function dc(e){for(;!ic(rc());)tc();return oc(e,Ku)}function pc(e){return function(e){return Ju="",e}(fc("",null,null,null,[""],e=function(e){return Vu=Uu=1,Yu=Hu(Ju=e),Ku=0,[]}(e),0,[0],e))}function fc(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,E=y;g;)switch(h=v,v=tc()){case 40:if(108!=h&&58==Fu(E,d-1)){-1!=zu(E+=ju(ac(v),"&","&\f"),"&\f",Du(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:E+=ac(v);break;case 9:case 10:case 13:case 32:E+=sc(h);break;case 92:E+=lc(nc()-1,7);continue;case 47:switch(rc()){case 42:case 47:Gu(mc(cc(tc(),nc()),t,r,l),l);break;default:E+="/"}break;case 123*m:s[u++]=Hu(E)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(E=ju(E,/\f/g,"")),f>0&&Hu(E)-d&&Gu(f>32?gc(E+";",n,r,d-1,l):gc(ju(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(Gu(C=hc(E,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)fc(E,t,C,C,x,i,d,s,S);else switch(99===p&&110===Fu(E,3)?100:p){case 100:case 108:case 109:case 115:fc(e,C,C,n&&Gu(hc(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S);break;default:fc(E,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=E="",d=a;break;case 58:d=1+Hu(E),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(Xu=Ku>0?Fu(Ju,--Ku):0,Uu--,10===Xu&&(Uu=1,Vu--),Xu))continue;switch(E+=Tu(v),v*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(Hu(E)-1)*b,b=1;break;case 64:45===rc()&&(E+=ac(tc())),p=rc(),c=d=Hu(y=E+=dc(nc())),v++;break;case 45:45===h&&2==Hu(E)&&(m=0)}}return i}function hc(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=Bu(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=$u(e,p+1,p=Du(g=a[m])),x=e;v<h;++v)(x=qu(g>0?f[v]+" "+y:ju(y,/&\f/g,f[v])))&&(l[b++]=x);return Zu(e,t,r,0===o?Iu:s,l,u,c,d)}function mc(e,t,r,n){return Zu(e,t,r,Lu,Tu(Xu),$u(e,2,-2),0,n)}function gc(e,t,r,n,o){return Zu(e,t,r,Mu,$u(e,0,n),$u(e,n+1,-1),n,o)}function bc(e,t,r){switch(function(e,t){return 45^Fu(e,0)?(((t<<2^Fu(e,0))<<2^Fu(e,1))<<2^Fu(e,2))<<2^Fu(e,3):0}(e,t)){case 5103:return Pu+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Pu+e+e;case 4789:return ku+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Pu+e+ku+e+Au+e+e;case 5936:switch(Fu(e,t+11)){case 114:return Pu+e+Au+ju(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pu+e+Au+ju(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pu+e+Au+ju(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Pu+e+Au+e+e;case 6165:return Pu+e+Au+"flex-"+e+e;case 5187:return Pu+e+ju(e,/(\w+).+(:[^]+)/,Pu+"box-$1$2"+Au+"flex-$1$2")+e;case 5443:return Pu+e+Au+"flex-item-"+ju(e,/flex-|-self/g,"")+(Nu(e,/flex-|baseline/)?"":Au+"grid-row-"+ju(e,/flex-|-self/g,""))+e;case 4675:return Pu+e+Au+"flex-line-pack"+ju(e,/align-content|flex-|-self/g,"")+e;case 5548:return Pu+e+Au+ju(e,"shrink","negative")+e;case 5292:return Pu+e+Au+ju(e,"basis","preferred-size")+e;case 6060:return Pu+"box-"+ju(e,"-grow","")+Pu+e+Au+ju(e,"grow","positive")+e;case 4554:return Pu+ju(e,/([^-])(transform)/g,"$1"+Pu+"$2")+e;case 6187:return ju(ju(ju(e,/(zoom-|grab)/,Pu+"$1"),/(image-set)/,Pu+"$1"),e,"")+e;case 5495:case 3959:return ju(e,/(image-set\([^]*)/,Pu+"$1$`$1");case 4968:return ju(ju(e,/(.+:)(flex-)?(.*)/,Pu+"box-pack:$3"+Au+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Pu+e+e;case 4200:if(!Nu(e,/flex-|baseline/))return Au+"grid-column-align"+$u(e,t)+e;break;case 2592:case 3360:return Au+ju(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,Nu(e.props,/grid-\w+-end/)}))?~zu(e+(r=r[t].value),"span",0)?e:Au+ju(e,"-start","")+e+Au+"grid-row-span:"+(~zu(r,"span",0)?Nu(r,/\d+/):+Nu(r,/\d+/)-+Nu(e,/\d+/))+";":Au+ju(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return Nu(e.props,/grid-\w+-start/)}))?e:Au+ju(ju(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ju(e,/(.+)-inline(.+)/,Pu+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Hu(e)-1-t>6)switch(Fu(e,t+1)){case 109:if(45!==Fu(e,t+4))break;case 102:return ju(e,/(.+:)(.+)-([^]+)/,"$1"+Pu+"$2-$3$1"+ku+(108==Fu(e,t+3)?"$3":"$2-$3"))+e;case 115:return~zu(e,"stretch",0)?bc(ju(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ju(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,n,o,i,a,s){return Au+r+":"+n+s+(o?Au+r+"-span:"+(i?a:+a-+n)+s:"")+e}));case 4949:if(121===Fu(e,t+6))return ju(e,":",":"+Pu)+e;break;case 6444:switch(Fu(e,45===Fu(e,14)?18:11)){case 120:return ju(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Pu+(45===Fu(e,14)?"inline-":"")+"box$3$1"+Pu+"$2$3$1"+Au+"$2box$3")+e;case 100:return ju(e,":",":"+Au)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ju(e,"scroll-","scroll-snap-")+e}return e}function vc(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function yc(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Mu:return e.return=e.return||e.value;case Lu:return"";case _u:return e.return=e.value+"{"+vc(e.children,n)+"}";case Iu:if(!Hu(e.value=e.props.join(",")))return""}return Hu(r=vc(e.children,n))?e.return=e.value+"{"+r+"}":""}function xc(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Mu:return void(e.return=bc(e.value,e.length,r));case _u:return vc([Qu(e,{value:ju(e.value,"@","@"+Pu)})],n);case Iu:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(Nu(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ec(Qu(e,{props:[ju(t,/:(read-\w+)/,":-moz-$1")]})),ec(Qu(e,{props:[t]})),Ou(e,{props:Wu(r,n)});break;case"::placeholder":ec(Qu(e,{props:[ju(t,/:(plac\w+)/,":"+Pu+"input-$1")]})),ec(Qu(e,{props:[ju(t,/:(plac\w+)/,":-moz-$1")]})),ec(Qu(e,{props:[ju(t,/:(plac\w+)/,Au+"input-$1")]})),ec(Qu(e,{props:[t]})),Ou(e,{props:Wu(r,n)})}return""}))}}var Sc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Cc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ec="active",wc="data-styled-version",Rc="6.1.18",Ac="/*!sc*/\n",kc="undefined"!=typeof window&&"undefined"!=typeof document,Pc=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),Lc={},Ic=Object.freeze([]),Mc=Object.freeze({});function _c(e,t,r){return void 0===r&&(r=Mc),e.theme!==r.theme&&e.theme||t||r.theme}var Dc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Tc=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Oc=/(^-|-$)/g;function qc(e){return e.replace(Tc,"-").replace(Oc,"")}var Nc=/(a)(d)/gi,jc=function(e){return String.fromCharCode(e+(e>25?39:97))};function zc(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=jc(t%52)+r;return(jc(t%52)+r).replace(Nc,"$1-$2")}var Fc,$c=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Hc=function(e){return $c(5381,e)};function Bc(e){return zc(Hc(e)>>>0)}function Gc(e){return"string"==typeof e&&!0}var Wc="function"==typeof Symbol&&Symbol.for,Vc=Wc?Symbol.for("react.memo"):60115,Uc=Wc?Symbol.for("react.forward_ref"):60112,Yc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Kc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jc=((Fc={})[Uc]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fc[Vc]=Xc,Fc);function Zc(e){return("type"in(t=e)&&t.type.$$typeof)===Vc?Xc:"$$typeof"in e?Jc[e.$$typeof]:Yc;var t}var Qc=Object.defineProperty,ed=Object.getOwnPropertyNames,td=Object.getOwnPropertySymbols,rd=Object.getOwnPropertyDescriptor,nd=Object.getPrototypeOf,od=Object.prototype;function id(e,t,r){if("string"!=typeof t){if(od){var n=nd(t);n&&n!==od&&id(e,n,r)}var o=ed(t);td&&(o=o.concat(td(t)));for(var i=Zc(e),a=Zc(t),s=0;s<o.length;++s){var l=o[s];if(!(l in Kc||r&&r[l]||a&&l in a||i&&l in i)){var u=rd(t,l);try{Qc(e,l,u)}catch(e){}}}}return e}function ad(e){return"function"==typeof e}function sd(e){return"object"==typeof e&&"styledComponentId"in e}function ld(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ud(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function cd(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function dd(e,t,r){if(void 0===r&&(r=!1),!r&&!cd(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=dd(e[n],t[n]);else if(cd(t))for(var n in t)e[n]=dd(e[n],t[n]);return e}function pd(e,t){Object.defineProperty(e,"toString",{value:t})}function fd(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var hd=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw fd(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(Ac);return t},e}(),md=new Map,gd=new Map,bd=1,vd=function(e){if(md.has(e))return md.get(e);for(;gd.has(bd);)bd++;var t=bd++;return md.set(e,t),gd.set(t,e),t},yd=function(e,t){bd=t+1,md.set(e,t),gd.set(t,e)},xd="style[".concat(Cc,"][").concat(wc,'="').concat(Rc,'"]'),Sd=new RegExp("^".concat(Cc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Cd=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},Ed=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(Ac),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var l=s.match(Sd);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(yd(c,u),Cd(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},wd=function(e){for(var t=document.querySelectorAll(xd),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(Cc)!==Ec&&(Ed(e,o),o.parentNode&&o.parentNode.removeChild(o))}};var Rd=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Cc,"]")));return t[t.length-1]}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(Cc,Ec),n.setAttribute(wc,Rc);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},Ad=function(){function e(e){this.element=Rd(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}throw fd(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),kd=function(){function e(e){this.element=Rd(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Pd=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Ld=kc,Id={isServer:!kc,useCSSOMInjection:!Pc},Md=function(){function e(e,t,r){void 0===e&&(e=Mc),void 0===t&&(t={});var n=this;this.options=Cu(Cu({},Id),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&kc&&Ld&&(Ld=!1,wd(this)),pd(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=function(r){var o=function(e){return gd.get(e)}(r);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(r);if(void 0===i||!i.size||0===a.length)return"continue";var s="".concat(Cc,".g").concat(r,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(Ac)},i=0;i<r;i++)o(i);return n}(n)}))}return e.registerId=function(e){return vd(e)},e.prototype.rehydrate=function(){!this.server&&kc&&wd(this)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(Cu(Cu({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new Pd(r):t?new Ad(r):new kd(r)}(this.options),new hd(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(vd(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(vd(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(vd(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_d=/&/g,Dd=/^\s*\/\/.*$/gm;function Td(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Td(e.children,t)),e}))}function Od(e){var t,r,n,o=void 0===e?Mc:e,i=o.options,a=void 0===i?Mc:i,s=o.plugins,l=void 0===s?Ic:s,u=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},c=l.slice();c.push((function(e){e.type===Iu&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(_d,r).replace(n,u))})),a.prefix&&c.push(xc),c.push(yc);var d=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Dd,""),u=pc(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(u=Td(u,a.namespace));var d,p=[];return vc(u,function(e){var t=Bu(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}(c.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=l.length?l.reduce((function(e,t){return t.name||fd(15),$c(e,t.name)}),5381).toString():"",d}var qd=new Md,Nd=Od(),jd=x.createContext({shouldForwardProp:void 0,styleSheet:qd,stylis:Nd});jd.Consumer;var zd=x.createContext(void 0);function Fd(){return S(jd)}function $d(e){var t=C(e.stylisPlugins),r=t[0],n=t[1],o=Fd().styleSheet,i=E((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),a=E((function(){return Od({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);w((function(){Ru(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var s=E((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a}}),[e.shouldForwardProp,i,a]);return x.createElement(jd.Provider,{value:s},x.createElement(zd.Provider,{value:a},e.children))}var Hd=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Nd);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,pd(this,(function(){throw fd(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Nd),this.name+e.hash},e}(),Bd=function(e){return e>="A"&&e<="Z"};function Gd(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Bd(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Wd=function(e){return null==e||!1===e||""===e},Vd=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Wd(i)&&(Array.isArray(i)&&i.isCss||ad(i)?n.push("".concat(Gd(o),":"),i,";"):cd(i)?n.push.apply(n,Eu(Eu(["".concat(o," {")],Vd(i),!1),["}"],!1)):n.push("".concat(Gd(o),": ").concat((t=o,null==(r=i)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in Sc||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ud(e,t,r,n){return Wd(e)?[]:sd(e)?[".".concat(e.styledComponentId)]:ad(e)?!ad(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ud(e(t),t,r,n):e instanceof Hd?r?(e.inject(r,n),[e.getName(n)]):[e]:cd(e)?Vd(e):Array.isArray(e)?Array.prototype.concat.apply(Ic,e.map((function(e){return Ud(e,t,r,n)}))):[e.toString()];var o}function Yd(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ad(r)&&!sd(r))return!1}return!0}var Kd=Hc(Rc),Xd=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Yd(e),this.componentId=t,this.baseHash=$c(Kd,t),this.baseStyle=r,Md.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=ld(n,this.staticRulesId);else{var o=ud(Ud(this.rules,e,t,r)),i=zc($c(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=ld(n,i),this.staticRulesId=i}else{for(var s=$c(this.baseHash,r.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c;else if(c){var d=ud(Ud(c,e,t,r));s=$c(s,d+u),l+=d}}if(l){var p=zc(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,r(l,".".concat(p),void 0,this.componentId)),n=ld(n,p)}}return n},e}(),Jd=x.createContext(void 0);Jd.Consumer;var Zd={};function Qd(e,t,r){var n=sd(e),o=e,i=!Gc(e),a=t.attrs,s=void 0===a?Ic:a,l=t.componentId,u=void 0===l?function(e,t){var r="string"!=typeof e?"sc":qc(e);Zd[r]=(Zd[r]||0)+1;var n="".concat(r,"-").concat(Bc(Rc+r+Zd[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?function(e){return Gc(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):c,p=t.displayName&&t.componentId?"".concat(qc(t.displayName),"-").concat(t.componentId):t.componentId||u,f=n&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(n&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;h=function(e,t){return m(e,t)&&g(e,t)}}else h=m}var b=new Xd(r,p,n?o.componentStyle:void 0);function v(e,t){return function(e,t,r){var n=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=x.useContext(Jd),c=Fd(),d=e.shouldForwardProp||c.shouldForwardProp,p=_c(t,u,i)||Mc,f=function(e,t,r){for(var n,o=Cu(Cu({},t),{className:void 0,theme:r}),i=0;i<e.length;i+=1){var a=ad(n=e[i])?n(o):n;for(var s in a)o[s]="className"===s?ld(o[s],a[s]):"style"===s?Cu(Cu({},o[s]),a[s]):a[s]}return t.className&&(o.className=ld(o.className,t.className)),o}(n,t,p),h=f.as||l,m={};for(var g in f)void 0===f[g]||"$"===g[0]||"as"===g||"theme"===g&&f.theme===p||("forwardedAs"===g?m.as=f.forwardedAs:d&&!d(g,h)||(m[g]=f[g]));var b=function(e,t){var r=Fd();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(o,f),v=ld(a,s);return b&&(v+=" "+b),f.className&&(v+=" "+f.className),m[Gc(h)&&!Dc.has(h)?"class":"className"]=v,r&&(m.ref=r),R(h,m)}(y,e,t)}v.displayName=d;var y=x.forwardRef(v);return y.attrs=f,y.componentStyle=b,y.displayName=d,y.shouldForwardProp=h,y.foldedComponentIds=n?ld(o.foldedComponentIds,o.styledComponentId):"",y.styledComponentId=p,y.target=n?o.target:e,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)dd(e,o[n],!0);return e}({},o.defaultProps,e):e}}),pd(y,(function(){return".".concat(y.styledComponentId)})),i&&id(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function ep(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var tp=function(e){return Object.assign(e,{isCss:!0})};function rp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ad(e)||cd(e))return tp(Ud(ep(Ic,Eu([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?Ud(n):tp(Ud(ep(n,t)))}function np(e,t,r){if(void 0===r&&(r=Mc),!t)throw fd(1,t);var n=function(n){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,r,rp.apply(void 0,Eu([n],o,!1)))};return n.attrs=function(n){return np(e,t,Cu(Cu({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return np(e,t,Cu(Cu({},r),n))},n}var op=function(e){return np(Qd,e)},ip=op;Dc.forEach((function(e){ip[e]=op(e)}));var ap=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Yd(e),Md.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(ud(Ud(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&Md.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function sp(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=ud(rp.apply(void 0,Eu([e],t,!1))),o=Bc(n);return new Hd(o,n)}function lp(e){const{injectFirst:t,children:r}=e;if(t&&"undefined"!=typeof window){const e=document.head;if(!e.querySelector('[data-styled="active"]')){const t=document.createElement("style");t.setAttribute("data-styled","active"),e.insertBefore(t,e.firstChild)}}return r}lp.propTypes={children:Pt.node,injectFirst:Pt.bool};const up=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=rp.apply(void 0,Eu([e],t,!1)),o="sc-global-".concat(Bc(JSON.stringify(n))),i=new ap(n,o),a=function(e){var t=Fd(),r=x.useContext(Jd),n=x.useRef(t.styleSheet.allocateGSInstance(o)).current;return t.styleSheet.server&&s(n,e,t.styleSheet,r,t.stylis),x.useLayoutEffect((function(){if(!t.styleSheet.server)return s(n,e,t.styleSheet,r,t.stylis),function(){return i.removeStyles(n,t.styleSheet)}}),[n,e,t.styleSheet,r,t.stylis]),null};function s(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,Lc,r,o);else{var s=Cu(Cu({},t),{theme:_c(t,n,a.defaultProps)});i.renderStyles(e,s,r,o)}}return x.memo(a)}((e=>{const{styles:t,defaultTheme:r={}}=e;return"function"==typeof t?t(null==(n=e.theme)||0===Object.keys(n).length?r:e.theme):t;var n}));
22
22
  /**
23
23
  * @mui/styled-engine-sc v6.4.2
24
24
  *
@@ -26,7 +26,7 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
26
26
  * This source code is licensed under the MIT license found in the
27
27
  * LICENSE file in the root directory of this source tree.
28
28
  */
29
- function cp(e,t){let r;return r=t?ip(e).withConfig({displayName:t.label,shouldForwardProp:t.shouldForwardProp}):ip(e),r}function dp(e,t){e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))}function pp(e){return e}up.propTypes={defaultTheme:Pt.object,styles:Pt.oneOfType([Pt.array,Pt.string,Pt.object,Pt.func])};var fp=Object.freeze({__proto__:null,GlobalStyles:up,StyledEngineProvider:lp,ThemeContext:Jd,css:rp,default:cp,internal_mutateStyles:dp,internal_processStyles:function(e,t){return dp(e,t)},internal_serializeStyles:pp,keyframes:sp});function hp(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function mp(e){if(y.isValidElement(e)||!hp(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=mp(e[r])})),t}function gp(e,t,r={clone:!0}){const n=r.clone?yt({},e):e;return hp(e)&&hp(t)&&Object.keys(t).forEach((o=>{y.isValidElement(t[o])?n[o]=t[o]:hp(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&hp(e[o])?n[o]=gp(e[o],t[o],r):r.clone?n[o]=hp(t[o])?mp(t[o]):t[o]:n[o]=t[o]})),n}var bp=Object.freeze({__proto__:null,default:gp,isPlainObject:hp});const vp=["values","unit","step"];function yp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=yr(e,vp),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>yt({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return yt({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const xp={borderRadius:4};function Sp(e,t){return t?gp(e,t,{clone:!1}):e}const Cp={xs:0,sm:600,md:900,lg:1200,xl:1536},Ep={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Cp[e]}px)`};function wp(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Ep;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Ep;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Cp).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Rp(e){if("string"!=typeof e)throw new Error(bu(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Ap=Object.freeze({__proto__:null,default:Rp});function kp(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Pp(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:kp(e,r)||n,t&&(o=t(o,n,e)),o}function Ip(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=kp(e.theme,n)||{};return wp(e,i,(e=>{let n=Pp(a,o,e);return e===n&&"string"==typeof e&&(n=Pp(a,o,`${t}${"default"===e?"":Rp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const Lp={m:"margin",p:"padding"},Mp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_p={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dp=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!_p[e])return[e];e=_p[e]}const[t,r]=e.split(""),n=Lp[t],o=Mp[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),Tp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Op=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function qp(e,t,r,n){var o;const i=null!=(o=kp(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Np(e){return qp(e,"spacing",8)}function jp(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function zp(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=jp(t,r),e)),{})}(Dp(r),n);return wp(e,e[r],o)}function Fp(e,t){const r=Np(e.theme);return Object.keys(e).map((n=>zp(e,t,n,r))).reduce(Sp,{})}function $p(e){return Fp(e,Tp)}function Hp(e){return Fp(e,Op)}function Bp(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Sp(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function Gp(e){return"number"!=typeof e?e:`${e}px solid`}function Wp(e,t){return Ip({prop:e,themeKey:"borders",transform:t})}$p.propTypes={},$p.filterProps=Tp,Hp.propTypes={},Hp.filterProps=Op;const Vp=Wp("border",Gp),Up=Wp("borderTop",Gp),Yp=Wp("borderRight",Gp),Kp=Wp("borderBottom",Gp),Xp=Wp("borderLeft",Gp),Jp=Wp("borderColor"),Zp=Wp("borderTopColor"),Qp=Wp("borderRightColor"),ef=Wp("borderBottomColor"),tf=Wp("borderLeftColor"),rf=Wp("outline",Gp),nf=Wp("outlineColor"),of=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=qp(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:jp(t,e)});return wp(e,e.borderRadius,r)}return null};of.propTypes={},of.filterProps=["borderRadius"],Bp(Vp,Up,Yp,Kp,Xp,Jp,Zp,Qp,ef,tf,of,rf,nf);const af=e=>{if(void 0!==e.gap&&null!==e.gap){const t=qp(e.theme,"spacing",8),r=e=>({gap:jp(t,e)});return wp(e,e.gap,r)}return null};af.propTypes={},af.filterProps=["gap"];const sf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=qp(e.theme,"spacing",8),r=e=>({columnGap:jp(t,e)});return wp(e,e.columnGap,r)}return null};sf.propTypes={},sf.filterProps=["columnGap"];const lf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=qp(e.theme,"spacing",8),r=e=>({rowGap:jp(t,e)});return wp(e,e.rowGap,r)}return null};lf.propTypes={},lf.filterProps=["rowGap"];function uf(e,t){return"grey"===t?t:e}Bp(af,sf,lf,Ip({prop:"gridColumn"}),Ip({prop:"gridRow"}),Ip({prop:"gridAutoFlow"}),Ip({prop:"gridAutoColumns"}),Ip({prop:"gridAutoRows"}),Ip({prop:"gridTemplateColumns"}),Ip({prop:"gridTemplateRows"}),Ip({prop:"gridTemplateAreas"}),Ip({prop:"gridArea"}));function cf(e){return e<=1&&0!==e?100*e+"%":e}Bp(Ip({prop:"color",themeKey:"palette",transform:uf}),Ip({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:uf}),Ip({prop:"backgroundColor",themeKey:"palette",transform:uf}));const df=Ip({prop:"width",transform:cf}),pf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Cp[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:cf(t)}};return wp(e,e.maxWidth,t)}return null};pf.filterProps=["maxWidth"];const ff=Ip({prop:"minWidth",transform:cf}),hf=Ip({prop:"height",transform:cf}),mf=Ip({prop:"maxHeight",transform:cf}),gf=Ip({prop:"minHeight",transform:cf});Ip({prop:"size",cssProperty:"width",transform:cf}),Ip({prop:"size",cssProperty:"height",transform:cf});Bp(df,pf,ff,hf,mf,gf,Ip({prop:"boxSizing"}));const bf={border:{themeKey:"borders",transform:Gp},borderTop:{themeKey:"borders",transform:Gp},borderRight:{themeKey:"borders",transform:Gp},borderBottom:{themeKey:"borders",transform:Gp},borderLeft:{themeKey:"borders",transform:Gp},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Gp},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:of},color:{themeKey:"palette",transform:uf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:uf},backgroundColor:{themeKey:"palette",transform:uf},p:{style:Hp},pt:{style:Hp},pr:{style:Hp},pb:{style:Hp},pl:{style:Hp},px:{style:Hp},py:{style:Hp},padding:{style:Hp},paddingTop:{style:Hp},paddingRight:{style:Hp},paddingBottom:{style:Hp},paddingLeft:{style:Hp},paddingX:{style:Hp},paddingY:{style:Hp},paddingInline:{style:Hp},paddingInlineStart:{style:Hp},paddingInlineEnd:{style:Hp},paddingBlock:{style:Hp},paddingBlockStart:{style:Hp},paddingBlockEnd:{style:Hp},m:{style:$p},mt:{style:$p},mr:{style:$p},mb:{style:$p},ml:{style:$p},mx:{style:$p},my:{style:$p},margin:{style:$p},marginTop:{style:$p},marginRight:{style:$p},marginBottom:{style:$p},marginLeft:{style:$p},marginX:{style:$p},marginY:{style:$p},marginInline:{style:$p},marginInlineStart:{style:$p},marginInlineEnd:{style:$p},marginBlock:{style:$p},marginBlockStart:{style:$p},marginBlockEnd:{style:$p},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:af},rowGap:{style:lf},columnGap:{style:sf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:cf},maxWidth:{style:pf},minWidth:{transform:cf},height:{transform:cf},maxHeight:{transform:cf},minHeight:{transform:cf},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function vf(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=kp(r,s)||{};if(u)return u(o);return wp(o,t,(t=>{let r=Pp(c,l,t);return t===r&&"string"==typeof t&&(r=Pp(c,l,`${e}${"default"===t?"":Rp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:bf;function s(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],u=i,"function"==typeof s?s(u):s);var s,u;if(null!=o)if("object"==typeof o)if(a[r])l=Sp(l,e(r,o,i,a));else{const e=wp({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?l=Sp(l,e):l[r]=t({sx:o,theme:i})}else l=Sp(l,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const yf=vf();function xf(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}yf.filterProps=["sx"];const Sf=["breakpoints","palette","spacing","shape"];function Cf(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=yr(e,Sf),s=yp(r),l=function(e=8){if(e.mui)return e;const t=Np({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(o);let u=gp({breakpoints:s,direction:"ltr",components:{},palette:yt({mode:"light"},n),spacing:l,shape:yt({},xp,i)},a);return u.applyStyles=xf,u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=yt({},bf,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return yf({sx:e,theme:this})},u}var Ef=Object.freeze({__proto__:null,default:Cf,private_createBreakpoints:yp,unstable_applyStyles:xf});function wf(e=null){const t=y.useContext(Jd);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const Rf=Cf();function Af(e=Rf){return wf(e)}function kf({styles:e,themeId:t,defaultTheme:r={}}){const n=Af(r),o="function"==typeof e?e(t&&n[t]||n):e;return Rl.jsx(up,{styles:o})}const Pf=["sx"];function If(e){const{sx:t}=e,r=yr(e,Pf),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:bf;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return hp(r)?yt({},n,r):n}:yt({},n,t),yt({},o,{sx:i})}var Lf=Object.freeze({__proto__:null,default:yf,extendSxProp:If,unstable_createStyleFunctionSx:vf,unstable_defaultSxConfig:bf});const Mf=e=>e,_f=(()=>{let e=Mf;return{configure(t){e=t},generate:t=>e(t),reset(){e=Mf}}})();function Df(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Df(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Tf(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Df(e))&&(n&&(n+=" "),n+=t);return n}const Of=["className","component"];const qf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Nf(e,t,r="Mui"){const n=qf[t];return n?`${r}-${n}`:`${_f.generate(e)}-${t}`}function jf(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Nf(e,t,r)})),n}var zf={exports:{}},Ff={},$f=Symbol.for("react.transitional.element"),Hf=Symbol.for("react.portal"),Bf=Symbol.for("react.fragment"),Gf=Symbol.for("react.strict_mode"),Wf=Symbol.for("react.profiler"),Vf=Symbol.for("react.consumer"),Uf=Symbol.for("react.context"),Yf=Symbol.for("react.forward_ref"),Kf=Symbol.for("react.suspense"),Xf=Symbol.for("react.suspense_list"),Jf=Symbol.for("react.memo"),Zf=Symbol.for("react.lazy"),Qf=Symbol.for("react.offscreen"),eh=Symbol.for("react.client.reference");function th(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case $f:switch(e=e.type){case Bf:case Wf:case Gf:case Kf:case Xf:return e;default:switch(e=e&&e.$$typeof){case Uf:case Yf:case Zf:case Jf:case Vf:return e;default:return t}}case Hf:return t}}}Ff.ContextConsumer=Vf,Ff.ContextProvider=Uf,Ff.Element=$f,Ff.ForwardRef=Yf,Ff.Fragment=Bf,Ff.Lazy=Zf,Ff.Memo=Jf,Ff.Portal=Hf,Ff.Profiler=Wf,Ff.StrictMode=Gf,Ff.Suspense=Kf,Ff.SuspenseList=Xf,Ff.isContextConsumer=function(e){return th(e)===Vf},Ff.isContextProvider=function(e){return th(e)===Uf},Ff.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===$f},Ff.isForwardRef=function(e){return th(e)===Yf},Ff.isFragment=function(e){return th(e)===Bf},Ff.isLazy=function(e){return th(e)===Zf},Ff.isMemo=function(e){return th(e)===Jf},Ff.isPortal=function(e){return th(e)===Hf},Ff.isProfiler=function(e){return th(e)===Wf},Ff.isStrictMode=function(e){return th(e)===Gf},Ff.isSuspense=function(e){return th(e)===Kf},Ff.isSuspenseList=function(e){return th(e)===Xf},Ff.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Bf||e===Wf||e===Gf||e===Kf||e===Xf||e===Qf||"object"==typeof e&&null!==e&&(e.$$typeof===Zf||e.$$typeof===Jf||e.$$typeof===Uf||e.$$typeof===Vf||e.$$typeof===Yf||e.$$typeof===eh||void 0!==e.getModuleId)},Ff.typeOf=th,zf.exports=Ff;var rh=zf.exports;const nh=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function oh(e){const t=`${e}`.match(nh);return t&&t[1]||""}function ih(e,t=""){return e.displayName||e.name||oh(e)||t}function ah(e,t,r){const n=ih(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var sh=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ih(e,"Component");if("object"==typeof e)switch(e.$$typeof){case rh.ForwardRef:return ah(e,e.render,"ForwardRef");case rh.Memo:return ah(e,e.type,"memo");default:return}}},getFunctionName:oh});function lh(e,t){const r=yt({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=yt({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=yt({},i),Object.keys(o).forEach((e=>{r[n][e]=lh(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}const uh="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function ch(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}var dh=Object.freeze({__proto__:null,default:ch});function ph(e){if(e.type)return e;if("#"===e.charAt(0))return ph(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(bu(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(bu(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function fh(e,t){return e=ph(e),t=function(e,t=0,r=1){return ch(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}function hh(...e){return e.reduce(((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)}),(()=>{}))}function mh(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n}function gh(e){return e&&e.ownerDocument||document}function bh(e){return gh(e).defaultView||window}function vh(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let yh=0;const xh=y["useId".toString()];function Sh(e){if(void 0!==xh){return xh()}return function(e){const[t,r]=y.useState(e),n=t;return y.useEffect((()=>{null==t&&(yh+=1,r(`mui-${yh}`))}),[t]),n}(e)}function Ch({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=y.useRef(void 0!==e),[i,a]=y.useState(t);return[o?e:i,y.useCallback((e=>{o||a(e)}),[])]}function Eh(e){const t=y.useRef(e);return uh((()=>{t.current=e})),y.useRef(((...e)=>(0,t.current)(...e))).current}function wh(...e){return y.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{vh(e,t)}))}),e)}const Rh={};const Ah=[];class kh{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new kh}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function Ph(){const e=function(e,t){const r=y.useRef(Rh);return r.current===Rh&&(r.current=e(t)),r}(kh.create).current;return function(e){y.useEffect(e,Ah)}(e.disposeEffect),e}let Ih=!0,Lh=!1;const Mh=new kh,_h={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Dh(e){e.metaKey||e.altKey||e.ctrlKey||(Ih=!0)}function Th(){Ih=!1}function Oh(){"hidden"===this.visibilityState&&Lh&&(Ih=!0)}function qh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ih||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!_h[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function Nh(){const e=y.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Dh,!0),t.addEventListener("mousedown",Th,!0),t.addEventListener("pointerdown",Th,!0),t.addEventListener("touchstart",Th,!0),t.addEventListener("visibilitychange",Oh,!0))}),[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!qh(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Lh=!0,Mh.start(100,(()=>{Lh=!1})),t.current=!1,!0)},ref:e}}function jh(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function zh(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}function Fh(e){return"string"==typeof e}function $h(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}function Hh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}const Bh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Gh(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=yr(e,Bh),s=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:l,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=Tf(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=yt({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=yt({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=$h(yt({},o,n)),s=Hh(n),l=Hh(o),u=t(a),c=Tf(null==u?void 0:u.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),d=yt({},null==u?void 0:u.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=yt({},u,r,l,s);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}(yt({},a,{externalSlotProps:s})),c=function(e,t,r){return void 0===e||Fh(e)?t:yt({},t,{ownerState:yt({},t.ownerState,r)})}(r,yt({},l,{ref:wh(u,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function Wh(e){var t;return parseInt(y.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Vh=y.createContext(null);function Uh(){return y.useContext(Vh)}var Yh="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Kh(e){const{children:t,theme:r}=e,n=Uh(),o=y.useMemo((()=>{const e=null===n?r:function(e,t){if("function"==typeof t)return t(e);return yt({},e,t)}(n,r);return null!=e&&(e[Yh]=null!==n),e}),[r,n]);return Rl.jsx(Vh.Provider,{value:o,children:t})}const Xh=y.createContext(),Jh=y.createContext(void 0);function Zh({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?lh(o.defaultProps,n):o.styleOverrides||o.variants?n:lh(o,n)}({props:e,name:t,theme:{components:y.useContext(Jh)}})}function Qh(e,t){return xu({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var em,tm={},rm={exports:{}};(em=rm).exports=function(e){return e&&e.__esModule?e:{default:e}},em.exports.__esModule=!0,em.exports.default=em.exports;var nm=rm.exports,om=wt(vu),im=wt(dh),am=nm;Object.defineProperty(tm,"__esModule",{value:!0});var sm=tm.alpha=xm;tm.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=mm(e),a=mm(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return bm({type:"rgb",values:s})},tm.colorChannel=void 0;var lm=tm.darken=Sm;tm.decomposeColor=mm,tm.emphasize=Em;var um=tm.getContrastRatio=function(e,t){const r=ym(e),n=ym(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};tm.getLuminance=ym,tm.hexToRgb=hm,tm.hslToRgb=vm;var cm=tm.lighten=Cm;tm.private_safeAlpha=function(e,t,r){try{return xm(e,t)}catch(t){return e}},tm.private_safeColorChannel=void 0,tm.private_safeDarken=function(e,t,r){try{return Sm(e,t)}catch(t){return e}},tm.private_safeEmphasize=function(e,t,r){try{return Em(e,t)}catch(t){return e}},tm.private_safeLighten=function(e,t,r){try{return Cm(e,t)}catch(t){return e}},tm.recomposeColor=bm,tm.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=mm(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var dm=am(om),pm=am(im);function fm(e,t=0,r=1){return(0,pm.default)(e,t,r)}function hm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function mm(e){if(e.type)return e;if("#"===e.charAt(0))return mm(hm(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,dm.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,dm.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const gm=e=>{const t=mm(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};tm.colorChannel=gm;function bm(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function vm(e){e=mm(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),bm({type:s,values:l})}function ym(e){let t="hsl"===(e=mm(e)).type||"hsla"===e.type?mm(vm(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xm(e,t){return e=mm(e),t=fm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,bm(e)}function Sm(e,t){if(e=mm(e),t=fm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return bm(e)}function Cm(e,t){if(e=mm(e),t=fm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return bm(e)}function Em(e,t=.15){return ym(e)>.5?Sm(e,t):Cm(e,t)}tm.private_safeColorChannel=(e,t)=>{try{return gm(e)}catch(t){return e}};const wm=["mode","contrastThreshold","tonalOffset"],Rm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Nl.white,default:Nl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Am={text:{primary:Nl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Nl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function km(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=cm(e.main,o):"dark"===t&&(e.dark=lm(e.main,i)))}function Pm(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Su(e,wm),i=e.primary||function(e="light"){return"dark"===e?{main:Xl,light:Kl,dark:Jl}:{main:Zl,light:Jl,dark:Ql}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Gl,light:Bl,dark:Vl}:{main:Ul,light:Wl,dark:Yl}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Fl,light:jl,dark:$l}:{main:$l,light:zl,dark:Hl}}(t),l=e.info||function(e="light"){return"dark"===e?{main:tu,light:eu,dark:nu}:{main:nu,light:ru,dark:ou}}(t),u=e.success||function(e="light"){return"dark"===e?{main:au,light:iu,dark:lu}:{main:uu,light:su,dark:cu}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:pu,light:du,dark:hu}:{main:"#ed6c02",light:fu,dark:mu}}(t);function d(e){return um(e,Am.text.primary)>=r?Am.text.primary:Rm.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=xu({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(bu(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(bu(12,t?` (${t})`:"",JSON.stringify(e.main)));return km(e,"light",o,n),km(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Am,light:Rm};return gp(xu({common:xu({},Nl),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:gu,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const Im=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Lm={textTransform:"uppercase"},Mm='"Roboto", "Helvetica", "Arial", sans-serif';function _m(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Mm,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=Su(r,Im),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return xu({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===Mm?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Lm),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Lm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return gp(xu({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Dm(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Tm=["none",Dm(0,2,1,-1,0,1,1,0,0,1,3,0),Dm(0,3,1,-2,0,2,2,0,0,1,5,0),Dm(0,3,3,-2,0,3,4,0,0,1,8,0),Dm(0,2,4,-1,0,4,5,0,0,1,10,0),Dm(0,3,5,-1,0,5,8,0,0,1,14,0),Dm(0,3,5,-1,0,6,10,0,0,1,18,0),Dm(0,4,5,-2,0,7,10,1,0,2,16,1),Dm(0,5,5,-3,0,8,10,1,0,3,14,2),Dm(0,5,6,-3,0,9,12,1,0,3,16,2),Dm(0,6,6,-3,0,10,14,1,0,4,18,3),Dm(0,6,7,-4,0,11,15,1,0,4,20,3),Dm(0,7,8,-4,0,12,17,2,0,5,22,4),Dm(0,7,8,-4,0,13,19,2,0,5,24,4),Dm(0,7,9,-4,0,14,21,2,0,5,26,4),Dm(0,8,9,-5,0,15,22,2,0,6,28,5),Dm(0,8,10,-5,0,16,24,2,0,6,30,5),Dm(0,8,11,-5,0,17,26,2,0,6,32,5),Dm(0,9,11,-5,0,18,28,2,0,7,34,6),Dm(0,9,12,-6,0,19,29,2,0,7,36,6),Dm(0,10,13,-6,0,20,31,3,0,8,38,7),Dm(0,10,13,-6,0,21,33,3,0,8,40,7),Dm(0,10,14,-6,0,22,35,3,0,8,42,7),Dm(0,11,14,-7,0,23,36,3,0,9,44,8),Dm(0,11,15,-7,0,24,38,3,0,9,46,8)],Om=["duration","easing","delay"],qm={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nm={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jm(e){return`${Math.round(e)}ms`}function zm(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fm(e){const t=xu({},qm,e.easing),r=xu({},Nm,e.duration);return xu({getAutoHeightDuration:zm,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return Su(n,Om),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:jm(o)} ${i} ${"string"==typeof a?a:jm(a)}`)).join(",")}},e,{easing:t,duration:r})}const $m={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Hm=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Bm(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Su(e,Hm);if(e.vars&&void 0===e.generateCssVars)throw new Error(bu(18));const s=Pm(n),l=Cf(e);let u=gp(l,{mixins:Qh(l.breakpoints,r),palette:s,shadows:Tm.slice(),typography:_m(s,i),transitions:Fm(o),zIndex:xu({},$m)});return u=gp(u,a),u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=xu({},bf,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return yf({sx:e,theme:this})},u}const Gm=Bm();function Wm(){const e=Af(Gm);return e[yu]||e}var Vm,Um={},Ym={exports:{}};function Km(){return Vm||(Vm=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ym)),Ym.exports}var Xm,Jm={exports:{}};function Zm(){return Xm||(Xm=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(Jm)),Jm.exports}var Qm=wt(fp),eg=wt(bp),tg=wt(Ap),rg=wt(sh),ng=wt(Ef),og=wt(Lf),ig=nm;Object.defineProperty(Um,"__esModule",{value:!0});var ag=Um.default=function(e={}){const{themeId:t,defaultTheme:r=vg,rootShouldForwardProp:n=bg,slotShouldForwardProp:o=bg}=e,i=e=>(0,pg.default)((0,sg.default)({},e,{theme:xg((0,sg.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,ug.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Sg(yg(l))}=a,p=(0,lg.default)(a,mg),f=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,h=c||!1;let m=bg;"Root"===l||"root"===l?m=n:l?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,ug.default)(e,(0,sg.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,cg.isPlainObject)(e)?n=>Cg(e,(0,sg.default)({},n,{theme:xg({theme:n.theme,defaultTheme:r,themeId:t})})):e,v=(n,...o)=>{let a=b(n);const l=o?o.map(b):[];s&&d&&l.push((e=>{const n=xg((0,sg.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,r])=>{i[t]=Cg(r,(0,sg.default)({},e,{theme:n}))})),d(e,i)})),s&&!f&&l.push((e=>{var n;const o=xg((0,sg.default)({},e,{defaultTheme:r,themeId:t}));return Cg({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,sg.default)({},e,{theme:o}))})),h||l.push(i);const u=l.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=g(a,...l);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(v.withConfig=g.withConfig),v}};Um.shouldForwardProp=bg,Um.systemDefaultTheme=void 0;var sg=ig(Km()),lg=ig(Zm()),ug=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=gg(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(Qm),cg=eg;ig(tg),ig(rg);var dg=ig(ng),pg=ig(og);const fg=["ownerState"],hg=["variants"],mg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function gg(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(gg=function(e){return e?r:t})(e)}function bg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const vg=Um.systemDefaultTheme=(0,dg.default)(),yg=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function xg({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function Sg(e){return e?(t,r)=>r[e]:null}function Cg(e,t){let{ownerState:r}=t,n=(0,lg.default)(t,fg);const o="function"==typeof e?e((0,sg.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap((e=>Cg(e,(0,sg.default)({ownerState:r},n))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,lg.default)(o,hg);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,sg.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,sg.default)({ownerState:r},n,r)):e.style))})),t}return o}function Eg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const wg=e=>Eg(e)&&"classes"!==e,Rg=ag({themeId:yu,defaultTheme:Gm,rootShouldForwardProp:wg}),Ag=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function kg(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=kg(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Pg(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=kg(e))&&(n&&(n+=" "),n+=t);return n}function Ig(e){return Zh(e)}function Lg(e){return Nf("MuiSvgIcon",e)}jf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Mg=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_g=Rg("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Rp(r.color)}`],t[`fontSize${Rp(r.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,u,c,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),Dg=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=r,p=Su(r,Mg),f=y.isValidElement(n)&&"svg"===n.type,h=xu({},r,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:f}),m={};u||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:r,classes:n}=e;return zh({root:["root","inherit"!==t&&`color${Rp(t)}`,`fontSize${Rp(r)}`]},Lg,n)})(h);return Rl.jsxs(_g,xu({as:a,className:Pg(g.root,o),focusable:"false",color:l,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},m,p,f&&n.props,{ownerState:h,children:[f?n.props.children:n,c?Rl.jsx("title",{children:c}):null]}))}));Dg.muiName="SvgIcon";var Tg=!1,Og=x.createContext(null),qg="unmounted",Ng="exited",jg="entering",zg="entered",Fg="exiting",$g=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Ng,n.appearStatus=jg):o=zg:o=t.unmountOnExit||t.mountOnEnter?qg:Ng,n.state={status:o},n.nextCallback=null,n}po(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qg?{status:Ng}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==jg&&r!==zg&&(t=jg):r!==jg&&r!==zg||(t=Fg)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===jg){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ng&&this.setState({status:qg})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[F.findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!e&&!r||Tg?this.safeSetState({status:zg},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:jg},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:zg},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:F.findDOMNode(this);t&&!Tg?(this.props.onExit(n),this.safeSetState({status:Fg},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:Ng},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Ng},(function(){e.props.onExited(n)}))},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,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===qg)return null;var t=this.props,r=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=yr(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return x.createElement(Og.Provider,{value:null},"function"==typeof r?r(e,n):x.cloneElement(x.Children.only(r),n))},t}(x.Component);function Hg(){}function Bg(e,t){var r=Object.create(null);return e&&P.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&A(e)?t(e):e}(e)})),r}function Gg(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Wg(e,t,r){var n=Bg(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var u=o[l][n];s[o[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var a=o[i];if(A(a)){var s=i in t,l=i in n,u=t[i],c=A(u)&&!u.props.in;!l||s&&!c?l||!s||c?l&&s&&A(u)&&(o[i]=k(a,{onExited:r.bind(null,a),in:u.props.in,exit:Gg(a,"exit",e),enter:Gg(a,"enter",e)})):o[i]=k(a,{in:!1}):o[i]=k(a,{onExited:r.bind(null,a),in:!0,exit:Gg(a,"exit",e),enter:Gg(a,"enter",e)})}})),o}$g.contextType=Og,$g.propTypes={},$g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Hg,onEntering:Hg,onEntered:Hg,onExit:Hg,onExiting:Hg,onExited:Hg},$g.UNMOUNTED=qg,$g.EXITED=Ng,$g.ENTERING=jg,$g.ENTERED=zg,$g.EXITING=Fg;var Vg=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ug=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(fo(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}po(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,Bg(r.children,(function(e){return k(e,{onExited:n.bind(null,e),in:!0,appear:Gg(e,"appear",r),enter:Gg(e,"enter",r),exit:Gg(e,"exit",r)})}))):Wg(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=Bg(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=yt({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=yr(e,["component","childFactory"]),o=this.state.contextValue,i=Vg(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?x.createElement(Og.Provider,{value:o},i):x.createElement(Og.Provider,{value:o},x.createElement(t,n,i))},t}(x.Component);Ug.propTypes={},Ug.defaultProps={component:"div",childFactory:function(e){return e}};const Yg=e=>e.scrollTop;function Kg(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Xg(e){return Nf("MuiPaper",e)}jf("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 Jg=["className","component","elevation","square","variant"],Zg=Rg("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((({theme:e,ownerState:t})=>{var r;return xu({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&&xu({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${sm("#fff",Ag(t.elevation))}, ${sm("#fff",Ag(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))})),Qg=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=r,l=Su(r,Jg),u=xu({},r,{component:o,elevation:i,square:a,variant:s}),c=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return zh({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},Xg,o)})(u);return Rl.jsx(Zg,xu({as:o,ownerState:u,className:Pg(c.root,n),ref:t},l))}));const eb=jf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),tb=["center","classes","className"];let rb,nb,ob,ib,ab=e=>e;const sb=sp(rb||(rb=ab`
29
+ function cp(e,t){let r;return r=t?ip(e).withConfig({displayName:t.label,shouldForwardProp:t.shouldForwardProp}):ip(e),r}function dp(e,t){e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))}function pp(e){return e}up.propTypes={defaultTheme:Pt.object,styles:Pt.oneOfType([Pt.array,Pt.string,Pt.object,Pt.func])};var fp=Object.freeze({__proto__:null,GlobalStyles:up,StyledEngineProvider:lp,ThemeContext:Jd,css:rp,default:cp,internal_mutateStyles:dp,internal_processStyles:function(e,t){return dp(e,t)},internal_serializeStyles:pp,keyframes:sp});function hp(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function mp(e){if(y.isValidElement(e)||!hp(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=mp(e[r])})),t}function gp(e,t,r={clone:!0}){const n=r.clone?yt({},e):e;return hp(e)&&hp(t)&&Object.keys(t).forEach((o=>{y.isValidElement(t[o])?n[o]=t[o]:hp(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&hp(e[o])?n[o]=gp(e[o],t[o],r):r.clone?n[o]=hp(t[o])?mp(t[o]):t[o]:n[o]=t[o]})),n}var bp=Object.freeze({__proto__:null,default:gp,isPlainObject:hp});const vp=["values","unit","step"];function yp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=yr(e,vp),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>yt({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return yt({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const xp={borderRadius:4};function Sp(e,t){return t?gp(e,t,{clone:!1}):e}const Cp={xs:0,sm:600,md:900,lg:1200,xl:1536},Ep={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Cp[e]}px)`};function wp(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Ep;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Ep;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Cp).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Rp(e){if("string"!=typeof e)throw new Error(bu(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Ap=Object.freeze({__proto__:null,default:Rp});function kp(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Pp(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:kp(e,r)||n,t&&(o=t(o,n,e)),o}function Lp(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=kp(e.theme,n)||{};return wp(e,i,(e=>{let n=Pp(a,o,e);return e===n&&"string"==typeof e&&(n=Pp(a,o,`${t}${"default"===e?"":Rp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const Ip={m:"margin",p:"padding"},Mp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_p={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dp=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!_p[e])return[e];e=_p[e]}const[t,r]=e.split(""),n=Ip[t],o=Mp[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),Tp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Op=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function qp(e,t,r,n){var o;const i=null!=(o=kp(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Np(e){return qp(e,"spacing",8)}function jp(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function zp(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=jp(t,r),e)),{})}(Dp(r),n);return wp(e,e[r],o)}function Fp(e,t){const r=Np(e.theme);return Object.keys(e).map((n=>zp(e,t,n,r))).reduce(Sp,{})}function $p(e){return Fp(e,Tp)}function Hp(e){return Fp(e,Op)}function Bp(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?Sp(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function Gp(e){return"number"!=typeof e?e:`${e}px solid`}function Wp(e,t){return Lp({prop:e,themeKey:"borders",transform:t})}$p.propTypes={},$p.filterProps=Tp,Hp.propTypes={},Hp.filterProps=Op;const Vp=Wp("border",Gp),Up=Wp("borderTop",Gp),Yp=Wp("borderRight",Gp),Kp=Wp("borderBottom",Gp),Xp=Wp("borderLeft",Gp),Jp=Wp("borderColor"),Zp=Wp("borderTopColor"),Qp=Wp("borderRightColor"),ef=Wp("borderBottomColor"),tf=Wp("borderLeftColor"),rf=Wp("outline",Gp),nf=Wp("outlineColor"),of=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=qp(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:jp(t,e)});return wp(e,e.borderRadius,r)}return null};of.propTypes={},of.filterProps=["borderRadius"],Bp(Vp,Up,Yp,Kp,Xp,Jp,Zp,Qp,ef,tf,of,rf,nf);const af=e=>{if(void 0!==e.gap&&null!==e.gap){const t=qp(e.theme,"spacing",8),r=e=>({gap:jp(t,e)});return wp(e,e.gap,r)}return null};af.propTypes={},af.filterProps=["gap"];const sf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=qp(e.theme,"spacing",8),r=e=>({columnGap:jp(t,e)});return wp(e,e.columnGap,r)}return null};sf.propTypes={},sf.filterProps=["columnGap"];const lf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=qp(e.theme,"spacing",8),r=e=>({rowGap:jp(t,e)});return wp(e,e.rowGap,r)}return null};lf.propTypes={},lf.filterProps=["rowGap"];function uf(e,t){return"grey"===t?t:e}Bp(af,sf,lf,Lp({prop:"gridColumn"}),Lp({prop:"gridRow"}),Lp({prop:"gridAutoFlow"}),Lp({prop:"gridAutoColumns"}),Lp({prop:"gridAutoRows"}),Lp({prop:"gridTemplateColumns"}),Lp({prop:"gridTemplateRows"}),Lp({prop:"gridTemplateAreas"}),Lp({prop:"gridArea"}));function cf(e){return e<=1&&0!==e?100*e+"%":e}Bp(Lp({prop:"color",themeKey:"palette",transform:uf}),Lp({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:uf}),Lp({prop:"backgroundColor",themeKey:"palette",transform:uf}));const df=Lp({prop:"width",transform:cf}),pf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Cp[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:cf(t)}};return wp(e,e.maxWidth,t)}return null};pf.filterProps=["maxWidth"];const ff=Lp({prop:"minWidth",transform:cf}),hf=Lp({prop:"height",transform:cf}),mf=Lp({prop:"maxHeight",transform:cf}),gf=Lp({prop:"minHeight",transform:cf});Lp({prop:"size",cssProperty:"width",transform:cf}),Lp({prop:"size",cssProperty:"height",transform:cf});Bp(df,pf,ff,hf,mf,gf,Lp({prop:"boxSizing"}));const bf={border:{themeKey:"borders",transform:Gp},borderTop:{themeKey:"borders",transform:Gp},borderRight:{themeKey:"borders",transform:Gp},borderBottom:{themeKey:"borders",transform:Gp},borderLeft:{themeKey:"borders",transform:Gp},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Gp},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:of},color:{themeKey:"palette",transform:uf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:uf},backgroundColor:{themeKey:"palette",transform:uf},p:{style:Hp},pt:{style:Hp},pr:{style:Hp},pb:{style:Hp},pl:{style:Hp},px:{style:Hp},py:{style:Hp},padding:{style:Hp},paddingTop:{style:Hp},paddingRight:{style:Hp},paddingBottom:{style:Hp},paddingLeft:{style:Hp},paddingX:{style:Hp},paddingY:{style:Hp},paddingInline:{style:Hp},paddingInlineStart:{style:Hp},paddingInlineEnd:{style:Hp},paddingBlock:{style:Hp},paddingBlockStart:{style:Hp},paddingBlockEnd:{style:Hp},m:{style:$p},mt:{style:$p},mr:{style:$p},mb:{style:$p},ml:{style:$p},mx:{style:$p},my:{style:$p},margin:{style:$p},marginTop:{style:$p},marginRight:{style:$p},marginBottom:{style:$p},marginLeft:{style:$p},marginX:{style:$p},marginY:{style:$p},marginInline:{style:$p},marginInlineStart:{style:$p},marginInlineEnd:{style:$p},marginBlock:{style:$p},marginBlockStart:{style:$p},marginBlockEnd:{style:$p},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:af},rowGap:{style:lf},columnGap:{style:sf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:cf},maxWidth:{style:pf},minWidth:{transform:cf},height:{transform:cf},maxHeight:{transform:cf},minHeight:{transform:cf},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function vf(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=kp(r,s)||{};if(u)return u(o);return wp(o,t,(t=>{let r=Pp(c,l,t);return t===r&&"string"==typeof t&&(r=Pp(c,l,`${e}${"default"===t?"":Rp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:bf;function s(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(n).forEach((r=>{const o=(s=n[r],u=i,"function"==typeof s?s(u):s);var s,u;if(null!=o)if("object"==typeof o)if(a[r])l=Sp(l,e(r,o,i,a));else{const e=wp({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?l=Sp(l,e):l[r]=t({sx:o,theme:i})}else l=Sp(l,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const yf=vf();function xf(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}yf.filterProps=["sx"];const Sf=["breakpoints","palette","spacing","shape"];function Cf(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=yr(e,Sf),s=yp(r),l=function(e=8){if(e.mui)return e;const t=Np({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(o);let u=gp({breakpoints:s,direction:"ltr",components:{},palette:yt({mode:"light"},n),spacing:l,shape:yt({},xp,i)},a);return u.applyStyles=xf,u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=yt({},bf,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return yf({sx:e,theme:this})},u}var Ef=Object.freeze({__proto__:null,default:Cf,private_createBreakpoints:yp,unstable_applyStyles:xf});function wf(e=null){const t=y.useContext(Jd);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const Rf=Cf();function Af(e=Rf){return wf(e)}function kf({styles:e,themeId:t,defaultTheme:r={}}){const n=Af(r),o="function"==typeof e?e(t&&n[t]||n):e;return Rl.jsx(up,{styles:o})}const Pf=["sx"];function Lf(e){const{sx:t}=e,r=yr(e,Pf),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:bf;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return hp(r)?yt({},n,r):n}:yt({},n,t),yt({},o,{sx:i})}var If=Object.freeze({__proto__:null,default:yf,extendSxProp:Lf,unstable_createStyleFunctionSx:vf,unstable_defaultSxConfig:bf});const Mf=e=>e,_f=(()=>{let e=Mf;return{configure(t){e=t},generate:t=>e(t),reset(){e=Mf}}})();function Df(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Df(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Tf(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Df(e))&&(n&&(n+=" "),n+=t);return n}const Of=["className","component"];const qf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Nf(e,t,r="Mui"){const n=qf[t];return n?`${r}-${n}`:`${_f.generate(e)}-${t}`}function jf(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Nf(e,t,r)})),n}var zf={exports:{}},Ff={},$f=Symbol.for("react.transitional.element"),Hf=Symbol.for("react.portal"),Bf=Symbol.for("react.fragment"),Gf=Symbol.for("react.strict_mode"),Wf=Symbol.for("react.profiler"),Vf=Symbol.for("react.consumer"),Uf=Symbol.for("react.context"),Yf=Symbol.for("react.forward_ref"),Kf=Symbol.for("react.suspense"),Xf=Symbol.for("react.suspense_list"),Jf=Symbol.for("react.memo"),Zf=Symbol.for("react.lazy"),Qf=Symbol.for("react.offscreen"),eh=Symbol.for("react.client.reference");function th(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case $f:switch(e=e.type){case Bf:case Wf:case Gf:case Kf:case Xf:return e;default:switch(e=e&&e.$$typeof){case Uf:case Yf:case Zf:case Jf:case Vf:return e;default:return t}}case Hf:return t}}}Ff.ContextConsumer=Vf,Ff.ContextProvider=Uf,Ff.Element=$f,Ff.ForwardRef=Yf,Ff.Fragment=Bf,Ff.Lazy=Zf,Ff.Memo=Jf,Ff.Portal=Hf,Ff.Profiler=Wf,Ff.StrictMode=Gf,Ff.Suspense=Kf,Ff.SuspenseList=Xf,Ff.isContextConsumer=function(e){return th(e)===Vf},Ff.isContextProvider=function(e){return th(e)===Uf},Ff.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===$f},Ff.isForwardRef=function(e){return th(e)===Yf},Ff.isFragment=function(e){return th(e)===Bf},Ff.isLazy=function(e){return th(e)===Zf},Ff.isMemo=function(e){return th(e)===Jf},Ff.isPortal=function(e){return th(e)===Hf},Ff.isProfiler=function(e){return th(e)===Wf},Ff.isStrictMode=function(e){return th(e)===Gf},Ff.isSuspense=function(e){return th(e)===Kf},Ff.isSuspenseList=function(e){return th(e)===Xf},Ff.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Bf||e===Wf||e===Gf||e===Kf||e===Xf||e===Qf||"object"==typeof e&&null!==e&&(e.$$typeof===Zf||e.$$typeof===Jf||e.$$typeof===Uf||e.$$typeof===Vf||e.$$typeof===Yf||e.$$typeof===eh||void 0!==e.getModuleId)},Ff.typeOf=th,zf.exports=Ff;var rh=zf.exports;const nh=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function oh(e){const t=`${e}`.match(nh);return t&&t[1]||""}function ih(e,t=""){return e.displayName||e.name||oh(e)||t}function ah(e,t,r){const n=ih(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var sh=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ih(e,"Component");if("object"==typeof e)switch(e.$$typeof){case rh.ForwardRef:return ah(e,e.render,"ForwardRef");case rh.Memo:return ah(e,e.type,"memo");default:return}}},getFunctionName:oh});function lh(e,t){const r=yt({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=yt({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=yt({},i),Object.keys(o).forEach((e=>{r[n][e]=lh(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}const uh="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function ch(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}var dh=Object.freeze({__proto__:null,default:ch});function ph(e){if(e.type)return e;if("#"===e.charAt(0))return ph(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(bu(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(bu(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function fh(e,t){return e=ph(e),t=function(e,t=0,r=1){return ch(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}function hh(...e){return e.reduce(((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)}),(()=>{}))}function mh(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n}function gh(e){return e&&e.ownerDocument||document}function bh(e){return gh(e).defaultView||window}function vh(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let yh=0;const xh=y["useId".toString()];function Sh(e){if(void 0!==xh){return xh()}return function(e){const[t,r]=y.useState(e),n=t;return y.useEffect((()=>{null==t&&(yh+=1,r(`mui-${yh}`))}),[t]),n}(e)}function Ch({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=y.useRef(void 0!==e),[i,a]=y.useState(t);return[o?e:i,y.useCallback((e=>{o||a(e)}),[])]}function Eh(e){const t=y.useRef(e);return uh((()=>{t.current=e})),y.useRef(((...e)=>(0,t.current)(...e))).current}function wh(...e){return y.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{vh(e,t)}))}),e)}const Rh={};const Ah=[];class kh{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new kh}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function Ph(){const e=function(e,t){const r=y.useRef(Rh);return r.current===Rh&&(r.current=e(t)),r}(kh.create).current;return function(e){y.useEffect(e,Ah)}(e.disposeEffect),e}let Lh=!0,Ih=!1;const Mh=new kh,_h={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Dh(e){e.metaKey||e.altKey||e.ctrlKey||(Lh=!0)}function Th(){Lh=!1}function Oh(){"hidden"===this.visibilityState&&Ih&&(Lh=!0)}function qh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Lh||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!_h[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function Nh(){const e=y.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Dh,!0),t.addEventListener("mousedown",Th,!0),t.addEventListener("pointerdown",Th,!0),t.addEventListener("touchstart",Th,!0),t.addEventListener("visibilitychange",Oh,!0))}),[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!qh(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Ih=!0,Mh.start(100,(()=>{Ih=!1})),t.current=!1,!0)},ref:e}}function jh(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function zh(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}function Fh(e){return"string"==typeof e}function $h(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}function Hh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}const Bh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Gh(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=yr(e,Bh),s=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:l,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=Tf(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=yt({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=yt({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=$h(yt({},o,n)),s=Hh(n),l=Hh(o),u=t(a),c=Tf(null==u?void 0:u.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),d=yt({},null==u?void 0:u.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=yt({},u,r,l,s);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}(yt({},a,{externalSlotProps:s})),c=function(e,t,r){return void 0===e||Fh(e)?t:yt({},t,{ownerState:yt({},t.ownerState,r)})}(r,yt({},l,{ref:wh(u,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function Wh(e){var t;return parseInt(y.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Vh=y.createContext(null);function Uh(){return y.useContext(Vh)}var Yh="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Kh(e){const{children:t,theme:r}=e,n=Uh(),o=y.useMemo((()=>{const e=null===n?r:function(e,t){if("function"==typeof t)return t(e);return yt({},e,t)}(n,r);return null!=e&&(e[Yh]=null!==n),e}),[r,n]);return Rl.jsx(Vh.Provider,{value:o,children:t})}const Xh=y.createContext(),Jh=y.createContext(void 0);function Zh({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?lh(o.defaultProps,n):o.styleOverrides||o.variants?n:lh(o,n)}({props:e,name:t,theme:{components:y.useContext(Jh)}})}function Qh(e,t){return xu({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var em,tm={},rm={exports:{}};(em=rm).exports=function(e){return e&&e.__esModule?e:{default:e}},em.exports.__esModule=!0,em.exports.default=em.exports;var nm=rm.exports,om=wt(vu),im=wt(dh),am=nm;Object.defineProperty(tm,"__esModule",{value:!0});var sm=tm.alpha=xm;tm.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=mm(e),a=mm(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return bm({type:"rgb",values:s})},tm.colorChannel=void 0;var lm=tm.darken=Sm;tm.decomposeColor=mm,tm.emphasize=Em;var um=tm.getContrastRatio=function(e,t){const r=ym(e),n=ym(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};tm.getLuminance=ym,tm.hexToRgb=hm,tm.hslToRgb=vm;var cm=tm.lighten=Cm;tm.private_safeAlpha=function(e,t,r){try{return xm(e,t)}catch(t){return e}},tm.private_safeColorChannel=void 0,tm.private_safeDarken=function(e,t,r){try{return Sm(e,t)}catch(t){return e}},tm.private_safeEmphasize=function(e,t,r){try{return Em(e,t)}catch(t){return e}},tm.private_safeLighten=function(e,t,r){try{return Cm(e,t)}catch(t){return e}},tm.recomposeColor=bm,tm.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=mm(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var dm=am(om),pm=am(im);function fm(e,t=0,r=1){return(0,pm.default)(e,t,r)}function hm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function mm(e){if(e.type)return e;if("#"===e.charAt(0))return mm(hm(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,dm.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,dm.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const gm=e=>{const t=mm(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};tm.colorChannel=gm;function bm(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function vm(e){e=mm(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),bm({type:s,values:l})}function ym(e){let t="hsl"===(e=mm(e)).type||"hsla"===e.type?mm(vm(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xm(e,t){return e=mm(e),t=fm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,bm(e)}function Sm(e,t){if(e=mm(e),t=fm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return bm(e)}function Cm(e,t){if(e=mm(e),t=fm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return bm(e)}function Em(e,t=.15){return ym(e)>.5?Sm(e,t):Cm(e,t)}tm.private_safeColorChannel=(e,t)=>{try{return gm(e)}catch(t){return e}};const wm=["mode","contrastThreshold","tonalOffset"],Rm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Nl.white,default:Nl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Am={text:{primary:Nl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Nl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function km(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=cm(e.main,o):"dark"===t&&(e.dark=lm(e.main,i)))}function Pm(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=Su(e,wm),i=e.primary||function(e="light"){return"dark"===e?{main:Xl,light:Kl,dark:Jl}:{main:Zl,light:Jl,dark:Ql}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Gl,light:Bl,dark:Vl}:{main:Ul,light:Wl,dark:Yl}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Fl,light:jl,dark:$l}:{main:$l,light:zl,dark:Hl}}(t),l=e.info||function(e="light"){return"dark"===e?{main:tu,light:eu,dark:nu}:{main:nu,light:ru,dark:ou}}(t),u=e.success||function(e="light"){return"dark"===e?{main:au,light:iu,dark:lu}:{main:uu,light:su,dark:cu}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:pu,light:du,dark:hu}:{main:"#ed6c02",light:fu,dark:mu}}(t);function d(e){return um(e,Am.text.primary)>=r?Am.text.primary:Rm.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=xu({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(bu(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(bu(12,t?` (${t})`:"",JSON.stringify(e.main)));return km(e,"light",o,n),km(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Am,light:Rm};return gp(xu({common:xu({},Nl),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:gu,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const Lm=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Im={textTransform:"uppercase"},Mm='"Roboto", "Helvetica", "Arial", sans-serif';function _m(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Mm,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=Su(r,Lm),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return xu({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===Mm?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Im),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Im),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return gp(xu({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Dm(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Tm=["none",Dm(0,2,1,-1,0,1,1,0,0,1,3,0),Dm(0,3,1,-2,0,2,2,0,0,1,5,0),Dm(0,3,3,-2,0,3,4,0,0,1,8,0),Dm(0,2,4,-1,0,4,5,0,0,1,10,0),Dm(0,3,5,-1,0,5,8,0,0,1,14,0),Dm(0,3,5,-1,0,6,10,0,0,1,18,0),Dm(0,4,5,-2,0,7,10,1,0,2,16,1),Dm(0,5,5,-3,0,8,10,1,0,3,14,2),Dm(0,5,6,-3,0,9,12,1,0,3,16,2),Dm(0,6,6,-3,0,10,14,1,0,4,18,3),Dm(0,6,7,-4,0,11,15,1,0,4,20,3),Dm(0,7,8,-4,0,12,17,2,0,5,22,4),Dm(0,7,8,-4,0,13,19,2,0,5,24,4),Dm(0,7,9,-4,0,14,21,2,0,5,26,4),Dm(0,8,9,-5,0,15,22,2,0,6,28,5),Dm(0,8,10,-5,0,16,24,2,0,6,30,5),Dm(0,8,11,-5,0,17,26,2,0,6,32,5),Dm(0,9,11,-5,0,18,28,2,0,7,34,6),Dm(0,9,12,-6,0,19,29,2,0,7,36,6),Dm(0,10,13,-6,0,20,31,3,0,8,38,7),Dm(0,10,13,-6,0,21,33,3,0,8,40,7),Dm(0,10,14,-6,0,22,35,3,0,8,42,7),Dm(0,11,14,-7,0,23,36,3,0,9,44,8),Dm(0,11,15,-7,0,24,38,3,0,9,46,8)],Om=["duration","easing","delay"],qm={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Nm={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jm(e){return`${Math.round(e)}ms`}function zm(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fm(e){const t=xu({},qm,e.easing),r=xu({},Nm,e.duration);return xu({getAutoHeightDuration:zm,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return Su(n,Om),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:jm(o)} ${i} ${"string"==typeof a?a:jm(a)}`)).join(",")}},e,{easing:t,duration:r})}const $m={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Hm=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Bm(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=Su(e,Hm);if(e.vars&&void 0===e.generateCssVars)throw new Error(bu(18));const s=Pm(n),l=Cf(e);let u=gp(l,{mixins:Qh(l.breakpoints,r),palette:s,shadows:Tm.slice(),typography:_m(s,i),transitions:Fm(o),zIndex:xu({},$m)});return u=gp(u,a),u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=xu({},bf,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return yf({sx:e,theme:this})},u}const Gm=Bm();function Wm(){const e=Af(Gm);return e[yu]||e}var Vm,Um={},Ym={exports:{}};function Km(){return Vm||(Vm=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ym)),Ym.exports}var Xm,Jm={exports:{}};function Zm(){return Xm||(Xm=1,function(e){e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports}(Jm)),Jm.exports}var Qm=wt(fp),eg=wt(bp),tg=wt(Ap),rg=wt(sh),ng=wt(Ef),og=wt(If),ig=nm;Object.defineProperty(Um,"__esModule",{value:!0});var ag=Um.default=function(e={}){const{themeId:t,defaultTheme:r=vg,rootShouldForwardProp:n=bg,slotShouldForwardProp:o=bg}=e,i=e=>(0,pg.default)((0,sg.default)({},e,{theme:xg((0,sg.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,ug.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Sg(yg(l))}=a,p=(0,lg.default)(a,mg),f=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,h=c||!1;let m=bg;"Root"===l||"root"===l?m=n:l?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,ug.default)(e,(0,sg.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,cg.isPlainObject)(e)?n=>Cg(e,(0,sg.default)({},n,{theme:xg({theme:n.theme,defaultTheme:r,themeId:t})})):e,v=(n,...o)=>{let a=b(n);const l=o?o.map(b):[];s&&d&&l.push((e=>{const n=xg((0,sg.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,r])=>{i[t]=Cg(r,(0,sg.default)({},e,{theme:n}))})),d(e,i)})),s&&!f&&l.push((e=>{var n;const o=xg((0,sg.default)({},e,{defaultTheme:r,themeId:t}));return Cg({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,sg.default)({},e,{theme:o}))})),h||l.push(i);const u=l.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=g(a,...l);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(v.withConfig=g.withConfig),v}};Um.shouldForwardProp=bg,Um.systemDefaultTheme=void 0;var sg=ig(Km()),lg=ig(Zm()),ug=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=gg(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(Qm),cg=eg;ig(tg),ig(rg);var dg=ig(ng),pg=ig(og);const fg=["ownerState"],hg=["variants"],mg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function gg(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(gg=function(e){return e?r:t})(e)}function bg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const vg=Um.systemDefaultTheme=(0,dg.default)(),yg=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function xg({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function Sg(e){return e?(t,r)=>r[e]:null}function Cg(e,t){let{ownerState:r}=t,n=(0,lg.default)(t,fg);const o="function"==typeof e?e((0,sg.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap((e=>Cg(e,(0,sg.default)({ownerState:r},n))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,lg.default)(o,hg);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,sg.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,sg.default)({ownerState:r},n,r)):e.style))})),t}return o}function Eg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const wg=e=>Eg(e)&&"classes"!==e,Rg=ag({themeId:yu,defaultTheme:Gm,rootShouldForwardProp:wg}),Ag=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function kg(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=kg(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Pg(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=kg(e))&&(n&&(n+=" "),n+=t);return n}function Lg(e){return Zh(e)}function Ig(e){return Nf("MuiSvgIcon",e)}jf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Mg=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_g=Rg("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Rp(r.color)}`],t[`fontSize${Rp(r.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,u,c,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),Dg=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:u=!1,titleAccess:c,viewBox:d="0 0 24 24"}=r,p=Su(r,Mg),f=y.isValidElement(n)&&"svg"===n.type,h=xu({},r,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:f}),m={};u||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:r,classes:n}=e;return zh({root:["root","inherit"!==t&&`color${Rp(t)}`,`fontSize${Rp(r)}`]},Ig,n)})(h);return Rl.jsxs(_g,xu({as:a,className:Pg(g.root,o),focusable:"false",color:l,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},m,p,f&&n.props,{ownerState:h,children:[f?n.props.children:n,c?Rl.jsx("title",{children:c}):null]}))}));Dg.muiName="SvgIcon";var Tg=!1,Og=x.createContext(null),qg="unmounted",Ng="exited",jg="entering",zg="entered",Fg="exiting",$g=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=Ng,n.appearStatus=jg):o=zg:o=t.unmountOnExit||t.mountOnEnter?qg:Ng,n.state={status:o},n.nextCallback=null,n}po(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qg?{status:Ng}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==jg&&r!==zg&&(t=jg):r!==jg&&r!==zg||(t=Fg)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===jg){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ng&&this.setState({status:qg})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[F.findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!e&&!r||Tg?this.safeSetState({status:zg},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:jg},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:zg},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:F.findDOMNode(this);t&&!Tg?(this.props.onExit(n),this.safeSetState({status:Fg},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:Ng},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Ng},(function(){e.props.onExited(n)}))},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,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===qg)return null;var t=this.props,r=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=yr(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return x.createElement(Og.Provider,{value:null},"function"==typeof r?r(e,n):x.cloneElement(x.Children.only(r),n))},t}(x.Component);function Hg(){}function Bg(e,t){var r=Object.create(null);return e&&P.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&A(e)?t(e):e}(e)})),r}function Gg(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Wg(e,t,r){var n=Bg(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var u=o[l][n];s[o[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(t,n);return Object.keys(o).forEach((function(i){var a=o[i];if(A(a)){var s=i in t,l=i in n,u=t[i],c=A(u)&&!u.props.in;!l||s&&!c?l||!s||c?l&&s&&A(u)&&(o[i]=k(a,{onExited:r.bind(null,a),in:u.props.in,exit:Gg(a,"exit",e),enter:Gg(a,"enter",e)})):o[i]=k(a,{in:!1}):o[i]=k(a,{onExited:r.bind(null,a),in:!0,exit:Gg(a,"exit",e),enter:Gg(a,"enter",e)})}})),o}$g.contextType=Og,$g.propTypes={},$g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Hg,onEntering:Hg,onEntered:Hg,onExit:Hg,onExiting:Hg,onExited:Hg},$g.UNMOUNTED=qg,$g.EXITED=Ng,$g.ENTERING=jg,$g.ENTERED=zg,$g.EXITING=Fg;var Vg=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ug=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(fo(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}po(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,Bg(r.children,(function(e){return k(e,{onExited:n.bind(null,e),in:!0,appear:Gg(e,"appear",r),enter:Gg(e,"enter",r),exit:Gg(e,"exit",r)})}))):Wg(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=Bg(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=yt({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=yr(e,["component","childFactory"]),o=this.state.contextValue,i=Vg(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?x.createElement(Og.Provider,{value:o},i):x.createElement(Og.Provider,{value:o},x.createElement(t,n,i))},t}(x.Component);Ug.propTypes={},Ug.defaultProps={component:"div",childFactory:function(e){return e}};const Yg=e=>e.scrollTop;function Kg(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Xg(e){return Nf("MuiPaper",e)}jf("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 Jg=["className","component","elevation","square","variant"],Zg=Rg("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((({theme:e,ownerState:t})=>{var r;return xu({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&&xu({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${sm("#fff",Ag(t.elevation))}, ${sm("#fff",Ag(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))})),Qg=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=r,l=Su(r,Jg),u=xu({},r,{component:o,elevation:i,square:a,variant:s}),c=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return zh({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},Xg,o)})(u);return Rl.jsx(Zg,xu({as:o,ownerState:u,className:Pg(c.root,n),ref:t},l))}));const eb=jf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),tb=["center","classes","className"];let rb,nb,ob,ib,ab=e=>e;const sb=sp(rb||(rb=ab`
30
30
  0% {
31
31
  transform: scale(0);
32
32
  opacity: 0.1;
@@ -99,9 +99,9 @@ function cp(e,t){let r;return r=t?ip(e).withConfig({displayName:t.label,shouldFo
99
99
  animation-iteration-count: infinite;
100
100
  animation-delay: 200ms;
101
101
  }
102
- `),eb.rippleVisible,sb,550,(({theme:e})=>e.transitions.easing.easeInOut),eb.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),eb.child,eb.childLeaving,lb,550,(({theme:e})=>e.transitions.easing.easeInOut),eb.childPulsate,ub,(({theme:e})=>e.transitions.easing.easeInOut)),pb=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=Su(r,tb),[s,l]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[s]);const d=y.useRef(!1),p=Ph(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;l((e=>[...e,Rl.jsx(db,{classes:{ripple:Pg(o.ripple,eb.ripple),rippleVisible:Pg(o.rippleVisible,eb.rippleVisible),ripplePulsate:Pg(o.ripplePulsate,eb.ripplePulsate),child:Pg(o.child,eb.child),childLeaving:Pg(o.childLeaving,eb.childLeaving),childPulsate:Pg(o.childPulsate,eb.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(r-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})}),[n,m,p]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{v(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),Rl.jsx(cb,xu({className:Pg(eb.root,o.root,i),ref:h},a,{children:Rl.jsx(Ug,{component:null,exit:!0,children:s})}))}));function fb(e){return Nf("MuiButtonBase",e)}const hb=jf("MuiButtonBase",["root","disabled","focusVisible"]),mb=["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"],gb=Rg("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"},[`&.${hb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),bb=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:x,onKeyUp:S,onMouseDown:C,onMouseLeave:E,onMouseUp:w,onTouchEnd:R,onTouchMove:A,onTouchStart:k,tabIndex:P=0,TouchRippleProps:I,touchRippleRef:L,type:M}=r,_=Su(r,mb),D=y.useRef(null),T=y.useRef(null),O=wh(T,L),{isFocusVisibleRef:q,onFocus:N,onBlur:j,ref:z}=Nh(),[F,$]=y.useState(!1);l&&F&&$(!1),y.useImperativeHandle(n,(()=>({focusVisible:()=>{$(!0),D.current.focus()}})),[]);const[H,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const G=H&&!u&&!l;function W(e,t,r=c){return Eh((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}y.useEffect((()=>{F&&d&&!u&&H&&T.current.pulsate()}),[u,d,F,H]);const V=W("start",C),U=W("stop",m),Y=W("stop",g),K=W("stop",w),X=W("stop",(e=>{F&&e.preventDefault(),E&&E(e)})),J=W("start",k),Z=W("stop",R),Q=W("stop",A),ee=W("stop",(e=>{j(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=Eh((e=>{D.current||(D.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),re=()=>{const e=D.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=y.useRef(!1),oe=Eh((e=>{d&&!ne.current&&F&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Eh((e=>{d&&" "===e.key&&T.current&&F&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(_.href||_.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===M?"button":M,se.disabled=l):(_.href||_.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=wh(t,z,D),ue=xu({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:F}),ce=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=zh({root:["root",t&&"disabled",r&&"focusVisible"]},fb,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return Rl.jsxs(gb,xu({as:ae,className:Pg(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:U,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:Y,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:P,type:M},se,_,{children:[i,G?Rl.jsx(pb,xu({ref:O,center:o},I)):null]}))}));function vb(e){return Nf("MuiTypography",e)}jf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const yb=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],xb=Rg("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${Rp(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>xu({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Sb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Cb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Eb=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiTypography"}),n=(e=>Cb[e]||e)(r.color),o=If(xu({},r,{color:n})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=Sb}=o,f=Su(o,yb),h=xu({},o,{align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=s||(c?"p":p[d]||Sb[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return zh({root:["root",i,"inherit"!==e.align&&`align${Rp(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},vb,a)})(h);return Rl.jsx(xb,xu({as:m,ref:t,ownerState:h,className:Pg(g.root,a)},f))}));const wb=y.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=y.useState(null),s=wh(y.isValidElement(r)?Wh(r):null,t);if(uh((()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),uh((()=>{if(i&&!o)return vh(t,i),()=>{vh(t,null)}}),[t,i,o]),o){if(y.isValidElement(r)){const e={ref:s};return y.cloneElement(r,e)}return Rl.jsx(y.Fragment,{children:r})}return Rl.jsx(y.Fragment,{children:i?z.createPortal(r,i):i})})),Rb=["onChange","maxRows","minRows","style","value"];function Ab(e){return parseInt(e,10)||0}const kb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Pb(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Ib=y.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a}=e,s=Su(e,Rb),{current:l}=y.useRef(null!=a),u=y.useRef(null),c=wh(t,u),d=y.useRef(null),p=y.useRef(null),f=y.useCallback((()=>{const t=u.current,r=p.current;if(!t||!r)return;const i=bh(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const a=i.boxSizing,s=Ab(i.paddingBottom)+Ab(i.paddingTop),l=Ab(i.borderBottomWidth)+Ab(i.borderTopWidth),c=r.scrollHeight;r.value="x";const d=r.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*d,f)),n&&(f=Math.min(Number(n)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?s+l:0),overflowing:Math.abs(f-c)<=1}}),[n,o,e.placeholder]),h=Eh((()=>{const e=u.current,t=f();if(!e||!t||Pb(t))return!1;const r=t.outerHeightStyle;return null!=d.current&&d.current!==r})),m=y.useCallback((()=>{const e=u.current,t=f();if(!e||!t||Pb(t))return;const r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""}),[f]),g=y.useRef(-1);uh((()=>{const e=mh(m),t=null==u?void 0:u.current;if(!t)return;const r=bh(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver((()=>{h()&&(n.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame((()=>{n.observe(t)})))})),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),r.removeEventListener("resize",e),n&&n.disconnect()}}),[f,m,h]),uh((()=>{m()}));return Rl.jsxs(y.Fragment,{children:[Rl.jsx("textarea",xu({value:a,onChange:e=>{l||m(),r&&r(e)},ref:c,rows:o,style:i},s)),Rl.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:xu({},kb,i,{paddingTop:0,paddingBottom:0})})]})}));function Lb({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}const Mb=y.createContext(void 0);function _b(){return y.useContext(Mb)}function Db(e){return Rl.jsx(kf,xu({},e,{defaultTheme:Gm,themeId:yu}))}function Tb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Ob(e,t=!1){return e&&(Tb(e.value)&&""!==e.value||t&&Tb(e.defaultValue)&&""!==e.defaultValue)}function qb(e){return Nf("MuiInputBase",e)}const Nb=jf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),jb=["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"],zb=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Rp(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Fb=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},$b=Rg("div",{name:"MuiInputBase",slot:"Root",overridesResolver:zb})((({theme:e,ownerState:t})=>xu({},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",[`&.${Nb.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&xu({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Hb=Rg("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Fb})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=xu({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return xu({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":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Nb.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Nb.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"})})),Bb=Rl.jsx(Db,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Gb=y.forwardRef((function(e,t){var r;const n=Ig({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,components:l={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:x,minRows:S,multiline:C=!1,name:E,onBlur:w,onChange:R,onClick:A,onFocus:k,onKeyDown:P,onKeyUp:I,placeholder:L,readOnly:M,renderSuffix:_,rows:D,slotProps:T={},slots:O={},startAdornment:q,type:N="text",value:j}=n,z=Su(n,jb),F=null!=b.value?b.value:j,{current:$}=y.useRef(null!=F),H=y.useRef(),B=y.useCallback((e=>{}),[]),G=wh(H,v,b.ref,B),[W,V]=y.useState(!1),U=_b(),Y=Lb({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Y.focused=U?U.focused:W,y.useEffect((()=>{!U&&d&&W&&(V(!1),w&&w())}),[U,d,W,w]);const K=U&&U.onFilled,X=U&&U.onEmpty,J=y.useCallback((e=>{Ob(e)?K&&K():X&&X()}),[K,X]);uh((()=>{$&&J({value:F})}),[F,J,$]);y.useEffect((()=>{J(H.current)}),[]);let Z=g,Q=b;C&&"input"===Z&&(Q=xu(D?{type:void 0,minRows:D,maxRows:D}:{type:void 0,maxRows:x,minRows:S},Q),Z=Ib);y.useEffect((()=>{U&&U.setAdornedStart(Boolean(q))}),[U,q]);const ee=xu({},n,{color:Y.color||"primary",disabled:Y.disabled,endAdornment:f,error:Y.error,focused:Y.focused,formControl:U,fullWidth:h,hiddenLabel:Y.hiddenLabel,multiline:C,size:Y.size,startAdornment:q,type:N}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return zh({root:["root",`color${Rp(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Rp(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},qb,t)})(ee),re=O.root||l.Root||$b,ne=T.root||u.root||{},oe=O.input||l.Input||Hb;return Q=xu({},Q,null!=(r=T.input)?r:u.input),Rl.jsxs(y.Fragment,{children:[!p&&Bb,Rl.jsxs(re,xu({},ne,!Fh(re)&&{ownerState:xu({},ee,ne.ownerState)},{ref:t,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),A&&A(e)}},z,{className:Pg(te.root,ne.className,s,M&&"MuiInputBase-readOnly"),children:[q,Rl.jsx(Mb.Provider,{value:null,children:Rl.jsx(oe,xu({ownerState:ee,"aria-invalid":Y.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:Y.disabled,id:m,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:E,placeholder:L,readOnly:M,required:Y.required,rows:D,value:F,onKeyDown:P,onKeyUp:I,type:N},Q,!Fh(oe)&&{as:Z,ownerState:xu({},ee,Q.ownerState)},{ref:G,className:Pg(te.input,Q.className,M&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),b.onBlur&&b.onBlur(e),U&&U.onBlur?U.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||H.current;if(null==t)throw new Error(bu(1));J({value:t.value})}b.onChange&&b.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{Y.disabled?e.stopPropagation():(k&&k(e),b.onFocus&&b.onFocus(e),U&&U.onFocus?U.onFocus(e):V(!0))}}))}),f,_?_(xu({},Y,{startAdornment:q})):null]}))]})}));function Wb(e){return Nf("MuiInput",e)}const Vb=xu({},Nb,jf("MuiInput",["root","underline","input"]));function Ub(e){return Nf("MuiOutlinedInput",e)}const Yb=xu({},Nb,jf("MuiOutlinedInput",["root","notchedOutline","input"]));function Kb(e){return Nf("MuiFilledInput",e)}const Xb=xu({},Nb,jf("MuiFilledInput",["root","underline","input"]));var Jb=function(e,t){function r(r,n){return Rl.jsx(Dg,xu({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=Dg.muiName,y.memo(y.forwardRef(r))}(Rl.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Zb=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Qb={entering:{opacity:1},entered:{opacity:1}},ev=y.forwardRef((function(e,t){const r=Wm(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=n,TransitionComponent:b=$g}=e,v=Su(e,Zb),x=y.useRef(null),S=wh(x,Wh(a),t),C=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},E=C(d),w=C(((e,t)=>{Yg(e);const n=Kg({style:m,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),R=C(c),A=C(h),k=C((e=>{const t=Kg({style:m,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),P=C(f);return Rl.jsx(b,xu({appear:i,in:l,nodeRef:x,onEnter:w,onEntered:R,onEntering:E,onExit:k,onExited:P,onExiting:A,addEndListener:e=>{o&&o(x.current,e)},timeout:g},v,{children:(e,t)=>y.cloneElement(a,xu({style:xu({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},Qb[e],m,a.props.style),ref:S},t))}))}));function tv(e){return Nf("MuiBackdrop",e)}jf("MuiBackdrop",["root","invisible"]);const rv=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],nv=Rg("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>xu({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"}))),ov=y.forwardRef((function(e,t){var r,n,o;const i=Ig({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=ev,transitionDuration:g}=i,b=Su(i,rv),v=xu({},i,{component:l,invisible:d}),y=(e=>{const{classes:t,invisible:r}=e;return zh({root:["root",r&&"invisible"]},tv,t)})(v),x=null!=(r=f.root)?r:c.root;return Rl.jsx(m,xu({in:p,timeout:g},b,{children:Rl.jsx(nv,xu({"aria-hidden":!0},x,{as:null!=(n=null!=(o=h.root)?o:u.Root)?n:l,className:Pg(y.root,s,null==x?void 0:x.className),ownerState:xu({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))})),iv=jf("MuiBox",["root"]),av=Bm(),sv=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=cp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(yf);return y.forwardRef((function(e,a){const s=Af(r),l=If(e),{className:u,component:c="div"}=l,d=yr(l,Of);return Rl.jsx(i,yt({as:c,ref:a,className:Tf(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:yu,defaultTheme:av,defaultClassName:iv.root,generateClassName:_f.generate});function lv(e){return Nf("MuiButton",e)}const uv=jf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),cv=y.createContext({}),dv=y.createContext(void 0),pv=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],fv=e=>xu({},"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}}),hv=Rg(bb,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Rp(r.color)}`],t[`size${Rp(r.size)}`],t[`${r.variant}Size${Rp(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return xu({},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":xu({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:sm(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})`:sm(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})`:sm(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:i,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":xu({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${uv.focusVisible}`]:xu({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${uv.disabled}`]:xu({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 ${sm(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,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"},[`&.${uv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${uv.disabled}`]:{boxShadow:"none"}})),mv=Rg("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Rp(r.size)}`]]}})((({ownerState:e})=>xu({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},fv(e)))),gv=Rg("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Rp(r.size)}`]]}})((({ownerState:e})=>xu({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},fv(e)))),bv=y.forwardRef((function(e,t){const r=y.useContext(cv),n=y.useContext(dv),o=Ig({props:lh(r,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:b,variant:v="text"}=o,x=Su(o,pv),S=xu({},o,{color:a,component:s,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),C=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e;return xu({},a,zh({root:["root",i,`${i}${Rp(t)}`,`size${Rp(o)}`,`${i}Size${Rp(o)}`,`color${Rp(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Rp(o)}`],endIcon:["icon","endIcon",`iconSize${Rp(o)}`]},lv,a))})(S),E=g&&Rl.jsx(mv,{className:C.startIcon,ownerState:S,children:g}),w=p&&Rl.jsx(gv,{className:C.endIcon,ownerState:S,children:p}),R=n||"";return Rl.jsxs(hv,xu({ownerState:S,className:Pg(r.className,C.root,l,R),component:s,disabled:u,focusRipple:!d,focusVisibleClassName:Pg(C.focusVisible,f),ref:t,type:b},x,{classes:C,children:[E,i,w]}))}));function vv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function yv(e){return parseInt(bh(e).getComputedStyle(e).paddingRight,10)||0}function xv(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&vv(e,o)}))}function Sv(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function Cv(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=gh(e);return t.body===e?bh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=jh(gh(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${yv(n)+e}px`;const t=gh(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${yv(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=gh(n).body;else{const t=n.parentElement,r=bh(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.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()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const Ev=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wv(e){const t=[],r=[];return Array.from(e.querySelectorAll(Ev)).forEach(((e,n)=>{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 r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Rv(){return!0}function Av(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=wv,isEnabled:a=Rv,open:s}=e,l=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=wh(Wh(t),h),g=y.useRef(null);y.useEffect((()=>{s&&h.current&&(f.current=!r)}),[r,s]),y.useEffect((()=>{if(!s||!h.current)return;const e=gh(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),y.useEffect((()=>{if(!s||!h.current)return;const e=gh(h.current),t=t=>{g.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,c.current&&c.current.focus())},r=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(h.current)),r.length>0){var o,s;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=g.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,a,s,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Rl.jsxs(y.Fragment,{children:[Rl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const r=t.props.onFocus;r&&r(e)}}),Rl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const kv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&vv(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);xv(t,e.mount,e.modalRef,n,!0);const o=Sv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=Sv(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=Cv(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=Sv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&vv(e.modalRef,t),xv(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&vv(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Pv(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=kv,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,p=y.useRef({}),f=y.useRef(null),h=y.useRef(null),m=wh(h,d),[g,b]=y.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const S=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),C=()=>{o.mount(S(),{disableScrollLock:n}),h.current&&(h.current.scrollTop=0)},E=Eh((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||gh(f.current).body;o.add(S(),e),h.current&&C()})),w=y.useCallback((()=>o.isTopModal(S())),[o]),R=Eh((e=>{f.current=e,e&&(c&&w()?C():h.current&&vv(h.current,x))})),A=y.useCallback((()=>{o.remove(S(),x)}),[x,o]);y.useEffect((()=>()=>{A()}),[A]),y.useEffect((()=>{c?E():v&&i||A()}),[c,A,v,i,E]);const k=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},P=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const r=$h(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=xu({},r,t);return xu({role:"presentation"},n,{onKeyDown:k(n),ref:m})},getBackdropProps:(e={})=>xu({"aria-hidden":!0},e,{onClick:P(e),open:c}),getTransitionProps:()=>({onEnter:hh((()=>{b(!1),a&&a()}),null==l?void 0:l.props.onEnter),onExited:hh((()=>{b(!0),s&&s(),i&&A()}),null==l?void 0:l.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}function Iv(e){return Nf("MuiModal",e)}jf("MuiModal",["root","hidden","backdrop"]);const Lv=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Mv=Rg("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>xu({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),_v=Rg(ov,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Dv=y.forwardRef((function(e,t){var r,n,o,i,a,s;const l=Ig({name:"MuiModal",props:e}),{BackdropComponent:u=_v,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:C=!1,disableRestoreFocus:E=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:A=!1,onBackdropClick:k,open:P,slotProps:I,slots:L}=l,M=Su(l,Lv),_=xu({},l,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:C,disableRestoreFocus:E,disableScrollLock:w,hideBackdrop:R,keepMounted:A}),{getRootProps:D,getBackdropProps:T,getTransitionProps:O,portalRef:q,isTopModal:N,exited:j,hasTransition:z}=Pv(xu({},_,{rootRef:t})),F=xu({},_,{exited:j}),$=(e=>{const{open:t,exited:r,classes:n}=e;return zh({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Iv,n)})(F),H={};if(void 0===f.props.tabIndex&&(H.tabIndex="-1"),z){const{onEnter:e,onExited:t}=O();H.onEnter=e,H.onExited=t}const B=null!=(r=null!=(n=null==L?void 0:L.root)?n:g.Root)?r:Mv,G=null!=(o=null!=(i=null==L?void 0:L.backdrop)?i:g.Backdrop)?o:u,W=null!=(a=null==I?void 0:I.root)?a:b.root,V=null!=(s=null==I?void 0:I.backdrop)?s:b.backdrop,U=Gh({elementType:B,externalSlotProps:W,externalForwardedProps:M,getSlotProps:D,additionalProps:{ref:t,as:m},ownerState:F,className:Pg(d,null==W?void 0:W.className,null==$?void 0:$.root,!F.open&&F.exited&&(null==$?void 0:$.hidden))}),Y=Gh({elementType:G,externalSlotProps:V,additionalProps:c,getSlotProps:e=>T(xu({},e,{onClick:t=>{k&&k(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Pg(null==V?void 0:V.className,null==c?void 0:c.className,null==$?void 0:$.backdrop),ownerState:F});return A||P||z&&!j?Rl.jsx(wb,{ref:q,container:h,disablePortal:C,children:Rl.jsxs(B,xu({},U,{children:[!R&&u?Rl.jsx(G,xu({},Y)):null,Rl.jsx(Av,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:E,isEnabled:N,open:P,children:y.cloneElement(f,H)})]}))}):null}));function Tv(e){return Nf("MuiDivider",e)}const Ov=jf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),qv=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Nv=Rg("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>xu({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)`:sm(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})=>xu({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>xu({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>xu({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>xu({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),jv=Rg("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>xu({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)`}))),zv=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=r,f=Su(r,qv),h=xu({},r,{absolute:n,component:a,flexItem:s,light:l,orientation:u,role:c,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return zh({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Tv,n)})(h);return Rl.jsx(Nv,xu({as:a,className:Pg(m.root,i),role:c,ref:t,ownerState:h},f,{children:o?Rl.jsx(jv,{className:m.wrapper,ownerState:h,children:o}):null}))}));zv.muiSkipListHighlight=!0;const Fv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],$v=Rg($b,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...zb(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return xu({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Xb.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Xb.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xb.disabled}, .${Xb.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Xb.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&xu({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),Hv=Rg(Hb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Fb})((({theme:e,ownerState:t})=>xu({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!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",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),Bv=y.forwardRef((function(e,t){var r,n,o,i;const a=Ig({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:f={},type:h="text"}=a,m=Su(a,Fv),g=xu({},a,{fullWidth:u,inputComponent:c,multiline:d,type:h}),b=(e=>{const{classes:t,disableUnderline:r}=e;return xu({},t,zh({root:["root",!r&&"underline"],input:["input"]},Kb,t))})(a),v={root:{ownerState:g},input:{ownerState:g}},y=(null!=p?p:l)?gp(v,null!=p?p:l):v,x=null!=(r=null!=(n=f.root)?n:s.Root)?r:$v,S=null!=(o=null!=(i=f.input)?i:s.Input)?o:Hv;return Rl.jsx(Gb,xu({slots:{root:x,input:S},componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:b}))}));Bv.muiName="Input";const Gv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wv(e){return`scale(${e}, ${e**2})`}const Vv={entering:{opacity:1,transform:Wv(1)},entered:{opacity:1,transform:"none"}},Uv="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yv=y.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=$g}=e,g=Su(e,Gv),b=Ph(),v=y.useRef(),x=Wm(),S=y.useRef(null),C=wh(S,Wh(o),t),E=e=>t=>{if(e){const r=S.current;void 0===t?e(r):e(r,t)}},w=E(u),R=E(((e,t)=>{Yg(e);const{duration:r,delay:n,easing:o}=Kg({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=r,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:n}),x.transitions.create("transform",{duration:Uv?a:.666*a,delay:n,easing:o})].join(","),s&&s(e,t)})),A=E(l),k=E(p),P=E((e=>{const{duration:t,delay:r,easing:n}=Kg({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:r}),x.transitions.create("transform",{duration:Uv?o:.666*o,delay:Uv?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Wv(.75),c&&c(e)})),I=E(d);return Rl.jsx(m,xu({appear:n,in:a,nodeRef:S,onEnter:R,onEntered:A,onEntering:w,onExit:P,onExited:I,onExiting:k,addEndListener:e=>{"auto"===h&&b.start(v.current||0,e),r&&r(S.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>y.cloneElement(o,xu({style:xu({opacity:0,transform:Wv(.75),visibility:"exited"!==e||a?void 0:"hidden"},Vv[e],f,o.props.style),ref:C},t))}))}));Yv.muiSupportAuto=!0;const Kv=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Xv=Rg($b,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...zb(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),xu({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Vb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Vb.disabled}, .${Vb.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Vb.disabled}:before`]:{borderBottomStyle:"dotted"}})})),Jv=Rg(Hb,{name:"MuiInput",slot:"Input",overridesResolver:Fb})({}),Zv=y.forwardRef((function(e,t){var r,n,o,i;const a=Ig({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:h={},type:m="text"}=a,g=Su(a,Kv),b=(e=>{const{classes:t,disableUnderline:r}=e;return xu({},t,zh({root:["root",!r&&"underline"],input:["input"]},Wb,t))})(a),v={root:{ownerState:{disableUnderline:s}}},y=(null!=f?f:u)?gp(null!=f?f:u,v):v,x=null!=(r=null!=(n=h.root)?n:l.Root)?r:Xv,S=null!=(o=null!=(i=h.input)?i:l.Input)?o:Jv;return Rl.jsx(Gb,xu({slots:{root:x,input:S},slotProps:y,fullWidth:c,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))}));function Qv(e){return Nf("MuiLink",e)}Zv.muiName="Input";const ey=jf("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ty={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ry=({theme:e,ownerState:t})=>{const r=(e=>ty[e]||e)(t.color),n=kp(e,`palette.${r}`,!1)||t.color,o=kp(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:sm(n,.4)},ny=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],oy=Rg(Eb,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${Rp(r.underline)}`],"button"===r.component&&t.button]}})((({theme:e,ownerState:t})=>xu({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&xu({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:ry({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ey.focusVisible}`]:{outline:"auto"}}))),iy=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiLink"}),{className:n,color:o="primary",component:i="a",onBlur:a,onFocus:s,TypographyClasses:l,underline:u="always",variant:c="inherit",sx:d}=r,p=Su(r,ny),{isFocusVisibleRef:f,onBlur:h,onFocus:m,ref:g}=Nh(),[b,v]=y.useState(!1),x=wh(t,g),S=xu({},r,{color:o,component:i,focusVisible:b,underline:u,variant:c}),C=(e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e;return zh({root:["root",`underline${Rp(o)}`,"button"===r&&"button",n&&"focusVisible"]},Qv,t)})(S);return Rl.jsx(oy,xu({color:o,className:Pg(C.root,n),classes:l,component:i,onBlur:e=>{h(e),!1===f.current&&v(!1),a&&a(e)},onFocus:e=>{m(e),!0===f.current&&v(!0),s&&s(e)},ref:x,ownerState:S,variant:c,sx:[...Object.keys(ty).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},p))})),ay=y.createContext({});function sy(e){return Nf("MuiList",e)}jf("MuiList",["root","padding","dense","subheader"]);const ly=["children","className","component","dense","disablePadding","subheader"],uy=Rg("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>xu({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),cy=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l}=r,u=Su(r,ly),c=y.useMemo((()=>({dense:a})),[a]),d=xu({},r,{component:i,dense:a,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return zh({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},sy,t)})(d);return Rl.jsx(ay.Provider,{value:c,children:Rl.jsxs(uy,xu({as:i,className:Pg(p.root,o),ref:t,ownerState:d},u,{children:[l,n]}))})}));function dy(e){return Nf("MuiListItemIcon",e)}const py=jf("MuiListItemIcon",["root","alignItemsFlexStart"]),fy=["className"],hy=Rg("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>xu({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),my=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=Su(r,fy),i=xu({},r,{alignItems:y.useContext(ay).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return zh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},dy,r)})(i);return Rl.jsx(hy,xu({className:Pg(a.root,n),ownerState:i,ref:t},o))})),gy=jf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),by=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function vy(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function yy(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function xy(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function Sy(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&xy(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const Cy=y.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Su(e,by),p=y.useRef(null),f=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});uh((()=>{n&&p.current.focus()}),[n]),y.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&r){const r=`${jh(gh(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,p.current.style.width=`calc(100% + ${r})`}return p.current}})),[]);const h=wh(p,t);let m=-1;y.Children.forEach(i,((e,t)=>{y.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=y.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),y.cloneElement(e,t)}return e}));return Rl.jsx(cy,xu({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,r=e.key,n=gh(t).activeElement;if("ArrowDown"===r)e.preventDefault(),Sy(t,n,l,s,vy);else if("ArrowUp"===r)e.preventDefault(),Sy(t,n,l,s,yy);else if("Home"===r)e.preventDefault(),Sy(t,null,l,s,vy);else if("End"===r)e.preventDefault(),Sy(t,null,l,s,yy);else if(1===r.length){const o=f.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=n&&!o.repeating&&xy(n,o);o.previousKeyMatched&&(l||Sy(t,n,!1,s,vy,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:n?0:-1},d,{children:g}))}));function Ey(e){return Nf("MuiPopover",e)}jf("MuiPopover",["root","paper"]);const wy=["onEntering"],Ry=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Ay=["slotProps"];function ky(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function Py(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function Iy(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Ly(e){return"function"==typeof e?e():e}const My=Rg(Dv,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_y=Rg(Qg,{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}),Dy=y.forwardRef((function(e,t){var r,n,o;const i=Ig({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:d,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:b={},slots:v,slotProps:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:C=Yv,transitionDuration:E="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,A=Su(i.TransitionProps,wy),k=Su(i,Ry),P=null!=(r=null==x?void 0:x.paper)?r:b,I=y.useRef(),L=wh(I,P.ref),M=xu({},i,{anchorOrigin:l,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:P,transformOrigin:S,TransitionComponent:C,transitionDuration:E,TransitionProps:A}),_=(e=>{const{classes:t}=e;return zh({root:["root"],paper:["paper"]},Ey,t)})(M),D=y.useCallback((()=>{if("anchorPosition"===c)return u;const e=Ly(s),t=(e&&1===e.nodeType?e:gh(I.current).body).getBoundingClientRect();return{top:t.top+ky(t,l.vertical),left:t.left+Py(t,l.horizontal)}}),[s,l.horizontal,l.vertical,u,c]),T=y.useCallback((e=>({vertical:ky(e,S.vertical),horizontal:Py(e,S.horizontal)})),[S.horizontal,S.vertical]),O=y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=T(t);if("none"===c)return{top:null,left:null,transformOrigin:Iy(r)};const n=D();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,l=i+t.width,u=bh(Ly(s)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,r.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,r.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,r.horizontal+=e}else if(l>p){const e=l-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Iy(r)}}),[s,c,D,T,m]),[q,N]=y.useState(g),j=y.useCallback((()=>{const e=I.current;if(!e)return;const t=O(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[O]);y.useEffect((()=>(R&&window.addEventListener("scroll",j),()=>window.removeEventListener("scroll",j))),[s,R,j]);y.useEffect((()=>{g&&j()})),y.useImperativeHandle(a,(()=>g?{updatePosition:()=>{j()}}:null),[g,j]),y.useEffect((()=>{if(!g)return;const e=mh((()=>{j()})),t=bh(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,g,j]);let z=E;"auto"!==E||C.muiSupportAuto||(z=void 0);const F=f||(s?gh(Ly(s)).body:void 0),$=null!=(n=null==v?void 0:v.root)?n:My,H=null!=(o=null==v?void 0:v.paper)?o:_y,B=Gh({elementType:H,externalSlotProps:xu({},P,{style:q?P.style:xu({},P.style,{opacity:0})}),additionalProps:{elevation:h,ref:L},ownerState:M,className:Pg(_.paper,null==P?void 0:P.className)}),G=Gh({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:k,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:F,open:g},ownerState:M,className:Pg(_.root,p)}),{slotProps:W}=G,V=Su(G,Ay);return Rl.jsx($,xu({},V,!Fh($)&&{slotProps:W,disableScrollLock:R},{children:Rl.jsx(C,xu({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),j()},onExited:()=>{N(!1)},timeout:z},A,{children:Rl.jsx(H,xu({},B,{children:d}))}))}))}));function Ty(e){return Nf("MuiMenu",e)}jf("MuiMenu",["root","paper","list"]);const Oy=["onEntering"],qy=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Ny={vertical:"top",horizontal:"right"},jy={vertical:"top",horizontal:"left"},zy=Rg(Dy,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fy=Rg(_y,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$y=Rg(Cy,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Hy=y.forwardRef((function(e,t){var r,n;const o=Ig({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:d,PaperProps:p={},PopoverClasses:f,transitionDuration:h="auto",TransitionProps:{onEntering:m}={},variant:g="selectedMenu",slots:b={},slotProps:v={}}=o,x=Su(o.TransitionProps,Oy),S=Su(o,qy),C=(()=>{const e=y.useContext(Xh);return null!=e&&e})(),E=xu({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:x,variant:g}),w=(e=>{const{classes:t}=e;return zh({root:["root"],paper:["paper"],list:["list"]},Ty,t)})(E),R=i&&!l&&d,A=y.useRef(null);let k=-1;y.Children.map(a,((e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===k)&&(k=t))}));const P=null!=(r=b.paper)?r:Fy,I=null!=(n=v.paper)?n:p,L=Gh({elementType:b.root,externalSlotProps:v.root,ownerState:E,className:[w.root,s]}),M=Gh({elementType:P,externalSlotProps:I,ownerState:E,className:w.paper});return Rl.jsx(zy,xu({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Ny:jy,slots:{paper:P,root:b.root},slotProps:{root:L,paper:M},open:d,ref:t,transitionDuration:h,TransitionProps:xu({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:E},S,{classes:f,children:Rl.jsx($y,xu({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===k||l),autoFocusItem:R,variant:g},u,{className:Pg(w.list,u.className),children:a}))}))}));function By(e){return Nf("MuiMenuItem",e)}const Gy=jf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Wy=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Vy=Rg(bb,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>xu({},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"}},[`&.${Gy.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:sm(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Gy.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:sm(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Gy.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:sm(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})`:sm(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Gy.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Gy.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ov.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ov.inset}`]:{marginLeft:52},[`& .${gy.root}`]:{marginTop:0,marginBottom:0},[`& .${gy.inset}`]:{paddingLeft:36},[`& .${py.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&xu({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${py.root} svg`]:{fontSize:"1.25rem"}})))),Uy=y.forwardRef((function(e,t){const r=Ig({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u="menuitem",tabIndex:c,className:d}=r,p=Su(r,Wy),f=y.useContext(ay),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:s})),[f.dense,i,s]),m=y.useRef(null);uh((()=>{n&&m.current&&m.current.focus()}),[n]);const g=xu({},r,{dense:h.dense,divider:a,disableGutters:s}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return xu({},a,zh({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},By,a))})(r),v=wh(m,t);let x;return r.disabled||(x=void 0!==c?c:-1),Rl.jsx(ay.Provider,{value:h,children:Rl.jsx(Vy,xu({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:Pg(b.focusVisible,l),className:Pg(b.root,d)},p,{ownerState:g,classes:b}))})}));function Yy(e){return Nf("MuiNativeSelect",e)}const Ky=jf("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Xy=["className","disabled","error","IconComponent","inputRef","variant"],Jy=({ownerState:e,theme:t})=>xu({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":xu({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Ky.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Zy=Rg("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wg,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Ky.multiple}`]:t.multiple}]}})(Jy),Qy=({ownerState:e,theme:t})=>xu({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Ky.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),ex=Rg("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Rp(r.variant)}`],r.open&&t.iconOpen]}})(Qy),tx=y.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:i,inputRef:a,variant:s="standard"}=e,l=Su(e,Xy),u=xu({},e,{disabled:n,variant:s,error:o}),c=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return zh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Rp(r)}`,i&&"iconOpen",n&&"disabled"]},Yy,t)})(u);return Rl.jsxs(y.Fragment,{children:[Rl.jsx(Zy,xu({ownerState:u,className:Pg(c.select,r),disabled:n,ref:a||t},l)),e.multiple?null:Rl.jsx(ex,{as:i,ownerState:u,className:c.icon})]})}));var rx;const nx=["children","classes","className","label","notched"],ox=Rg("fieldset",{shouldForwardProp:wg})({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%"}),ix=Rg("legend",{shouldForwardProp:wg})((({ownerState:e,theme:t})=>xu({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&&xu({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})}))));const ax=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],sx=Rg($b,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:zb})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return xu({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Yb.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${Yb.focused} .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Yb.error} .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Yb.disabled} .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&xu({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),lx=Rg((function(e){const{className:t,label:r,notched:n}=e,o=Su(e,nx),i=null!=r&&""!==r,a=xu({},e,{notched:n,withLabel:i});return Rl.jsx(ox,xu({"aria-hidden":!0,className:t,ownerState:a},o,{children:Rl.jsx(ix,{ownerState:a,children:i?Rl.jsx("span",{children:r}):rx||(rx=Rl.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}})),ux=Rg(Hb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Fb})((({theme:e,ownerState:t})=>xu({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}))),cx=y.forwardRef((function(e,t){var r,n,o,i,a;const s=Ig({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=s,g=Su(s,ax),b=(e=>{const{classes:t}=e;return xu({},t,zh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ub,t))})(s),v=_b(),x=Lb({props:s,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=xu({},s,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:v,fullWidth:u,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:m}),C=null!=(r=null!=(n=h.root)?n:l.Root)?r:sx,E=null!=(o=null!=(i=h.input)?i:l.Input)?o:ux;return Rl.jsx(Gb,xu({slots:{root:C,input:E},renderSuffix:e=>Rl.jsx(lx,{ownerState:S,className:b.notchedOutline,label:null!=d&&""!==d&&x.required?a||(a=Rl.jsxs(y.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:c,multiline:p,ref:t,type:m},g,{classes:xu({},b,{notchedOutline:null})}))}));function dx(e){return Nf("MuiSelect",e)}cx.muiName="Input";const px=jf("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var fx;const hx=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],mx=Rg("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${px.select}`]:t.select},{[`&.${px.select}`]:t[r.variant]},{[`&.${px.error}`]:t.error},{[`&.${px.multiple}`]:t.multiple}]}})(Jy,{[`&.${px.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),gx=Rg("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Rp(r.variant)}`],r.open&&t.iconOpen]}})(Qy),bx=Rg("input",{shouldForwardProp:e=>Eg(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function vx(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function yx(e){return null==e||"string"==typeof e&&!e.trim()}const xx=y.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:p,error:f=!1,IconComponent:h,inputRef:m,labelId:g,MenuProps:b={},multiple:v,name:x,onBlur:S,onChange:C,onClose:E,onFocus:w,onOpen:R,open:A,readOnly:k,renderValue:P,SelectDisplayProps:I={},tabIndex:L,value:M,variant:_="standard"}=e,D=Su(e,hx),[T,O]=Ch({controlled:M,default:c,name:"Select"}),[q,N]=Ch({controlled:A,default:u,name:"Select"}),j=y.useRef(null),z=y.useRef(null),[F,$]=y.useState(null),{current:H}=y.useRef(null!=A),[B,G]=y.useState(),W=wh(t,m),V=y.useCallback((e=>{z.current=e,e&&$(e)}),[]),U=null==F?void 0:F.parentNode;y.useImperativeHandle(W,(()=>({focus:()=>{z.current.focus()},node:j.current,value:T})),[T]),y.useEffect((()=>{u&&q&&F&&!H&&(G(a?null:U.clientWidth),z.current.focus())}),[F,a]),y.useEffect((()=>{i&&z.current.focus()}),[i]),y.useEffect((()=>{if(!g)return;const e=gh(z.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&z.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const Y=(e,t)=>{e?R&&R(t):E&&E(t),H||(G(a?null:U.clientWidth),N(e))},K=y.Children.toArray(s),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(v){r=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==r&&(O(r),C)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:x}}),C(o,e)}v||Y(!1,t)}},J=null!==F&&q;let Z,Q;delete D["aria-invalid"];const ee=[];let te=!1;(Ob({value:T})||p)&&(P?Z=P(T):te=!0);const re=K.map((e=>{if(!y.isValidElement(e))return null;let t;if(v){if(!Array.isArray(T))throw new Error(bu(2));t=T.some((t=>vx(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=vx(T,e.props.value),t&&te&&(Q=e.props.children);return y.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(Z=v?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Q);let ne,oe=B;!a&&H&&F&&(oe=U.clientWidth),ne=void 0!==L?L:d?null:0;const ie=I.id||(x?`mui-component-select-${x}`:void 0),ae=xu({},e,{variant:_,value:T,open:J,error:f}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return zh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Rp(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},dx,t)})(ae),le=xu({},b.PaperProps,null==(r=b.slotProps)?void 0:r.paper),ue=Sh();return Rl.jsxs(y.Fragment,{children:[Rl.jsx(mx,xu({ref:V,tabIndex:ne,role:"combobox","aria-controls":ue,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ie].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!k){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),Y(!0,e))}},onMouseDown:d||k?null:e=>{0===e.button&&(e.preventDefault(),z.current.focus(),Y(!0,e))},onBlur:e=>{!J&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:x}}),S(e))},onFocus:w},I,{ownerState:ae,className:Pg(I.className,se.select,l),id:ie,children:yx(Z)?fx||(fx=Rl.jsx("span",{className:"notranslate",children:"​"})):Z})),Rl.jsx(bx,xu({"aria-invalid":f,value:Array.isArray(T)?T.join(","):T,name:x,ref:j,"aria-hidden":!0,onChange:e=>{const t=K.find((t=>t.props.value===e.target.value));void 0!==t&&(O(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:i,ownerState:ae},D)),Rl.jsx(gx,{as:h,className:se.icon,ownerState:ae}),Rl.jsx(Hy,xu({id:`menu-${x||""}`,anchorEl:U,open:J,onClose:e=>{Y(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:xu({"aria-labelledby":g,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:xu({},b.slotProps,{paper:xu({},le,{style:xu({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})})),Sx=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Cx=["root"],Ex={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>wg(e)&&"variant"!==e,slot:"Root"},wx=Rg(Zv,Ex)(""),Rx=Rg(cx,Ex)(""),Ax=Rg(Bv,Ex)(""),kx=y.forwardRef((function(e,t){const r=Ig({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:i={},className:a,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:u=Jb,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:b=!1,onClose:v,onOpen:x,open:S,renderValue:C,SelectDisplayProps:E,variant:w="outlined"}=r,R=Su(r,Sx),A=b?tx:xx,k=Lb({props:r,muiFormControl:_b(),states:["variant","error"]}),P=k.variant||w,I=xu({},r,{variant:P,classes:i}),L=(e=>{const{classes:t}=e;return t})(I),M=Su(L,Cx),_=d||{standard:Rl.jsx(wx,{ownerState:I}),outlined:Rl.jsx(Rx,{label:f,ownerState:I}),filled:Rl.jsx(Ax,{ownerState:I})}[P],D=wh(t,Wh(_));return Rl.jsx(y.Fragment,{children:y.cloneElement(_,xu({inputComponent:A,inputProps:xu({children:o,error:k.error,IconComponent:u,variant:P,type:void 0,multiple:g},b?{id:c}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:h,MenuProps:m,onClose:v,onOpen:x,open:S,renderValue:C,SelectDisplayProps:xu({id:c},E)},p,{classes:p?gp(M,p.classes):M},d?d.props.inputProps:{})},(g&&b||l)&&"outlined"===P?{notched:!0}:{},{ref:D,className:Pg(_.props.className,a,L.root)},!d&&{variant:P},R))})}));function Px(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("rect",{stroke:ol.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}kx.muiName="Select";const Ix={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:ul,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var Lx=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:ol.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:ol.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Rl.jsx(Pl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${ol.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`,borderRadius:ul,backgroundColor:ol.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${ol.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:ol.WHITE,color:ol.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:ul},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:ol.GREYSCALE_0_15,backgroundColor:ol.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${ol.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:ol.GREEN_PALE},"&:active":{backgroundColor:ol.GREEN_DARK},"&.Mui-focusVisible":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:ol.BLUE_PALE},"&:active":{backgroundColor:ol.BLUE_DARK},"&.Mui-focusVisible":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:ul,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:ol.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:ol.GREYSCALE_0_15,backgroundColor:ol.GREYSCALE_100_60,"&:active":{backgroundColor:ol.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${ol.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:ol.PURPLE,"&.Mui-focusVisible":{borderColor:ol.PURPLE,boxShadow:`0 0 0 3px ${fh(ol.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:ol.GREEN,"&.Mui-focusVisible":{borderColor:ol.GREEN,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:ol.BLUE,"&.Mui-focusVisible":{borderColor:ol.BLUE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:ol.ORANGE,"&.Mui-focusVisible":{borderColor:ol.ORANGE,boxShadow:`0 0 0 3px ${fh(ol.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:ol.RED,"&.Mui-focusVisible":{borderColor:ol.RED,boxShadow:`0 0 0 3px ${fh(ol.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:ol.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:ol.PURPLE_PALE},"&:active":{backgroundColor:ol.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:ol.PURPLE_PALE,boxShadow:`0 0 0 3px ${fh(ol.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:ol.GREEN_PALE},"&:active":{backgroundColor:ol.GREEN_DARK},"&.Mui-focusVisible":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:ol.BLUE_PALE},"&:active":{backgroundColor:ol.BLUE_DARK},"&.Mui-focusVisible":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:ol.ORANGE_PALE},"&:active":{backgroundColor:ol.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:ol.ORANGE_PALE,boxShadow:`0 0 0 3px ${fh(ol.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:ol.RED_PALE},"&:active":{backgroundColor:ol.RED_DARK},"&.Mui-focusVisible":{borderColor:ol.RED_PALE,boxShadow:`0 0 0 3px ${fh(ol.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:ol.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:ol.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:ul,boxShadow:`inset 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Rl.jsx(Ll,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:il,borderRadius:ul,color:ol.TEXT_PRIMARY,backgroundColor:ol.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:ol.GREYSCALE_0_05,color:ol.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:ol.GREEN,borderColor:ol.GREEN},"&.MuiChip-outlinedInfo":{color:ol.BLUE,borderColor:ol.BLUE},"&.MuiChip-outlinedWarning":{color:ol.ORANGE,borderColor:ol.ORANGE},"&.MuiChip-outlinedError":{color:ol.RED,borderColor:ol.RED}},outlined:{border:`solid 1px ${ol.GREYSCALE_0_15}`,backgroundColor:ol.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:ul,boxShadow:"none",backgroundColor:ol.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:ol.GREEN,borderColor:ol.GREEN},outlinedSecondary:{color:ol.BLUE,borderColor:ol.BLUE},label:{fontFamily:hl.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Rl.jsx(Ll,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Rl.jsx(Pl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:ul},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:ul,fontSize:al,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:ol.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${ol.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:ol.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:ol.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_05}}},popupIndicator:{borderRadius:ul,border:`solid 1px ${ol.GREYSCALE_0_15}`,color:ol.GREYSCALE_0_60,marginRight:0,width:ll,height:ll},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${ol.GREYSCALE_0_15}`},clearIndicator:{borderRadius:ul,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:ol.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:al}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:il,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:ol.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:ol.GREYSCALE_25,fontSize:il,fontFamily:hl.FONT_FAMILY,fontWeight:pl,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:ol.TEXT_PRIMARY},"&.Mui-error":{color:ol.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:ol.TEXT_SECONDARY,content:"'(optional)'",fontWeight:dl,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:ol.TEXT_SECONDARY,content:"'(required)'",fontWeight:dl,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:al,lineHeight:"16px",backgroundColor:ol.WHITE,borderRadius:ul,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.GREYSCALE_0_05}`,borderColor:ol.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${ol.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${ol.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.RED}`,boxShadow:`0px 0px 0px 1px ${ol.RED}, inset 0 2px 0 0 ${ol.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.GREYSCALE_0_10}`,borderColor:ol.GREYSCALE_0_10,backgroundColor:ol.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:ol.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:ol.GREYSCALE_0_15,borderRadius:ul,boxShadow:`inset 0 2px 0 0 ${ol.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Rl.jsx(Pl,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:ol.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:ol.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:ol.GREYSCALE_0_03},"&:active":{backgroundColor:ol.GREYSCALE_0_10},"&:focus":{backgroundColor:ol.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${ol.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:ol.GREYSCALE_0_30,"&:hover":{backgroundColor:ol.GREYSCALE_0_0,borderColor:ol.GREYSCALE_0_15},"& ~svg":{color:ol.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${ol.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:ul}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:ol.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:al,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:il,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:il,fontWeight:pl,color:ol.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:pl}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${ol.GREYSCALE_0_15}, 0px 0px 0px 1px ${ol.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Rl.jsx(Tl,{}),checkedIcon:Rl.jsx(Ol,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:ol.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:ol.GREYSCALE_0_20}},"&.Mui-disabled":{fill:ol.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Rl.jsx(Px,{}),checkedIcon:Rl.jsx(_l,{}),indeterminateIcon:Rl.jsx(Dl,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:ul,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:ol.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:ol.GREYSCALE_0_55,color:ol.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:ol.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:ol.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:ol.GREYSCALE_0_55,"&:hover":{color:ol.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:ol.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:ol.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:al,color:ol.TEXT_PRIMARY,lineHeight:"16px",fontWeight:pl},secondary:{fontSize:il,color:ol.GREYSCALE_45,fontWeight:dl,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:al,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:al,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:ol.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:il,borderBottom:`solid 1px ${ol.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:al,color:ol.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:ol.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:ol.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:ol.RED}}},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:ol.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:ol.GREEN,height:"24px","&.Mui-disabled":{color:ol.GREYSCALE_0_15}},rail:{backgroundColor:ol.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${ol.GREYSCALE_0_05}`,borderRadius:ul,boxShadow:`inset 0px 0px 0px 1px ${ol.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${ol.GREYSCALE_0_05}`,borderRadius:ul},thumb:{height:"16px",width:"16px",borderRadius:ul,backgroundColor:ol.WHITE,boxShadow:`0px 1px 2px 0px ${ol.GREYSCALE_0_15}, 0px 0px 0px 1px ${ol.GREYSCALE_0_05}`,"&:hover":{borderRadius:ul,boxShadow:`0 2px 4px 0 ${ol.GREYSCALE_0_30}, 0 0 0 1px ${ol.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${ol.GREYSCALE_0_15}, 0 0 0 1px ${ol.GREYSCALE_0_06}, 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${ol.GREYSCALE_0_15}, 0 0 0 1px ${ol.GREYSCALE_0_06}, 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:ol.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:ol.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:ol.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:ol.GREYSCALE_0_15},markLabel:{color:ol.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:ol.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:ol.WHITE,color:ol.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:ol.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:ol.GREYSCALE_0_15,borderRadius:ul},thumb:{height:"16px",width:"16px",borderRadius:ul,backgroundColor:ol.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:al,fontWeight:pl,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${ol.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`,backgroundColor:ol.GREYSCALE_0_03,borderRadius:ul},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:ol.GREYSCALE_25,"&.Mui-selected":{color:ol.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:al,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:ul,"&:hover":{backgroundColor:ol.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${ol.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${ol.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:ul,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:ol.GREYSCALE_0_05},"&:hover":{backgroundColor:ol.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${ol.GREYSCALE_85}`,borderRight:`1px solid ${ol.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:pl,backgroundColor:ol.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:ol.GREYSCALE_98,borderBottom:`1px solid ${ol.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${ol.GREYSCALE_85}`,borderTop:`1px solid ${ol.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:ol.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:ol.GREYSCALE_0_05,"&:hover":{backgroundColor:ol.GREYSCALE_0_03}},"&&:hover":{backgroundColor:ol.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Rl.jsx(ql,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${ol.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:al,borderRadius:ul,padding:"7px 16px",border:`1px solid ${ol.GREYSCALE_0_15}`,backgroundColor:ol.GREYSCALE_100_60,color:ol.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:ol.GREYSCALE_0_10,border:`1px solid ${ol.GREYSCALE_0_30}`},"&:hover":{backgroundColor:ol.GREYSCALE_0_03,border:`1px solid ${ol.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:ol.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${ol.MISC_FOCUS_BORDER}`,border:`1px solid ${ol.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:ol.GREYSCALE_25,backgroundColor:ol.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:ol.GREYSCALE_0_10,border:`1px solid ${ol.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:il,height:24,width:24,padding:7},sizeLarge:{fontSize:sl,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:al,borderRadius:ul}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:ol.GREYSCALE_20},tooltip:{backgroundColor:ol.GREYSCALE_20,fontSize:il,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Ix}:{}}))(t);const Mx=e=>({mode:"light",primary:{ultraLight:ol.GREEN_ULTRA_LIGHT,light:ol.GREEN_PALE,main:ol.GREEN,dark:ol.GREEN_DARK,extraDark:ol.GREEN_EXTRA_DARK,contrastText:ol.WHITE},secondary:{ultraLight:ol.BLUE_ULTRA_LIGHT,light:ol.BLUE_PALE,main:ol.BLUE,dark:ol.BLUE_DARK,extraDark:ol.BLUE_EXTRA_DARK,contrastText:ol.WHITE},error:{ultraLight:ol.RED_ULTRA_LIGHT,light:ol.RED_PALE,main:ol.RED,dark:ol.RED_DARK,extraDark:ol.RED_EXTRA_DARK,contrastText:ol.WHITE},warning:{ultraLight:ol.ORANGE_ULTRA_LIGHT,light:ol.ORANGE_PALE,main:ol.ORANGE,dark:ol.ORANGE_DARK,extraDark:ol.ORANGE_EXTRA_DARK,contrastText:ol.WHITE},success:{ultraLight:ol.GREEN_ULTRA_LIGHT,light:ol.GREEN_PALE,main:ol.GREEN,dark:ol.GREEN_DARK,extraDark:ol.GREEN_EXTRA_DARK,contrastText:ol.WHITE},info:{ultraLight:ol.BLUE_ULTRA_LIGHT,light:ol.BLUE_PALE,main:ol.BLUE,dark:ol.BLUE_DARK,extraDark:ol.BLUE_EXTRA_DARK,contrastText:ol.WHITE},text:{primary:ol.TEXT_PRIMARY,secondary:ol.TEXT_SECONDARY,disabled:ol.GREYSCALE_0_30},action:{hover:ol.GREYSCALE_0_03,hoverOpacity:.03,selected:ol.GREYSCALE_0_05,selectedOpacity:.05,focus:ol.MISC_FOCUS_BORDER},amethyst:{ultraLight:ol.WHITE,main:ol.PURPLE,light:ol.PURPLE_PALE,dark:ol.PURPLE_DARK,extraDark:ol.GREYSCALE_0_0,contrastText:ol.WHITE},background:{paper:ol.WHITE,default:ol.GREYSCALE_95},divider:ol.GREYSCALE_0_15}),_x={...nl},Dx=((e="light",t=!1)=>((e,t=!1)=>({components:Lx(0,t),palette:Mx(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:al,fontWeightLight:cl,fontWeightRegular:dl,fontWeightMedium:pl,fontWeightBold:fl,htmlFontSize:al,fontFamily:hl.FONT_FAMILY,button:{fontWeight:pl,fontSize:al,textTransform:"none"},body1:{fontSize:sl,lineHeight:"24px"},body2:{fontSize:al,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:ll,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:sl,fontWeight:pl,lineHeight:"16px"},h6:{fontSize:al,fontWeight:pl,lineHeight:"16px"},caption:{color:ol.TEXT_SECONDARY},subtitle1:{fontSize:al,color:ol.TEXT_SECONDARY},subtitle2:{fontSize:il,color:ol.TEXT_SECONDARY}},shape:{borderRadius:ul}}))(0,t))().palette,Tx={TEXT:Dx.text.primary,DISABLED:Dx.text.disabled,HOVER:Dx.action.hover,WHITE:_x.GREYSCALE_100,BORDER_LIGHT:_x.GREYSCALE_90,BORDER_MEDIUM:_x.GREYSCALE_85,BORDER_HEAVY:_x.GREYSCALE_50,DARK_MODE_TEXT:_x.GREYSCALE_95,DARK_MODE_BORDER:_x.GREYSCALE_95,DARK_MODE_DISABLED:_x.GREYSCALE_70,DARK_MODE_BACKGROUND:_x.GREYSCALE_20,TRANSPARENT:"transparent",NULL_VALUE_BACKGROUND:_x.GREYSCALE_95,SELECTED:Dx.primary.main},Ox=(e,t=Tx.TEXT,r=Tx.WHITE)=>{const n=ee(e),o=ee(t),i=ee(r);return n.isInvalid()?t:function(e,t,r){const n=te(e,t),o=te(e,r);if(void 0!==n&&void 0!==o)return n>o?t:r}(n,i,o).getRGB()},qx=e=>{const t=e.getStyle("","","dataColors.selected")||Tx.SELECTED,r=function(e,t){const r=ee("#FFFFFF"),n=ee(e),o=ee(t);if(n.isInvalid()||o.isInvalid()||n.getAlpha()<1||o.getAlpha()<1)return t;const i=te(r,n),a=te(o,n),s=i>a||i>4.5;return!s&&a>3?o.getHex():s?"#FFFFFF":"#000000"}(t,Tx.TEXT);return{background:t,color:r}},Nx=(e,t)=>{const r=ee(e);return 0===r.a?(r.setAlpha(t.opacity),r.getString()):r.isDark()?r.getBrightenedColor(t.brighter).getString():r.getDarkenedColor(t.darker).getString()},jx=e=>!!e&&0===ee(e).a,zx=(e,t,r)=>{const n=t?e.getColorPickerColor(t):"none";return"none"===n?r:n},Fx=e=>{const t=ee(e);return t.isInvalid()?null:1===t.a?t.getRGB():t.getRGBA()},$x=(e,t,r)=>{var n,o,i,a;const s=null!==(n=null===(o=e.closest(".qv-object-wrapper"))||void 0===o||null===(o=o.querySelector(".sel-toolbar-confirm"))||void 0===o?void 0:o.parentElement)&&void 0!==n?n:null===(i=document.querySelector("#qv-selection-toolbar-popover .sel-toolbar-confirm"))||void 0===i?void 0:i.parentElement;s?s.focus():null===(a=t.focusSelection)||void 0===a||a.call(t,r)},Hx=e=>{e.stopPropagation(),e.preventDefault()},Bx="#grid",Gx=(e,t,r,n=Tx.WHITE)=>e&&!jx(e)?e:jx(t)?r&&!jx(r)?r:n:t,Wx=(e,t)=>{const r=null==t?void 0:t.closest(e);return r&&window.getComputedStyle(r).backgroundColor},Vx=(e,t,r,n,o)=>{const i=Wx(".qv-object .qv-inner-object",r),a=Wx(".qv-panel-sheet",r),s=Wx(Bx,r),l=null!=s?s:a,u=(e=>{var t,r,n,o,i,a;const s=null===(t=e.components)||void 0===t?void 0:t.find((e=>"general"===e.key)),l=null==s||null===(r=s.bgColor)||void 0===r?void 0:r.colorExpression,u=null==s||null===(n=s.bgColor)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.color;if((null==s||null===(o=s.bgColor)||void 0===o?void 0:o.useColorExpression)&&l)return Fx(l);if("none"===u)return"transparent";if(void 0===u)return;const c=ee(u);return c.setAlpha(null!==(i=null==s||null===(a=s.bgColor)||void 0===a||null===(a=a.color)||void 0===a?void 0:a.alpha)&&void 0!==i?i:c.a),c.getRGBA()})(e),c=null==n?void 0:n(t),d=null==o?void 0:o(t),p=c||i||d,f=jx(p),h=!jx(m=f?l:p)&&Ox(m,Tx.TEXT,Tx.DARK_MODE_TEXT)===K(Tx.DARK_MODE_TEXT);var m;return{color:p,headerColor:Gx(u,p,l),isDark:h}},Ux=(t,r,a,s)=>{const l=i(),u=((e,t={attributeFilter:["style"],childList:!1,subtree:!1})=>{const[r,i]=n([]);return o((()=>{let r;return e&&(r=new MutationObserver((e=>{i(e)})),r.observe(e,t)),()=>{var e;null===(e=r)||void 0===e||e.disconnect()}}),[e,t]),r})(r.closest(Bx),{attributeFilter:["style"],childList:!1,subtree:!1,attributeOldValue:!0}).filter((({oldValue:e})=>null==e?void 0:e.includes("background"))).map((({oldValue:e})=>e)).join(",");return e((()=>({...l,background:Vx(t,l,r,a,s)})),[l.name(),r,a,s,t,u])};function Yx(t,n){const o=e((()=>({isLoading:!0})),n),[i,a]=r((async()=>{try{return await t()}finally{o.isLoading=!1}}),n);return[i,o.isLoading,a]}const Kx=3;function Xx(e,t,r){let n=0,o=e.length;if(e.length<=1)return null;if(r(e)<=t)return null;for(;n<=o;){const i=Math.floor((n+o)/2),a=e.slice(0,i),s=e.slice(0,i-1),l=r(a),u=r(s);if(l>t&&u<=t)return e.slice(i-1)||null;if(l===t)return e.slice(i)||null;l<t?n=i+1:o=i}return null}function Jx({fontSize:e="12px",fontFamily:t="Source Sans Pro, Arial, sans-serif",fontStyle:r="normal",fontWeight:n="normal"},o){const{maxNbrLinesOfText:i=Kx}=null!=o?o:{},{estimateWidth:a,measureText:s,estimateLineCount:l}=E((()=>{const o=document.createElement("canvas").getContext("2d");o.font=`${r} ${n} ${e} ${t}`;const a=at(o.measureText.bind(o)),s=e=>+a(e).width.toFixed(2),l=at((({text:e,maxWidth:t,isNumeric:r=!1})=>{if(r)return 1;let n=0,o=e;do{n+=1,o=Xx(o,t,s)}while(null!==o&&n<i);return n}),(({text:e,maxWidth:t,isNumeric:r})=>`${e}-${t}-${r?"true":"false"}`));return{measureText:e=>a(e).width,estimateWidth:e=>a("N").width*e,estimateLineCount:l}}),[r,n,e,t,i]);return{estimateWidth:a,measureText:s,estimateLineCount:l}}var Zx,Qx=F;Zx=Qx.createRoot,Qx.hydrateRoot;const eS="Source Sans Pro, sans-serif";function tS(e,t){const[r,n]=C(t);r.some(((e,r)=>e!==t[r]))&&(n(t),e())}var rS={NebulaTableUtils_ColumnAdjuster_ColumnNameLabel:{id:"NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",locale:{"de-DE":"Breite von {0}","en-US":"Width of {0}","es-ES":"Ancho de {0}","fr-FR":"Largeur de {0}","it-IT":"Larghezza di {0}","ja-JP":"{0} の幅","ko-KR":"{0}의 너비","nl-NL":"Breedte van {0}","pl-PL":"Szerokość kolumny {0}","pt-BR":"Comprimento de {0}","ru-RU":'Ширина столбца "{0}"',"sv-SE":"Bredd på {0}","tr-TR":"{0} genişliği","zh-CN":"{0} 的宽度","zh-TW":"{0} 的寬度"}},NebulaTableUtils_MenuGroupLabel_Sorting:{id:"NebulaTableUtils.MenuGroupLabel.Sorting",locale:{"de-DE":"Sortierung","en-US":"Sorting","es-ES":"Ordenación","fr-FR":"Tri","it-IT":"Ordinamento","ja-JP":"ソート","ko-KR":"정렬","nl-NL":"Sorteren","pl-PL":"Sortowanie","pt-BR":"Classificação","ru-RU":"Сортировка","sv-SE":"Sortering","tr-TR":"Sıralama","zh-CN":"排序","zh-TW":"排序"}},NebulaTableUtils_MenuItemLabel_AdjustColumnSize:{id:"NebulaTableUtils.MenuItemLabel.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},NebulaTableUtils_MenuItemLabel_ClearSelections:{id:"NebulaTableUtils.MenuItemLabel.ClearSelections",locale:{"de-DE":"Auswahlen löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Geselecteerde waarden wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},NebulaTableUtils_MenuItemLabel_Collapse:{id:"NebulaTableUtils.MenuItemLabel.Collapse",locale:{"de-DE":"Reduzieren","en-US":"Collapse","es-ES":"Contraer","fr-FR":"Réduire","it-IT":"Comprimi","ja-JP":"折りたたむ","ko-KR":"축소","nl-NL":"Samenvouwen","pl-PL":"Zwiń","pt-BR":"Recolher","ru-RU":"Свернуть","sv-SE":"Dölj","tr-TR":"Daralt","zh-CN":"折叠","zh-TW":"收合"}},NebulaTableUtils_MenuItemLabel_ColumnOptions:{id:"NebulaTableUtils.MenuItemLabel.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбца","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},NebulaTableUtils_MenuItemLabel_Expand:{id:"NebulaTableUtils.MenuItemLabel.Expand",locale:{"de-DE":"Erweitern","en-US":"Expand","es-ES":"Expandir","fr-FR":"Développer","it-IT":"Espandi","ja-JP":"展開","ko-KR":"확장","nl-NL":"Uitvouwen","pl-PL":"Rozwiń","pt-BR":"Expandir","ru-RU":"Развернуть","sv-SE":"Utöka","tr-TR":"Genişlet","zh-CN":"展开","zh-TW":"展開"}},NebulaTableUtils_MenuItemLabel_Search:{id:"NebulaTableUtils.MenuItemLabel.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},NebulaTableUtils_MenuItemLabel_SelectAll:{id:"NebulaTableUtils.MenuItemLabel.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},NebulaTableUtils_MenuItemLabel_SelectAlternative:{id:"NebulaTableUtils.MenuItemLabel.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대체 가능 값 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},NebulaTableUtils_MenuItemLabel_SelectExcluded:{id:"NebulaTableUtils.MenuItemLabel.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},NebulaTableUtils_MenuItemLabel_SelectPossible:{id:"NebulaTableUtils.MenuItemLabel.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},NebulaTableUtils_MenuItemLabel_Selections:{id:"NebulaTableUtils.MenuItemLabel.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택 내용","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},NebulaTableUtils_MenuItemLabel_SortAscending:{id:"NebulaTableUtils.MenuItemLabel.SortAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortieren","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Trier par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},NebulaTableUtils_MenuItemLabel_SortDescending:{id:"NebulaTableUtils.MenuItemLabel.SortDescending",locale:{"de-DE":"In absteigender Reihenfolge sortieren","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Trier par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},NebulaTableUtils_Pagination_DisplayedRowsLabel:{id:"NebulaTableUtils.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{0}/{1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},NebulaTableUtils_Pagination_FirstPage:{id:"NebulaTableUtils.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},NebulaTableUtils_Pagination_LastPage:{id:"NebulaTableUtils.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},NebulaTableUtils_Pagination_NextPage:{id:"NebulaTableUtils.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},NebulaTableUtils_Pagination_PreviousPage:{id:"NebulaTableUtils.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},NebulaTableUtils_Pagination_RowsPerPage:{id:"NebulaTableUtils.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},NebulaTableUtils_Pagination_SelectPage:{id:"NebulaTableUtils.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}}};const nS=({translator:e})=>(E((()=>{!function(e){if(e&&e.get&&e.add){const t="NebulaTableUtils.MenuGroupLabel.Sorting";if(e.get(t)!==t)return;Object.keys(rS).forEach((t=>{e.add(rS[t])}))}}(e)}),[e]),e),oS="12px",iS="nebula-table-utils-head-menu-button",aS="nebula-table-utils-head-menu-wrapper",sS="nebula-table-utils-head-menu",lS="nebula-table-utils-head-menu-list-id",uS="sn-copy-cell";let cS=function(e){return e.Enter="Enter",e.Space=" ",e.Esc="Escape",e.Tab="Tab",e.Shift="Shift",e.Left="ArrowLeft",e.Right="ArrowRight",e.Up="ArrowUp",e.Down="ArrowDown",e.C="c",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e}({});const dS="nebula-table-utils-column-adjuster";let pS=function(e){return e[e.PixelsMin=30]="PixelsMin",e[e.PixelsMax=7680]="PixelsMax",e[e.PixelsDefault=200]="PixelsDefault",e[e.PercentageMin=1]="PercentageMin",e[e.PercentageMax=100]="PercentageMax",e[e.PercentageDefault=20]="PercentageDefault",e[e.PercentageMaxInIndentMode=75]="PercentageMaxInIndentMode",e[e.AutoMinPivot=80]="AutoMinPivot",e[e.AutoMinTable=120]="AutoMinTable",e}({}),fS=function(e){return e.Auto="auto",e.FitToContent="fitToContent",e.Pixels="pixels",e.Percentage="percentage",e}({});const hS={darker:.15,brighter:.3,opacity:.03},mS={darker:.3,brighter:.5,opacity:.05};let gS=function(e){return e.Single="N",e.DrillDown="H",e.Cyclic="C",e}({});const bS=document.createElement("textarea");function vS(e){bS.value=e,document.body.appendChild(bS),bS.select(),bS.setSelectionRange(0,bS.value.length),document.execCommand("copy"),document.body.removeChild(bS)}bS.style.position="absolute",bS.style.left="-9999px",bS.setAttribute("readonly","");const yS=e=>{var t;const r=e.title;r&&(null!==(t=navigator.clipboard)&&void 0!==t&&t.writeText?navigator.clipboard.writeText(r).catch((()=>{vS(r)})):vS(r))};function xS(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var SS,CS,ES,wS="top",RS="top-right",AS="right",kS="bottom-right",PS="bottom",IS="bottom-left",LS="left",MS="top-left";xS(xS(xS(xS(xS(xS(xS(xS(xS(xS(SS={},"equal-equal",[wS,PS]),"equal-higher",[PS,kS]),"equal-lower",[wS,RS]),"equal-void",[wS,PS]),"higher-equal",[LS,IS,wS,RS]),"higher-higher-acute",[PS,IS,LS,RS]),"higher-higher-obtuse",[PS,wS]),"higher-lower-negative",[wS,RS,AS]),"higher-lower-positive",[PS,IS,LS]),"higher-void",[wS]),xS(xS(xS(xS(xS(xS(xS(xS(xS(xS(SS,"lower-equal",[wS]),"lower-higher-negative",[wS,MS]),"lower-higher-positive",[kS]),"lower-lower-acute",[wS,MS,LS,RS,AS]),"lower-lower-obtuse",[wS,PS]),"lower-void",[wS]),"void-equal",[wS]),"void-higher",[wS,PS]),"void-lower",[wS,PS,LS]),"void-void",[wS]),xS(SS,"unclassified",[wS,PS,AS,LS,RS,kS,IS,MS]);var _S=function(){if(ES)return CS;ES=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return CS=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},CS}();function DS(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function TS(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function OS(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(_S);var qS=1/.7,NS="\\s*([+-]?\\d+)\\s*",jS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",zS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",FS=/^#([0-9a-f]{3,8})$/,$S=new RegExp(`^rgb\\(${NS},${NS},${NS}\\)$`),HS=new RegExp(`^rgb\\(${zS},${zS},${zS}\\)$`),BS=new RegExp(`^rgba\\(${NS},${NS},${NS},${jS}\\)$`),GS=new RegExp(`^rgba\\(${zS},${zS},${zS},${jS}\\)$`),WS=new RegExp(`^hsl\\(${jS},${zS},${zS}\\)$`),VS=new RegExp(`^hsla\\(${jS},${zS},${zS},${jS}\\)$`),US={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function YS(){return this.rgb().formatHex()}function KS(){return this.rgb().formatRgb()}function XS(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=FS.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?JS(t):3===r?new tC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ZS(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ZS(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=$S.exec(e))?new tC(t[1],t[2],t[3],1):(t=HS.exec(e))?new tC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=BS.exec(e))?ZS(t[1],t[2],t[3],t[4]):(t=GS.exec(e))?ZS(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=WS.exec(e))?sC(t[1],t[2]/100,t[3]/100,1):(t=VS.exec(e))?sC(t[1],t[2]/100,t[3]/100,t[4]):US.hasOwnProperty(e)?JS(US[e]):"transparent"===e?new tC(NaN,NaN,NaN,0):null}function JS(e){return new tC(e>>16&255,e>>8&255,255&e,1)}function ZS(e,t,r,n){return n<=0&&(e=t=r=NaN),new tC(e,t,r,n)}function QS(e){return e instanceof OS||(e=XS(e)),e?new tC((e=e.rgb()).r,e.g,e.b,e.opacity):new tC}function eC(e,t,r,n){return 1===arguments.length?QS(e):new tC(e,t,r,null==n?1:n)}function tC(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function rC(){return`#${aC(this.r)}${aC(this.g)}${aC(this.b)}`}function nC(){const e=oC(this.opacity);return`${1===e?"rgb(":"rgba("}${iC(this.r)}, ${iC(this.g)}, ${iC(this.b)}${1===e?")":`, ${e})`}`}function oC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function iC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function aC(e){return((e=iC(e))<16?"0":"")+e.toString(16)}function sC(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new uC(e,t,r,n)}function lC(e){if(e instanceof uC)return new uC(e.h,e.s,e.l,e.opacity);if(e instanceof OS||(e=XS(e)),!e)return new uC;if(e instanceof uC)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new uC(a,s,l,e.opacity)}function uC(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function cC(e){return(e=(e||0)%360)<0?e+360:e}function dC(e){return Math.max(0,Math.min(1,e||0))}function pC(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}DS(OS,XS,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:YS,formatHex:YS,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return lC(this).formatHsl()},formatRgb:KS,toString:KS}),DS(tC,eC,TS(OS,{brighter(e){return e=null==e?qS:Math.pow(qS,e),new tC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new tC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new tC(iC(this.r),iC(this.g),iC(this.b),oC(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rC,formatHex:rC,formatHex8:function(){return`#${aC(this.r)}${aC(this.g)}${aC(this.b)}${aC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:nC,toString:nC})),DS(uC,(function(e,t,r,n){return 1===arguments.length?lC(e):new uC(e,t,r,null==n?1:n)}),TS(OS,{brighter(e){return e=null==e?qS:Math.pow(qS,e),new uC(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new uC(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new tC(pC(e>=240?e-240:e+120,o,n),pC(e,o,n),pC(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new uC(cC(this.h),dC(this.s),dC(this.l),oC(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=oC(this.opacity);return`${1===e?"hsl(":"hsla("}${cC(this.h)}, ${100*dC(this.s)}%, ${100*dC(this.l)}%${1===e?")":`, ${e})`}`}}));const fC=Math.PI/180,hC=180/Math.PI,mC=4/29,gC=6/29,bC=3*gC*gC;function vC(e){if(e instanceof yC)return new yC(e.l,e.a,e.b,e.opacity);if(e instanceof wC)return RC(e);e instanceof tC||(e=QS(e));var t,r,n=EC(e.r),o=EC(e.g),i=EC(e.b),a=xC((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=xC((.4360747*n+.3850649*o+.1430804*i)/.96422),r=xC((.0139322*n+.0971045*o+.7141733*i)/.82521)),new yC(116*a-16,500*(t-a),200*(a-r),e.opacity)}function yC(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function xC(e){return e>.008856451679035631?Math.pow(e,1/3):e/bC+mC}function SC(e){return e>gC?e*e*e:bC*(e-mC)}function CC(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function EC(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function wC(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function RC(e){if(isNaN(e.h))return new yC(e.l,0,0,e.opacity);var t=e.h*fC;return new yC(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}DS(yC,(function(e,t,r,n){return 1===arguments.length?vC(e):new yC(e,t,r,null==n?1:n)}),TS(OS,{brighter(e){return new yC(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new yC(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new tC(CC(3.1338561*(t=.96422*SC(t))-1.6168667*(e=1*SC(e))-.4906146*(r=.82521*SC(r))),CC(-.9787684*t+1.9161415*e+.033454*r),CC(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),DS(wC,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof wC)return new wC(e.h,e.c,e.l,e.opacity);if(e instanceof yC||(e=vC(e)),0===e.a&&0===e.b)return new wC(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*hC;return new wC(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new wC(e,t,r,null==n?1:n)}),TS(OS,{brighter(e){return new wC(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new wC(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return RC(this).rgb()}}));var AC=e=>()=>e;function kC(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):AC(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?kC:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):AC(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=eC(e)).r,(t=eC(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=kC(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var PC="center",IC="bottom";[{key:"NoDataExist",alignment:PC,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:PC,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:PC,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:PC},{key:"DataRangeIncludingZero",alignment:IC},{key:"LimitedData",alignment:IC},{key:"NegativeOrZeroValues",alignment:IC}].reduce((function(e,t){return e[t.key]=t,e}),{});var LC,MC=["__proto__","constructor"];function _C(e,t,r){if(void 0!==e&&void 0!==t){var n=t.split("."),o=n[n.length-1];if(!MC.some((function(e){return n.includes(e)}))){for(var i=e,a=0;a<n.length-1;++a){var s=n[a];void 0===i[s]&&(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}}}function DC(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function TC(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=qC)):void 0===t&&(t=OC);for(var r,n,o,i,a,s=new zC(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new zC(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(jC)}function OC(e){return e.children}function qC(e){return Array.isArray(e)?e[1]:null}function NC(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function jC(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function zC(e){this.data=e,this.depth=this.height=0,this.parent=null}zC.prototype=TC.prototype={constructor:zC,count:function(){return this.eachAfter(DC)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return TC(this).eachBefore(NC)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},LC=function(e){
102
+ `),eb.rippleVisible,sb,550,(({theme:e})=>e.transitions.easing.easeInOut),eb.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),eb.child,eb.childLeaving,lb,550,(({theme:e})=>e.transitions.easing.easeInOut),eb.childPulsate,ub,(({theme:e})=>e.transitions.easing.easeInOut)),pb=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=Su(r,tb),[s,l]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[s]);const d=y.useRef(!1),p=Ph(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;l((e=>[...e,Rl.jsx(db,{classes:{ripple:Pg(o.ripple,eb.ripple),rippleVisible:Pg(o.rippleVisible,eb.rippleVisible),ripplePulsate:Pg(o.ripplePulsate,eb.ripplePulsate),child:Pg(o.child,eb.child),childLeaving:Pg(o.childLeaving,eb.childLeaving),childPulsate:Pg(o.childPulsate,eb.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(r-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})}),[n,m,p]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{v(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),Rl.jsx(cb,xu({className:Pg(eb.root,o.root,i),ref:h},a,{children:Rl.jsx(Ug,{component:null,exit:!0,children:s})}))}));function fb(e){return Nf("MuiButtonBase",e)}const hb=jf("MuiButtonBase",["root","disabled","focusVisible"]),mb=["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"],gb=Rg("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"},[`&.${hb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),bb=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:x,onKeyUp:S,onMouseDown:C,onMouseLeave:E,onMouseUp:w,onTouchEnd:R,onTouchMove:A,onTouchStart:k,tabIndex:P=0,TouchRippleProps:L,touchRippleRef:I,type:M}=r,_=Su(r,mb),D=y.useRef(null),T=y.useRef(null),O=wh(T,I),{isFocusVisibleRef:q,onFocus:N,onBlur:j,ref:z}=Nh(),[F,$]=y.useState(!1);l&&F&&$(!1),y.useImperativeHandle(n,(()=>({focusVisible:()=>{$(!0),D.current.focus()}})),[]);const[H,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const G=H&&!u&&!l;function W(e,t,r=c){return Eh((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}y.useEffect((()=>{F&&d&&!u&&H&&T.current.pulsate()}),[u,d,F,H]);const V=W("start",C),U=W("stop",m),Y=W("stop",g),K=W("stop",w),X=W("stop",(e=>{F&&e.preventDefault(),E&&E(e)})),J=W("start",k),Z=W("stop",R),Q=W("stop",A),ee=W("stop",(e=>{j(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=Eh((e=>{D.current||(D.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),re=()=>{const e=D.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=y.useRef(!1),oe=Eh((e=>{d&&!ne.current&&F&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Eh((e=>{d&&" "===e.key&&T.current&&F&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(_.href||_.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===M?"button":M,se.disabled=l):(_.href||_.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=wh(t,z,D),ue=xu({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:F}),ce=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=zh({root:["root",t&&"disabled",r&&"focusVisible"]},fb,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return Rl.jsxs(gb,xu({as:ae,className:Pg(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:U,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:Y,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:P,type:M},se,_,{children:[i,G?Rl.jsx(pb,xu({ref:O,center:o},L)):null]}))}));function vb(e){return Nf("MuiTypography",e)}jf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const yb=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],xb=Rg("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${Rp(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>xu({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Sb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Cb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Eb=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiTypography"}),n=(e=>Cb[e]||e)(r.color),o=Lf(xu({},r,{color:n})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:p=Sb}=o,f=Su(o,yb),h=xu({},o,{align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:u,paragraph:c,variant:d,variantMapping:p}),m=s||(c?"p":p[d]||Sb[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return zh({root:["root",i,"inherit"!==e.align&&`align${Rp(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},vb,a)})(h);return Rl.jsx(xb,xu({as:m,ref:t,ownerState:h,className:Pg(g.root,a)},f))}));const wb=y.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=y.useState(null),s=wh(y.isValidElement(r)?Wh(r):null,t);if(uh((()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),uh((()=>{if(i&&!o)return vh(t,i),()=>{vh(t,null)}}),[t,i,o]),o){if(y.isValidElement(r)){const e={ref:s};return y.cloneElement(r,e)}return Rl.jsx(y.Fragment,{children:r})}return Rl.jsx(y.Fragment,{children:i?z.createPortal(r,i):i})})),Rb=["onChange","maxRows","minRows","style","value"];function Ab(e){return parseInt(e,10)||0}const kb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Pb(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Lb=y.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a}=e,s=Su(e,Rb),{current:l}=y.useRef(null!=a),u=y.useRef(null),c=wh(t,u),d=y.useRef(null),p=y.useRef(null),f=y.useCallback((()=>{const t=u.current,r=p.current;if(!t||!r)return;const i=bh(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const a=i.boxSizing,s=Ab(i.paddingBottom)+Ab(i.paddingTop),l=Ab(i.borderBottomWidth)+Ab(i.borderTopWidth),c=r.scrollHeight;r.value="x";const d=r.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*d,f)),n&&(f=Math.min(Number(n)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===a?s+l:0),overflowing:Math.abs(f-c)<=1}}),[n,o,e.placeholder]),h=Eh((()=>{const e=u.current,t=f();if(!e||!t||Pb(t))return!1;const r=t.outerHeightStyle;return null!=d.current&&d.current!==r})),m=y.useCallback((()=>{const e=u.current,t=f();if(!e||!t||Pb(t))return;const r=t.outerHeightStyle;d.current!==r&&(d.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""}),[f]),g=y.useRef(-1);uh((()=>{const e=mh(m),t=null==u?void 0:u.current;if(!t)return;const r=bh(t);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver((()=>{h()&&(n.unobserve(t),cancelAnimationFrame(g.current),m(),g.current=requestAnimationFrame((()=>{n.observe(t)})))})),n.observe(t)),()=>{e.clear(),cancelAnimationFrame(g.current),r.removeEventListener("resize",e),n&&n.disconnect()}}),[f,m,h]),uh((()=>{m()}));return Rl.jsxs(y.Fragment,{children:[Rl.jsx("textarea",xu({value:a,onChange:e=>{l||m(),r&&r(e)},ref:c,rows:o,style:i},s)),Rl.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:xu({},kb,i,{paddingTop:0,paddingBottom:0})})]})}));function Ib({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}const Mb=y.createContext(void 0);function _b(){return y.useContext(Mb)}function Db(e){return Rl.jsx(kf,xu({},e,{defaultTheme:Gm,themeId:yu}))}function Tb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Ob(e,t=!1){return e&&(Tb(e.value)&&""!==e.value||t&&Tb(e.defaultValue)&&""!==e.defaultValue)}function qb(e){return Nf("MuiInputBase",e)}const Nb=jf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),jb=["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"],zb=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Rp(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Fb=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},$b=Rg("div",{name:"MuiInputBase",slot:"Root",overridesResolver:zb})((({theme:e,ownerState:t})=>xu({},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",[`&.${Nb.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&xu({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Hb=Rg("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Fb})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=xu({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return xu({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":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Nb.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Nb.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"})})),Bb=Rl.jsx(Db,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Gb=y.forwardRef((function(e,t){var r;const n=Lg({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,components:l={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:b={},inputRef:v,maxRows:x,minRows:S,multiline:C=!1,name:E,onBlur:w,onChange:R,onClick:A,onFocus:k,onKeyDown:P,onKeyUp:L,placeholder:I,readOnly:M,renderSuffix:_,rows:D,slotProps:T={},slots:O={},startAdornment:q,type:N="text",value:j}=n,z=Su(n,jb),F=null!=b.value?b.value:j,{current:$}=y.useRef(null!=F),H=y.useRef(),B=y.useCallback((e=>{}),[]),G=wh(H,v,b.ref,B),[W,V]=y.useState(!1),U=_b(),Y=Ib({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Y.focused=U?U.focused:W,y.useEffect((()=>{!U&&d&&W&&(V(!1),w&&w())}),[U,d,W,w]);const K=U&&U.onFilled,X=U&&U.onEmpty,J=y.useCallback((e=>{Ob(e)?K&&K():X&&X()}),[K,X]);uh((()=>{$&&J({value:F})}),[F,J,$]);y.useEffect((()=>{J(H.current)}),[]);let Z=g,Q=b;C&&"input"===Z&&(Q=xu(D?{type:void 0,minRows:D,maxRows:D}:{type:void 0,maxRows:x,minRows:S},Q),Z=Lb);y.useEffect((()=>{U&&U.setAdornedStart(Boolean(q))}),[U,q]);const ee=xu({},n,{color:Y.color||"primary",disabled:Y.disabled,endAdornment:f,error:Y.error,focused:Y.focused,formControl:U,fullWidth:h,hiddenLabel:Y.hiddenLabel,multiline:C,size:Y.size,startAdornment:q,type:N}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return zh({root:["root",`color${Rp(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Rp(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},qb,t)})(ee),re=O.root||l.Root||$b,ne=T.root||u.root||{},oe=O.input||l.Input||Hb;return Q=xu({},Q,null!=(r=T.input)?r:u.input),Rl.jsxs(y.Fragment,{children:[!p&&Bb,Rl.jsxs(re,xu({},ne,!Fh(re)&&{ownerState:xu({},ee,ne.ownerState)},{ref:t,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),A&&A(e)}},z,{className:Pg(te.root,ne.className,s,M&&"MuiInputBase-readOnly"),children:[q,Rl.jsx(Mb.Provider,{value:null,children:Rl.jsx(oe,xu({ownerState:ee,"aria-invalid":Y.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:c,disabled:Y.disabled,id:m,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:E,placeholder:I,readOnly:M,required:Y.required,rows:D,value:F,onKeyDown:P,onKeyUp:L,type:N},Q,!Fh(oe)&&{as:Z,ownerState:xu({},ee,Q.ownerState)},{ref:G,className:Pg(te.input,Q.className,M&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),b.onBlur&&b.onBlur(e),U&&U.onBlur?U.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||H.current;if(null==t)throw new Error(bu(1));J({value:t.value})}b.onChange&&b.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{Y.disabled?e.stopPropagation():(k&&k(e),b.onFocus&&b.onFocus(e),U&&U.onFocus?U.onFocus(e):V(!0))}}))}),f,_?_(xu({},Y,{startAdornment:q})):null]}))]})}));function Wb(e){return Nf("MuiInput",e)}const Vb=xu({},Nb,jf("MuiInput",["root","underline","input"]));function Ub(e){return Nf("MuiOutlinedInput",e)}const Yb=xu({},Nb,jf("MuiOutlinedInput",["root","notchedOutline","input"]));function Kb(e){return Nf("MuiFilledInput",e)}const Xb=xu({},Nb,jf("MuiFilledInput",["root","underline","input"]));var Jb=function(e,t){function r(r,n){return Rl.jsx(Dg,xu({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=Dg.muiName,y.memo(y.forwardRef(r))}(Rl.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Zb=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Qb={entering:{opacity:1},entered:{opacity:1}},ev=y.forwardRef((function(e,t){const r=Wm(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=n,TransitionComponent:b=$g}=e,v=Su(e,Zb),x=y.useRef(null),S=wh(x,Wh(a),t),C=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},E=C(d),w=C(((e,t)=>{Yg(e);const n=Kg({style:m,timeout:g,easing:s},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),R=C(c),A=C(h),k=C((e=>{const t=Kg({style:m,timeout:g,easing:s},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),P=C(f);return Rl.jsx(b,xu({appear:i,in:l,nodeRef:x,onEnter:w,onEntered:R,onEntering:E,onExit:k,onExited:P,onExiting:A,addEndListener:e=>{o&&o(x.current,e)},timeout:g},v,{children:(e,t)=>y.cloneElement(a,xu({style:xu({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},Qb[e],m,a.props.style),ref:S},t))}))}));function tv(e){return Nf("MuiBackdrop",e)}jf("MuiBackdrop",["root","invisible"]);const rv=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],nv=Rg("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>xu({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"}))),ov=y.forwardRef((function(e,t){var r,n,o;const i=Lg({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:u={},componentsProps:c={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=ev,transitionDuration:g}=i,b=Su(i,rv),v=xu({},i,{component:l,invisible:d}),y=(e=>{const{classes:t,invisible:r}=e;return zh({root:["root",r&&"invisible"]},tv,t)})(v),x=null!=(r=f.root)?r:c.root;return Rl.jsx(m,xu({in:p,timeout:g},b,{children:Rl.jsx(nv,xu({"aria-hidden":!0},x,{as:null!=(n=null!=(o=h.root)?o:u.Root)?n:l,className:Pg(y.root,s,null==x?void 0:x.className),ownerState:xu({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))})),iv=jf("MuiBox",["root"]),av=Bm(),sv=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=cp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(yf);return y.forwardRef((function(e,a){const s=Af(r),l=Lf(e),{className:u,component:c="div"}=l,d=yr(l,Of);return Rl.jsx(i,yt({as:c,ref:a,className:Tf(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:yu,defaultTheme:av,defaultClassName:iv.root,generateClassName:_f.generate});function lv(e){return Nf("MuiButton",e)}const uv=jf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),cv=y.createContext({}),dv=y.createContext(void 0),pv=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],fv=e=>xu({},"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}}),hv=Rg(bb,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Rp(r.color)}`],t[`size${Rp(r.size)}`],t[`${r.variant}Size${Rp(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return xu({},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":xu({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:sm(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})`:sm(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})`:sm(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:i,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":xu({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${uv.focusVisible}`]:xu({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${uv.disabled}`]:xu({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 ${sm(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,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"},[`&.${uv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${uv.disabled}`]:{boxShadow:"none"}})),mv=Rg("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Rp(r.size)}`]]}})((({ownerState:e})=>xu({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},fv(e)))),gv=Rg("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Rp(r.size)}`]]}})((({ownerState:e})=>xu({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},fv(e)))),bv=y.forwardRef((function(e,t){const r=y.useContext(cv),n=y.useContext(dv),o=Lg({props:lh(r,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:b,variant:v="text"}=o,x=Su(o,pv),S=xu({},o,{color:a,component:s,disabled:u,disableElevation:c,disableFocusRipple:d,fullWidth:h,size:m,type:b,variant:v}),C=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e;return xu({},a,zh({root:["root",i,`${i}${Rp(t)}`,`size${Rp(o)}`,`${i}Size${Rp(o)}`,`color${Rp(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Rp(o)}`],endIcon:["icon","endIcon",`iconSize${Rp(o)}`]},lv,a))})(S),E=g&&Rl.jsx(mv,{className:C.startIcon,ownerState:S,children:g}),w=p&&Rl.jsx(gv,{className:C.endIcon,ownerState:S,children:p}),R=n||"";return Rl.jsxs(hv,xu({ownerState:S,className:Pg(r.className,C.root,l,R),component:s,disabled:u,focusRipple:!d,focusVisibleClassName:Pg(C.focusVisible,f),ref:t,type:b},x,{classes:C,children:[E,i,w]}))}));function vv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function yv(e){return parseInt(bh(e).getComputedStyle(e).paddingRight,10)||0}function xv(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&vv(e,o)}))}function Sv(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function Cv(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=gh(e);return t.body===e?bh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=jh(gh(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${yv(n)+e}px`;const t=gh(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${yv(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=gh(n).body;else{const t=n.parentElement,r=bh(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.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()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const Ev=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wv(e){const t=[],r=[];return Array.from(e.querySelectorAll(Ev)).forEach(((e,n)=>{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 r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Rv(){return!0}function Av(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=wv,isEnabled:a=Rv,open:s}=e,l=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=wh(Wh(t),h),g=y.useRef(null);y.useEffect((()=>{s&&h.current&&(f.current=!r)}),[r,s]),y.useEffect((()=>{if(!s||!h.current)return;const e=gh(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}}),[s]),y.useEffect((()=>{if(!s||!h.current)return;const e=gh(h.current),t=t=>{g.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,c.current&&c.current.focus())},r=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=i(h.current)),r.length>0){var o,s;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=g.current)?void 0:s.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,a,s,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Rl.jsxs(y.Fragment,{children:[Rl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const r=t.props.onFocus;r&&r(e)}}),Rl.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const kv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&vv(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);xv(t,e.mount,e.modalRef,n,!0);const o=Sv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=Sv(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=Cv(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=Sv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&vv(e.modalRef,t),xv(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&vv(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Pv(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=kv,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:d}=e,p=y.useRef({}),f=y.useRef(null),h=y.useRef(null),m=wh(h,d),[g,b]=y.useState(!c),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const S=()=>(p.current.modalRef=h.current,p.current.mount=f.current,p.current),C=()=>{o.mount(S(),{disableScrollLock:n}),h.current&&(h.current.scrollTop=0)},E=Eh((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||gh(f.current).body;o.add(S(),e),h.current&&C()})),w=y.useCallback((()=>o.isTopModal(S())),[o]),R=Eh((e=>{f.current=e,e&&(c&&w()?C():h.current&&vv(h.current,x))})),A=y.useCallback((()=>{o.remove(S(),x)}),[x,o]);y.useEffect((()=>()=>{A()}),[A]),y.useEffect((()=>{c?E():v&&i||A()}),[c,A,v,i,E]);const k=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(r||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},P=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const r=$h(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=xu({},r,t);return xu({role:"presentation"},n,{onKeyDown:k(n),ref:m})},getBackdropProps:(e={})=>xu({"aria-hidden":!0},e,{onClick:P(e),open:c}),getTransitionProps:()=>({onEnter:hh((()=>{b(!1),a&&a()}),null==l?void 0:l.props.onEnter),onExited:hh((()=>{b(!0),s&&s(),i&&A()}),null==l?void 0:l.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:g,hasTransition:v}}function Lv(e){return Nf("MuiModal",e)}jf("MuiModal",["root","hidden","backdrop"]);const Iv=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Mv=Rg("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>xu({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),_v=Rg(ov,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Dv=y.forwardRef((function(e,t){var r,n,o,i,a,s;const l=Lg({name:"MuiModal",props:e}),{BackdropComponent:u=_v,BackdropProps:c,className:d,closeAfterTransition:p=!1,children:f,container:h,component:m,components:g={},componentsProps:b={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:C=!1,disableRestoreFocus:E=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:A=!1,onBackdropClick:k,open:P,slotProps:L,slots:I}=l,M=Su(l,Iv),_=xu({},l,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:C,disableRestoreFocus:E,disableScrollLock:w,hideBackdrop:R,keepMounted:A}),{getRootProps:D,getBackdropProps:T,getTransitionProps:O,portalRef:q,isTopModal:N,exited:j,hasTransition:z}=Pv(xu({},_,{rootRef:t})),F=xu({},_,{exited:j}),$=(e=>{const{open:t,exited:r,classes:n}=e;return zh({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Lv,n)})(F),H={};if(void 0===f.props.tabIndex&&(H.tabIndex="-1"),z){const{onEnter:e,onExited:t}=O();H.onEnter=e,H.onExited=t}const B=null!=(r=null!=(n=null==I?void 0:I.root)?n:g.Root)?r:Mv,G=null!=(o=null!=(i=null==I?void 0:I.backdrop)?i:g.Backdrop)?o:u,W=null!=(a=null==L?void 0:L.root)?a:b.root,V=null!=(s=null==L?void 0:L.backdrop)?s:b.backdrop,U=Gh({elementType:B,externalSlotProps:W,externalForwardedProps:M,getSlotProps:D,additionalProps:{ref:t,as:m},ownerState:F,className:Pg(d,null==W?void 0:W.className,null==$?void 0:$.root,!F.open&&F.exited&&(null==$?void 0:$.hidden))}),Y=Gh({elementType:G,externalSlotProps:V,additionalProps:c,getSlotProps:e=>T(xu({},e,{onClick:t=>{k&&k(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Pg(null==V?void 0:V.className,null==c?void 0:c.className,null==$?void 0:$.backdrop),ownerState:F});return A||P||z&&!j?Rl.jsx(wb,{ref:q,container:h,disablePortal:C,children:Rl.jsxs(B,xu({},U,{children:[!R&&u?Rl.jsx(G,xu({},Y)):null,Rl.jsx(Av,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:E,isEnabled:N,open:P,children:y.cloneElement(f,H)})]}))}):null}));function Tv(e){return Nf("MuiDivider",e)}const Ov=jf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),qv=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Nv=Rg("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>xu({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)`:sm(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})=>xu({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>xu({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>xu({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>xu({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),jv=Rg("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>xu({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)`}))),zv=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=r,f=Su(r,qv),h=xu({},r,{absolute:n,component:a,flexItem:s,light:l,orientation:u,role:c,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return zh({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Tv,n)})(h);return Rl.jsx(Nv,xu({as:a,className:Pg(m.root,i),role:c,ref:t,ownerState:h},f,{children:o?Rl.jsx(jv,{className:m.wrapper,ownerState:h,children:o}):null}))}));zv.muiSkipListHighlight=!0;const Fv=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],$v=Rg($b,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...zb(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return xu({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Xb.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Xb.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xb.disabled}, .${Xb.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Xb.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&xu({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),Hv=Rg(Hb,{name:"MuiFilledInput",slot:"Input",overridesResolver:Fb})((({theme:e,ownerState:t})=>xu({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!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",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),Bv=y.forwardRef((function(e,t){var r,n,o,i;const a=Lg({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:u=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:f={},type:h="text"}=a,m=Su(a,Fv),g=xu({},a,{fullWidth:u,inputComponent:c,multiline:d,type:h}),b=(e=>{const{classes:t,disableUnderline:r}=e;return xu({},t,zh({root:["root",!r&&"underline"],input:["input"]},Kb,t))})(a),v={root:{ownerState:g},input:{ownerState:g}},y=(null!=p?p:l)?gp(v,null!=p?p:l):v,x=null!=(r=null!=(n=f.root)?n:s.Root)?r:$v,S=null!=(o=null!=(i=f.input)?i:s.Input)?o:Hv;return Rl.jsx(Gb,xu({slots:{root:x,input:S},componentsProps:y,fullWidth:u,inputComponent:c,multiline:d,ref:t,type:h},m,{classes:b}))}));Bv.muiName="Input";const Gv=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wv(e){return`scale(${e}, ${e**2})`}const Vv={entering:{opacity:1,transform:Wv(1)},entered:{opacity:1,transform:"none"}},Uv="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yv=y.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:u,onExit:c,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=$g}=e,g=Su(e,Gv),b=Ph(),v=y.useRef(),x=Wm(),S=y.useRef(null),C=wh(S,Wh(o),t),E=e=>t=>{if(e){const r=S.current;void 0===t?e(r):e(r,t)}},w=E(u),R=E(((e,t)=>{Yg(e);const{duration:r,delay:n,easing:o}=Kg({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=r,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:n}),x.transitions.create("transform",{duration:Uv?a:.666*a,delay:n,easing:o})].join(","),s&&s(e,t)})),A=E(l),k=E(p),P=E((e=>{const{duration:t,delay:r,easing:n}=Kg({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:r}),x.transitions.create("transform",{duration:Uv?o:.666*o,delay:Uv?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Wv(.75),c&&c(e)})),L=E(d);return Rl.jsx(m,xu({appear:n,in:a,nodeRef:S,onEnter:R,onEntered:A,onEntering:w,onExit:P,onExited:L,onExiting:k,addEndListener:e=>{"auto"===h&&b.start(v.current||0,e),r&&r(S.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>y.cloneElement(o,xu({style:xu({opacity:0,transform:Wv(.75),visibility:"exited"!==e||a?void 0:"hidden"},Vv[e],f,o.props.style),ref:C},t))}))}));Yv.muiSupportAuto=!0;const Kv=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Xv=Rg($b,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...zb(e,t),!r.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),xu({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Vb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Vb.disabled}, .${Vb.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Vb.disabled}:before`]:{borderBottomStyle:"dotted"}})})),Jv=Rg(Hb,{name:"MuiInput",slot:"Input",overridesResolver:Fb})({}),Zv=y.forwardRef((function(e,t){var r,n,o,i;const a=Lg({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:h={},type:m="text"}=a,g=Su(a,Kv),b=(e=>{const{classes:t,disableUnderline:r}=e;return xu({},t,zh({root:["root",!r&&"underline"],input:["input"]},Wb,t))})(a),v={root:{ownerState:{disableUnderline:s}}},y=(null!=f?f:u)?gp(null!=f?f:u,v):v,x=null!=(r=null!=(n=h.root)?n:l.Root)?r:Xv,S=null!=(o=null!=(i=h.input)?i:l.Input)?o:Jv;return Rl.jsx(Gb,xu({slots:{root:x,input:S},slotProps:y,fullWidth:c,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))}));function Qv(e){return Nf("MuiLink",e)}Zv.muiName="Input";const ey=jf("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ty={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ry=({theme:e,ownerState:t})=>{const r=(e=>ty[e]||e)(t.color),n=kp(e,`palette.${r}`,!1)||t.color,o=kp(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:sm(n,.4)},ny=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],oy=Rg(Eb,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${Rp(r.underline)}`],"button"===r.component&&t.button]}})((({theme:e,ownerState:t})=>xu({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&xu({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:ry({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ey.focusVisible}`]:{outline:"auto"}}))),iy=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiLink"}),{className:n,color:o="primary",component:i="a",onBlur:a,onFocus:s,TypographyClasses:l,underline:u="always",variant:c="inherit",sx:d}=r,p=Su(r,ny),{isFocusVisibleRef:f,onBlur:h,onFocus:m,ref:g}=Nh(),[b,v]=y.useState(!1),x=wh(t,g),S=xu({},r,{color:o,component:i,focusVisible:b,underline:u,variant:c}),C=(e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e;return zh({root:["root",`underline${Rp(o)}`,"button"===r&&"button",n&&"focusVisible"]},Qv,t)})(S);return Rl.jsx(oy,xu({color:o,className:Pg(C.root,n),classes:l,component:i,onBlur:e=>{h(e),!1===f.current&&v(!1),a&&a(e)},onFocus:e=>{m(e),!0===f.current&&v(!0),s&&s(e)},ref:x,ownerState:S,variant:c,sx:[...Object.keys(ty).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},p))})),ay=y.createContext({});function sy(e){return Nf("MuiList",e)}jf("MuiList",["root","padding","dense","subheader"]);const ly=["children","className","component","dense","disablePadding","subheader"],uy=Rg("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>xu({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),cy=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l}=r,u=Su(r,ly),c=y.useMemo((()=>({dense:a})),[a]),d=xu({},r,{component:i,dense:a,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return zh({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},sy,t)})(d);return Rl.jsx(ay.Provider,{value:c,children:Rl.jsxs(uy,xu({as:i,className:Pg(p.root,o),ref:t,ownerState:d},u,{children:[l,n]}))})}));function dy(e){return Nf("MuiListItemIcon",e)}const py=jf("MuiListItemIcon",["root","alignItemsFlexStart"]),fy=["className"],hy=Rg("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>xu({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),my=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=Su(r,fy),i=xu({},r,{alignItems:y.useContext(ay).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return zh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},dy,r)})(i);return Rl.jsx(hy,xu({className:Pg(a.root,n),ownerState:i,ref:t},o))})),gy=jf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),by=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function vy(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function yy(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function xy(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function Sy(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&xy(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const Cy=y.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Su(e,by),p=y.useRef(null),f=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});uh((()=>{n&&p.current.focus()}),[n]),y.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&r){const r=`${jh(gh(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,p.current.style.width=`calc(100% + ${r})`}return p.current}})),[]);const h=wh(p,t);let m=-1;y.Children.forEach(i,((e,t)=>{y.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=y.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),y.cloneElement(e,t)}return e}));return Rl.jsx(cy,xu({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,r=e.key,n=gh(t).activeElement;if("ArrowDown"===r)e.preventDefault(),Sy(t,n,l,s,vy);else if("ArrowUp"===r)e.preventDefault(),Sy(t,n,l,s,yy);else if("Home"===r)e.preventDefault(),Sy(t,null,l,s,vy);else if("End"===r)e.preventDefault(),Sy(t,null,l,s,yy);else if(1===r.length){const o=f.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const l=n&&!o.repeating&&xy(n,o);o.previousKeyMatched&&(l||Sy(t,n,!1,s,vy,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:n?0:-1},d,{children:g}))}));function Ey(e){return Nf("MuiPopover",e)}jf("MuiPopover",["root","paper"]);const wy=["onEntering"],Ry=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Ay=["slotProps"];function ky(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function Py(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function Ly(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Iy(e){return"function"==typeof e?e():e}const My=Rg(Dv,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_y=Rg(Qg,{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}),Dy=y.forwardRef((function(e,t){var r,n,o;const i=Lg({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:d,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:b={},slots:v,slotProps:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:C=Yv,transitionDuration:E="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,A=Su(i.TransitionProps,wy),k=Su(i,Ry),P=null!=(r=null==x?void 0:x.paper)?r:b,L=y.useRef(),I=wh(L,P.ref),M=xu({},i,{anchorOrigin:l,anchorReference:c,elevation:h,marginThreshold:m,externalPaperSlotProps:P,transformOrigin:S,TransitionComponent:C,transitionDuration:E,TransitionProps:A}),_=(e=>{const{classes:t}=e;return zh({root:["root"],paper:["paper"]},Ey,t)})(M),D=y.useCallback((()=>{if("anchorPosition"===c)return u;const e=Iy(s),t=(e&&1===e.nodeType?e:gh(L.current).body).getBoundingClientRect();return{top:t.top+ky(t,l.vertical),left:t.left+Py(t,l.horizontal)}}),[s,l.horizontal,l.vertical,u,c]),T=y.useCallback((e=>({vertical:ky(e,S.vertical),horizontal:Py(e,S.horizontal)})),[S.horizontal,S.vertical]),O=y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=T(t);if("none"===c)return{top:null,left:null,transformOrigin:Ly(r)};const n=D();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,l=i+t.width,u=bh(Iy(s)),d=u.innerHeight-m,p=u.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,r.vertical+=e}else if(null!==m&&a>d){const e=a-d;o-=e,r.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,r.horizontal+=e}else if(l>p){const e=l-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Ly(r)}}),[s,c,D,T,m]),[q,N]=y.useState(g),j=y.useCallback((()=>{const e=L.current;if(!e)return;const t=O(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[O]);y.useEffect((()=>(R&&window.addEventListener("scroll",j),()=>window.removeEventListener("scroll",j))),[s,R,j]);y.useEffect((()=>{g&&j()})),y.useImperativeHandle(a,(()=>g?{updatePosition:()=>{j()}}:null),[g,j]),y.useEffect((()=>{if(!g)return;const e=mh((()=>{j()})),t=bh(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[s,g,j]);let z=E;"auto"!==E||C.muiSupportAuto||(z=void 0);const F=f||(s?gh(Iy(s)).body:void 0),$=null!=(n=null==v?void 0:v.root)?n:My,H=null!=(o=null==v?void 0:v.paper)?o:_y,B=Gh({elementType:H,externalSlotProps:xu({},P,{style:q?P.style:xu({},P.style,{opacity:0})}),additionalProps:{elevation:h,ref:I},ownerState:M,className:Pg(_.paper,null==P?void 0:P.className)}),G=Gh({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:k,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:F,open:g},ownerState:M,className:Pg(_.root,p)}),{slotProps:W}=G,V=Su(G,Ay);return Rl.jsx($,xu({},V,!Fh($)&&{slotProps:W,disableScrollLock:R},{children:Rl.jsx(C,xu({appear:!0,in:g,onEntering:(e,t)=>{w&&w(e,t),j()},onExited:()=>{N(!1)},timeout:z},A,{children:Rl.jsx(H,xu({},B,{children:d}))}))}))}));function Ty(e){return Nf("MuiMenu",e)}jf("MuiMenu",["root","paper","list"]);const Oy=["onEntering"],qy=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Ny={vertical:"top",horizontal:"right"},jy={vertical:"top",horizontal:"left"},zy=Rg(Dy,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Fy=Rg(_y,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$y=Rg(Cy,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Hy=y.forwardRef((function(e,t){var r,n;const o=Lg({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:u={},onClose:c,open:d,PaperProps:p={},PopoverClasses:f,transitionDuration:h="auto",TransitionProps:{onEntering:m}={},variant:g="selectedMenu",slots:b={},slotProps:v={}}=o,x=Su(o.TransitionProps,Oy),S=Su(o,qy),C=(()=>{const e=y.useContext(Xh);return null!=e&&e})(),E=xu({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:u,onEntering:m,PaperProps:p,transitionDuration:h,TransitionProps:x,variant:g}),w=(e=>{const{classes:t}=e;return zh({root:["root"],paper:["paper"],list:["list"]},Ty,t)})(E),R=i&&!l&&d,A=y.useRef(null);let k=-1;y.Children.map(a,((e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===k)&&(k=t))}));const P=null!=(r=b.paper)?r:Fy,L=null!=(n=v.paper)?n:p,I=Gh({elementType:b.root,externalSlotProps:v.root,ownerState:E,className:[w.root,s]}),M=Gh({elementType:P,externalSlotProps:L,ownerState:E,className:w.paper});return Rl.jsx(zy,xu({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Ny:jy,slots:{paper:P,root:b.root},slotProps:{root:I,paper:M},open:d,ref:t,transitionDuration:h,TransitionProps:xu({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:E},S,{classes:f,children:Rl.jsx($y,xu({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:A,autoFocus:i&&(-1===k||l),autoFocusItem:R,variant:g},u,{className:Pg(w.list,u.className),children:a}))}))}));function By(e){return Nf("MuiMenuItem",e)}const Gy=jf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Wy=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Vy=Rg(bb,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>xu({},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"}},[`&.${Gy.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:sm(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Gy.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:sm(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Gy.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:sm(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})`:sm(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Gy.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Gy.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ov.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ov.inset}`]:{marginLeft:52},[`& .${gy.root}`]:{marginTop:0,marginBottom:0},[`& .${gy.inset}`]:{paddingLeft:36},[`& .${py.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&xu({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${py.root} svg`]:{fontSize:"1.25rem"}})))),Uy=y.forwardRef((function(e,t){const r=Lg({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u="menuitem",tabIndex:c,className:d}=r,p=Su(r,Wy),f=y.useContext(ay),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:s})),[f.dense,i,s]),m=y.useRef(null);uh((()=>{n&&m.current&&m.current.focus()}),[n]);const g=xu({},r,{dense:h.dense,divider:a,disableGutters:s}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return xu({},a,zh({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},By,a))})(r),v=wh(m,t);let x;return r.disabled||(x=void 0!==c?c:-1),Rl.jsx(ay.Provider,{value:h,children:Rl.jsx(Vy,xu({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:Pg(b.focusVisible,l),className:Pg(b.root,d)},p,{ownerState:g,classes:b}))})}));function Yy(e){return Nf("MuiNativeSelect",e)}const Ky=jf("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Xy=["className","disabled","error","IconComponent","inputRef","variant"],Jy=({ownerState:e,theme:t})=>xu({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":xu({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Ky.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Zy=Rg("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wg,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${Ky.multiple}`]:t.multiple}]}})(Jy),Qy=({ownerState:e,theme:t})=>xu({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Ky.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),ex=Rg("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Rp(r.variant)}`],r.open&&t.iconOpen]}})(Qy),tx=y.forwardRef((function(e,t){const{className:r,disabled:n,error:o,IconComponent:i,inputRef:a,variant:s="standard"}=e,l=Su(e,Xy),u=xu({},e,{disabled:n,variant:s,error:o}),c=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return zh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Rp(r)}`,i&&"iconOpen",n&&"disabled"]},Yy,t)})(u);return Rl.jsxs(y.Fragment,{children:[Rl.jsx(Zy,xu({ownerState:u,className:Pg(c.select,r),disabled:n,ref:a||t},l)),e.multiple?null:Rl.jsx(ex,{as:i,ownerState:u,className:c.icon})]})}));var rx;const nx=["children","classes","className","label","notched"],ox=Rg("fieldset",{shouldForwardProp:wg})({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%"}),ix=Rg("legend",{shouldForwardProp:wg})((({ownerState:e,theme:t})=>xu({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&&xu({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})}))));const ax=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],sx=Rg($b,{shouldForwardProp:e=>wg(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:zb})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return xu({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Yb.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${Yb.focused} .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Yb.error} .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Yb.disabled} .${Yb.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&xu({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),lx=Rg((function(e){const{className:t,label:r,notched:n}=e,o=Su(e,nx),i=null!=r&&""!==r,a=xu({},e,{notched:n,withLabel:i});return Rl.jsx(ox,xu({"aria-hidden":!0,className:t,ownerState:a},o,{children:Rl.jsx(ix,{ownerState:a,children:i?Rl.jsx("span",{children:r}):rx||(rx=Rl.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}})),ux=Rg(Hb,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Fb})((({theme:e,ownerState:t})=>xu({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}))),cx=y.forwardRef((function(e,t){var r,n,o,i,a;const s=Lg({props:e,name:"MuiOutlinedInput"}),{components:l={},fullWidth:u=!1,inputComponent:c="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=s,g=Su(s,ax),b=(e=>{const{classes:t}=e;return xu({},t,zh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Ub,t))})(s),v=_b(),x=Ib({props:s,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=xu({},s,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:v,fullWidth:u,hiddenLabel:x.hiddenLabel,multiline:p,size:x.size,type:m}),C=null!=(r=null!=(n=h.root)?n:l.Root)?r:sx,E=null!=(o=null!=(i=h.input)?i:l.Input)?o:ux;return Rl.jsx(Gb,xu({slots:{root:C,input:E},renderSuffix:e=>Rl.jsx(lx,{ownerState:S,className:b.notchedOutline,label:null!=d&&""!==d&&x.required?a||(a=Rl.jsxs(y.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:u,inputComponent:c,multiline:p,ref:t,type:m},g,{classes:xu({},b,{notchedOutline:null})}))}));function dx(e){return Nf("MuiSelect",e)}cx.muiName="Input";const px=jf("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var fx;const hx=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],mx=Rg("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${px.select}`]:t.select},{[`&.${px.select}`]:t[r.variant]},{[`&.${px.error}`]:t.error},{[`&.${px.multiple}`]:t.multiple}]}})(Jy,{[`&.${px.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),gx=Rg("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Rp(r.variant)}`],r.open&&t.iconOpen]}})(Qy),bx=Rg("input",{shouldForwardProp:e=>Eg(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function vx(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function yx(e){return null==e||"string"==typeof e&&!e.trim()}const xx=y.forwardRef((function(e,t){var r;const{"aria-describedby":n,"aria-label":o,autoFocus:i,autoWidth:a,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:p,error:f=!1,IconComponent:h,inputRef:m,labelId:g,MenuProps:b={},multiple:v,name:x,onBlur:S,onChange:C,onClose:E,onFocus:w,onOpen:R,open:A,readOnly:k,renderValue:P,SelectDisplayProps:L={},tabIndex:I,value:M,variant:_="standard"}=e,D=Su(e,hx),[T,O]=Ch({controlled:M,default:c,name:"Select"}),[q,N]=Ch({controlled:A,default:u,name:"Select"}),j=y.useRef(null),z=y.useRef(null),[F,$]=y.useState(null),{current:H}=y.useRef(null!=A),[B,G]=y.useState(),W=wh(t,m),V=y.useCallback((e=>{z.current=e,e&&$(e)}),[]),U=null==F?void 0:F.parentNode;y.useImperativeHandle(W,(()=>({focus:()=>{z.current.focus()},node:j.current,value:T})),[T]),y.useEffect((()=>{u&&q&&F&&!H&&(G(a?null:U.clientWidth),z.current.focus())}),[F,a]),y.useEffect((()=>{i&&z.current.focus()}),[i]),y.useEffect((()=>{if(!g)return;const e=gh(z.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&z.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[g]);const Y=(e,t)=>{e?R&&R(t):E&&E(t),H||(G(a?null:U.clientWidth),N(e))},K=y.Children.toArray(s),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(v){r=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==r&&(O(r),C)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:x}}),C(o,e)}v||Y(!1,t)}},J=null!==F&&q;let Z,Q;delete D["aria-invalid"];const ee=[];let te=!1;(Ob({value:T})||p)&&(P?Z=P(T):te=!0);const re=K.map((e=>{if(!y.isValidElement(e))return null;let t;if(v){if(!Array.isArray(T))throw new Error(bu(2));t=T.some((t=>vx(t,e.props.value))),t&&te&&ee.push(e.props.children)}else t=vx(T,e.props.value),t&&te&&(Q=e.props.children);return y.cloneElement(e,{"aria-selected":t?"true":"false",onClick:X(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));te&&(Z=v?0===ee.length?null:ee.reduce(((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e)),[]):Q);let ne,oe=B;!a&&H&&F&&(oe=U.clientWidth),ne=void 0!==I?I:d?null:0;const ie=L.id||(x?`mui-component-select-${x}`:void 0),ae=xu({},e,{variant:_,value:T,open:J,error:f}),se=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return zh({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${Rp(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},dx,t)})(ae),le=xu({},b.PaperProps,null==(r=b.slotProps)?void 0:r.paper),ue=Sh();return Rl.jsxs(y.Fragment,{children:[Rl.jsx(mx,xu({ref:V,tabIndex:ne,role:"combobox","aria-controls":ue,"aria-disabled":d?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[g,ie].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!k){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),Y(!0,e))}},onMouseDown:d||k?null:e=>{0===e.button&&(e.preventDefault(),z.current.focus(),Y(!0,e))},onBlur:e=>{!J&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:x}}),S(e))},onFocus:w},L,{ownerState:ae,className:Pg(L.className,se.select,l),id:ie,children:yx(Z)?fx||(fx=Rl.jsx("span",{className:"notranslate",children:"​"})):Z})),Rl.jsx(bx,xu({"aria-invalid":f,value:Array.isArray(T)?T.join(","):T,name:x,ref:j,"aria-hidden":!0,onChange:e=>{const t=K.find((t=>t.props.value===e.target.value));void 0!==t&&(O(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:d,className:se.nativeInput,autoFocus:i,ownerState:ae},D)),Rl.jsx(gx,{as:h,className:se.icon,ownerState:ae}),Rl.jsx(Hy,xu({id:`menu-${x||""}`,anchorEl:U,open:J,onClose:e=>{Y(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:xu({"aria-labelledby":g,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},b.MenuListProps),slotProps:xu({},b.slotProps,{paper:xu({},le,{style:xu({minWidth:oe},null!=le?le.style:null)})}),children:re}))]})})),Sx=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Cx=["root"],Ex={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>wg(e)&&"variant"!==e,slot:"Root"},wx=Rg(Zv,Ex)(""),Rx=Rg(cx,Ex)(""),Ax=Rg(Bv,Ex)(""),kx=y.forwardRef((function(e,t){const r=Lg({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:o,classes:i={},className:a,defaultOpen:s=!1,displayEmpty:l=!1,IconComponent:u=Jb,id:c,input:d,inputProps:p,label:f,labelId:h,MenuProps:m,multiple:g=!1,native:b=!1,onClose:v,onOpen:x,open:S,renderValue:C,SelectDisplayProps:E,variant:w="outlined"}=r,R=Su(r,Sx),A=b?tx:xx,k=Ib({props:r,muiFormControl:_b(),states:["variant","error"]}),P=k.variant||w,L=xu({},r,{variant:P,classes:i}),I=(e=>{const{classes:t}=e;return t})(L),M=Su(I,Cx),_=d||{standard:Rl.jsx(wx,{ownerState:L}),outlined:Rl.jsx(Rx,{label:f,ownerState:L}),filled:Rl.jsx(Ax,{ownerState:L})}[P],D=wh(t,Wh(_));return Rl.jsx(y.Fragment,{children:y.cloneElement(_,xu({inputComponent:A,inputProps:xu({children:o,error:k.error,IconComponent:u,variant:P,type:void 0,multiple:g},b?{id:c}:{autoWidth:n,defaultOpen:s,displayEmpty:l,labelId:h,MenuProps:m,onClose:v,onOpen:x,open:S,renderValue:C,SelectDisplayProps:xu({id:c},E)},p,{classes:p?gp(M,p.classes):M},d?d.props.inputProps:{})},(g&&b||l)&&"outlined"===P?{notched:!0}:{},{ref:D,className:Pg(_.props.className,a,I.root)},!d&&{variant:P},R))})}));function Px(e={}){return Rl.jsx(Ml,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("rect",{stroke:ol.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}kx.muiName="Select";const Lx={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:ul,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var Ix=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:ol.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:ol.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Rl.jsx(Pl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${ol.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`,borderRadius:ul,backgroundColor:ol.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${ol.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:ol.WHITE,color:ol.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:ul},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:ol.GREYSCALE_0_15,backgroundColor:ol.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${ol.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:ol.GREEN_PALE},"&:active":{backgroundColor:ol.GREEN_DARK},"&.Mui-focusVisible":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:ol.BLUE_PALE},"&:active":{backgroundColor:ol.BLUE_DARK},"&.Mui-focusVisible":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:ul,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:ol.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:ol.GREYSCALE_0_15,backgroundColor:ol.GREYSCALE_100_60,"&:active":{backgroundColor:ol.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${ol.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:ol.PURPLE,"&.Mui-focusVisible":{borderColor:ol.PURPLE,boxShadow:`0 0 0 3px ${fh(ol.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:ol.GREEN,"&.Mui-focusVisible":{borderColor:ol.GREEN,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:ol.BLUE,"&.Mui-focusVisible":{borderColor:ol.BLUE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:ol.ORANGE,"&.Mui-focusVisible":{borderColor:ol.ORANGE,boxShadow:`0 0 0 3px ${fh(ol.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:ol.RED,"&.Mui-focusVisible":{borderColor:ol.RED,boxShadow:`0 0 0 3px ${fh(ol.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:ol.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:ol.PURPLE_PALE},"&:active":{backgroundColor:ol.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:ol.PURPLE_PALE,boxShadow:`0 0 0 3px ${fh(ol.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:ol.GREEN_PALE},"&:active":{backgroundColor:ol.GREEN_DARK},"&.Mui-focusVisible":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:ol.BLUE_PALE},"&:active":{backgroundColor:ol.BLUE_DARK},"&.Mui-focusVisible":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:ol.ORANGE_PALE},"&:active":{backgroundColor:ol.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:ol.ORANGE_PALE,boxShadow:`0 0 0 3px ${fh(ol.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:ol.RED_PALE},"&:active":{backgroundColor:ol.RED_DARK},"&.Mui-focusVisible":{borderColor:ol.RED_PALE,boxShadow:`0 0 0 3px ${fh(ol.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:ol.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:ol.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:ul,boxShadow:`inset 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Rl.jsx(Il,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:il,borderRadius:ul,color:ol.TEXT_PRIMARY,backgroundColor:ol.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:ol.GREYSCALE_0_05,color:ol.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:ol.GREEN,borderColor:ol.GREEN},"&.MuiChip-outlinedInfo":{color:ol.BLUE,borderColor:ol.BLUE},"&.MuiChip-outlinedWarning":{color:ol.ORANGE,borderColor:ol.ORANGE},"&.MuiChip-outlinedError":{color:ol.RED,borderColor:ol.RED}},outlined:{border:`solid 1px ${ol.GREYSCALE_0_15}`,backgroundColor:ol.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:ul,boxShadow:"none",backgroundColor:ol.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:ol.GREEN,borderColor:ol.GREEN},outlinedSecondary:{color:ol.BLUE,borderColor:ol.BLUE},label:{fontFamily:hl.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Rl.jsx(Il,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Rl.jsx(Pl,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:ul},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:ul,fontSize:al,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:ol.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${ol.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:ol.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:ol.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_05}}},popupIndicator:{borderRadius:ul,border:`solid 1px ${ol.GREYSCALE_0_15}`,color:ol.GREYSCALE_0_60,marginRight:0,width:ll,height:ll},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${ol.GREYSCALE_0_15}`},clearIndicator:{borderRadius:ul,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:ol.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:al}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:il,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:ol.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:ol.GREYSCALE_25,fontSize:il,fontFamily:hl.FONT_FAMILY,fontWeight:pl,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:ol.TEXT_PRIMARY},"&.Mui-error":{color:ol.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:ol.TEXT_SECONDARY,content:"'(optional)'",fontWeight:dl,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:ol.TEXT_SECONDARY,content:"'(required)'",fontWeight:dl,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:al,lineHeight:"16px",backgroundColor:ol.WHITE,borderRadius:ul,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.GREYSCALE_0_05}`,borderColor:ol.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${ol.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${ol.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.RED}`,boxShadow:`0px 0px 0px 1px ${ol.RED}, inset 0 2px 0 0 ${ol.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${ol.GREYSCALE_0_10}`,borderColor:ol.GREYSCALE_0_10,backgroundColor:ol.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:ol.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:ol.GREYSCALE_0_15,borderRadius:ul,boxShadow:`inset 0 2px 0 0 ${ol.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Rl.jsx(Pl,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:ol.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:ol.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:ol.GREYSCALE_0_03},"&:active":{backgroundColor:ol.GREYSCALE_0_10},"&:focus":{backgroundColor:ol.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${ol.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:ol.GREYSCALE_0_30,"&:hover":{backgroundColor:ol.GREYSCALE_0_0,borderColor:ol.GREYSCALE_0_15},"& ~svg":{color:ol.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${ol.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:ul}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:ol.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:ol.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:al,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:il,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:il,fontWeight:pl,color:ol.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:pl}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${ol.GREYSCALE_0_15}, 0px 0px 0px 1px ${ol.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Rl.jsx(Tl,{}),checkedIcon:Rl.jsx(Ol,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:ol.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:ol.GREYSCALE_0_20}},"&.Mui-disabled":{fill:ol.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Rl.jsx(Px,{}),checkedIcon:Rl.jsx(_l,{}),indeterminateIcon:Rl.jsx(Dl,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:ul,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:ol.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:ol.GREYSCALE_0_55,color:ol.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:ol.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:ol.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:ol.GREYSCALE_0_55,"&:hover":{color:ol.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:ol.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:ol.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:al,color:ol.TEXT_PRIMARY,lineHeight:"16px",fontWeight:pl},secondary:{fontSize:il,color:ol.GREYSCALE_45,fontWeight:dl,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:al,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:al,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:ol.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:il,borderBottom:`solid 1px ${ol.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:al,color:ol.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:ol.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:ol.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:ol.RED}}},"&.Mui-focusVisible":{backgroundColor:ol.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:ol.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:ol.GREEN,height:"24px","&.Mui-disabled":{color:ol.GREYSCALE_0_15}},rail:{backgroundColor:ol.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${ol.GREYSCALE_0_05}`,borderRadius:ul,boxShadow:`inset 0px 0px 0px 1px ${ol.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${ol.GREYSCALE_0_05}`,borderRadius:ul},thumb:{height:"16px",width:"16px",borderRadius:ul,backgroundColor:ol.WHITE,boxShadow:`0px 1px 2px 0px ${ol.GREYSCALE_0_15}, 0px 0px 0px 1px ${ol.GREYSCALE_0_05}`,"&:hover":{borderRadius:ul,boxShadow:`0 2px 4px 0 ${ol.GREYSCALE_0_30}, 0 0 0 1px ${ol.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${ol.GREYSCALE_0_15}, 0 0 0 1px ${ol.GREYSCALE_0_06}, 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${ol.GREYSCALE_0_15}, 0 0 0 1px ${ol.GREYSCALE_0_06}, 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:ol.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:ol.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:ol.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:ol.GREYSCALE_0_15},markLabel:{color:ol.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:ol.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:ol.WHITE,color:ol.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:ol.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:ol.GREEN_PALE,boxShadow:`0 0 0 3px ${fh(ol.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:ol.BLUE_PALE,boxShadow:`0 0 0 3px ${fh(ol.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:ol.GREYSCALE_0_15,borderRadius:ul},thumb:{height:"16px",width:"16px",borderRadius:ul,backgroundColor:ol.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:al,fontWeight:pl,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${ol.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${ol.MISC_FOCUS_BORDER}`,backgroundColor:ol.GREYSCALE_0_03,borderRadius:ul},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:ol.GREYSCALE_25,"&.Mui-selected":{color:ol.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:al,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:ul,"&:hover":{backgroundColor:ol.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${ol.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${ol.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:ul,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:ol.GREYSCALE_0_05},"&:hover":{backgroundColor:ol.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${ol.GREYSCALE_85}`,borderRight:`1px solid ${ol.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:pl,backgroundColor:ol.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:ol.GREYSCALE_98,borderBottom:`1px solid ${ol.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${ol.GREYSCALE_85}`,borderTop:`1px solid ${ol.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:ol.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:ol.GREYSCALE_0_05,"&:hover":{backgroundColor:ol.GREYSCALE_0_03}},"&&:hover":{backgroundColor:ol.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Rl.jsx(ql,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${ol.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:al,borderRadius:ul,padding:"7px 16px",border:`1px solid ${ol.GREYSCALE_0_15}`,backgroundColor:ol.GREYSCALE_100_60,color:ol.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:ol.GREYSCALE_0_10,border:`1px solid ${ol.GREYSCALE_0_30}`},"&:hover":{backgroundColor:ol.GREYSCALE_0_03,border:`1px solid ${ol.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:ol.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${ol.MISC_FOCUS_BORDER}`,border:`1px solid ${ol.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:ol.GREYSCALE_25,backgroundColor:ol.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:ol.GREYSCALE_0_10,border:`1px solid ${ol.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:il,height:24,width:24,padding:7},sizeLarge:{fontSize:sl,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:al,borderRadius:ul}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:ol.GREYSCALE_20},tooltip:{backgroundColor:ol.GREYSCALE_20,fontSize:il,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Lx}:{}}))(t);const Mx=e=>({mode:"light",primary:{ultraLight:ol.GREEN_ULTRA_LIGHT,light:ol.GREEN_PALE,main:ol.GREEN,dark:ol.GREEN_DARK,extraDark:ol.GREEN_EXTRA_DARK,contrastText:ol.WHITE},secondary:{ultraLight:ol.BLUE_ULTRA_LIGHT,light:ol.BLUE_PALE,main:ol.BLUE,dark:ol.BLUE_DARK,extraDark:ol.BLUE_EXTRA_DARK,contrastText:ol.WHITE},error:{ultraLight:ol.RED_ULTRA_LIGHT,light:ol.RED_PALE,main:ol.RED,dark:ol.RED_DARK,extraDark:ol.RED_EXTRA_DARK,contrastText:ol.WHITE},warning:{ultraLight:ol.ORANGE_ULTRA_LIGHT,light:ol.ORANGE_PALE,main:ol.ORANGE,dark:ol.ORANGE_DARK,extraDark:ol.ORANGE_EXTRA_DARK,contrastText:ol.WHITE},success:{ultraLight:ol.GREEN_ULTRA_LIGHT,light:ol.GREEN_PALE,main:ol.GREEN,dark:ol.GREEN_DARK,extraDark:ol.GREEN_EXTRA_DARK,contrastText:ol.WHITE},info:{ultraLight:ol.BLUE_ULTRA_LIGHT,light:ol.BLUE_PALE,main:ol.BLUE,dark:ol.BLUE_DARK,extraDark:ol.BLUE_EXTRA_DARK,contrastText:ol.WHITE},text:{primary:ol.TEXT_PRIMARY,secondary:ol.TEXT_SECONDARY,disabled:ol.GREYSCALE_0_30},action:{hover:ol.GREYSCALE_0_03,hoverOpacity:.03,selected:ol.GREYSCALE_0_05,selectedOpacity:.05,focus:ol.MISC_FOCUS_BORDER},amethyst:{ultraLight:ol.WHITE,main:ol.PURPLE,light:ol.PURPLE_PALE,dark:ol.PURPLE_DARK,extraDark:ol.GREYSCALE_0_0,contrastText:ol.WHITE},background:{paper:ol.WHITE,default:ol.GREYSCALE_95},divider:ol.GREYSCALE_0_15}),_x={...nl},Dx=((e="light",t=!1)=>((e,t=!1)=>({components:Ix(0,t),palette:Mx(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:al,fontWeightLight:cl,fontWeightRegular:dl,fontWeightMedium:pl,fontWeightBold:fl,htmlFontSize:al,fontFamily:hl.FONT_FAMILY,button:{fontWeight:pl,fontSize:al,textTransform:"none"},body1:{fontSize:sl,lineHeight:"24px"},body2:{fontSize:al,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:ll,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:sl,fontWeight:pl,lineHeight:"16px"},h6:{fontSize:al,fontWeight:pl,lineHeight:"16px"},caption:{color:ol.TEXT_SECONDARY},subtitle1:{fontSize:al,color:ol.TEXT_SECONDARY},subtitle2:{fontSize:il,color:ol.TEXT_SECONDARY}},shape:{borderRadius:ul}}))(0,t))().palette,Tx={TEXT:Dx.text.primary,DISABLED:Dx.text.disabled,HOVER:Dx.action.hover,WHITE:_x.GREYSCALE_100,BORDER_LIGHT:_x.GREYSCALE_90,BORDER_MEDIUM:_x.GREYSCALE_85,BORDER_HEAVY:_x.GREYSCALE_50,DARK_MODE_TEXT:_x.GREYSCALE_95,DARK_MODE_BORDER:_x.GREYSCALE_95,DARK_MODE_DISABLED:_x.GREYSCALE_70,DARK_MODE_BACKGROUND:_x.GREYSCALE_20,TRANSPARENT:"transparent",NULL_VALUE_BACKGROUND:_x.GREYSCALE_95,SELECTED:Dx.primary.main},Ox=(e,t=Tx.TEXT,r=Tx.WHITE)=>{const n=ee(e),o=ee(t),i=ee(r);return n.isInvalid()?t:function(e,t,r){const n=te(e,t),o=te(e,r);if(void 0!==n&&void 0!==o)return n>o?t:r}(n,i,o).getRGB()},qx=e=>{const t=e.getStyle("","","dataColors.selected")||Tx.SELECTED,r=function(e,t){const r=ee("#FFFFFF"),n=ee(e),o=ee(t);if(n.isInvalid()||o.isInvalid()||n.getAlpha()<1||o.getAlpha()<1)return t;const i=te(r,n),a=te(o,n),s=i>a||i>4.5;return!s&&a>3?o.getHex():s?"#FFFFFF":"#000000"}(t,Tx.TEXT);return{background:t,color:r}},Nx=(e,t)=>{const r=ee(e);return 0===r.a?(r.setAlpha(t.opacity),r.getString()):r.isDark()?r.getBrightenedColor(t.brighter).getString():r.getDarkenedColor(t.darker).getString()},jx=e=>!!e&&0===ee(e).a,zx=(e,t,r)=>{const n=t?e.getColorPickerColor(t):"none";return"none"===n?r:n},Fx=e=>{const t=ee(e);return t.isInvalid()?null:1===t.a?t.getRGB():t.getRGBA()},$x=(e,t,r)=>{var n,o,i,a;const s=null!==(n=null===(o=e.closest(".qv-object-wrapper"))||void 0===o||null===(o=o.querySelector(".sel-toolbar-confirm"))||void 0===o?void 0:o.parentElement)&&void 0!==n?n:null===(i=document.querySelector("#qv-selection-toolbar-popover .sel-toolbar-confirm"))||void 0===i?void 0:i.parentElement;s?s.focus():null===(a=t.focusSelection)||void 0===a||a.call(t,r)},Hx=e=>{e.stopPropagation(),e.preventDefault()},Bx="#grid",Gx=(e,t,r,n=Tx.WHITE)=>e&&!jx(e)?e:jx(t)?r&&!jx(r)?r:n:t,Wx=(e,t)=>{const r=null==t?void 0:t.closest(e);return r&&window.getComputedStyle(r).backgroundColor},Vx=(e,t,r,n,o)=>{const i=Wx(".qv-object .qv-inner-object",r),a=Wx(".qv-panel-sheet",r),s=Wx(Bx,r),l=null!=s?s:a,u=(e=>{var t,r,n,o,i,a;const s=null===(t=e.components)||void 0===t?void 0:t.find((e=>"general"===e.key)),l=null==s||null===(r=s.bgColor)||void 0===r?void 0:r.colorExpression,u=null==s||null===(n=s.bgColor)||void 0===n||null===(n=n.color)||void 0===n?void 0:n.color;if((null==s||null===(o=s.bgColor)||void 0===o?void 0:o.useColorExpression)&&l)return Fx(l);if("none"===u)return"transparent";if(void 0===u)return;const c=ee(u);return c.setAlpha(null!==(i=null==s||null===(a=s.bgColor)||void 0===a||null===(a=a.color)||void 0===a?void 0:a.alpha)&&void 0!==i?i:c.a),c.getRGBA()})(e),c=null==n?void 0:n(t),d=null==o?void 0:o(t),p=c||i||d,f=jx(p),h=!jx(m=f?l:p)&&Ox(m,Tx.TEXT,Tx.DARK_MODE_TEXT)===K(Tx.DARK_MODE_TEXT);var m;return{color:p,headerColor:Gx(u,p,l),isDark:h}},Ux=(t,r,a,s)=>{const l=i(),u=((e,t={attributeFilter:["style"],childList:!1,subtree:!1})=>{const[r,i]=n([]);return o((()=>{let r;return e&&(r=new MutationObserver((e=>{i(e)})),r.observe(e,t)),()=>{var e;null===(e=r)||void 0===e||e.disconnect()}}),[e,t]),r})(r.closest(Bx),{attributeFilter:["style"],childList:!1,subtree:!1,attributeOldValue:!0}).filter((({oldValue:e})=>null==e?void 0:e.includes("background"))).map((({oldValue:e})=>e)).join(",");return e((()=>({...l,background:Vx(t,l,r,a,s)})),[l.name(),r,a,s,t,u])};function Yx(t,n){const o=e((()=>({isLoading:!0})),n),[i,a]=r((async()=>{try{return await t()}finally{o.isLoading=!1}}),n);return[i,o.isLoading,a]}const Kx=3;function Xx(e,t,r){let n=0,o=e.length;if(e.length<=1)return null;if(r(e)<=t)return null;for(;n<=o;){const i=Math.floor((n+o)/2),a=e.slice(0,i),s=e.slice(0,i-1),l=r(a),u=r(s);if(l>t&&u<=t)return e.slice(i-1)||null;if(l===t)return e.slice(i)||null;l<t?n=i+1:o=i}return null}function Jx({fontSize:e="12px",fontFamily:t="Source Sans Pro, Arial, sans-serif",fontStyle:r="normal",fontWeight:n="normal"},o){const{maxNbrLinesOfText:i=Kx}=null!=o?o:{},{estimateWidth:a,measureText:s,estimateLineCount:l}=E((()=>{const o=document.createElement("canvas").getContext("2d");o.font=`${r} ${n} ${e} ${t}`;const a=at(o.measureText.bind(o)),s=e=>+a(e).width.toFixed(2),l=at((({text:e,maxWidth:t,isNumeric:r=!1})=>{if(r)return 1;let n=0,o=e;do{n+=1,o=Xx(o,t,s)}while(null!==o&&n<i);return n}),(({text:e,maxWidth:t,isNumeric:r})=>`${e}-${t}-${r?"true":"false"}`));return{measureText:e=>a(e).width,estimateWidth:e=>a("N").width*e,estimateLineCount:l}}),[r,n,e,t,i]);return{estimateWidth:a,measureText:s,estimateLineCount:l}}var Zx,Qx=F;Zx=Qx.createRoot,Qx.hydrateRoot;const eS="Source Sans Pro, sans-serif";function tS(e,t){const[r,n]=C(t);r.some(((e,r)=>e!==t[r]))&&(n(t),e())}var rS={NebulaTableUtils_ColumnAdjuster_ColumnNameLabel:{id:"NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",locale:{"de-DE":"Breite von {0}","en-US":"Width of {0}","es-ES":"Ancho de {0}","fr-FR":"Largeur de {0}","it-IT":"Larghezza di {0}","ja-JP":"{0} の幅","ko-KR":"{0}의 너비","nl-NL":"Breedte van {0}","pl-PL":"Szerokość kolumny {0}","pt-BR":"Comprimento de {0}","ru-RU":'Ширина столбца "{0}"',"sv-SE":"Bredd på {0}","tr-TR":"{0} genişliği","zh-CN":"{0} 的宽度","zh-TW":"{0} 的寬度"}},NebulaTableUtils_MenuGroupLabel_Sorting:{id:"NebulaTableUtils.MenuGroupLabel.Sorting",locale:{"de-DE":"Sortierung","en-US":"Sorting","es-ES":"Ordenación","fr-FR":"Tri","it-IT":"Ordinamento","ja-JP":"ソート","ko-KR":"정렬","nl-NL":"Sorteren","pl-PL":"Sortowanie","pt-BR":"Classificação","ru-RU":"Сортировка","sv-SE":"Sortering","tr-TR":"Sıralama","zh-CN":"排序","zh-TW":"排序"}},NebulaTableUtils_MenuItemLabel_AdjustColumnSize:{id:"NebulaTableUtils.MenuItemLabel.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},NebulaTableUtils_MenuItemLabel_ClearSelections:{id:"NebulaTableUtils.MenuItemLabel.ClearSelections",locale:{"de-DE":"Auswahlen löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Geselecteerde waarden wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},NebulaTableUtils_MenuItemLabel_Collapse:{id:"NebulaTableUtils.MenuItemLabel.Collapse",locale:{"de-DE":"Reduzieren","en-US":"Collapse","es-ES":"Contraer","fr-FR":"Réduire","it-IT":"Comprimi","ja-JP":"折りたたむ","ko-KR":"축소","nl-NL":"Samenvouwen","pl-PL":"Zwiń","pt-BR":"Recolher","ru-RU":"Свернуть","sv-SE":"Dölj","tr-TR":"Daralt","zh-CN":"折叠","zh-TW":"收合"}},NebulaTableUtils_MenuItemLabel_ColumnOptions:{id:"NebulaTableUtils.MenuItemLabel.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбца","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},NebulaTableUtils_MenuItemLabel_Expand:{id:"NebulaTableUtils.MenuItemLabel.Expand",locale:{"de-DE":"Erweitern","en-US":"Expand","es-ES":"Expandir","fr-FR":"Développer","it-IT":"Espandi","ja-JP":"展開","ko-KR":"확장","nl-NL":"Uitvouwen","pl-PL":"Rozwiń","pt-BR":"Expandir","ru-RU":"Развернуть","sv-SE":"Utöka","tr-TR":"Genişlet","zh-CN":"展开","zh-TW":"展開"}},NebulaTableUtils_MenuItemLabel_Search:{id:"NebulaTableUtils.MenuItemLabel.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},NebulaTableUtils_MenuItemLabel_SelectAll:{id:"NebulaTableUtils.MenuItemLabel.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},NebulaTableUtils_MenuItemLabel_SelectAlternative:{id:"NebulaTableUtils.MenuItemLabel.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대체 가능 값 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},NebulaTableUtils_MenuItemLabel_SelectExcluded:{id:"NebulaTableUtils.MenuItemLabel.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},NebulaTableUtils_MenuItemLabel_SelectPossible:{id:"NebulaTableUtils.MenuItemLabel.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},NebulaTableUtils_MenuItemLabel_Selections:{id:"NebulaTableUtils.MenuItemLabel.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택 내용","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},NebulaTableUtils_MenuItemLabel_SortAscending:{id:"NebulaTableUtils.MenuItemLabel.SortAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortieren","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Trier par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},NebulaTableUtils_MenuItemLabel_SortDescending:{id:"NebulaTableUtils.MenuItemLabel.SortDescending",locale:{"de-DE":"In absteigender Reihenfolge sortieren","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Trier par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},NebulaTableUtils_Pagination_DisplayedRowsLabel:{id:"NebulaTableUtils.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{0}/{1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},NebulaTableUtils_Pagination_FirstPage:{id:"NebulaTableUtils.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},NebulaTableUtils_Pagination_LastPage:{id:"NebulaTableUtils.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},NebulaTableUtils_Pagination_NextPage:{id:"NebulaTableUtils.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},NebulaTableUtils_Pagination_PreviousPage:{id:"NebulaTableUtils.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},NebulaTableUtils_Pagination_RowsPerPage:{id:"NebulaTableUtils.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},NebulaTableUtils_Pagination_SelectPage:{id:"NebulaTableUtils.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}}};const nS=({translator:e})=>(E((()=>{!function(e){if(e&&e.get&&e.add){const t="NebulaTableUtils.MenuGroupLabel.Sorting";if(e.get(t)!==t)return;Object.keys(rS).forEach((t=>{e.add(rS[t])}))}}(e)}),[e]),e),oS="12px",iS="nebula-table-utils-head-menu-button",aS="nebula-table-utils-head-menu-wrapper",sS="nebula-table-utils-head-menu",lS="nebula-table-utils-head-menu-list-id",uS="sn-copy-cell";let cS=function(e){return e.Enter="Enter",e.Space=" ",e.Esc="Escape",e.Tab="Tab",e.Shift="Shift",e.Left="ArrowLeft",e.Right="ArrowRight",e.Up="ArrowUp",e.Down="ArrowDown",e.C="c",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e}({});const dS="nebula-table-utils-column-adjuster";let pS=function(e){return e[e.PixelsMin=30]="PixelsMin",e[e.PixelsMax=7680]="PixelsMax",e[e.PixelsDefault=200]="PixelsDefault",e[e.PercentageMin=1]="PercentageMin",e[e.PercentageMax=100]="PercentageMax",e[e.PercentageDefault=20]="PercentageDefault",e[e.PercentageMaxInIndentMode=75]="PercentageMaxInIndentMode",e[e.AutoMinPivot=80]="AutoMinPivot",e[e.AutoMinTable=120]="AutoMinTable",e}({}),fS=function(e){return e.Auto="auto",e.FitToContent="fitToContent",e.Pixels="pixels",e.Percentage="percentage",e}({});const hS={darker:.15,brighter:.3,opacity:.03},mS={darker:.3,brighter:.5,opacity:.05};let gS=function(e){return e.Single="N",e.DrillDown="H",e.Cyclic="C",e}({});const bS=document.createElement("textarea");function vS(e){bS.value=e,document.body.appendChild(bS),bS.select(),bS.setSelectionRange(0,bS.value.length),document.execCommand("copy"),document.body.removeChild(bS)}bS.style.position="absolute",bS.style.left="-9999px",bS.setAttribute("readonly","");const yS=e=>{var t;const r=e.title;r&&(null!==(t=navigator.clipboard)&&void 0!==t&&t.writeText?navigator.clipboard.writeText(r).catch((()=>{vS(r)})):vS(r))};function xS(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var SS,CS,ES,wS="top",RS="top-right",AS="right",kS="bottom-right",PS="bottom",LS="bottom-left",IS="left",MS="top-left";xS(xS(xS(xS(xS(xS(xS(xS(xS(xS(SS={},"equal-equal",[wS,PS]),"equal-higher",[PS,kS]),"equal-lower",[wS,RS]),"equal-void",[wS,PS]),"higher-equal",[IS,LS,wS,RS]),"higher-higher-acute",[PS,LS,IS,RS]),"higher-higher-obtuse",[PS,wS]),"higher-lower-negative",[wS,RS,AS]),"higher-lower-positive",[PS,LS,IS]),"higher-void",[wS]),xS(xS(xS(xS(xS(xS(xS(xS(xS(xS(SS,"lower-equal",[wS]),"lower-higher-negative",[wS,MS]),"lower-higher-positive",[kS]),"lower-lower-acute",[wS,MS,IS,RS,AS]),"lower-lower-obtuse",[wS,PS]),"lower-void",[wS]),"void-equal",[wS]),"void-higher",[wS,PS]),"void-lower",[wS,PS,IS]),"void-void",[wS]),xS(SS,"unclassified",[wS,PS,AS,IS,RS,kS,LS,MS]);var _S=function(){if(ES)return CS;ES=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return CS=function e(){var t,r,n,l,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=s(d,r),d!==(l=s(t,r))&&(h&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=n&&o(n)?n:[]):c=n&&i(n)?n:{},a(d,{name:r,newValue:e(h,c,l)})):void 0!==l&&a(d,{name:r,newValue:l}));return d},CS}();function DS(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function TS(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function OS(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(_S);var qS=1/.7,NS="\\s*([+-]?\\d+)\\s*",jS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",zS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",FS=/^#([0-9a-f]{3,8})$/,$S=new RegExp(`^rgb\\(${NS},${NS},${NS}\\)$`),HS=new RegExp(`^rgb\\(${zS},${zS},${zS}\\)$`),BS=new RegExp(`^rgba\\(${NS},${NS},${NS},${jS}\\)$`),GS=new RegExp(`^rgba\\(${zS},${zS},${zS},${jS}\\)$`),WS=new RegExp(`^hsl\\(${jS},${zS},${zS}\\)$`),VS=new RegExp(`^hsla\\(${jS},${zS},${zS},${jS}\\)$`),US={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function YS(){return this.rgb().formatHex()}function KS(){return this.rgb().formatRgb()}function XS(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=FS.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?JS(t):3===r?new tC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ZS(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ZS(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=$S.exec(e))?new tC(t[1],t[2],t[3],1):(t=HS.exec(e))?new tC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=BS.exec(e))?ZS(t[1],t[2],t[3],t[4]):(t=GS.exec(e))?ZS(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=WS.exec(e))?sC(t[1],t[2]/100,t[3]/100,1):(t=VS.exec(e))?sC(t[1],t[2]/100,t[3]/100,t[4]):US.hasOwnProperty(e)?JS(US[e]):"transparent"===e?new tC(NaN,NaN,NaN,0):null}function JS(e){return new tC(e>>16&255,e>>8&255,255&e,1)}function ZS(e,t,r,n){return n<=0&&(e=t=r=NaN),new tC(e,t,r,n)}function QS(e){return e instanceof OS||(e=XS(e)),e?new tC((e=e.rgb()).r,e.g,e.b,e.opacity):new tC}function eC(e,t,r,n){return 1===arguments.length?QS(e):new tC(e,t,r,null==n?1:n)}function tC(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function rC(){return`#${aC(this.r)}${aC(this.g)}${aC(this.b)}`}function nC(){const e=oC(this.opacity);return`${1===e?"rgb(":"rgba("}${iC(this.r)}, ${iC(this.g)}, ${iC(this.b)}${1===e?")":`, ${e})`}`}function oC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function iC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function aC(e){return((e=iC(e))<16?"0":"")+e.toString(16)}function sC(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new uC(e,t,r,n)}function lC(e){if(e instanceof uC)return new uC(e.h,e.s,e.l,e.opacity);if(e instanceof OS||(e=XS(e)),!e)return new uC;if(e instanceof uC)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(r-n)/s+6*(r<n):r===i?(n-t)/s+2:(t-r)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new uC(a,s,l,e.opacity)}function uC(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function cC(e){return(e=(e||0)%360)<0?e+360:e}function dC(e){return Math.max(0,Math.min(1,e||0))}function pC(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}DS(OS,XS,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:YS,formatHex:YS,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return lC(this).formatHsl()},formatRgb:KS,toString:KS}),DS(tC,eC,TS(OS,{brighter(e){return e=null==e?qS:Math.pow(qS,e),new tC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new tC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new tC(iC(this.r),iC(this.g),iC(this.b),oC(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rC,formatHex:rC,formatHex8:function(){return`#${aC(this.r)}${aC(this.g)}${aC(this.b)}${aC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:nC,toString:nC})),DS(uC,(function(e,t,r,n){return 1===arguments.length?lC(e):new uC(e,t,r,null==n?1:n)}),TS(OS,{brighter(e){return e=null==e?qS:Math.pow(qS,e),new uC(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new uC(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new tC(pC(e>=240?e-240:e+120,o,n),pC(e,o,n),pC(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new uC(cC(this.h),dC(this.s),dC(this.l),oC(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=oC(this.opacity);return`${1===e?"hsl(":"hsla("}${cC(this.h)}, ${100*dC(this.s)}%, ${100*dC(this.l)}%${1===e?")":`, ${e})`}`}}));const fC=Math.PI/180,hC=180/Math.PI,mC=4/29,gC=6/29,bC=3*gC*gC;function vC(e){if(e instanceof yC)return new yC(e.l,e.a,e.b,e.opacity);if(e instanceof wC)return RC(e);e instanceof tC||(e=QS(e));var t,r,n=EC(e.r),o=EC(e.g),i=EC(e.b),a=xC((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=xC((.4360747*n+.3850649*o+.1430804*i)/.96422),r=xC((.0139322*n+.0971045*o+.7141733*i)/.82521)),new yC(116*a-16,500*(t-a),200*(a-r),e.opacity)}function yC(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function xC(e){return e>.008856451679035631?Math.pow(e,1/3):e/bC+mC}function SC(e){return e>gC?e*e*e:bC*(e-mC)}function CC(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function EC(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function wC(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function RC(e){if(isNaN(e.h))return new yC(e.l,0,0,e.opacity);var t=e.h*fC;return new yC(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}DS(yC,(function(e,t,r,n){return 1===arguments.length?vC(e):new yC(e,t,r,null==n?1:n)}),TS(OS,{brighter(e){return new yC(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new yC(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new tC(CC(3.1338561*(t=.96422*SC(t))-1.6168667*(e=1*SC(e))-.4906146*(r=.82521*SC(r))),CC(-.9787684*t+1.9161415*e+.033454*r),CC(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),DS(wC,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof wC)return new wC(e.h,e.c,e.l,e.opacity);if(e instanceof yC||(e=vC(e)),0===e.a&&0===e.b)return new wC(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*hC;return new wC(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new wC(e,t,r,null==n?1:n)}),TS(OS,{brighter(e){return new wC(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new wC(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return RC(this).rgb()}}));var AC=e=>()=>e;function kC(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):AC(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?kC:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):AC(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=eC(e)).r,(t=eC(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=kC(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var PC="center",LC="bottom";[{key:"NoDataExist",alignment:PC,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:PC,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:PC,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:PC},{key:"DataRangeIncludingZero",alignment:LC},{key:"LimitedData",alignment:LC},{key:"NegativeOrZeroValues",alignment:LC}].reduce((function(e,t){return e[t.key]=t,e}),{});var IC,MC=["__proto__","constructor"];function _C(e,t,r){if(void 0!==e&&void 0!==t){var n=t.split("."),o=n[n.length-1];if(!MC.some((function(e){return n.includes(e)}))){for(var i=e,a=0;a<n.length-1;++a){var s=n[a];void 0===i[s]&&(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}}}function DC(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function TC(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=qC)):void 0===t&&(t=OC);for(var r,n,o,i,a,s=new zC(e),l=[s];r=l.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)l.push(n=o[i]=new zC(o[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(jC)}function OC(e){return e.children}function qC(e){return Array.isArray(e)?e[1]:null}function NC(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function jC(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function zC(e){this.data=e,this.depth=this.height=0,this.parent=null}zC.prototype=TC.prototype={constructor:zC,count:function(){return this.eachAfter(DC)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return TC(this).eachBefore(NC)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},IC=function(e){
103
103
  /*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
104
- e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},LC({exports:{}});var FC={exports:{}};self,FC.exports=(()=>{var e={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}},8:(e,t)=>{(()=>{var e={229:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{n.r(o),n.d(o,{default:()=>Me});var e=n(229),t=n.n(e);const r=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},i=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},a={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var s="".concat(" ","(").concat(" "),l="".concat(" ",")").concat(" ");function u(e){return s+e+l}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function d(e){return!(!e.fullAccumulation&&!e.fullRange)}function p(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function f(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function h(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function m(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function g(e){return void 0===e?")":", 0, ".concat(e,")")}function b(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function v(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(b("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(b("MaxString(".concat(t,")")),")'\"}")}function y(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=v(c(n[0],o),h(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var d=c(n[0],o),p=c(n[1],o),f=h(0),m=h(1),g=v(d,f),b=v(p,m);return"".concat(a,"({1<").concat(g,",").concat(b,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function x(e){return"".concat(e,"(")}function S(e){var t=e.properties,r=e.layout;return i(t,"qHyperCubeDef.qDimensions",i(r,"qHyperCube.qDimensionInfo",[])).length}const C={isFullRange:d,getNumDimensions:S,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=u(f(t));if(!r.showExcludedValues)return a;var s=y({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var c=h(0);return"If(Count(".concat(c,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var d=h(0),p=h(1);return"If(Count(".concat(d,") * Count(").concat(p,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:p,getNumStepComp:function(e,t){if(!d(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return p(e,t)},getAboveCompPrefix:m,getAboveCompSuffix:g,getAboveComp:function(e,t,r,n){return m(e,t)+r+g(n)},getFunctionPrefix:x,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return x(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:y,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout,o=function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t);return 0===o&&2===S({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=h(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:f,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(s);if(-1!==r){var n=t.indexOf(l);if(-1!==n)return t.substring(r+s.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:c,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=S({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:u,canExtract:function(e){var t=e.indexOf(s),r=e.indexOf(l);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:h,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=a.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?a.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(a.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return a.EXPRESSIONS[r]&&n.includes(a.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var R=t().bind(null,!0),A={},k=Array.isArray;function P(e){return null!=e&&!Array.isArray(e)&&"object"===w(e)}function I(e){return void 0===e}function L(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function M(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=I(e[r||t])?i:e[t],e=e[r||t]}})),e}function _(e,t){var r=!0;if(P(e)&&P(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){_(e[n],t[n])||(r=!1)})),r);if(k(e)&&k(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!_(e[n],t[n]))return!1;return!0}return e===t}A.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?R({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);_(i,a)||L(t,o)||(I(a)?n.push({op:"add",path:s,value:i}):P(i)&&P(a)?n=n.concat(A.generate(a,i,s)):k(i)&&k(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&I(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(_(t,o))return n;if(!I(t[0])&&I(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(A.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){I(t[o])&&!L(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},A.apply=function(e,t){t.forEach((function(t){var r,n,o=M(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(k(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(k(a)&&k(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return E(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(n)||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(P(a)&&P(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!L(r,e)&&delete r[e]})),R(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=M(e,t.from);k(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(k(o)?o.splice(+i,1):delete o[i])}))},A.clone=function(e){return R({},e)},A.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},A.updateObject=function(e,t){Object.keys(e).length?A.apply(e,A.generate(e,t)):R(e,t)};const D=A,T=function(e,r,n){if(!e)return Promise.resolve();var o=D.generate(r,n);return t()(!0,r,n),o&&o.length?(o=o.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(o,!0)):Promise.resolve()};var O="accumulation";function q(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===O)return r[n]}function N(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===O)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var j={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const z={translationKey:"properties.modifier.accumulation",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getNumStepComp(r,l),p=C.getAboveComp(r,l,c,d),f=C.getRangeComp("RangeSum",p);if(C.needDimension({modifier:r,properties:n,layout:o})){var h=C.getDimComp(u,1),m=C.getDimComp(u,0),g=C.getAggrComp(f,h,m);f=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,valueComp:g}):g}return f},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,j)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(N(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(N(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(N(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(N(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=q(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=q(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(N(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(O))return!1;var i=q(t,e);return i&&!i.disabled}};return r}};var F="movingAverage";function $(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===F)return r[n]}function H(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===F)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var B={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const G={translationKey:"properties.modifier.movingAverage",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,a=e.layout,s=e.numDimensions,l=e.dimensionAndFieldList;if(!n)return r;var u=s;void 0===u&&(u=C.getNumDimensions({properties:o,layout:a}));var c=i(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=C.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:l,treatMissingAsNull:d}),f=C.getNumStepComp(n,u),h=C.getAboveComp(n,u,p,f);if(n.nullSuppression)t=C.getRangeComp("RangeAvg",h);else{var m=C.getRangeComp("RangeSum",h),g=function(e,t){var r=C.getRowNoComp(e,t);if(!C.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(C.needDimension({modifier:n,properties:o,layout:a})){var v=C.getDimComp(c,1),y=C.getDimComp(c,0),x=C.getAggrComp(b,v,y);b=n.showExcludedValues?C.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:l,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,B)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(H(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(H(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(H(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(H(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=$(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=$(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat(H(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat(H(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(F))return!1;var i=$(t,e);return i&&!i.disabled}};return r}};var W="timeSeriesDecomposition";function V(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===W)return r[n]}function U(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===W)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Y={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const K={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?C.generateTSDExpression(r,t,n):t},extractInputExpression:C.extractInputExpression,initModifier:function(e,t){C.initModifier(e,Y),""===e.decomposition&&t&&(e.decomposition=C.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(U(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:a.OPTIONS},steps:{refFn:function(t){return"".concat(U(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=V(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=V(t,e);return r&&!r.fullRange}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(W))return!1;var i=V(t,e);return i&&!i.disabled}};return r}};var X="difference";function J(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===X)return r[n]}function Z(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===X)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Q={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const ee={translationKey:"properties.modifier.difference",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getAboveComp(r,l,c),p="".concat(c," - ").concat(d);if(C.needDimension({modifier:r,properties:n,layout:o})){var f=C.getDimComp(u,1),h=C.getDimComp(u,0),m=C.getAggrComp(p,f,h);p=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(Q).forEach((function(t){void 0===e[t]&&(e[t]=Q[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(Z(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(Z(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(Z(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(X))return!1;var i=J(t,e);return i&&!i.disabled}};return r}};var te="normalization";function re(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===te)return r[n]}function ne(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===te)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function oe(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var ie={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:2,selectionScope:2};function ae(e){return 2===e?"{1}":""}function se(e,t,r){return 1===e?"{$<".concat(C.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function le(e,t){return 0===e&&t>1||2===e?"Total":""}function ue(e,t,r){return 0===e&&t>1?"<".concat(C.getDimDefWithWrapper(r),">"):""}const ce={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=ae(t),l=se(t,r,n),u=""===s&&""===l?"":s||l,c=le(o,i),d=ue(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=C.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,l,r.primaryDimension)},initModifier:function(e){Object.keys(ie).forEach((function(t){void 0===e[t]&&(e[t]=ie[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(ne(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,options:function(r){return function(e,t,r){var n=[{value:0,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:1,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:2,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=oe(t,0);t.splice(r,1)}return t}(re(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(ne(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return 1===re(t,e).selectionScope}},value:{refFn:function(t){return"".concat(ne(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return 1===re(t,e).selectionScope}},dimensionalScope:{refFn:function(t){return"".concat(ne(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:0,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:1,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:2,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=oe(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=oe(t,1);t.splice(r,1)}return t}(re(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(ne(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return 0===(re(t,e).dimensionalScope||0)&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(te))return!1;var i=re(t,e);return i&&!i.disabled}};return r},getDisregardSelectionComp:ae,getFieldSelectionComp:se,getTotalComp:le,getSelectedDimComp:ue};var de="qDef.base",pe="qDef.qDef",fe="qDef.base.qDef",he="qLibraryId",me="qDef.base.qLibraryId";const ge={getExpression:function(e){var t=i(e,fe);return void 0!==t?t:i(e,pe)},getExpressionRef:function(e){return void 0!==i(e,fe)?fe:pe},getLibraryIdRef:function(e){return i(e,me)?me:he},getLibraryId:function(e){return i(e,me)||i(e,he)},getLabelRef:function(e){return i(e,de)?"qDef.base.qLabel":"qDef.qLabel"},getLabelExpressionRef:function(e){return i(e,de)?"qDef.base.qLabelExpression":"qDef.qLabelExpression"}};var be="qDef.qDef",ve="qDef.base.qDef",ye="qLibraryId",xe="qDef.base.qLibraryId",Se="qDef.qLabel",Ce="qDef.qLabelExpression",Ee="qDef.base.qLabel",we="qDef.base.qLabelExpression",Re="qDef.qAggrFunc",Ae="qDef.base.qAggrFunc",ke={initBase:function(e,t){(t||ke.isValid(e))&&(r(e,ve,i(e,be)),r(e,xe,i(e,ye)),r(e,Ee,i(e,Se)),r(e,we,i(e,Ce)))},restoreBase:function(e){ke.isValid(e)&&(r(e,be,i(e,ve)),r(e,ye,i(e,xe)),r(e,Se,i(e,Ee)),r(e,Ce,i(e,we)),i(e,Re)&&i(e,Ae)&&r(e,Re,i(e,Ae)),delete e.qDef.base)},isValid:function(e){var t=i(e,ve),r=i(e,xe);return void 0!==t||void 0!==r}};const Pe=ke;function Ie(e){return Ie="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},Ie(e)}var Le={accumulation:z,movingAverage:G,difference:ee,normalization:ce,timeSeriesDecomposition:K};const Me={modifiers:Le,apply:De,applyModifiers:Te,cleanUpMeasure:Oe,destroy:function(e){e&&_e[e.id]&&_e[e.id].masterItemSubscriber&&(_e[e.id].masterItemSubscriber&&_e[e.id].masterItemSubscriber.unsubscribe(),delete _e[e.id])},hasActiveModifiers:qe,getActiveModifier:Ne,initBase:Pe.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Le[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Le[e]&&Le[e].isApplicable({properties:r,layout:n})}))},measureBase:ge,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Fe(e);Ue({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||Ze({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:je};var _e={};function De(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.model,n=e.properties,o=e.isSnapshot,a=void 0!==o&&o,s=e.masterItem,l=!1;_e[r.id]=_e[r.id]||{isFirstTime:!0};var u=_e[r.id].isFirstTime;if(_e[r.id].isFirstTime=!1,n&&"object"===Ie(n))return Te({model:r,properties:n});var c=r?r.layout:void 0,d=i(c,"qSelectionInfo.qInSelections");if(a||d)return Promise.resolve(l);var p=i(c,"qHyperCube.qMeasureInfo"),f=_e[r.id].lastReloadTime;if(_e[r.id].lastReloadTime=i(r,"app.layout.qLastReloadTime"),qe({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return i(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ve({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:r,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Ue({modifiers:Fe(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:s,isFirstTime:u})?r.getEffectiveProperties().then((function(e){var n=t()(!0,{},e);He(n);var o=Qe(n);return Ye({model:r}).then((function(t){return Ke({libraryIds:o,model:r}).then((function(o){return h&&function(e){var t=e.properties;ze(t).forEach((function(e){return function(e){var t=e.measure;if(Ve({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===Ie(e)&&!e.disabled){if(r++,"object"!==Ie(Le[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Le[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&Ge(t)&&C.simplifyExpression(t.qDef.base.qDef)!==C.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:n}),Te({model:r,oldProperties:e,properties:n,runUpdateIfChange:!0,masterItem:s,libraryItemsProps:o,dimensionAndFieldList:t})}))}))})):Promise.resolve(l)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===Ie(e.base)}))}(p)?r.getEffectiveProperties().then((function(e){return function(e){var r=e.model,n=e.properties,o=Qe(n);return et({model:r,libraryIds:o}).then((function(){var e=t()(!0,{},n);return ze(n).forEach((function(e){return Oe(e)})),Je({oldProperties:e,newProperties:n,model:r})}))}({model:r,properties:e})})):Promise.resolve(l)}function Te(e){var r=e.model,n=e.oldProperties,o=e.properties,a=e.measures,s=e.runUpdateIfChange,l=void 0!==s&&s,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===n&&(n=l?t()(!0,{},o):o),He(o);var p=Qe(o);return et({model:r,libraryIds:p,masterItem:u}).then((function(){return function(e){var r=e.measures,n=e.properties,o=e.model,a=e.libraryItemsProps,s=e.dimensionAndFieldList;if(r||(r=ze(n)),!r.length)return Promise.resolve();if(!qe({measures:r,properties:n}))return r.forEach((function(e){return Oe(e)})),Promise.resolve();var l=a?void 0:Qe(n);return Ye({model:o,dimensionAndFieldList:s}).then((function(e){return Ke({libraryIds:l,model:o,libraryItemsProps:a}).then((function(o){r.forEach((function(r){Ue({modifiers:r.qDef.modifiers,properties:n})?(function(e){var r=e.measure,n=e.properties,o=e.libraryItemsProps,a=e.dimensionAndFieldList,s=0;Pe.isValid(r)||Pe.initBase(r,!0);var l=r.qDef,u=l.modifiers,c=l.base;Array.isArray(u)&&u.forEach((function(e){if("object"===Ie(e)&&!e.disabled){if(s++,"object"!==Ie(Le[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(s>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Le[e.type].initModifier(e,r);var l=r.qLibraryId||c&&c.qLibraryId;l?function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList,a=e.libraryItemsProps[e.libraryId],s=a.qMeasure.qDef,l=""===s?s:Le[n.type].generateExpression({expression:s,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=l,r.qDef.qDef=n.outputExpression,(r.qDef.qLabel||a.qMeasure.qLabel)&&(r.qDef.qLabel=a.qMeasure.qLabel),(r.qDef.qLabelExpression||a.qMeasure.qLabelExpression)&&(r.qDef.qLabelExpression=a.qMeasure.qLabelExpression),r.qDef.quarantine&&r.qDef.quarantine.qNumFormat&&a.qMeasure.qNumFormat&&(r.qDef.qNumFormat=a.qMeasure.qNumFormat,r.qDef.isCustomFormatted=a.qMeasure.isCustomFormatted),delete r.qLibraryId,r.qDef.coloring=a.qMeasure.coloring,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,libraryId:l,properties:n,libraryItemsProps:o,dimensionAndFieldList:a}):function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList;"function"==typeof Le[n.type].updateModifier&&Le[n.type].updateModifier(n,o.qHyperCubeDef);var a=ge.getExpression(r),s=""===a?a:Le[n.type].generateExpression({expression:a,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=s,r.qDef.qDef=n.outputExpression,r.qDef.base.qLabelExpression?r.qDef.qLabelExpression=r.qDef.base.qLabelExpression:r.qDef.qLabel=r.qDef.base.qLabel||a,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,properties:n,dimensionAndFieldList:a}),function(e){var t=i(e,"qDef.qAggrFunc");"Expr"!==t||je(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&je(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(r)}}))}({measure:r,properties:n,libraryItemsProps:o,dimensionAndFieldList:e}),Be(r)):Oe(r)}))}))}))}({measures:a,properties:o,model:r,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return l?Je({oldProperties:n,newProperties:o,model:r}):Promise.resolve(!1)}))}))}function Oe(e){!function(e){var t=Fe(e);return Array.isArray(t)&&t.some((function(e){return"object"===Ie(e)&&!e.disabled&&!Le[e.type]}))}(e)?Pe.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Be(e)}function qe(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ue({modifiers:Fe(e),properties:r,layout:n})}))}function Ne(e){var t=Fe(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Le[n.type]&&!n.disabled)return n}}function je(e){var t=Ne(e);return!t||Le[t.type].enableTotalsFunction(e)}function ze(e){return i(e,"qHyperCubeDef.qMeasures",[]).concat(i(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Fe(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function $e(e){return i(e,"outputExpression.qValueExpression.qExpr")||i(e,"outputExpression")}function He(e){ze(e).forEach((function(e){return function(e){var r=Ne(e);r&&(void 0!==r.outputExpression&&$e(r)!==e.qDef.qDef?delete e.qDef.base:!Pe.isValid(e)&&r.base&&(e.qDef.base=t()(!0,{},r.base)))}(e)}))}function Be(e){var t=Fe(e);Array.isArray(t)&&t.forEach((function(t){"object"===Ie(t)&&(t.disabled||!Le[t.type]&&$e(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function Ge(e){return e.base||e.qDef&&e.qDef.base}function We(e){var t=Ge(e);return e.qLibraryId||t&&t.qLibraryId}function Ve(e){var t=e.measure,r=e.properties,n=e.layout;return!We(t)&&Ue({modifiers:Fe(t),properties:r,layout:n})}function Ue(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==Ie(e)||e.disabled||!Le[e.type])&&(void 0===o[e.type]&&(o[e.type]=Le[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Ye(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function Ke(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a}))}function Xe(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function Je(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(i(t,"qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qMeasures"),Xe)||JSON.stringify(i(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&i(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):T(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function Ze(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===Ie(e)&&!e.disabled&&Le[e.type]&&Le[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function Qe(e){var t=ze(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Fe(t);if(Ue({modifiers:n,properties:e})){var i=We(t);i&&r.push(i),o=o||Ze({modifiers:n,properties:e})}})),i(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function et(e){var t=e.model,r=e.libraryIds;return!e.masterItem&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(_e[t.id].masterItemSubscriber=_e[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},a={},s={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function l(e){var t={},r=i(e,"qInfo.qType");return r&&s[r]&&s[r].forEach((function(r){t[r]=i(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=l(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(e,r){return t.app[r](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),enabled:!1,properties:l(t.layout)}}))}return{subscribe:function(e){var r=e.measureLibraryIds,i=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),a={},t.forEach((function(e){a[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:i}),Object.keys(n).forEach((function(e){o[e]||a[e]||(n[e].listener.dispose(),delete n[e])})),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(c(e,"getMeasure"))})),Object.keys(a).forEach((function(e){a[e]&&!n[e]&&s.push(c(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose()})),n={}}}}({model:t,callback:function(e){return De({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),_e[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}})(),t.default=o.default,Object.defineProperty(t,"__esModule",{value:!0})})()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};return(()=>{function e(t){var r,n=t;return n>9?(r=65+n-10)>90&&(r+=6):n="".concat(n).charCodeAt(0),[48,111,79,105,73,108].indexOf(r)>-1?e(n+1):String.fromCharCode(r)}function t(r){var n=e(r%62),o=Math.floor(r/62);return o>0?t(o)+n:n}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},o(e)}r.d(n,{default:()=>He});const i={getValue:function(e,t,r){if(null==e||null==t)return r;for(var n=t.split("."),o=e,i=0;i<n.length;++i){var a=n[i];if(""!==a){if(void 0===o[a]||null===o[a])return r;o=o[a]}}return o},setValue:function(e,t,r){if(null!=e&&null!=t){for(var n=t.split("."),o=n[n.length-1],i=e,a=0;a<n.length-1;++a){var s=n[a];void 0!==i[s]&&null!==i[s]||(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}},isEmpty:function(e){return 0===Object.keys(e).length&&e.constructor===Object},isAtomicValue:function(e){return/boolean|number|string/.test(o(e))},generateId:function(){return t(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};function a(e){return function(e){if(Array.isArray(e))return s(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 s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return function(e){if(Array.isArray(e))return u(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 u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return n;return-1}return-1}const d={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var r=e.indexOf(t[0]);if(-1!==r){for(var n=0;n<t.length;n++){var o=e.indexOf(t[n]);if(r>o)return!1;r=o}return!0}return!1},indexAdded:function(e,t){var r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)},indexRemoved:function(e,t){var r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n},findItemByPropertyValue:function(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return e[n];return null}return null},findIndexByPropertyValue:c};var p=r(8),f=r.n(p);const h=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.dimensions).push.apply(t,a(n.qDimensions));var s,l=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qDimensions");l&&(s=o.excludedDimensions).push.apply(s,a(l))},m=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.measures).push.apply(t,l(n.qMeasures));var a,s=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qMeasures");s&&(a=o.excludedMeasures).push.apply(a,l(s))},g=function(e){var t=e.exportFormat,r=e.qHyperCubeDef,n=t.data[0];r.qInterColumnSortOrder||(r.qInterColumnSortOrder=[]),n.interColumnSortOrder=r.qInterColumnSortOrder.concat();var o=i.getValue(r,"qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder");o&&d.isOrderedSubset(o,n.interColumnSortOrder)&&(n.interColumnSortOrder=o.concat())},b=function(e){var t=e.exportFormat,r=e.properties;Object.keys(r).forEach((function(e){t.properties[e]=r[e]}))},v=function(e){var t=e.exportFormat,r=e.properties;r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((function(e){t.properties.hasOwnProperty(e)||(t.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===i.getValue(e,t)&&i.setValue(e,t,e.qLayoutExclude.changed[t].from)}))}(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!i.isEmpty(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude},y=function(e){e.forEach((function(e){f().cleanUpMeasure(e),e.qDef.modifiers&&(e.store={modifiers:e.qDef.modifiers},delete e.qDef.modifiers)}))};function x(e,t,r){var n,o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=i.getValue(e,t);if(!i.isAtomicValue(s))try{if((o=(o=(n=JSON.stringify(s)).match(/:\{/g))?o.length:0)>2&&!a)return;s=JSON.parse(n)}catch(e){return}i.getValue(e,"qLayoutExclude.quarantine")||i.setValue(e,"qLayoutExclude.quarantine",{});var l=i.getValue(e,"qLayoutExclude.quarantine");l[r]||(l[r]={}),l[r][t]=s}var S=r(909),C=r.n(S);function E(e,t){var r=C()(!0,{},t,e);return i.getValue(r,"qOtherTotalSpec.qOtherCounted")||i.setValue(r,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),i.getValue(r,"qOtherTotalSpec.qOtherLimit")||i.setValue(r,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),r.hasOwnProperty("othersLabel")||(r.othersLabel="Others"),r}function w(e,t){return C()(!0,{},t,e)}function R(e,t,r){return"function"==typeof e?e(t):Number.isNaN(+e)?r:e}var A=Math.pow(2,53)-1;function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const I=function(e,t,r){var n="masterobject"===i.getValue(t,"properties.qInfo.qType")?"masterobject":i.getValue(r,"qInfo.qType");i.setValue(e,"qInfo.qType",n),e.visualization=r.visualization},L=function(e,t,r){t.hasOwnProperty(e)&&(r[e]=t[e])},M=function(e,t,r,n){t.hasOwnProperty(e)?r[e]=t[e]:r[e]=n},_=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}}},D=function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},T=function(e){var t,r=e.exportFormat,n=e.maxDimensions,o=e.minDimensions,i=e.newHyperCubeDef,a=e.defaultDimension,s=r.data[0];for(t=0;t<s.dimensions.length;++t){var l=E(s.dimensions[t],a);i.qDimensions.length<n?i.qDimensions.push(l):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(l)}for(t=0;t<s.excludedDimensions.length;++t){var u=E(s.excludedDimensions[t],a);i.qDimensions.length<o?i.qDimensions.push(u):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(u)}},O=function(e){var t,r=e.exportFormat,n=e.maxMeasures,o=e.minMeasures,i=e.newHyperCubeDef,a=e.defaultMeasure,s=r.data[0];for(t=0;t<s.measures.length;++t){var l=w(s.measures[t],a);i.qMeasures.length<n?i.qMeasures.push(l):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(l)}for(t=0;t<s.excludedMeasures.length;++t){var u=w(s.excludedMeasures[t],a);i.qMeasures.length<o?i.qMeasures.push(u):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(u)}},q=function(e){var t=e.exportFormat,r=e.dataDefinition,n=void 0===r?{}:r,o=t.data[0],i=n.dimensions||{max:0},a=n.measures||{max:0},s=R(a.max,o.dimensions.length,A),l=R(a.min,o.dimensions.length,0);return{maxDimensions:R(i.max,s,A),minDimensions:R(i.min,l,0),maxMeasures:s,minMeasures:l}},N=function(e){var t=e.exportFormat,r=e.newHyperCubeDef,n=t.data[0],o=r.qDimensions.length+r.qMeasures.length;r.qInterColumnSortOrder=n.interColumnSortOrder.concat();var i=r.qInterColumnSortOrder.length;if(i!==o)for(r.qLayoutExclude&&(r.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());i!==o;)i<o?(d.indexAdded(r.qInterColumnSortOrder,i),++i):(--i,d.indexRemoved(r.qInterColumnSortOrder,i))},j=function(e){var t=e.exportFormat,r=e.initialProperties,n=e.hypercubePath,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=C()(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&n?i.setValue(o,"".concat(n,".qHyperCubeDef"),t.properties.qHyperCubeDef):r.hasOwnProperty(e)||-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)||function(e,t){return"components"===t&&Array.isArray(e[t])&&e[t].some((function(e){return"general"===e.key}))}(t.properties,e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),null===(o=C()(!0,{},r,o)).components&&(o.components=[]),o},z=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=t.data[0];return a.dimensions.length>r&&r>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!r&&a.dimensions.length>0},F=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=e.newHyperCubeDef,s=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(s.dimensions.length>r&&r>0||s.excludedDimensions&&s.excludedDimensions.length&&s.dimensions.length+s.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(s.measures.length>o&&o>0||s.excludedMeasures&&s.excludedMeasures.length&&s.measures.length+s.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&s.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&s.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},$=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.dimensions&&"function"==typeof n.dimensions.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return k(e)}(t=a.qDimensions)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(t)||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.")}();a.qDimensions=[],s.forEach((function(e){a.qDimensions.push(e),n.dimensions.added(e,r)}))}},H=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.measures&&"function"==typeof n.measures.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return P(e)}(t=a.qMeasures)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}(t)||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.")}();a.qMeasures=[],s.forEach((function(e){a.qMeasures.push(e),n.measures.added(e,r)}))}},B=function(e){var t=e.measures,r=e.modifierTypes;t&&r&&f().isSupportedModifiers(r)&&t.forEach((function(e){e.store&&e.store.modifiers&&(e.qDef.modifiers=e.store.modifiers),delete e.store}))};function G(e,t){var r=i.getValue(e,"qLayoutExclude.quarantine",{})[t];return!!r&&(Object.keys(r).forEach((function(t){i.setValue(e,t,r[t])})),delete e.qLayoutExclude.quarantine[t],!0)}const W={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},r=0;r<e;++r)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),a=t.qProperty,s=i.getValue(a,r||""),l=s.qHyperCubeDef;return l.qInterColumnSortOrder||(l.qInterColumnSortOrder=[]),h({exportFormat:o,qHyperCubeDef:l}),m({exportFormat:o,qHyperCubeDef:l}),g({exportFormat:o,qHyperCubeDef:l}),delete l.qLayoutExclude,b({exportFormat:o,properties:a}),r&&(o.properties.qHyperCubeDef=l,delete s.qHyperCubeDef),v({exportFormat:o,properties:a}),n||y(o.properties.qHyperCubeDef.qMeasures),Array.isArray(o.properties.filters)&&(x(o.properties,"filters","storedFilters",!0),delete o.properties.filters),o.properties.qHyperCubeDef.qContextSetExpression&&(x(o.properties,"qHyperCubeDef.qContextSetExpression","storedFilters"),o.properties.qHyperCubeDef.qContextSetExpression=""),o.properties.qHyperCubeDef.qDynamicScript&&o.properties.qHyperCubeDef.qDynamicScript.length&&(x(o.properties,"qHyperCubeDef.qDynamicScript","dynamicScript"),o.properties.qHyperCubeDef.qDynamicScript=[]),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=void 0===r?{}:r,o=e.dataDefinition,a=void 0===o?{}:o,s=e.defaultPropertyValues,l=void 0===s?{}:s,u=e.hypercubePath,c=e.extension,d=e.supportedFilters,p=void 0===d||d,f=e.isHCModifierSupported,h=void 0===f||f,m={qChildren:[]},g=j({exportFormat:t,initialProperties:n,hypercubePath:u}),b=i.getValue(n,u||"").qHyperCubeDef,v=i.getValue(g,u||"").qHyperCubeDef,y=q({exportFormat:t,dataDefinition:a}),x=y.maxDimensions,S=y.minDimensions,C=y.maxMeasures,E=y.minMeasures,w=l.defaultDimension,R=void 0===w?_():w,A=l.defaultMeasure,k=void 0===A?D():A;v.qDimensions.length=0,v.qMeasures.length=0,z({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:E})&&F({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:E,newHyperCubeDef:v}),T({exportFormat:t,maxDimensions:x,minDimensions:S,newHyperCubeDef:v,defaultDimension:R}),O({exportFormat:t,maxMeasures:C,minMeasures:E,newHyperCubeDef:v,defaultMeasure:k}),$({newProperties:g,dataDefinition:a,hypercubePath:u}),H({newProperties:g,dataDefinition:a,hypercubePath:u}),N({exportFormat:t,newHyperCubeDef:v}),L("qMaxStackedCells",b,v),L("qNoOfLeftDims",b,v),M("qInitialDataFetch",b,v,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),M("qMode",b,v,"S"),M("qReductionMode",b,v,"N"),M("qSortbyYValue",b,v),M("qIndentMode",b,v),M("qShowTotalsAbove",b,v),I(g,t,n),m.qProperty=g;var P=i.getValue(c||{},"support.modifiers");return B({measures:v.qMeasures,modifierTypes:P}),p&&G(m.qProperty,"storedFilters"),"S"===v.qMode&&h&&G(m.qProperty,"dynamicScript"),m}};var V={cellBackgroundColor:!0,cellForegroundColor:!0,colorByAlternative:!0,colorByExpression:!0,tooltip:!0,urlLabel:!0,url:!0};function U(e,t,r,n){t=t||[];var o=c(e,n,r),i=c(t,n,r);if(-1!==o&&-1===i){var a=e.splice(o,1);t.push(a[0])}return t}function Y(e,t){return e.length!==t}const K={create:function(e,t){if(!e||!V[e])throw new Error("Attribute Expressions Util: ID required");var r={};return t&&Object.keys(t).forEach((function(e){r[e]=t[e]})),r.id=e,r.qAttribute=!0,r},moveByIdFromGroup:function(e,t,r,n,o){r=r||"qAttributeExpressions",o=o||"id";for(var i=0;i<e.length;i++){var a=e[i][r],s=t.length;if(U(a,t,n,o),Y(t,s))return t}return t},IDMAP:{CELL_BACKGROUND_COLOR:"cellBackgroundColor",CELL_FOREGROUND_COLOR:"cellForegroundColor",COLOR_BY_ALTERNATIVE:"colorByAlternative",COLOR_BY_EXPRESSION:"colorByExpression",TOOLTIP:"tooltip",CELL_LINK_LABEL:"urlLabel",CELL_LINK_URL:"url"}},X={getNumDimensions:function(e){return i.getValue(e,"qHyperCubeDef.qDimensions.length",0)},getNumMeasures:function(e){return i.getValue(e,"qHyperCubeDef.qMeasures.length",0)},wrapFieldName:function(e){return e.split(" ").length>1&&"="!==e[0]&&"["!==e[0]?"[".concat(e,"]"):e},getItemLabel:function(e){return e.label||e.name}},J={colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>0&&X.getNumMeasures(e)<=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>0},expression:function(e){return X.getNumMeasures(e)>=1}}},Z={colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}};var Q={scatterplot:Z,"sn-scatter-plot":Z,piechart:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}},linechart:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)<=1},expression:function(e){return X.getNumMeasures(e)>=1}}},map:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>=1},expression:function(e){return X.getNumDimensions(e)>=1}}},distributionplot:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumDimensions(e)>=1}}}};function ee(e,t,r){if(Array.isArray(e[t])){var n=d.findIndexByPropertyValue(e[t],"id",r);n>=0&&e[t].splice(n,1)}else e[t]=[]}function te(e,t){var r=K.IDMAP.COLOR_BY_ALTERNATIVE;e.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)})),t.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)}))}function re(e,t){if(t){var r="="===t.charAt(0);e.color.altLabel=r?{qStringExpression:{qExpr:t.substr(1)}}:t}}function ne(e){var t=e.properties,r=e.isDimension,n=e.dimensions,o=e.excludedDimensions,a=e.measures,s=e.label;te(n,o);var l=n[n.length-1];if(l){var u=r?i.getValue(t,"color.byDimDef"):i.getValue(t,"color.byMeasureDef"),c=i.getValue(t,"color.formatting.qNumFormat"),p=i.getValue(t,"color.formatting.isCustomFormatted");if(u){var f=K.create(K.IDMAP.COLOR_BY_ALTERNATIVE);switch(u.type){case"expression":!function(e){var t=e.attributeExpression,r=e.label,n=e.item,o=e.isDimension,i=e.qNumFormat,a=e.isCustomFormatted;t.label=r||n.label,o?t.qDef=n.key:(t.qExpression=n.key,i&&(t.qNumFormat=i,t.isCustomFormatted=a)),t.matchMeasure=n.activeMeasureIndex,t.label&&"="===t.label.charAt(0)&&(t.labelExpRef="color.altLabel")}({attributeExpression:f,label:s,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p});break;case"libraryItem":!function(e){var t=e.attributeExpression,r=e.measures,n=e.item,o=e.qNumFormat,i=e.isCustomFormatted;e.isDimension||(t.matchMeasure=d.findIndexByPropertyValue(r,"qLibraryId",n.key),o&&(t.qNumFormat=o,t.isCustomFormatted=i)),void 0!==n.expression?t.qExpression=n.expression:t.qLibraryId=n.key,t.colorMapRef=n.key}({attributeExpression:f,measures:a,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p})}r?(f.qSortBy={qSortByAscii:1},l.qAttributeDimensions.push(f)):l.qAttributeExpressions.push(f)}}}function oe(e,t,r,n){var o,i,a,s={};switch(e){case"dimension":r.qLibraryId?(s.type="dimension",s.name=r.qLibraryId,s.id=r.qLibraryId):(s.type="field",t?(s.name=r.label||r.qDef,s.id=r.qDef):(s.name=r.qDef.qFieldDefs[0],s.label=(a=r.qDef).qLabelExpression?a.qLabelExpression:a.qFieldLabels&&a.qFieldLabels[0]?a.qFieldLabels[0]:a.qFieldDefs[0]));break;case"measure":o=function(e,t){return t?e.qLibraryId:f().measureBase.getLibraryId(e)}(r,t),o?(s.type="measure",s.name=o,s.id=o,i=function(e,t){return f().hasActiveModifiers({measures:[e]})&&t?e.qDef.qDef:void 0}(r,n),i&&(s.expression=i)):(s.type="expression",t?(s.name=r.label||r.qExpression,s.id=r.qExpression):(s.name=r.qDef.qDef,s.label=function(e){var t=e.qDef;return t.qLabelExpression?t.qLabelExpression:t.qLabel?t.qLabel:t.qDef}(r)));break;default:throw new Error('columnType should be "dimension" or "measure"')}return s}const ie={useMasterNumberFormat:function(e){e.quarantine={qNumFormat:e.qNumFormat||{},isCustomFormatted:e.isCustomFormatted||!1},e.qNumFormat=null,e.isCustomFormatted=void 0}};function ae(e,t,r,n){var o=t.type,i=e.color,a=i.mode,s=X.getItemLabel(t);switch(re(e,s||""),o){case"field":a="byDimension",i.byDimDef={label:t.label||X.wrapFieldName(t.name),key:X.wrapFieldName(t.name),type:"expression",activeDimensionIndex:t.activeDimensionIndex};break;case"expression":a="byMeasure",i.byMeasureDef={label:s,key:t.name,type:"expression",activeMeasureIndex:t.activeMeasureIndex};break;case"dimension":a="byDimension",i.byDimDef={label:t.name,key:t.id,type:"libraryItem",activeDimensionIndex:t.activeDimensionIndex};break;case"measure":a="byMeasure",i.byMeasureDef={label:t.name,key:t.id,expression:t.expression,type:"libraryItem",activeMeasureIndex:t.activeMeasureIndex},i.formatting&&ie.useMasterNumberFormat(i.formatting)}i.auto=!1,i.mode=a}function se(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byDimDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeDimensionIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"color.byDimDef");n.activeDimensionIndex=Math.min(n.activeDimensionIndex,r.length-1);var o=oe("dimension",!1,r[n.activeDimensionIndex]);o.activeDimensionIndex=n.activeDimensionIndex,ae(e,o)}(e,t);else if(function(e){return!e||!e.key}(a)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=r[function(e,t,r){var n=i.getValue(t,"visualization"),o=r.split("."),a=Number(o[1]),s=i.getValue(t,"layers.".concat(a,".type"));return 2===e.length&&"map"===n&&"point"===s}(r,e,t)?0:r.length-1],o=K.IDMAP.COLOR_BY_ALTERNATIVE,a=d.findItemByPropertyValue(n.qAttributeDimensions,"id",o);return ae(e,oe("dimension",!!a,a||n)),!!a}(e,t))return;ne({properties:e,isDimension:!0,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byDimDef.label")})}const le=function(e,t,r){i.setValue(e,t,r),i.isAtomicValue(r)&&function(e,t,r){var n=e.qLayoutExclude;n&&(n.changed||(n.changed={}),n.changed[t]={from:i.getValue(e,t),to:r})}(e,t,r)},ue=function(e,t){var r={primary:!0};if(e){var n=(Q[t]||J).colorModeOptions||J.colorModeOptions;r.byDimension=n.dimension(e),r.byMeasure=n.measure(e),r.byMultiple=n.multiColor(e),r.byExpression=n.expression(e)}return r},ce=function(e){var t=e.canColorBy,r=e.autoColor,n=e.colorMode,o=e.dimensions;return!(t[n]&&!r&&("byDimension"!==n&&"byMeasure"!==n||!o.length))},de=function(e,t){var r,n=i.getValue(e,"color.mode"),o=i.getValue(e,"color.auto"),a=i.getValue(e,"".concat(t,"qDimensions"),[]),s=i.getValue(e,"".concat(t,"qMeasures"),[]),l=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);o?te(a,l):!(r={auto:o,colorMode:n,dimensions:a}).auto&&"byDimension"===r.colorMode&&r.dimensions.length>0?se(e,t):function(e){var t=e.auto,r=e.colorMode,n=e.dimensions,o=e.measures,a=e.properties,s=i.getValue(a,"visualization");return!(t||"byMeasure"!==r||!n.length||"map"!==s&&!o.length)}({auto:o,colorMode:n,dimensions:a,measures:s,properties:e})?function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byMeasureDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeMeasureIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qMeasures"),[]),n=i.getValue(e,"color.byMeasureDef");if(n.activeMeasureIndex=Math.min(n.activeMeasureIndex,r.length-1),n.activeMeasureIndex>-1){var o=oe("measure",!1,r[n.activeMeasureIndex],!0);o.activeMeasureIndex=n.activeMeasureIndex,ae(e,o)}}(e,t);else if(function(e,t){return(!e||!e.key)&&t.length>0}(a,n)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=r[r.length-1],a=K.IDMAP.COLOR_BY_ALTERNATIVE,s=d.findItemByPropertyValue(o.qAttributeExpressions,"id",a);return ae(e,oe("measure",!!s,s||n[0])),!!s}(e,t))return;ne({properties:e,isDimension:!1,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byMeasureDef.label")})}(e,t):function(e,t){var r=i.getValue(e,"color.mode"),n=i.getValue(e,"".concat(t,"qDimensions"),[]),o=i.getValue(e,"".concat(t,"qMeasures"),[]),a=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);"byMultiple"===r&&o.length<2&&i.setValue(e,"color.mode","primary"),te(n,a)}(e,t)},pe=function(e){e.forEach((function(e){e.qOtherTotalSpec&&"qTotalMode"in e.qOtherTotalSpec&&delete e.qOtherTotalSpec.qTotalMode}))},fe=function(e){var t=e.shouldUpdateColorBy,r=e.properties,n=i.getValue(r,"qHyperCubeDef.qMeasures",[]),o=i.getValue(r,"color.mode","");return!t&&"byExpression"===o&&n.length>0},he=function(e){var t=i.getValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",[]),r=i.getValue(e,"color.colorExpression","");t.splice(0,0,{qExpression:r,id:"colorByExpression"}),i.setValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",t)},me=function(e){i.setValue(e,"color.mode","primary"),i.setValue(e,"color.auto",!0)},ge=function(e){var t=i.getValue(e,"qHyperCubeDef.qDimensions",[]),r=i.getValue(e,"color.persistent",!1);return t.length>1&&!r},be={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=W.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),i=o.data[0],a=i.dimensions.concat(i.excludedDimensions),s=i.measures.concat(i.excludedMeasures),l=K.IDMAP,u=l.COLOR_BY_ALTERNATIVE,c=l.COLOR_BY_EXPRESSION;return K.moveByIdFromGroup(a,[],"qAttributeDimensions",u),K.moveByIdFromGroup(a,[],"qAttributeExpressions",u),K.moveByIdFromGroup(s,[],"qAttributeExpressions",c),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,a=e.hypercubePath,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=W.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:a,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty,p=i.getValue(d,"visualization"),f=i.getValue(d,"qHyperCubeDef.qDimensions",[]),h=i.getValue(d,"color.mode",""),m=i.getValue(d,"color.auto",""),g=ue(d,p),b=ce({canColorBy:g,autoColor:m,colorMode:h,dimensions:f});return g[h]?fe({shouldUpdateColorBy:b,properties:d})&&he(d):me(d),b&&de(d,"qHyperCubeDef."),ge(d)&&le(d,"color.persistent",!0),pe(f),c}};var ve=["bar","marker","line"];const ye=function(e){var t=e.initialProperties,r=e.properties;t.measureAxis&&void 0===t.measureAxis.autoMinMax?G(r,"unsupportedAutoMinMax")||C()(r.measureAxis,t.measureAxis):G(r,"supportedAutoMinMax")||C()(r.measureAxis,t.measureAxis)},xe=function(e){var t,r=e.exportFormat,n=e.initialProperties,o=e.properties,i=e.measureType,a=o.qHyperCubeDef,s=o.measureAxis;if(function(e){var t=e.initialProperties;return!(!e.exportFormat.properties.measureAxes||t.measureAxes||!t.measureAxis||void 0===t.measureAxis.autoMinMax)}({exportFormat:r,initialProperties:n})){var l=function(e){var t=[];return e.qMeasures.length>0&&e.qMeasures.forEach((function(e){if(e.qDef.series){var r=e.qDef.series,n=r.type,o=r.axis;t[o]||(t[o]={axis:o,type:{line:0,marker:0,bar:0,total:0}}),ve.includes(n)&&t[o].type[n]++,t[o].type.total++}})),t}(a);l.length?(i&&(t=l.filter((function(e){return e.type[i]>0})).sort((function(e,t){return t.type[i]-e.type[i]}))),t&&t.length||(t=l.sort((function(e,t){return t.type.total-e.type.total}))),t&&t[0]&&C()(s,r.properties.measureAxes[t[0].axis])):C()(s,r.properties.measureAxes[0])}},Se=function(e){if(e.qDimensions.length>1){var t=e.qInterColumnSortOrder.indexOf(0);if(0!==t){var r=e.qInterColumnSortOrder[0];e.qInterColumnSortOrder[0]=0,e.qInterColumnSortOrder[t]=r}}},Ce={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=e.supportedAutoMinMax,i=void 0===o||o,a=be.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),s=a.properties;return i?(x(s,"measureAxis.min","supportedAutoMinMax"),x(s,"measureAxis.max","supportedAutoMinMax")):(x(s,"measureAxis.min","unsupportedAutoMinMax"),x(s,"measureAxis.max","unsupportedAutoMinMax")),a},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,i=e.hypercubePath,a=e.measureType,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=be.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:i,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty;return ye({initialProperties:r,properties:d}),xe({exportFormat:t,initialProperties:r,properties:d,measureType:a}),Se(d.qHyperCubeDef),d.qHyperCubeDef.qColumnOrder=[],d.qHyperCubeDef.columnOrder=[],c}};function Ee(e,t,r){return"qLayoutExclude.quarantine.".concat(e,".").concat(t,".").concat(r)}function we(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,a);if(void 0!==s){var l=i.getValue(o,"qDef.cId");l||(l=i.generateId(),i.setValue(o,"qDef.cId",l));var u=Ee(r,n,l);i.setValue(t,u,s),i.setValue(o,a,void 0)}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}function Re(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,"qDef.cId");if(s){var l=Ee(r,n,s),u=i.getValue(t,l);void 0!==u&&(i.setValue(o,a,u),i.setValue(t,l,void 0))}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}var Ae="qHyperCubeDef.qMeasures",ke="conditionalColoring",Pe="measures",Ie="qDef.conditionalColoring";const Le={quarantine:function(e){we({properties:e,arrayPath:Ae,quarantineName:ke,arrayName:Pe,itemPath:Ie})},unquarantine:function(e){Re({properties:e,arrayPath:Ae,itemPath:Ie,arrayName:Pe,quarantineName:ke})}};var Me="qHyperCubeDef.qMeasures",_e="measures",De="qHyperCubeDef.qDimensions",Te="dimensions",Oe="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",qe="alternativeMeasures",Ne="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions",je="alternativeDimensions",ze="qCalcCondition",Fe="conditionalShowHide";const $e={quarantine:function(e){we({properties:e,arrayPath:Me,quarantineName:Fe,arrayName:_e,itemPath:ze}),we({properties:e,arrayPath:De,quarantineName:Fe,arrayName:Te,itemPath:ze})},unquarantine:function(e){Re({properties:e,arrayPath:Me,quarantineName:Fe,arrayName:_e,itemPath:ze}),Re({properties:e,arrayPath:De,quarantineName:Fe,arrayName:Te,itemPath:ze})},quarantineAlternative:function(e){we({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:ze}),we({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:je,itemPath:ze})},unquarantineAlternative:function(e){Re({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:ze}),Re({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:je,itemPath:ze})}},He={hypercube:W,colorChart:be,axisChart:Ce,quarantineProperty:x,unquarantineProperty:G,quarantineArrayProp:we,unquarantineArrayProp:Re,conditionalColoring:Le,conditionalShow:$e}})(),n.default})();var $C=Et(FC.exports);const HC="qHyperCubeDef.qMeasures",BC="measures",GC="qHyperCubeDef.qDimensions",WC="dimensions",VC="qDef.representation",UC="tableRepresentation",YC="qDef.conditionalColoring",KC="conditionalColoring",XC="qMiniChartDef",JC="miniChartDef",ZC=(e,t,r)=>{const n=e.length+t.length,o=((null==r?void 0:r.length)===n?r:Array.from(Array(n).keys())).map((r=>((e,t,r)=>{var n;const o=t.length,i=e<o?t[e]:r[e-o],{columnWidth:a}=i.qDef;return"pixels"===(null==a?void 0:a.type)?null!==(n=a.pixels)&&void 0!==n?n:pS.PixelsDefault:-1})(r,e,t)));return o},QC=({propertyTree:e,hyperCubePath:t})=>{const r=$C.hypercube.exportProperties({propertyTree:e,hyperCubePath:t}),{qHyperCubeDef:{qColumnOrder:n,qDimensions:o,qMeasures:i}}=r.properties,a=ZC(o,i,n);return _C(r,"properties.qHyperCubeDef",{...r.properties.qHyperCubeDef,columnWidths:a}),$C.quarantineProperty(r.properties,"qHyperCubeDef.columnWidths","straightTableColumnWidths"),$C.quarantineProperty(r.properties,"qHyperCubeDef.qColumnOrder","straightTableColumnOrder"),$C.quarantineProperty(r.properties,"qHyperCubeDef.columnOrder","straightTableColumnOrder"),(e=>{$C.quarantineArrayProp({properties:e,arrayPath:GC,itemPath:VC,arrayName:WC,quarantineName:UC}),$C.quarantineArrayProp({properties:e,arrayPath:HC,itemPath:VC,arrayName:BC,quarantineName:UC}),$C.quarantineArrayProp({properties:e,arrayPath:HC,itemPath:YC,arrayName:BC,quarantineName:KC}),$C.quarantineArrayProp({properties:e,arrayPath:HC,itemPath:XC,arrayName:BC,quarantineName:JC})})(r.properties),r};const eE=/^q[A-Z]/,tE=[/\bqnDec\b/,/\bqv\b/,/\bcId\b/,/^title$/,/^subtitle$/,/^footnote$/,/^qLayoutExclude\b.+/],rE=e=>"object"==typeof e&&null!==e,nE=(e,t)=>(Object.entries(e).forEach((([r,n])=>{const o=void 0===t?r:`${t}.${r}`;((e,t)=>!eE.test(e)&&!tE.some((e=>e.test(t))))(r,o)?delete e[r]:Array.isArray(n)?e[r]=n.map(((e,t)=>rE(e)?nE(e,`${o}.${t}`):e)):rE(n)&&(e[r]=nE(n,o))})),e),oE=(e,t,r,n)=>{let o=t;n&&(o=t-n);const i=JSON.parse(JSON.stringify(e[o]));if(Array.isArray(r)&&r.length>0){const e=r[t];i.qDef.columnWidth="number"==typeof e&&e>0?{type:fS.Pixels,pixels:e}:{type:fS.FitToContent}}return i},iE=({exportFormat:e,initialProperties:t,extension:r,hypercubePath:n,defaultPropertyValues:o,viewDataMode:i})=>{if(i){try{e=structuredClone(e)}catch(e){console.error("Failed to copy source properties",e)}nE(e.properties)}const a=$C.hypercube.importProperties({exportFormat:e,initialProperties:t,dataDefinition:{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}},defaultPropertyValues:o,hypercubePath:n,extension:r});if($C.conditionalShow.unquarantine(a.qProperty),i)_C(a,"qProperty.totals.show",!1),_C(a,"qProperty.usePagination",!0);else{$C.unquarantineProperty(a.qProperty,"straightTableColumnOrder"),(e=>{$C.unquarantineArrayProp({properties:e,arrayPath:GC,itemPath:VC,arrayName:WC,quarantineName:UC}),$C.unquarantineArrayProp({properties:e,arrayPath:HC,itemPath:VC,arrayName:BC,quarantineName:UC}),$C.unquarantineArrayProp({properties:e,arrayPath:HC,itemPath:YC,arrayName:BC,quarantineName:KC}),$C.unquarantineArrayProp({properties:e,arrayPath:HC,itemPath:XC,arrayName:BC,quarantineName:JC})})(a.qProperty);const{qHyperCubeDef:{qDimensions:e,qMeasures:t,qColumnOrder:r,columnWidths:n}}=a.qProperty,{dimensions:o,measures:i}=((e,t,r,n)=>{const o=e.length,i=o+t.length,a=(null==r?void 0:r.length)===i?r:Array.from(Array(i).keys());return{dimensions:a.filter((e=>e<o)).map((t=>oE(e,t,n))),measures:a.filter((e=>e>=o)).map((e=>oE(t,e,n,o)))}})(e,t,r,n);Array.isArray(n)&&n.length>0&&(_C(a,"qProperty.qHyperCubeDef.qDimensions",o),_C(a,"qProperty.qHyperCubeDef.qMeasures",i))}return a};var aE={component:"items",items:{columnHandler:{component:"column-handler",search:!0,selectAll:!1}},classification:{tags:["exploration"],exclusive:!0}};function sE(e,t){let r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)}function lE(e,t){let r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function uE(e){return e>0?0:1}function cE(e){return e.translator.get("Visualizations.Descriptions.Column")}function dE(e){return{measures:{min:uE,max:1e3,description:()=>cE(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;sE(n,r.getDimensions().length+r.getMeasures().length-1)},remove(e,t,r,n){const{qColumnOrder:o}=r.hcProperties;lE(o,(r.hcProperties.qDimensions?r.hcProperties.qDimensions.length:0)+n)}},dimensions:{min:uE,max:1e3,description:()=>cE(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;return sE(n,r.getDimensions().length-1),e},remove(e,t,r,n){if(null!=e&&e.isAlternative)return;const{qColumnOrder:o}=r.hcProperties;lE(o,n)}}}}let pE=function(e){return e.Text="text",e.Link="link",e.Image="image",e.ImagesInIndentMode="imagesInIndentMode",e.Indicator="indicator",e.MiniChart="miniChart",e.EditableText="editableText",e.EditableSelector="editableSelector",e}({}),fE=function(e){return e.Attribute="attribute",e.Dimension="dimension",e.Measure="measure",e}({});const hE=e=>{switch(null==e?void 0:e.type){case"url":return pE.Link;case"image":return pE.Image;case"indicator":return pE.Indicator;case"miniChart":return pE.MiniChart;default:return pE.Text}},mE=({isImagesEnabled:e,supportedFeaturesInIndentMode:t})=>{const{isImagesSupportedInIndentMode:r}=null!=t?t:{};return{uses:"dimensionRepresentationItems.representationType",options(t,n,o){const{qIndentMode:i}=o.properties.qHyperCubeDef,a=[{value:"text",translation:"Object.Table.Representation.Text"},{value:"url",translation:"Object.Table.Representation.Link"}];return(!i&&e||i&&r)&&a.push({value:"image",translation:"Object.Table.Representation.Image"}),a}}},gE=(e,t)=>{if(e||t)return{representationImage:{uses:"dimensionRepresentationItems.representationImage",show:e=>hE(e.qDef.representation)===pE.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]},...t&&{imageBoxWidth:{ref:"qDef.representation.imageBox.width",translation:"properties.pivot.representation.image.imageBox.width",type:"number",expression:"optional",defaultValue:24,show:(e,t,r)=>{var n,o;if(!r.properties.qHyperCubeDef)return!1;const{qInterColumnSortOrder:i,qNoOfLeftDims:a,qDimensions:s,qIndentMode:l}=r.properties.qHyperCubeDef;let u=!1;null==i||i.indexOf(-1);const c=null!==(n=null==s?void 0:s.indexOf(e))&&void 0!==n?n:1/0;return(null!==(o=null==i?void 0:i.slice(0,a))&&void 0!==o?o:[]).indexOf(c)>-1&&(u=!0),u&&l}}}}}}},bE=e=>{var t,r;const{anything:n,flags:o}=e,i=o.isEnabled("CLIENT_IM_5975_INDENT_MODE_IMAGES"),a=o.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!(null!==(t=n.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"tableImages"));return{representationType:mE({isImagesEnabled:a,supportedFeaturesInIndentMode:{isImagesSupportedInIndentMode:i}}),representationUrlPosition:{uses:"dimensionRepresentationItems.representationUrlPosition",show:e=>hE(e.qDef.representation)===pE.Link},representationUrlLabel:{uses:"dimensionRepresentationItems.representationUrlLabel",show:e=>{var t;return hE(e.qDef.representation)===pE.Link&&(null===(t=e.qDef.representation)||void 0===t?void 0:t.urlPosition)===fE.Dimension}},representationLinkUrl:{uses:"dimensionRepresentationItems.representationLinkUrl",show:e=>{var t;return hE(e.qDef.representation)===pE.Link&&(null===(t=e.qDef.representation)||void 0===t?void 0:t.urlPosition)===fE.Attribute}},...gE(a,i)}},vE=(e,t)=>{var r;const{anything:n}=e,o=null===(r=n.sense)||void 0===r?void 0:r.isUnsupportedFeature,i=!(null!=o&&o("tableImages"))&&t[pE.Image],a=!(null!=o&&o("qMiniChartDef"))&&t[pE.MiniChart],s=!(null!=o&&o("tableIndicators"))&&t[pE.Indicator],l=i&&t[pE.ImagesInIndentMode];return{representationType:{uses:"measureRepresentationItems.representationType",options:(e,t,r)=>(e=>{var t;const{qIndentMode:r}=null!==(t=e.properties.qHyperCubeDef)&&void 0!==t?t:{},n=[{value:"text",translation:"Object.Table.Representation.Text"}];return(!r&&i||r&&l)&&n.push({value:"image",translation:"Object.Table.Representation.Image"}),s&&n.push({value:"indicator",translation:"Object.Table.Representation.Indicator"}),a&&n.push({value:"miniChart",translation:"Common.MiniChart"}),n})(r)},representationImage:i?{uses:"measureRepresentationItems.representationImage",show:e=>hE(e.qDef.representation)===pE.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]}}}:void 0,representationIndicator:s?{uses:"measureRepresentationItems.representationIndicator"}:void 0,representationMiniChart:a?{uses:"measureRepresentationItems.representationMiniChart"}:void 0}};var yE,xE={};yE=xE,(()=>{var e={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};r.r(n),r.d(n,{default:()=>Oe});var o=r(909),i=r.n(o);const a=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},s=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},l={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var u="".concat(" ","(").concat(" "),c="".concat(" ",")").concat(" ");function d(e){return u+e+c}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function f(e){return!(!e.fullAccumulation&&!e.fullRange)}function h(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function m(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function g(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function b(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function v(e){return void 0===e?")":", 0, ".concat(e,")")}function y(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function x(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(y("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(y("MaxString(".concat(t,")")),")'\"}")}function S(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=x(p(n[0],o),g(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var c=p(n[0],o),d=p(n[1],o),f=g(0),h=g(1),m=x(c,f),b=x(d,h);return"".concat(a,"({1<").concat(m,",").concat(b,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function C(e){return"".concat(e,"(")}function E(e){var t=e.properties,r=e.layout;return s(t,"qHyperCubeDef.qDimensions",s(r,"qHyperCube.qDimensionInfo",[])).length}const w={isFullRange:f,getNumDimensions:E,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=d(m(t));if(!r.showExcludedValues)return a;var s=S({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var u=g(0);return"If(Count(".concat(u,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var c=g(0),p=g(1);return"If(Count(".concat(c,") * Count(").concat(p,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:h,getNumStepComp:function(e,t){if(!f(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return h(e,t)},getAboveCompPrefix:b,getAboveCompSuffix:v,getAboveComp:function(e,t,r,n){return b(e,t)+r+v(n)},getFunctionPrefix:C,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return C(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:S,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout;return 0===function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t)&&2===E({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=g(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:m,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(u);if(-1!==r){var n=t.indexOf(c);if(-1!==n)return t.substring(r+u.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:p,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=E({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:d,canExtract:function(e){var t=e.indexOf(u),r=e.indexOf(c);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:g,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=l.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?l.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(l.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return l.EXPRESSIONS[r]&&n.includes(l.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}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},A(e)}var k=i().bind(null,!0),P={},I=Array.isArray;function L(e){return null!=e&&!Array.isArray(e)&&"object"===A(e)}function M(e){return void 0===e}function _(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function D(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=M(e[r||t])?i:e[t],e=e[r||t]}})),e}function T(e,t){var r=!0;if(L(e)&&L(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){T(e[n],t[n])||(r=!1)})),r);if(I(e)&&I(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!T(e[n],t[n]))return!1;return!0}return e===t}P.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?k({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);T(i,a)||_(t,o)||(M(a)?n.push({op:"add",path:s,value:i}):L(i)&&L(a)?n=n.concat(P.generate(a,i,s)):I(i)&&I(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&M(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(T(t,o))return n;if(!M(t[0])&&M(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(P.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){M(t[o])&&!_(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},P.apply=function(e,t){t.forEach((function(t){var r,n,o=D(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(I(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(I(a)&&I(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return R(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(e,t):void 0}}(n)||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(L(a)&&L(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!_(r,e)&&delete r[e]})),k(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=D(e,t.from);I(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(I(o)?o.splice(+i,1):delete o[i])}))},P.clone=function(e){return k({},e)},P.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},P.updateObject=function(e,t){Object.keys(e).length?P.apply(e,P.generate(e,t)):k(e,t)};const O=P,q=function(e,t,r){if(!e)return Promise.resolve();var n=O.generate(t,r);return i()(!0,t,r),n&&n.length?(n=n.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(n,!0)):Promise.resolve()};var N="accumulation";function j(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===N)return r[n]}function z(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===N)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var F={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const $={translationKey:"properties.modifier.accumulation",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var l=i;void 0===l&&(l=w.getNumDimensions({properties:n,layout:o}));var u=s(n,"qHyperCubeDef.qDimensions",[]),c=w.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=w.getNumStepComp(r,l),p=w.getAboveComp(r,l,c,d),f=w.getRangeComp("RangeSum",p);if(w.needDimension({modifier:r,properties:n,layout:o})){var h=w.getDimComp(u,1),m=w.getDimComp(u,0),g=w.getAggrComp(f,h,m);f=r.showExcludedValues?w.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,valueComp:g}):g}return f},extractInputExpression:w.extractInputExpression,initModifier:function(e){w.initModifier(e,F)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(z(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(z(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(z(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(z(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=j(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=j(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(z(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(N))return!1;var i=j(t,e);return i&&!i.disabled}}}};var H="movingAverage";function B(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===H)return r[n]}function G(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===H)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var W={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const V={translationKey:"properties.modifier.movingAverage",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,i=e.layout,a=e.numDimensions,l=e.dimensionAndFieldList;if(!n)return r;var u=a;void 0===u&&(u=w.getNumDimensions({properties:o,layout:i}));var c=s(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=w.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:l,treatMissingAsNull:d}),f=w.getNumStepComp(n,u),h=w.getAboveComp(n,u,p,f);if(n.nullSuppression)t=w.getRangeComp("RangeAvg",h);else{var m=w.getRangeComp("RangeSum",h),g=function(e,t){var r=w.getRowNoComp(e,t);if(!w.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(w.needDimension({modifier:n,properties:o,layout:i})){var v=w.getDimComp(c,1),y=w.getDimComp(c,0),x=w.getAggrComp(b,v,y);b=n.showExcludedValues?w.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:l,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:w.extractInputExpression,initModifier:function(e){w.initModifier(e,W)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(G(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(G(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(G(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(G(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=B(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=B(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat(G(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat(G(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(H))return!1;var i=B(t,e);return i&&!i.disabled}}}};var U="timeSeriesDecomposition";function Y(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===U)return r[n]}function K(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===U)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var X={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const J={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?w.generateTSDExpression(r,t,n):t},extractInputExpression:w.extractInputExpression,initModifier:function(e,t){w.initModifier(e,X),""===e.decomposition&&t&&(e.decomposition=w.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(K(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:l.OPTIONS},steps:{refFn:function(t){return"".concat(K(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=Y(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=Y(t,e);return r&&!r.fullRange}}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(U))return!1;var i=Y(t,e);return i&&!i.disabled}}}};var Z="difference";function Q(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===Z)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var ee={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const te={translationKey:"properties.modifier.difference",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:w.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var l=i;void 0===l&&(l=w.getNumDimensions({properties:n,layout:o}));var u=s(n,"qHyperCubeDef.qDimensions",[]),c=w.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=w.getAboveComp(r,l,c),p="".concat(c," - ").concat(d);if(w.needDimension({modifier:r,properties:n,layout:o})){var f=w.getDimComp(u,1),h=w.getDimComp(u,0),m=w.getAggrComp(p,f,h);p=r.showExcludedValues?w.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(ee).forEach((function(t){void 0===e[t]&&(e[t]=ee[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(Q(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(Q(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(Q(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(Z))return!1;var i=function(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===Z)return r[n]}(t,e);return i&&!i.disabled}}}},re=0,ne=1,oe=2,ie=0,ae=1,se=2;var le="normalization";function ue(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===le)return r[n]}function ce(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===le)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function de(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var pe={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:se,selectionScope:oe};function fe(e){return 2===e?"{1}":""}function he(e,t,r){return 1===e?"{$<".concat(w.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function me(e,t){return 0===e&&t>1||2===e?"Total":""}function ge(e,t,r){return 0===e&&t>1?"<".concat(w.getDimDefWithWrapper(r),">"):""}const be={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:w.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var l=i;void 0===l&&(l=w.getNumDimensions({properties:n,layout:o}));var u=s(n,"qHyperCubeDef.qDimensions",[]),c=w.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=fe(t),l=he(t,r,n),u=""===s&&""===l?"":s||l,c=me(o,i),d=ge(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=w.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,l,r.primaryDimension)},initModifier:function(e){Object.keys(pe).forEach((function(t){void 0===e[t]&&(e[t]=pe[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(ce(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:oe,options:function(r){return function(e,t,r){var n=[{value:re,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:ne,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:oe,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=de(t,0);t.splice(r,1)}return t}(ue(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(ce(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return ue(t,e).selectionScope===ne}},value:{refFn:function(t){return"".concat(ce(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return ue(t,e).selectionScope===ne}},dimensionalScope:{refFn:function(t){return"".concat(ce(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:se,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:ie,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:ae,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:se,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=de(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=de(t,1);t.splice(r,1)}return t}(ue(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(ce(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return(ue(t,e).dimensionalScope||0)===ie&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(le))return!1;var i=ue(t,e);return i&&!i.disabled}}},getDisregardSelectionComp:fe,getFieldSelectionComp:he,getTotalComp:me,getSelectedDimComp:ge};var ve="library id deleted",ye="qDef.qDef",xe="qDef.base.qDef",Se="qLibraryId",Ce="qDef.base.qLibraryId",Ee="qDef.qLabel",we="qDef.qLabelExpression",Re="qDef.base.qLabel",Ae="qDef.base.qLabelExpression",ke="qDef.qAggrFunc",Pe="qDef.base.qAggrFunc",Ie="qDef.base";const Le={getExpression:function(e){var t=s(e,xe);return void 0!==t?t:s(e,ye)},getExpressionRef:function(e){return void 0!==s(e,xe)?xe:ye},getLibraryIdRef:function(e){return s(e,Ce)?Ce:Se},getLibraryId:function(e){return s(e,Ce)||s(e,Se)},getLabelRef:function(e){return s(e,Ie)?Re:Ee},getLabelExpressionRef:function(e){return s(e,Ie)?Ae:we}};var Me={initBase:function(e,t){(t||Me.isValid(e))&&(a(e,xe,s(e,ye)),a(e,Ce,s(e,Se)),a(e,Re,s(e,Ee)),a(e,Ae,s(e,we)))},restoreBase:function(e){Me.isValid(e)&&(a(e,ye,s(e,xe)),a(e,Se,s(e,Ce)),a(e,Ee,s(e,Re)),a(e,we,s(e,Ae)),s(e,ke)&&s(e,Pe)&&a(e,ke,s(e,Pe)),delete e.qDef.base)},isValid:function(e){var t=s(e,xe),r=s(e,Ce);return void 0!==t||void 0!==r}};const _e=Me;function De(e){return De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},De(e)}var Te={accumulation:$,movingAverage:V,difference:te,normalization:be,timeSeriesDecomposition:J};const Oe={modifiers:Te,apply:Ne,applyModifiers:je,cleanUpMeasure:ze,destroy:function(e){e&&qe[e.id]&&qe[e.id].masterItemSubscriber&&(qe[e.id].masterItemSubscriber&&qe[e.id].masterItemSubscriber.unsubscribe(),delete qe[e.id])},hasActiveModifiers:Fe,getActiveModifier:$e,initBase:_e.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Te[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Te[e]&&Te[e].isApplicable({properties:r,layout:n})}))},measureBase:Le,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Ge(e);Je({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||rt({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:He};var qe={};function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.properties,n=e.isSnapshot,o=void 0!==n&&n,a=e.masterItem,l=!1;qe[t.id]=qe[t.id]||{isFirstTime:!0};var u=qe[t.id].isFirstTime;if(qe[t.id].isFirstTime=!1,r&&"object"===De(r))return je({model:t,properties:r});var c=t?t.layout:void 0,d=s(c,"qSelectionInfo.qInSelections");if(o||d)return Promise.resolve(l);var p=s(c,"qHyperCube.qMeasureInfo"),f=qe[t.id].lastReloadTime;if(qe[t.id].lastReloadTime=s(t,"app.layout.qLastReloadTime"),Fe({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return s(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Xe({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:t,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Je({modifiers:Ge(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:a,isFirstTime:u})?t.getEffectiveProperties().then((function(e){var r=i()(!0,{},e);Ve(r);var n=nt(r);return Ze({model:t}).then((function(o){return Qe({libraryIds:n,model:t}).then((function(n){return h&&function(e){var t=e.properties;Be(t).forEach((function(e){return function(e){var t=e.measure;if(Xe({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===De(e)&&!e.disabled){if(r++,"object"!==De(Te[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Te[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&Ye(t)&&w.simplifyExpression(t.qDef.base.qDef)!==w.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:r}),je({model:t,oldProperties:e,properties:r,runUpdateIfChange:!0,masterItem:a,libraryItemsProps:n,dimensionAndFieldList:o})}))})).catch((function(){return Promise.resolve(l)}))})):Promise.resolve(l)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===De(e.base)}))}(p)?t.getEffectiveProperties().then((function(e){return function(e){var t=e.model,r=e.properties,n=nt(r);return ot({model:t,libraryIds:n}).then((function(){var e=i()(!0,{},r);return Be(r).forEach((function(e){return ze(e)})),tt({oldProperties:e,newProperties:r,model:t})}))}({model:t,properties:e})})):Promise.resolve(l)}function je(e){var t=e.model,r=e.oldProperties,n=e.properties,o=e.measures,a=e.runUpdateIfChange,l=void 0!==a&&a,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===r&&(r=l?i()(!0,{},n):n),Ve(n);var p=nt(n);return ot({model:t,libraryIds:p,masterItem:u}).then((function(){return function(e){var t=e.measures,r=e.properties,n=e.model,o=e.libraryItemsProps,a=e.dimensionAndFieldList;if(t||(t=Be(r)),!t.length)return Promise.resolve();if(!o&&!Fe({measures:t,properties:r}))return t.forEach((function(e){return ze(e)})),Promise.resolve();var l=o?void 0:nt(r);return Ze({model:n,dimensionAndFieldList:a}).then((function(e){return Qe({libraryIds:l,model:n,libraryItemsProps:o}).then((function(n){t.forEach((function(t){var o=t.qDef.modifiers;n&&Je({modifiers:o,properties:r})?(function(e){var t=e.measure,r=e.properties,n=e.libraryItemsProps,o=e.dimensionAndFieldList,a=0;_e.isValid(t)||_e.initBase(t,!0);var l=t.qDef,u=l.modifiers,c=l.base;Array.isArray(u)&&u.forEach((function(e){if("object"===De(e)&&!e.disabled){if(a++,"object"!==De(Te[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(a>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Te[e.type].initModifier(e,t);var l=t.qLibraryId||c&&c.qLibraryId;l?function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList,a=e.libraryItemsProps[e.libraryId],s=a.qMeasure.qDef,l=""===s?s:Te[r.type].generateExpression({expression:s,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=l,t.qDef.qDef=r.outputExpression,(t.qDef.qLabel||a.qMeasure.qLabel)&&(t.qDef.qLabel=a.qMeasure.qLabel),(t.qDef.qLabelExpression||a.qMeasure.qLabelExpression)&&(t.qDef.qLabelExpression=a.qMeasure.qLabelExpression),t.qDef.quarantine&&t.qDef.quarantine.qNumFormat&&a.qMeasure.qNumFormat&&(t.qDef.qNumFormat=a.qMeasure.qNumFormat,t.qDef.isCustomFormatted=a.qMeasure.isCustomFormatted),delete t.qLibraryId,t.qDef.coloring=a.qMeasure.coloring,r.base=i()(!0,{},t.qDef.base)}({measure:t,modifier:e,libraryId:l,properties:r,libraryItemsProps:n,dimensionAndFieldList:o}):function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList;"function"==typeof Te[r.type].updateModifier&&Te[r.type].updateModifier(r,n.qHyperCubeDef);var a=Le.getExpression(t),s=""===a?a:Te[r.type].generateExpression({expression:a,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=s,t.qDef.qDef=r.outputExpression,t.qDef.base.qLabelExpression?t.qDef.qLabelExpression=t.qDef.base.qLabelExpression:t.qDef.qLabel=t.qDef.base.qLabel||a,r.base=i()(!0,{},t.qDef.base)}({measure:t,modifier:e,properties:r,dimensionAndFieldList:o}),function(e){var t=s(e,"qDef.qAggrFunc");"Expr"!==t||He(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&He(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(t)}}))}({measure:t,properties:r,libraryItemsProps:n,dimensionAndFieldList:e}),Ue(t)):ze(t)}))}))}))}({measures:o,properties:n,model:t,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return l?tt({oldProperties:r,newProperties:n,model:t}):Promise.resolve(!1)}))})).catch((function(){return Promise.resolve(!1)}))}function ze(e){!function(e){var t=Ge(e);return Array.isArray(t)&&t.some((function(e){return"object"===De(e)&&!e.disabled&&!Te[e.type]}))}(e)?_e.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Ue(e)}function Fe(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Je({modifiers:Ge(e),properties:r,layout:n})}))}function $e(e){var t=Ge(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Te[n.type]&&!n.disabled)return n}}function He(e){var t=$e(e);return!t||Te[t.type].enableTotalsFunction(e)}function Be(e){return s(e,"qHyperCubeDef.qMeasures",[]).concat(s(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Ge(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function We(e){return s(e,"outputExpression.qValueExpression.qExpr")||s(e,"outputExpression")}function Ve(e){Be(e).forEach((function(e){return function(e){var t=$e(e);t&&(void 0!==t.outputExpression&&We(t)!==e.qDef.qDef?delete e.qDef.base:!_e.isValid(e)&&t.base&&(e.qDef.base=i()(!0,{},t.base)))}(e)}))}function Ue(e){var t=Ge(e);Array.isArray(t)&&t.forEach((function(t){"object"===De(t)&&(t.disabled||!Te[t.type]&&We(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function Ye(e){return e.base||e.qDef&&e.qDef.base}function Ke(e){var t=Ye(e);return e.qLibraryId||t&&t.qLibraryId}function Xe(e){var t=e.measure,r=e.properties,n=e.layout;return!Ke(t)&&Je({modifiers:Ge(t),properties:r,layout:n})}function Je(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==De(e)||e.disabled||!Te[e.type])&&(void 0===o[e.type]&&(o[e.type]=Te[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Ze(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function Qe(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a})).catch((function(){return null}))}function et(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function tt(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(s(t,"qHyperCubeDef.qMeasures"),et)!==JSON.stringify(s(r,"qHyperCubeDef.qMeasures"),et)||JSON.stringify(s(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),et)!==JSON.stringify(s(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),et);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&s(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):q(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function rt(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===De(e)&&!e.disabled&&Te[e.type]&&Te[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function nt(e){var t=Be(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Ge(t);if(Je({modifiers:n,properties:e})){var i=Ke(t);i&&r.push(i),o=o||rt({modifiers:n,properties:e})}})),s(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function ot(e){var t=e.model,r=e.libraryIds,n=e.masterItem;return!n&&n!==ve&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(qe[t.id].masterItemSubscriber=qe[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},i={},a={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function l(e){var t={},r=s(e,"qInfo.qType");return r&&a[r]&&a[r].forEach((function(r){t[r]=s(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=l(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(){Object.keys(n).forEach((function(e){o[e]||i[e]||(n[e].listener.dispose(),n[e].unbindCloseListnener(),delete n[e])}))}var d=function(e,t){return e.once("closed",t),function(){return e.removeListener("closed",t)}};function p(e,o){return t.app[o](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),unbindCloseListnener:d(t,(function(){return e=t.id,r(ve),delete n[e],void c();var e})),enabled:!1,properties:l(t.layout)}})).catch((function(){}))}return{subscribe:function(e){var r=e.measureLibraryIds,a=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),i={},t.forEach((function(e){i[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:a}),c(),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(p(e,"getMeasure"))})),Object.keys(i).forEach((function(e){i[e]&&!n[e]&&s.push(p(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose(),n[e].unbindCloseListnener()})),n={}}}}({model:t,callback:function(e){return Ne({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),qe[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}yE.default=n.default,Object.defineProperty(yE,"__esModule",{value:!0})})();var SE=Et(xE);const CE={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},EE={textAlignAuto:{ref:"qDef.textAlign.auto",type:"boolean",component:"switch",translation:"Common.Text.TextAlignment",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},textAlign:{ref:"qDef.textAlign.align",type:"string",component:"item-selection-list",horizontal:!0,items:[{component:"icon-item",icon:"align_left",labelPlacement:"bottom",value:"left",translation:"properties.dock.left"},{component:"icon-item",icon:"align_center",labelPlacement:"bottom",value:"center",translation:"Common.Center"},{component:"icon-item",icon:"align_right",labelPlacement:"bottom",value:"right",translation:"properties.dock.right"}],defaultValue:"left",show:e=>void 0!==e.qDef.textAlign&&!e.qDef.textAlign.auto}},wE=e=>{var t,r,n,o;return{type:"items",grouped:!0,items:{totalsAggrGroup:{type:"items",items:{totalsAggrFunc:{type:"string",component:"dropdown",ref:"qDef.qAggrFunc",translation:"Object.Table.AggrFunc",options:(e,t)=>(!SE.hasActiveModifiers({measures:[e],properties:t.properties})||SE.ifEnableTotalsFunction(e)?[{value:"Expr",translation:"Common.Auto"}]:[]).concat([{value:"Avg",translation:"Object.Table.AggrFunc.Avg"},{value:"Count",translation:"Object.Table.AggrFunc.Count"},{value:"Max",translation:"Object.Table.AggrFunc.Max"},{value:"Min",translation:"Object.Table.AggrFunc.Min"},{value:"Sum",translation:"Object.Table.AggrFunc.Sum"},{value:"None",translation:"Object.Table.AggrFunc.None"}]),defaultValue:null!==(t=e.anything.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"totals")?"None":"Expr"}}}},show:!(null!==(n=e.anything.sense)&&void 0!==n&&null!==(o=n.isUnsupportedFeature)&&void 0!==o&&o.call(n,"totals"))}},RE={type:{type:"string",component:"dropdown",ref:"qDef.columnWidth.type",translation:"Object.Table.Column.Width",options:[{value:fS.Auto,translation:"Common.Auto"},{value:fS.FitToContent,translation:"Object.Table.Column.FitToContent"},{value:fS.Pixels,translation:"Object.Table.Column.Pixels"},{value:fS.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:fS.Auto},sizePixels:{ref:"qDef.columnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",component:"expression",expressionType:"ValueExpression",expression:"optional",defaultValue:"200",show:e=>{var t;return(null===(t=e.qDef.columnWidth)||void 0===t?void 0:t.type)===fS.Pixels}},sizePercentage:{ref:"qDef.columnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:"20",show:e=>{var t;return(null===(t=e.qDef.columnWidth)||void 0===t?void 0:t.type)===fS.Percentage}}},AE=()=>({...CE,visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},tid:"visibilityCondition",isExpression:e=>"string"==typeof e&&e.trim().length>0},tableCellStyling:{component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:"cellBackgroundColor",tid:"tableColorBgByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"cellForegroundColor",tid:"tableColorByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.TextStyleExpression",defaultValue:"",id:"textStyleExpression",tid:"tableTextStyleByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"urlLabel",tid:"URLLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"url",tid:"URLByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageLabel",tid:"ImageLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageUrl",tid:"ImageUrlByExpression",show:!1}]},...EE,...RE}),kE={libraryId:{type:"string",component:"library-item",libraryItemType:"dimension",ref:"qLibraryId",translation:"Common.Dimension",show:e=>e.qLibraryId},inlineDimension:{component:"inline-dimension",show:e=>!e.qLibraryId},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},createMasterItemButton:{},divider:{uses:"divider"},dimensionLimits:{uses:"dimensions.items.dimensionLimits"},showOthers:{uses:"dimensions.items.others"}},PE=e=>{var t,r;const n=null===(t=e.anything.sense)||void 0===t||null===(r=t.isUnsupportedFeature)||void 0===r?void 0:r.call(t,"modifiers");return{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>{var t;return n?!!e.qLibraryId:!!(e.qLibraryId||null!==(t=e.qDef.base)&&void 0!==t&&t.qLibraryId)}},inlineMeasure:{component:"inline-measure",show:e=>{var t;return n?!e.qLibraryId:!(e.qLibraryId||null!==(t=e.qDef.base)&&void 0!==t&&t.qLibraryId)}},numberFormatting:{uses:"measures.items.numberFormatting"},createMasterItemButton:{},divider:{uses:"divider"},totalsAggr:wE(e)}},IE=e=>({dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",items:{field:{type:"items",translation:"Common.Field",items:kE},presentation:{type:"items",translation:"properties.presentation",items:{...AE(),...bE(e)}}}}}),LE=e=>({measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",items:{field:{type:"items",translation:"Common.Field",items:PE(e)},presentation:{type:"items",translation:"properties.presentation",items:{...AE(),...vE(e,{[pE.Image]:e.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[pE.Indicator]:!0,[pE.MiniChart]:!0})}}}}}),ME=e=>({...IE(e),...LE(e)}),_E=e=>({type:"items",translation:"Common.Data",component:"data-assets-panel",items:{...ME(e)}}),DE=e=>({type:"items",translation:"Common.Data",component:"tabs-component",items:{columns:{component:"data-assets-panel",ref:"columns",tabName:"properties.DataAssetPanel.Columns",items:{...ME(e)},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")},filters:{type:"items",component:"filters-assets-panel",ref:"filters",tabName:"SimpleProperties.Filters.Filters",items:{filter:{type:"object",component:"filter-item-react",ref:"filter"}},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")}}}),TE={chartExploration:{type:"items",translation:"properties.chartExploration",items:{chartExplorationToggler:{type:"items",component:"chart-exploration-toggler",translation:"properties.enableChartExploration",ref:"enableChartExploration"},visibilityToggler:{show:e=>e.enableChartExploration,component:"buttongroup",translation:"properties.ChartExploration.VisibilityOption",ref:"chartExploration.menuVisibility",options:[{value:"auto",translation:"Common.Auto"},{value:"minimized",translation:"properties.ChartExploration.Minimized"}]}},show:e=>!e.insideContainer}},OE=e=>{var t,r;return{type:"items",items:[{ref:"totals.show",type:"boolean",translation:"properties.totals",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},{ref:"totals.position",translation:"Common.Position",type:"string",component:"dropdown",options:[{value:"noTotals",translation:"Common.None"},{value:"top",translation:"Common.Top"},{value:"bottom",translation:"Common.Bottom"}],defaultValue:"noTotals",show(e){var t;return!(null!==(t=e.totals)&&void 0!==t&&t.show)}},{ref:"totals.label",translation:"properties.totals.label",type:"string",expression:"optional",defaultValue:()=>e.translator.get("Object.Table.Totals")}],show:!(null!==(t=e.anything.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"totals"))}},qE=(e,t,r,n)=>({ref:e,translation:t,dualOutput:!0,type:"object",component:"color-picker",width:"auto",disableNone:null!=n&&n,defaultValue(e,t,o){var i;const a=null!==(i=null==n?void 0:n(e,t,o))&&void 0!==i&&i,s=o.theme.current(),l=r(s,a);return{color:"transparent"===l?"none":l}}}),NE=(e,t=!1)=>{return{value:e,label:t?(r=e,r.charAt(0).toUpperCase()+r.slice(1)):e,groupHeader:!1,disabled:!1,styles:t?{fontFamily:e}:void 0};var r},jE=({ref:e,themeAccessor:t,translator:r,flags:n})=>({component:"dropdown",ref:e,options:(e,o,i)=>{const a=i.theme.current();return((e,t,r,n)=>{var o,i;const a=null!==(o=t.fontFamily)&&void 0!==o?o:"Source Sans Pro, sans-serif",s=null!==(i=t.fontFamilies)&&void 0!==i?i:[],l=Array.from(new Set([e,a,...s])),u=[{value:"ThemeHeader",label:r.get("properties.themeFonts"),metaText:r.get("properties.theme"),groupHeader:!0},...l.sort().map((e=>NE(e,!0)))],c=[{value:"DefaultHeader",label:r.get("properties.allFonts"),metaText:r.get("properties.default"),groupHeader:!0},...ae(n).filter((e=>!l.includes(e))).map((e=>NE(e,!0)))];return[...u,...c.length>1?c:[]]})(t(a),a,r,n)},defaultValue:(e,r,n)=>t(n.theme.current())}),zE=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],FE=({ref:e,themeAccessor:t,translator:r})=>({component:"dropdown",ref:e,options:(e,n,o)=>{const i=o.theme.current();return((e,t,r)=>{var n;const o=t.fontSize,i=null!==(n=t.fontSizes)&&void 0!==n?n:[],a=Array.from(new Set([e,o,...i])),s=[{value:"ThemeHeader",label:r.get("properties.themeFontSizes"),metaText:r.get("properties.theme"),groupHeader:!0},...a.sort(((e,t)=>parseInt(e,10)-parseInt(t,10))).map((e=>NE(e,!1)))],l=[{value:"DefaultHeader",label:r.get("properties.allFontSizes"),metaText:r.get("properties.default"),groupHeader:!0},...zE.filter((e=>!a.includes(e))).map((e=>NE(e,!1)))];return[...s,...l.length>1?l:[]]})(t(i),i,r)},defaultValue:(e,r,n)=>t(n.theme.current())}),$E=({section:e,defaultFontStyle:t,translator:r,flags:n,getThemeValue:o,translation:i,disableNoneCallback:a})=>({component:"panel-section",translation:null!=i?i:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontFamily:jE({ref:`${e}.fontFamily`,themeAccessor:t=>{var r;return null!==(r=o(t,e,"fontFamily"))&&void 0!==r?r:t.fontFamily},translator:r,flags:n}),fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",width:!1,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontSize:FE({ref:`${e}.fontSize`,themeAccessor:t=>{var r;return null!==(r=o(t,e,"fontSize"))&&void 0!==r?r:t.fontSize},translator:r}),fontColor:qE(`${e}.fontColor`,void 0,(t=>{var r;return null!==(r=o(t,e,"color"))&&void 0!==r?r:t.color}))}},background:qE(`${e}.background`,"properties.background",((t,r)=>{var n;const i=r?Tx.WHITE:Tx.TRANSPARENT;return null!==(n=o(t,e,"backgroundColor"))&&void 0!==n?n:i}),a)}}}}),HE=({section:e,defaultFontStyle:t,fallbackBackground:r,getThemeValue:n})=>({component:"panel-section",translation:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",fullWidth:!0,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontColor:qE(`${e}.fontColor`,void 0,(t=>{var r;return null!==(r=n(t,e,"color"))&&void 0!==r?r:t.color}))}},background:qE(`${e}.background`,"properties.background",(t=>{var o,i;return null!==(o=null!==(i=n(t,e,"backgroundColor"))&&void 0!==i?i:r)&&void 0!==o?o:"transparent"}))}}}}),BE=(e,t,r)=>{var n,o,i,a,s;switch(t){case"header":return null===(n=e.object)||void 0===n||null===(n=n.straightTableV2)||void 0===n||null===(n=n.dimension)||void 0===n||null===(n=n.label)||void 0===n||null===(n=n.name)||void 0===n?void 0:n[r];case"dimensionValues":return null===(o=e.object)||void 0===o||null===(o=o.straightTableV2)||void 0===o||null===(o=o.dimension)||void 0===o||null===(o=o.label)||void 0===o||null===(o=o.value)||void 0===o?void 0:o[r];case"measureValues":return null===(i=e.object)||void 0===i||null===(i=i.straightTableV2)||void 0===i||null===(i=i.measure)||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.value)||void 0===i?void 0:i[r];case"totalValues":return null===(a=e.object)||void 0===a||null===(a=a.straightTableV2)||void 0===a||null===(a=a.total)||void 0===a||null===(a=a.label)||void 0===a||null===(a=a.value)||void 0===a?void 0:a[r];case"nullValues":return null===(s=e.object)||void 0===s||null===(s=s.straightTableV2)||void 0===s||null===(s=s.null)||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.value)||void 0===s?void 0:s[r];default:return}},GE=e=>{var t;return null===(t=e.grid)||void 0===t||null===(t=t.zebraStripes)||void 0===t?void 0:t.show},WE={ref:"content.rowHeight",component:"integer",placeholder:1,maxlength:4,translation:"ThemeStyleEditor.style.rowHeight",change(e){var t,r;null!==(null==e||null===(t=e.content)||void 0===t?void 0:t.rowHeight)&&void 0!==(null==e||null===(r=e.content)||void 0===r?void 0:r.rowHeight)&&""!==e.content.rowHeight?e.content.rowHeight=Math.max(1,Math.min(50,Math.floor(e.content.rowHeight))):void 0!==(null==e?void 0:e.content)&&(e.content.rowHeight=void 0)}},VE=e=>({translation:"properties.pivot.grid",component:"panel-section",items:{gridItems:{component:"items",ref:"components",key:"theme",items:{rowHeight:{show:()=>e.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),...WE},border:qE("grid.border","properties.border",(e=>{var t,r;return null!==(t=null===(r=e.object)||void 0===r||null===(r=r.straightTableV2)||void 0===r||null===(r=r.grid)||void 0===r?void 0:r.borderColor)&&void 0!==t?t:Tx.BORDER_MEDIUM})),divider:qE("grid.divider","properties.pivot.divider",(e=>{var t,r;return null!==(t=null===(r=e.object)||void 0===r||null===(r=r.straightTableV2)||void 0===r||null===(r=r.grid)||void 0===r||null===(r=r.divider)||void 0===r?void 0:r.borderColor)&&void 0!==t?t:Tx.BORDER_HEAVY}))}}}}),UE=e=>{var t;return null==e||null===(t=e.content)||void 0===t?void 0:t.hoverEffect},YE={translation:"properties.RowHover",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{hoverEffectSwitch:{ref:"content.hoverEffect",translation:"ThemeStyleEditor.style.hoverEffect",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},hoverEffectColorItem:{show:UE,ref:"content.hoverColor",translation:"ThemeStyleEditor.style.hoverStyle",type:"object",component:"color-picker",dualOutput:!0},hoverEffectFontColorItem:{show:UE,ref:"content.hoverFontColor",translation:"ThemeStyleEditor.style.hoverFontStyle",type:"object",component:"color-picker",dualOutput:!0}}}}},KE=(e,t,{properties:r})=>"sn-table"===r.visualization&&!0===r.usePagination,XE=({flags:e,translator:t})=>({type:"items",items:[{component:"styling-panel",chartTitle:"Object.StraightTable",subtitle:"LayerStyleEditor.component.styling",translation:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0,defaultValue:[],items:{headerSection:$E({section:"header",defaultFontStyle:["bold"],translator:t,flags:e,getThemeValue:BE,disableNoneCallback:KE}),dimensionValueSection:$E({section:"dimensionValues",translator:t,flags:e,getThemeValue:BE}),measureValueSection:$E({section:"measureValues",translator:t,flags:e,getThemeValue:BE}),totalRowSection:$E({section:"totalValues",defaultFontStyle:["bold"],translation:"properties.totals",translator:t,flags:e,getThemeValue:BE,disableNoneCallback:KE}),nullValues:HE({section:"nullValues",fallbackBackground:Tx.NULL_VALUE_BACKGROUND,getThemeValue:BE}),grid:VE(e),hoverEffectSection:YE,zebraStripes:{translation:"properties.zebraStripes",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{zebraStripesEnable:{ref:"grid.zebraStripes.show",translation:"properties.zebraStripes.enable",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},zebraStripesColorOdd:{show:GE,ref:"grid.zebraStripes.color.odd",translation:"properties.zebraStripes.color.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundrOdd:{show:GE,ref:"grid.zebraStripes.background.odd",translation:"properties.zebraStripes.background.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1},zebraStripesColorEven:{show:GE,ref:"grid.zebraStripes.color.even",translation:"properties.zebraStripes.color.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundEven:{show:GE,ref:"grid.zebraStripes.background.even",translation:"properties.zebraStripes.background.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1}}}}}}}]}),JE=e=>({uses:"settings",items:{presentation:{grouped:!0,type:"items",translation:"properties.presentation",items:[XE(e),OE(e),{ref:"usePagination",translation:"properties.usePagination",type:"boolean",component:"checkbox",defaultValue:!1},{type:"items",translation:"Object.Table.WrapText",items:[{component:"text",translation:"Object.Table.Multiline"},{ref:"multiline.wrapTextInHeaders",type:"boolean",translation:"Object.Table.Multiline.WrapTextInHeaders",component:"checkbox",defaultValue:!0},{ref:"multiline.wrapTextInCells",type:"boolean",translation:"Object.Table.Multiline.WrapTextInCells",component:"checkbox",defaultValue:!0}]},{ref:"hideHeader",translation:"properties.hideHeader",type:"boolean",component:"checkbox",defaultValue:!1},{ref:"nullValueRepresentation.text",type:"string",translation:"properties.pivot.nullValueText",defaultValue:"-"}]},...TE}}),ZE={uses:"sorting"},QE={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}},ew=e=>{var t;const{flags:r}=e;return{type:"items",component:"accordion",items:{data:(null===(t=r.isPreviewToggleEnabled)||void 0===t?void 0:t.call(r,"IM_7101_PREVIEW_SIMPLE_MODE_OFF"))||!1?DE(e):_E(e),sorting:ZE,addOns:QE,settings:JE(e)}}};function tw(e){var t,r;return{definition:ew(e),exploration:aE,data:dE(e),support:{export:!0,exportData:!0,snapshot:!0,viewData:!1,exploration:!0,cssScaling:!0,modifiers:null!==(t=e.anything.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"modifiers")?void 0:["accumulation","movingAverage","difference","normalization"]},importProperties(e,t,r,n,o){const i={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()};return iE({exportFormat:e,initialProperties:t,extension:r,hypercubePath:n,defaultPropertyValues:i,viewDataMode:o})},exportProperties:(e,t)=>QC({propertyTree:e,hyperCubePath:t})}}const rw=(t,r)=>e((()=>((e,t)=>(r,{isDim:n,colIdx:o})=>{var i;const a=n?o:o-e.qDimensionInfo.length,s=`/qHyperCubeDef/${n?"qDimensions":"qMeasures"}/${a}/qDef/columnWidth`,l=null===(i=e[n?"qDimensionInfo":"qMeasureInfo"].at(a))||void 0===i?void 0:i.columnWidth,u=l?{qPath:s,qOp:"Replace",qValue:JSON.stringify({...l,...r})}:{qPath:s,qOp:"Add",qValue:JSON.stringify(r)};null==t||t.applyPatches([u],!0)})(t,r)),[t,r]),nw=e=>-1===e?{}:e.qAttrExprInfo.reduce(((e,{id:t},r)=>(e[t]=r,e)),{}),ow=[];for(let e=0;e<256;++e)ow.push((e+256).toString(16).slice(1));let iw;const aw=new Uint8Array(16);var sw={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function lw(e,t,r){var n,o,i,a;if(sw.randomUUID&&!e)return sw.randomUUID();const s=null!==(n=null!==(o=(e=e||{}).random)&&void 0!==o?o:null===(i=(a=e).rng)||void 0===i?void 0:i.call(a))&&void 0!==n?n:function(){if(!iw){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");iw=crypto.getRandomValues.bind(crypto)}return iw(aw)}();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=15&s[6]|64,s[8]=63&s[8]|128,function(e,t=0){return(ow[e[t+0]]+ow[e[t+1]]+ow[e[t+2]]+ow[e[t+3]]+"-"+ow[e[t+4]]+ow[e[t+5]]+"-"+ow[e[t+6]]+ow[e[t+7]]+"-"+ow[e[t+8]]+ow[e[t+9]]+"-"+ow[e[t+10]]+ow[e[t+11]]+ow[e[t+12]]+ow[e[t+13]]+ow[e[t+14]]+ow[e[t+15]]).toLowerCase()}(s)}const uw=()=>{var e,t,r;return null!==(e=null===(t=crypto)||void 0===t||null===(r=t.randomUUID)||void 0===r?void 0:r.call(t))&&void 0!==e?e:lw()},cw=({qLibraryId:e,cId:t})=>{var r;return null!==(r=null!=e?e:t)&&void 0!==r?r:uw()},dw=e=>"number"==typeof e&&!Number.isNaN(+e),pw=e=>dw(e.qNum),fw=e=>"string"==typeof e&&e.length>0&&!Number.isNaN(+e);function hw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function mw(e,t,r){return t=yw(t),function(e,t){if(t&&("object"==typeof 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)}(e,Sw()?Reflect.construct(t,r||[],yw(e).constructor):t.apply(e,r))}function gw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ww(n.key),n)}}function vw(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function yw(e){return yw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yw(e)}function xw(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&&Cw(e,t)}function Sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Sw=function(){return!!e})()}function Cw(e,t){return Cw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cw(e,t)}function Ew(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hw(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ww(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function Rw(e){return Rw="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},Rw(e)}var Aw={fromSearchString:function(e){if(!e)return[];"?"===e[0]&&(e=e.substr(1));var t=[];return e.split("&").forEach((function(e){if(e){var r,n=e.indexOf("="),o="",i=!1;-1===n?r=e:(r=e.slice(0,n),o=e.slice(n+1),i=!0),t.push(function(e,t,r){return{key:kw(e),value:kw(t),useEqualSign:r}}(r,o,i))}})),t}};function kw(e){try{return decodeURIComponent(e)}catch(t){return e}}function Pw(e){if(!(this instanceof Pw))throw new Error("Url needs to be called with the new keyword");if(!e)throw new Error("Url needs a string to operate on");var t=function(e){var t={authorityAndPath:"",search:"",hash:""},r=e.indexOf("#");-1!==r&&(t.hash=e.substr(r),e=e.substr(0,r));r=e.indexOf("?"),-1!==r&&(t.search=e.substr(r),e=e.substr(0,r));return t.authorityAndPath=e,t}(e);Object.defineProperties(this,{authorityAndPath:{value:t.authorityAndPath},search:{value:t.search},hash:{value:t.hash},searchParams:{get:function(){return Aw.fromSearchString(t.search)}}})}function Iw(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}Pw.encodeAuthorityAndPath=function(e){return encodeURI(e).replace(/%5B/gi,"[").replace(/%5D/gi,"]").replace(/%25/gi,"%")},Pw.encodeSearchParams=function(e){for(var t,r="",n=0;n<e.length;n++)r+=0===n?"?":"&",r+=Iw((t=e[n]).key),t.value?r+="=".concat(Iw(t.value)):r+=t.useEqualSign?"=":"";return r};var Lw,Mw=function(){return vw((function e(t){gw(this,e),this._input=t,this._pushback=null,this._temp=null,this._index=0,this._mark=0}),[{key:"_hasNext",value:function(){return null!=this._input&&(0!==this._input.length&&this._index<this._input.length)}},{key:"pushback",value:function(e){this._pushback=e}},{key:"index",value:function(){return this._index}},{key:"hasNext",value:function(){return null!=this._pushback||this._hasNext()}},{key:"next",value:function(){if(null!=this._pushback){var e=this._pushback;return this._pushback=null,e}return this._hasNext()?this._input.charAt(this._index++):null}},{key:"nextHex",value:function(){var e=this.next();return null==e?null:e.match(/[0-9A-Fa-f]/)?e:null}},{key:"peek",value:function(e){return e?!(!this._pushback||this._pushback!==e)||!!this._hasNext()&&this._input.charAt(this._index)===e:this._pushback?this._pushback:this._hasNext()?this._input.charAt(this._index):null}},{key:"mark",value:function(){this._temp=this._pushback,this._mark=this._index}},{key:"reset",value:function(){this._pushback=this._temp,this._index=this._mark}},{key:"remainder",value:function(){var e=this._input.substr(this._index);return null!=this._pushback&&(e=this._pushback+e),e}}])}(),_w=function(){return vw((function e(){gw(this,e)}),[{key:"decode",value:function(e){for(var t,r="",n=new Mw(e);n.hasNext();)r+=null!=(t=this.decodeCharacter(n))?t:n.next();return r}},{key:"decodeCharacter",value:function(e){return e.next()}}])}(),Dw=function(e){return e>=0&&e<=1114111},Tw=function(e){return e.match(/[\s]/)},Ow=function(){function e(){return gw(this,e),mw(this,e,arguments)}return xw(e,_w),vw(e,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o=e.next();if(null==o||"\\"!==o)return e.reset(),null;var i=e.next();if(null==i)return e.reset(),null;switch(i){case"\r":e.peek("\n")&&e.next();case"\n":case"\f":case"\0":return this.decodeCharacter(e)}if("NaN"===parseInt(i,16))return i;for(t=i,r=0;r<5&&(null!=(n=e.next())&&!Tw(n));r++){if("NaN"===parseInt(n,16)){e.pushback(n);break}t+=n}var a=parseInt(t,16);return Dw(a)?String.fromCharCode(a):"�"}}])}(),qw=function(){function e(t,r){gw(this,e),this._key=t,this._value=r}return vw(e,[{key:"getKey",value:function(){return this._key}},{key:"getValue",value:function(){return this._value}},{key:"equals",value:function(t){return t instanceof e&&(this._key===t._key&&this._value===t._value)}}],[{key:"newInstanceIfNeeded",value:function(){var t,r,n=arguments[0];return"string"==typeof arguments[1]?(t=arguments[1],r=n.length):(r=arguments[1],t=arguments[2]),t&&n?(n.length>r&&(n=n.substr(0,r)),new e(n,t)):null}}])}(),Nw=function(){function e(){gw(this,e)}return vw(e,[{key:"setValue",value:function(e){this._nextMap=null,this._value=e}},{key:"getNextNode",value:function(e){return this._nextMap?this._nextMap[e]:null}},{key:"put",value:function(t,r,n){var o,i;if(t.length===r)return i=this._value,this.setValue(n),i;var a=t.charAt(r);return this._nextMap?(o=this._nextMap[a])||(o=new e,this._nextMap[a]=o):(this._nextMap={},o=new e,this._nextMap[a]=o),o.put(t,r+1,n)}},{key:"get",value:function(e,t){if(e.length<=t)return this._value;var r=this.getNextNode(e.charAt(t));return r?r.get(e,t+1):null}},{key:"getLongestMatch",value:function(e,t){if(e.length<=t)return qw.newInstanceIfNeeded(e,this._value);var r=this.getNextNode(e.charAt(t));if(!r)return qw.newInstanceIfNeeded(e,t,this._value);var n=r.getLongestMatch(e,t+1);return n||qw.newInstanceIfNeeded(e,t,this._value)}}])}(),jw=function(){return vw((function e(){gw(this,e),this.clear()}),[{key:"getLongestMatch",value:function(e){return this.root&&e?this.root.getLongestMatch(e,0):null}},{key:"getMaxKeyLength",value:function(){return this.maxKeyLen}},{key:"clear",value:function(){this.root=null,this.maxKeyLen=0,this.size=0}},{key:"put",value:function(e,t){this.root||(this.root=new Nw);var r=this.root.put(e,0,t);return r||(e.length>this.maxKeyLen&&(this.maxKeyLen=e.length),this.size++,null)}}])}(),zw=function(){var e,t,r,n=[],o=[],i=new jw;for(e in n["&quot"]="34",n["&amp"]="38",n["&lt"]="60",n["&gt"]="62",n["&nbsp"]="160",n["&iexcl"]="161",n["&cent"]="162",n["&pound"]="163",n["&curren"]="164",n["&yen"]="165",n["&brvbar"]="166",n["&sect"]="167",n["&uml"]="168",n["&copy"]="169",n["&ordf"]="170",n["&laquo"]="171",n["&not"]="172",n["&shy"]="173",n["&reg"]="174",n["&macr"]="175",n["&deg"]="176",n["&plusmn"]="177",n["&sup2"]="178",n["&sup3"]="179",n["&acute"]="180",n["&micro"]="181",n["&para"]="182",n["&middot"]="183",n["&cedil"]="184",n["&sup1"]="185",n["&ordm"]="186",n["&raquo"]="187",n["&frac14"]="188",n["&frac12"]="189",n["&frac34"]="190",n["&iquest"]="191",n["&Agrave"]="192",n["&Aacute"]="193",n["&Acirc"]="194",n["&Atilde"]="195",n["&Auml"]="196",n["&Aring"]="197",n["&AElig"]="198",n["&Ccedil"]="199",n["&Egrave"]="200",n["&Eacute"]="201",n["&Ecirc"]="202",n["&Euml"]="203",n["&Igrave"]="204",n["&Iacute"]="205",n["&Icirc"]="206",n["&Iuml"]="207",n["&ETH"]="208",n["&Ntilde"]="209",n["&Ograve"]="210",n["&Oacute"]="211",n["&Ocirc"]="212",n["&Otilde"]="213",n["&Ouml"]="214",n["&times"]="215",n["&Oslash"]="216",n["&Ugrave"]="217",n["&Uacute"]="218",n["&Ucirc"]="219",n["&Uuml"]="220",n["&Yacute"]="221",n["&THORN"]="222",n["&szlig"]="223",n["&agrave"]="224",n["&aacute"]="225",n["&acirc"]="226",n["&atilde"]="227",n["&auml"]="228",n["&aring"]="229",n["&aelig"]="230",n["&ccedil"]="231",n["&egrave"]="232",n["&eacute"]="233",n["&ecirc"]="234",n["&euml"]="235",n["&igrave"]="236",n["&iacute"]="237",n["&icirc"]="238",n["&iuml"]="239",n["&eth"]="240",n["&ntilde"]="241",n["&ograve"]="242",n["&oacute"]="243",n["&ocirc"]="244",n["&otilde"]="245",n["&ouml"]="246",n["&divide"]="247",n["&oslash"]="248",n["&ugrave"]="249",n["&uacute"]="250",n["&ucirc"]="251",n["&uuml"]="252",n["&yacute"]="253",n["&thorn"]="254",n["&yuml"]="255",n["&OElig"]="338",n["&oelig"]="339",n["&Scaron"]="352",n["&scaron"]="353",n["&Yuml"]="376",n["&fnof"]="402",n["&circ"]="710",n["&tilde"]="732",n["&Alpha"]="913",n["&Beta"]="914",n["&Gamma"]="915",n["&Delta"]="916",n["&Epsilon"]="917",n["&Zeta"]="918",n["&Eta"]="919",n["&Theta"]="920",n["&Iota"]="921",n["&Kappa"]="922",n["&Lambda"]="923",n["&Mu"]="924",n["&Nu"]="925",n["&Xi"]="926",n["&Omicron"]="927",n["&Pi"]="928",n["&Rho"]="929",n["&Sigma"]="931",n["&Tau"]="932",n["&Upsilon"]="933",n["&Phi"]="934",n["&Chi"]="935",n["&Psi"]="936",n["&Omega"]="937",n["&alpha"]="945",n["&beta"]="946",n["&gamma"]="947",n["&delta"]="948",n["&epsilon"]="949",n["&zeta"]="950",n["&eta"]="951",n["&theta"]="952",n["&iota"]="953",n["&kappa"]="954",n["&lambda"]="955",n["&mu"]="956",n["&nu"]="957",n["&xi"]="958",n["&omicron"]="959",n["&pi"]="960",n["&rho"]="961",n["&sigmaf"]="962",n["&sigma"]="963",n["&tau"]="964",n["&upsilon"]="965",n["&phi"]="966",n["&chi"]="967",n["&psi"]="968",n["&omega"]="969",n["&thetasym"]="977",n["&upsih"]="978",n["&piv"]="982",n["&ensp"]="8194",n["&emsp"]="8195",n["&thinsp"]="8201",n["&zwnj"]="8204",n["&zwj"]="8205",n["&lrm"]="8206",n["&rlm"]="8207",n["&ndash"]="8211",n["&mdash"]="8212",n["&lsquo"]="8216",n["&rsquo"]="8217",n["&sbquo"]="8218",n["&ldquo"]="8220",n["&rdquo"]="8221",n["&bdquo"]="8222",n["&dagger"]="8224",n["&Dagger"]="8225",n["&bull"]="8226",n["&hellip"]="8230",n["&permil"]="8240",n["&prime"]="8242",n["&Prime"]="8243",n["&lsaquo"]="8249",n["&rsaquo"]="8250",n["&oline"]="8254",n["&frasl"]="8260",n["&euro"]="8364",n["&image"]="8365",n["&weierp"]="8472",n["&real"]="8476",n["&trade"]="8482",n["&alefsym"]="8501",n["&larr"]="8592",n["&uarr"]="8593",n["&rarr"]="8594",n["&darr"]="8595",n["&harr"]="8596",n["&crarr"]="8629",n["&lArr"]="8656",n["&uArr"]="8657",n["&rArr"]="8658",n["&dArr"]="8659",n["&hArr"]="8660",n["&forall"]="8704",n["&part"]="8706",n["&exist"]="8707",n["&empty"]="8709",n["&nabla"]="8711",n["&isin"]="8712",n["&notin"]="8713",n["&ni"]="8715",n["&prod"]="8719",n["&sum"]="8721",n["&minus"]="8722",n["&lowast"]="8727",n["&radic"]="8730",n["&prop"]="8733",n["&infin"]="8734",n["&ang"]="8736",n["&and"]="8743",n["&or"]="8744",n["&cap"]="8745",n["&cup"]="8746",n["&int"]="8747",n["&there4"]="8756",n["&sim"]="8764",n["&cong"]="8773",n["&asymp"]="8776",n["&ne"]="8800",n["&equiv"]="8801",n["&le"]="8804",n["&ge"]="8805",n["&sub"]="8834",n["&sup"]="8835",n["&nsub"]="8836",n["&sube"]="8838",n["&supe"]="8839",n["&oplus"]="8853",n["&otimes"]="8855",n["&perp"]="8869",n["&sdot"]="8901",n["&lceil"]="8968",n["&rceil"]="8969",n["&lfloor"]="8970",n["&rfloor"]="8971",n["&lang"]="9001",n["&rang"]="9002",n["&loz"]="9674",n["&spades"]="9824",n["&clubs"]="9827",n["&hearts"]="9829",n["&diams"]="9830",n)"function"!=typeof n[e]&&n.hasOwnProperty(e)&&(o[n[e]]=e);for(t in o)"function"!=typeof o[t]&&o.hasOwnProperty(t)&&(r=o[t].toLowerCase().substr(1),i.put(r,String.fromCharCode(t)));return i}(),Fw=function(){function e(){return gw(this,e),mw(this,e,arguments)}return xw(e,_w),vw(e,[{key:"decodeCharacter",value:function(e){var t;e.mark();var r=e.next();if(null==r||"&"!==r)return e.reset(),null;var n=e.next();if(null==n)return e.reset(),null;if("#"===n){if(null!=(t=this._getNumericEntity(e)))return t}else if(n.match(/[A-Za-z]/)&&(e.pushback(n),null!=(t=this._getNamedEntity(e))))return t;return e.reset(),null}},{key:"_getNamedEntity",value:function(e){var t,r,n,o="";for(t=Math.min(e.remainder().length,zw.getMaxKeyLength()),n=0;n<t;n++)o+=e.next().toLowerCase();var i=zw.getLongestMatch(o);if(null==i)return null;for(e.reset(),e.next(),t=i.getKey().length,r=0;r<t;r++)e.next();return e.peek(";")&&e.next(),i.getValue()}},{key:"_getNumericEntity",value:function(e){var t=e.peek();return null==t?null:"x"===t||"X"===t?(e.next(),this._parseHex(e)):this._parseNumber(e)}},{key:"_parseHex",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,16))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,16);return!Number.isNaN(+n)&&Dw(n)?String.fromCharCode(n):null}},{key:"_parseNumber",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,10))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,10);return!Number.isNaN(+n)&&Dw(n)?String.fromCharCode(n):null}}])}(),$w=function(){function e(){return gw(this,e),mw(this,e,arguments)}return xw(e,_w),vw(e,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o,i=e.next();if(null==i)return e.reset(),null;if("%"!==i)return e.reset(),null;for(t="",r=0;r<2;r++)null!=(n=e.nextHex())&&(t+=n);return 2===t.length&&(o=parseInt(t,16),Dw(o))?String.fromCharCode(o):(e.reset(),null)}}])}(),Hw=/^data:(?<!\s)\s*(image\/[\w+-.]+)(?<!\s)\s*(;.*?){0,1}(?<!\s)\s*,(.*)/i;"undefined"!=typeof document&&(Lw=document.createElement("div"));var Bw=Array.prototype.indexOf,Gw=[",",".","_"," "],Ww=[",",".","-","_"," "],Vw={width:["%"],height:["%"]},Uw={default:["-"," ","%"],color:["#"," ","(",")"],image:["(",")",":","/","?","&","-",".",'"',"="," "]},Yw={background:["(",")",":","%","/","?","&","-"," ",".",'"',"=","#"],"background-image":Uw.image,"background-color":Uw.color,"border-color":Uw.color,"border-image":Uw.image,color:Uw.color,icon:Uw.image,"list-style-image":Uw.image,"outline-color":Uw.color},Kw={attr_name:["^on[a-z]{1,}","style","href","src"],attr_val:["javascript:","data:"],css_key:["behavior","-moz-behavior","-ms-behavior"],css_val:["expression"]};function Xw(e,t,r){var n;if(t){if(Bw)return Bw.call(t,e,r);for(n=t.length,r=r?r<0?Math.max(0,n+r):r:0;r<n;r++)if(r in t&&t[r]===e)return r}return-1}function Jw(e){if(null==e)return"";var t,r=document.createTextNode(e);return Lw.appendChild(r),t=Lw.innerHTML,Lw.removeChild(r),t}function Zw(e,t,r){var n,o,i,a,s,l,u,c,d;for(e=eR(e).toLowerCase(),t=eR(t),i=0;i<Kw.attr_name.length;i++)if(e.match(Kw.attr_name[i]))throw new Error("Unsafe attribute name used: ".concat(e));for(i=0;i<Kw.attr_val.length;i++)if(t.toLowerCase().match(Kw.attr_val[i]))throw new Error("Unsafe attribute value used: ".concat(t));if((n=Vw[e])||(n=Ww),o="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z\-0-9]/))throw new Error("Invalid attribute name specified");o+=s}o+='="'}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&Xw(u,n)<0?(d=c.toString(16),o+="&#x".concat(d,";")):o+=u;return r||(o+='"'),o}function Qw(e,t,r){var n,o,i,a,s,l,u,c,d,p;if(e=eR(e).toLowerCase(),t=eR(t),Xw(e,Kw.css_key)>=0)throw new Error("Unsafe property name used: ".concat(e));for(n=0;n<Kw.css_val.length;n++)if(t.toLowerCase().indexOf(Kw.css_val[n])>=0)throw new Error("Unsafe property value used: ".concat(t));if((o=Yw[e])||(o=Uw.default),i="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z-]/))throw new Error("Invalid Property Name specified");i+=s}i+=": "}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&Xw(u,o)<0?(d=c.toString(16),p="000000".substr(d.length),i+="\\".concat(p).concat(d)):i+=u;return i}function eR(e,t){var r,n,o,i,a=!1;if(null===e)return null;r=e,n=e,o=0;for(var s=[new Fw,new $w,new Ow];!a;){n=r;for(var l=0;l<s.length;l++)(i=s[l].decode(r))!==r&&(o++,r=i);n!==r||(a=!0)}if(t&&o>1)throw new Error("Attack Detected - Multiple/Double Encodings used in input");return r}for(var tR=[],rR=0;rR<255;rR++)tR[rR]=rR>=48&&rR<=57||rR>=65&&rR<=90||rR>=97&&rR<=122?null:rR.toString(16);var nR=function(e){return Jw(e.unsafe)},oR=function(e){var t,r=[],n=[],o={},i="";for(t in e.map?r=e.map:r[e.name]=e.unsafe,r)"function"!=typeof r[t]&&r.hasOwnProperty(t)&&(n[t]=Qw(t,r[t],!0),i+=Qw(t,r[t],!0),o[t]=n[t]);return e.map?o:i},iR=function(e){var t=[],r=[],n={},o="";for(var i in e.map?t=e.map:t[e.name]=e.unsafe,t)"function"!=typeof t[i]&&t.hasOwnProperty(i)&&(r[i]=Zw(i,t[i],!0),o+=Zw(i,t[i],!0),n[i]=r[i]);return e.map?n:o};function aR(e,t){throw new Error(t)}var sR={canonicalize:eR,encode:function(){var e={context:"html",unsafe:null,name:null,map:null,setter:null,strict:!0};return 1===arguments.length&&"object"===Rw(arguments[0])?function(){for(var e,t,r,n=arguments[0]||{},o=1,i=arguments.length;o<i;o++)if(null!=(e=arguments[o]))for(t in e)if(e.hasOwnProperty(t)){if(n===(r=e[t]))continue;void 0!==r&&(n[t]=r)}}(e,arguments[0]):(e.context=arguments[0],2===arguments.length?"html"===e.context?e.unsafe=arguments[1]:"attr"!==e.context&&"css"!==e.context||(e.map=arguments[1]):(e.name=arguments[2],e.unsafe=arguments[1])),"html"===e.context?nR(e):"css"===e.context?(null!=e.map&&"object"!==Rw(e.map)&&aR(this,"Invalid parameter type"),oR(e)):"attr"===e.context?(null!=e.map&&"object"!==Rw(e.map)&&aR(this,"Invalid parameter type"),iR(e)):void aR(this,"Invalid parameter type")},encodeForAttr:Zw,encodeForAttr2:function(e){return Zw("nonsens",e,!0)},encodeForCSS:Qw,encodeForHref:function(e){eR(e),0!==e.search("[a-zA-Z0-9]+:")&&(e="http://".concat(e));var t=new Pw(e),r=Pw.encodeAuthorityAndPath(decodeURI(t.authorityAndPath)),n=t.searchParams,o=(e=r+Pw.encodeSearchParams(n)+t.hash).toLowerCase();if(-1!==o.indexOf("javascript:"))throw new Error("Attack Detected - Javascript in input");if(-1!==o.indexOf("data:"))throw new Error("Attack Detected - data in input");return e},encodeForJS:function(e,t){var r,n,o,i,a,s;for(t||(t=Gw),s="",r=0;r<e.length;r++)o=e.charAt(r),i=e.charCodeAt(r),Xw(o,t)>=0||null==tR[i]?s+=o:(n=i.toString(16),i<256?(a="00".substr(n.length),s+="\\x".concat(a).concat(n.toUpperCase())):(a="0000".substr(n.length),s+="\\u".concat(a).concat(n.toUpperCase())));return s},encodeForHTML:Jw,encodeForURL:function(e,t){var r="";return t&&(t.match(/^[A-Za-z\-0-9]{1,}$/)?r+=eR(t).toLowerCase():aR(this,"Illegal Attribute Name Specified"),r+='="'),r+=encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),r+=t?'"':""},isSafeDataURL:function(e,t){var r=null!=t?t:{},n=r.maxByteSizeSvg,o=void 0===n?5e5:n,i=r.maxByteSizeImage,a=void 0===i?5e6:i,s=function(e){var t,r=Ew(null!==(t=Hw.exec(e.trim()))&&void 0!==t?t:[],4),n=r[1];return{encoding:r[2],data:r[3],mimeType:null==n?void 0:n.toLocaleLowerCase()}}(e),l=s.mimeType,u=s.encoding,c=s.data;if(!c)return!0;var d=function(e,t,r){var n={type:e};if(null!=t&&t.includes(";base64"))try{return new Blob([atob(r)],n).size}catch(e){return new Blob([r],n).size}return"image/svg+xml"===e?new Blob([r],n).size:0}(l,u,c);return"image/svg+xml"===l?d<=o:d<=a},validateURI:function(e){if(""===e||function(e){if("canParse"in URL)return URL.canParse(e);try{return new URL(e),!0}catch(e){return!1}}(e))return!1;var t=e.replace(/%2E/gi,".");if(t.match(/[#&=: ]/))return!1;var r=function(e){for(var t=e,r="";t.length>0;)if(t.startsWith("../")||t.startsWith("./"))t=t.replace(/^\.\.?\//,"");else if(t.startsWith("/./"))t=t.replace(/^\/\.\//,"/");else if("/."===t)t="/";else if(t.startsWith("/../")){t=t.replace(/^\/\.\.\//,"/");var n=r.lastIndexOf("/");-1!==n&&(r=r.slice(0,n))}else if("/.."===t){t="/";var o=r.lastIndexOf("/");-1!==o&&(r=r.slice(0,o))}else if("."===t||".."===t)t="";else{var i=t.match(/^\/?[^/]*/),a=i?i[0]:"";t=t.slice(a.length),r+=a}return r}(t);return""!==r&&"/"!==r&&r}};const lR=(e,t)=>{var r;return null===(r=t.qAttrExps)||void 0===r||null===(r=r.qValues)||void 0===r?void 0:r[e]},uR=(e,t)=>{switch(e){case"topLeft":default:return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-start"};case"centerLeft":return{horizontal:"center",vertical:"flex-start"};case"bottomLeft":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-start"};case"topCenter":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"center"};case"centerCenter":return{horizontal:"center",vertical:"center"};case"bottomCenter":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"center"};case"topRight":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-end"};case"centerRight":return{horizontal:"center",vertical:"flex-end"};case"bottomRight":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-end"}}},cR=({text:e,url:t,imageSize:r,imagePosition:n,labelStructure:o,imageBox:i,direction:a})=>n&&t&&!t.toLowerCase().includes("javascript:")&&sR.isSafeDataURL(t)?{type:pE.Image,url:t,text:e,imageSize:r,resolvedImagePosition:uR(n,a),labelStructure:o,imageBox:i}:{type:pE.Text,url:void 0,text:e,labelStructure:o},dR=(e,t,r,n)=>{if(!e.qMiniChart||null==t||!t.miniChart||!r)return{type:pE.Text,text:n};const{minY:o,maxY:i}=((e,t,r)=>{var n,o;const i="global"===(null===(n=t.yAxis)||void 0===n?void 0:n.scale),a="zeroCenter"===(null===(o=t.yAxis)||void 0===o?void 0:o.position),s=i?r.qYMin:e.qMiniChart.qMin,l=i?r.qYMax:e.qMiniChart.qMax;if(a){const e=Math.max(Math.abs(s),Math.abs(l));return{minY:-e,maxY:e}}return(e=>{var t,r;return"zeroBaseline"===(null===(t=e.yAxis)||void 0===t?void 0:t.position)||"bars"===e.type&&"auto"===(null===(r=e.yAxis)||void 0===r?void 0:r.position)})(t)?{minY:Math.min(0,s),maxY:Math.max(0,l)}:{minY:s,maxY:l}})(e,t.miniChart,r),a={type:t.miniChart.type,qMatrix:e.qMiniChart.qMatrix,minY:o,maxY:i,showDots:!!t.miniChart.showDots,colors:t.miniChart.colors,colorMin:e.qMiniChart.qMin,colorMax:e.qMiniChart.qMax};return{type:pE.MiniChart,text:n,miniChart:a}},pR=(e,t,r)=>{var n;const o=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps,i=null==o||null===(n=o.qValues)||void 0===n?void 0:n[e];if(i){const e=Number.isNaN(+i.qNum)?void 0:`${i.qNum}`;return i.qText||e}return(null==r?void 0:r.urlPosition)===fE.Attribute||null==r?void 0:r.urlLabel},fR=({labelStructure:e,text:t,url:r})=>{try{if(!r)throw Error("Invalid url");return{type:pE.Link,url:sR.encodeForHref(r),text:t,labelStructure:e}}catch(r){return{type:pE.Text,url:void 0,text:t,labelStructure:e}}},hR=({cell:e,representationProperties:t,attrExprInfoIndex:r,env:n,conditionalColoring:o,miniChartOnMeasure:i,labelStructure:a,getText:s=e=>e.qText,direction:l,enabledFeatures:u})=>{var c,d,p,f,h,m;const g=hE(t),b=s(e);return g!==pE.Image||!u[pE.Image]||null!==(c=n.anything.sense)&&void 0!==c&&null!==(d=c.isUnsupportedFeature)&&void 0!==d&&d.call(c,"tableImages")?g===pE.Link?((e,t,r,n,o)=>{const{urlPosition:i}=null!=t?t:{};if(i===fE.Attribute){var a;const i=pR(null!==(a=r.url)&&void 0!==a?a:-1,e,t);return fR({labelStructure:n,text:o||i||"",url:i})}if(i===fE.Dimension){var s,l;const i=pR(null!==(s=r.urlLabel)&&void 0!==s?s:-1,e,t)||o;return n&&(n.maskedValue=i),fR({text:i,labelStructure:n,url:null!==(l=null==n?void 0:n.originalValue)&&void 0!==l?l:o})}return{type:pE.Text,url:void 0,text:o,labelStructure:n}})(e,t,r,a,b):g!==pE.Indicator||!u[pE.Indicator]||null!==(p=n.anything.sense)&&void 0!==p&&null!==(f=p.isUnsupportedFeature)&&void 0!==f&&f.call(p,"tableIndicators")?g!==pE.MiniChart||!u[pE.MiniChart]||null!==(h=n.anything.sense)&&void 0!==h&&null!==(m=h.isUnsupportedFeature)&&void 0!==m&&m.call(h,"qMiniChartDef")?{type:pE.Text,url:void 0,text:b,labelStructure:a}:dR(e,t,i,b):((e,t,r)=>{const{indicator:n}=null!=e?e:{};return{type:pE.Indicator,url:void 0,text:r,indicator:{applySegmentColors:null==n?void 0:n.applySegmentColors,position:null==n?void 0:n.position,showTextValues:null==n?void 0:n.showTextValues},indicatorConditionalColoring:t}})(t,o,b):((e,t,r,n,o,i)=>{const{imageSize:a,imagePosition:s,imageSetting:l,imageLabel:u,imageBox:c}=null!=t?t:{};if("url"===l){var d,p;const t=null===(d=lR(null!==(p=r.imageUrl)&&void 0!==p?p:-1,e))||void 0===d?void 0:d.qText;return i&&(i.maskedValue=null!=t?t:""),cR({text:n,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}if("label"===l){var f,h,m;const t=i?i.originalValue:n;if(-1===r.imageLabel)return cR({text:u||t||"",url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o});const l=null!==(f=null===(h=lR(null!==(m=r.imageLabel)&&void 0!==m?m:-1,e))||void 0===h?void 0:h.qText)&&void 0!==f?f:n;return cR({text:l,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}return{type:pE.Text,url:void 0,labelStructure:i,text:n}})(e,t,r,b,l,a)},mR=(e,t)=>t?-2===e.qElemNumber:!!e.qIsNull,gR=(e,t,r)=>{var n,o,i;return null!==(n=null!==(o=e||null===(i=r.nullValueRepresentation)||void 0===i?void 0:i.text)&&void 0!==o?o:t.qText)&&void 0!==n?n:"-"},bR=1e4;function vR(e,t){return[...t].reverse().find((t=>t*e<=bR))||Math.floor(bR/e)}function yR(e,t){var r;if(null!==(r=t.viewState)&&void 0!==r&&r.skipTotals)return{atTop:!1,atBottom:!1};const[n,o,i,a,s]=[e.qHyperCube.qDimensionInfo.length>0,e.qHyperCube.qMeasureInfo.length>0,e.qHyperCube.qGrandTotalRow.length>0,e.totals.show,e.totals.position];if(i&&(n&&o||!a&&!n)){if(a||"top"===s)return{atTop:!0,atBottom:!1};if("bottom"===s)return{atTop:!1,atBottom:!0}}return{atTop:!1,atBottom:!1}}function xR(e,t,r,n){var o,i,a;return t?0===r&&null!==(a=e.totals.label)&&void 0!==a?a:"":null!==(o=null===(i=e.qHyperCube.qGrandTotalRow.at(n))||void 0===i?void 0:i.qText)&&void 0!==o?o:""}function SR(e,t){const r=e.qHyperCube.qGrandTotalRow.at(t);return dw(null==r?void 0:r.qNum)}function CR(e,t,r,n,o){return e&&!e.auto?n&&"rtl"===o&&"center"!==e.align?{headTextAlign:"right"===e.align?"left":"right",totalsTextAlign:"right"===e.align?"left":"right",bodyTextAlign:"right"===e.align?"left":"right"}:{headTextAlign:e.align,totalsTextAlign:e.align,bodyTextAlign:e.align}:n||"rtl"!==o?{headTextAlign:"N"===t||void 0===t?"right":"left",totalsTextAlign:r?"left":"right",bodyTextAlign:"auto"}:{headTextAlign:"N"===t||void 0===t?"left":"right",totalsTextAlign:r?"right":"left",bodyTextAlign:"auto"}}const ER=(e,t,r,n)=>"auto"!==t?t:n||"rtl"!==r?e?"right":"left":e?"left":"right";const wR=(e,t,r)=>{const{qHyperCube:{qColumnOrder:n,qDimensionInfo:o,qMeasureInfo:i}}=e,a=o.length+i.length,s=n.length===a?n:Array.from(Array(a).keys()),{visibleColumnsOrder:l,visibleColumnIndexes:u}=((e,t,r)=>{const n=t.length,o=[];let i=0,a=0;return{visibleColumnsOrder:e.filter((e=>{const s=e<n,{qError:l}=s?t[e]:r[e-n],u=7005===(null==l?void 0:l.qErrorCode);return u?s?i++:a++:o[e]=s?e-i:e-n-a,!u})),visibleColumnIndexes:o}})(s,o,i);return l.map(((n,o)=>function(e,t,r,n,o,i){const{qDimensionInfo:a,qMeasureInfo:s,qEffectiveInterColumnSortOrder:l}=e.qHyperCube,u=a.length,c=t<u,d=c?a[t]:s[t-u],p=c&&a[t].qGrouping===gS.Cyclic,f=t===l[0];let h,m,g="",b=!1,v=-1,y=0,x=[];const{representation:S,conditionalColoring:C}=d;if(c){var E;const e=d;g=e.qGroupFieldDefs[e.qGroupPos],y=e.qGroupPos,x=e.qGroupFallbackTitles.map((e=>({label:e,enabled:!0}))),b=null!==(E=e.qLocked)&&void 0!==E&&E,v=n,({qDimensionType:h}=e)}else({qMiniChart:m}=d);const{qFallbackTitle:w,textAlign:R,qAttrExprInfo:A,qSortIndicator:k,qReverseSort:P,qApprMaxGlyphCount:I,columnWidth:L,qLibraryId:M}=d;return{isDim:c,isCyclic:p,isLocked:b,fieldId:g,colIdx:t,qLibraryId:M,pageColIdx:r,qApprMaxGlyphCount:I,qReverseSort:P,columnWidth:null!=L?L:{type:fS.Auto},selectionColIdx:v,isActivelySorted:f,id:cw(d),label:w,groupDimensionPos:y,groupDimensionLabels:x,qAttrExprInfoIDs:A.map((e=>e.id)),qAttrExprInfoIndex:nw(d),sortDirection:k&&"N"!==k?k:"A",totalInfo:xR(e,c,r,n),...!c&&{isTotalNumeric:SR(e,n)},...CR(R,h,c,o,i),representation:S,conditionalColoring:c?void 0:C,qMiniChart:m}}(e,n,o,u[n],t,r)))};const RR=(e,t)=>{var r;return!!(e.snapshotData||null!==(r=t.viewState)&&void 0!==r&&r.visibleHeight)},AR=(e,t)=>{var r;return void 0!==(null===(r=t.viewState)||void 0===r?void 0:r.usePagination)?t.viewState.usePagination:!1!==e.usePagination||RR(e,t)};var kR="$$material";const PR=["values","unit","step"];function IR(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=yr(e,PR),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>yt({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return yt({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const LR={borderRadius:4};function MR(e,t){return t?gp(e,t,{clone:!1}):e}const _R={xs:0,sm:600,md:900,lg:1200,xl:1536},DR={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_R[e]}px)`};function TR(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||DR;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||DR;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||_R).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function OR(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function qR(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function NR(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:qR(e,r)||n,t&&(o=t(o,n,e)),o}function jR(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=qR(e.theme,n)||{};return TR(e,i,(e=>{let n=NR(a,o,e);return e===n&&"string"==typeof e&&(n=NR(a,o,`${t}${"default"===e?"":Rp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const zR={m:"margin",p:"padding"},FR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},$R={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},HR=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!$R[e])return[e];e=$R[e]}const[t,r]=e.split(""),n=zR[t],o=FR[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),BR=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],GR=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function WR(e,t,r,n){var o;const i=null!=(o=qR(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function VR(e){return WR(e,"spacing",8)}function UR(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function YR(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=UR(t,r),e)),{})}(HR(r),n);return TR(e,e[r],o)}function KR(e,t){const r=VR(e.theme);return Object.keys(e).map((n=>YR(e,t,n,r))).reduce(MR,{})}function XR(e){return KR(e,BR)}function JR(e){return KR(e,GR)}function ZR(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?MR(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function QR(e){return"number"!=typeof e?e:`${e}px solid`}function eA(e,t){return jR({prop:e,themeKey:"borders",transform:t})}XR.propTypes={},XR.filterProps=BR,JR.propTypes={},JR.filterProps=GR;const tA=eA("border",QR),rA=eA("borderTop",QR),nA=eA("borderRight",QR),oA=eA("borderBottom",QR),iA=eA("borderLeft",QR),aA=eA("borderColor"),sA=eA("borderTopColor"),lA=eA("borderRightColor"),uA=eA("borderBottomColor"),cA=eA("borderLeftColor"),dA=eA("outline",QR),pA=eA("outlineColor"),fA=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=WR(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:UR(t,e)});return TR(e,e.borderRadius,r)}return null};fA.propTypes={},fA.filterProps=["borderRadius"],ZR(tA,rA,nA,oA,iA,aA,sA,lA,uA,cA,fA,dA,pA);const hA=e=>{if(void 0!==e.gap&&null!==e.gap){const t=WR(e.theme,"spacing",8),r=e=>({gap:UR(t,e)});return TR(e,e.gap,r)}return null};hA.propTypes={},hA.filterProps=["gap"];const mA=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=WR(e.theme,"spacing",8),r=e=>({columnGap:UR(t,e)});return TR(e,e.columnGap,r)}return null};mA.propTypes={},mA.filterProps=["columnGap"];const gA=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=WR(e.theme,"spacing",8),r=e=>({rowGap:UR(t,e)});return TR(e,e.rowGap,r)}return null};gA.propTypes={},gA.filterProps=["rowGap"];function bA(e,t){return"grey"===t?t:e}ZR(hA,mA,gA,jR({prop:"gridColumn"}),jR({prop:"gridRow"}),jR({prop:"gridAutoFlow"}),jR({prop:"gridAutoColumns"}),jR({prop:"gridAutoRows"}),jR({prop:"gridTemplateColumns"}),jR({prop:"gridTemplateRows"}),jR({prop:"gridTemplateAreas"}),jR({prop:"gridArea"}));function vA(e){return e<=1&&0!==e?100*e+"%":e}ZR(jR({prop:"color",themeKey:"palette",transform:bA}),jR({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bA}),jR({prop:"backgroundColor",themeKey:"palette",transform:bA}));const yA=jR({prop:"width",transform:vA}),xA=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||_R[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:vA(t)}};return TR(e,e.maxWidth,t)}return null};xA.filterProps=["maxWidth"];const SA=jR({prop:"minWidth",transform:vA}),CA=jR({prop:"height",transform:vA}),EA=jR({prop:"maxHeight",transform:vA}),wA=jR({prop:"minHeight",transform:vA});jR({prop:"size",cssProperty:"width",transform:vA}),jR({prop:"size",cssProperty:"height",transform:vA});ZR(yA,xA,SA,CA,EA,wA,jR({prop:"boxSizing"}));const RA={border:{themeKey:"borders",transform:QR},borderTop:{themeKey:"borders",transform:QR},borderRight:{themeKey:"borders",transform:QR},borderBottom:{themeKey:"borders",transform:QR},borderLeft:{themeKey:"borders",transform:QR},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:QR},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:fA},color:{themeKey:"palette",transform:bA},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bA},backgroundColor:{themeKey:"palette",transform:bA},p:{style:JR},pt:{style:JR},pr:{style:JR},pb:{style:JR},pl:{style:JR},px:{style:JR},py:{style:JR},padding:{style:JR},paddingTop:{style:JR},paddingRight:{style:JR},paddingBottom:{style:JR},paddingLeft:{style:JR},paddingX:{style:JR},paddingY:{style:JR},paddingInline:{style:JR},paddingInlineStart:{style:JR},paddingInlineEnd:{style:JR},paddingBlock:{style:JR},paddingBlockStart:{style:JR},paddingBlockEnd:{style:JR},m:{style:XR},mt:{style:XR},mr:{style:XR},mb:{style:XR},ml:{style:XR},mx:{style:XR},my:{style:XR},margin:{style:XR},marginTop:{style:XR},marginRight:{style:XR},marginBottom:{style:XR},marginLeft:{style:XR},marginX:{style:XR},marginY:{style:XR},marginInline:{style:XR},marginInlineStart:{style:XR},marginInlineEnd:{style:XR},marginBlock:{style:XR},marginBlockStart:{style:XR},marginBlockEnd:{style:XR},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hA},rowGap:{style:gA},columnGap:{style:mA},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vA},maxWidth:{style:xA},minWidth:{transform:vA},height:{transform:vA},maxHeight:{transform:vA},minHeight:{transform:vA},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function AA(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=qR(r,s)||{};if(u)return u(o);return TR(o,t,(t=>{let r=NR(c,l,t);return t===r&&"string"==typeof t&&(r=NR(c,l,`${e}${"default"===t?"":Rp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={},nested:a}=r||{};if(!o)return null;const s=null!=(n=i.unstable_sxConfig)?n:RA;function l(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),l=Object.keys(o);let u=o;return Object.keys(n).forEach((r=>{const o=(a=n[r],l=i,"function"==typeof a?a(l):a);var a,l;if(null!=o)if("object"==typeof o)if(s[r])u=MR(u,e(r,o,i,s));else{const e=TR({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?u=MR(u,e):u[r]=t({sx:o,theme:i,nested:!0})}else u=MR(u,e(r,o,i,s))})),!a&&i.modularCssLayers?{"@layer sx":OR(l,u)}:OR(l,u)}return Array.isArray(o)?o.map(l):l(o)}}const kA=AA();function PA(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}kA.filterProps=["sx"];const IA=["breakpoints","palette","spacing","shape"];function LA(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=yr(e,IA),s=IR(r),l=function(e=8){if(e.mui)return e;const t=VR({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(o);let u=gp({breakpoints:s,direction:"ltr",components:{},palette:yt({mode:"light"},n),spacing:l,shape:yt({},LR,i)},a);return u.applyStyles=PA,u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=yt({},RA,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return kA({sx:e,theme:this})},u}var MA=Object.freeze({__proto__:null,default:LA,private_createBreakpoints:IR,unstable_applyStyles:PA});function _A(e=null){const t=y.useContext(Jd);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const DA=LA();function TA(e=DA){return _A(e)}function OA(e){const t=e;return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function qA({styles:e,themeId:t,defaultTheme:r={}}){const n=TA(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map((e=>OA("function"==typeof e?e(o):e))):OA(i)),Rl.jsx(up,{styles:i})}const NA=["sx"];function jA(e){const{sx:t}=e,r=yr(e,NA),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:RA;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return hp(r)?yt({},n,r):n}:yt({},n,t),yt({},o,{sx:i})}var zA=Object.freeze({__proto__:null,default:kA,extendSxProp:jA,unstable_createStyleFunctionSx:AA,unstable_defaultSxConfig:RA});const FA=["className","component"];function $A(e){if(e.type)return e;if("#"===e.charAt(0))return $A(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(bu(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(bu(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function HA(e,t){return e=$A(e),t=function(e,t=0,r=1){return ch(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}const BA=["value"],GA=y.createContext();function WA(e){let{value:t}=e,r=yr(e,BA);return Rl.jsx(GA.Provider,yt({value:null==t||t},r))}const VA=y.createContext(void 0);function UA({value:e,children:t}){return Rl.jsx(VA.Provider,{value:e,children:t})}function YA({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?lh(o.defaultProps,n):o.styleOverrides||o.variants?n:lh(o,n)}({props:e,name:t,theme:{components:y.useContext(VA)}})}const KA={};function XA(e,t,r,n=!1){return y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?yt({},t,{[e]:i}):i;return n?()=>a:a}return yt({},t,e?{[e]:r}:r)}),[e,t,r,n])}function JA(e){const{children:t,theme:r,themeId:n}=e,o=_A(KA),i=Uh()||KA,a=XA(n,o,r),s=XA(n,i,r,!0),l="rtl"===a.direction,u=function(e){const t=_A(),r=Sh()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",uh((()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var n;if(t&&null!=(n=t.hasAttribute)&&n.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",r),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${r}"]`))||i.remove()}}),[o,r]),o?Rl.jsx(qA,{styles:o}):null}(a);return Rl.jsx(Kh,{theme:s,children:Rl.jsx(Jd.Provider,{value:a,children:Rl.jsx(WA,{value:l,children:Rl.jsxs(UA,{value:null==a?void 0:a.components,children:[u,t]})})})})}function ZA(e,t){return yt({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var QA={},ek=nm;Object.defineProperty(QA,"__esModule",{value:!0});var tk=QA.alpha=hk;QA.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=uk(e),a=uk(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return dk({type:"rgb",values:s})},QA.colorChannel=void 0;var rk=QA.darken=mk;QA.decomposeColor=uk,QA.emphasize=bk;var nk=QA.getContrastRatio=function(e,t){const r=fk(e),n=fk(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};QA.getLuminance=fk,QA.hexToRgb=lk,QA.hslToRgb=pk;var ok=QA.lighten=gk;QA.private_safeAlpha=function(e,t,r){try{return hk(e,t)}catch(t){return e}},QA.private_safeColorChannel=void 0,QA.private_safeDarken=function(e,t,r){try{return mk(e,t)}catch(t){return e}},QA.private_safeEmphasize=function(e,t,r){try{return bk(e,t)}catch(t){return e}},QA.private_safeLighten=function(e,t,r){try{return gk(e,t)}catch(t){return e}},QA.recomposeColor=dk,QA.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=uk(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var ik=ek(om),ak=ek(im);function sk(e,t=0,r=1){return(0,ak.default)(e,t,r)}function lk(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function uk(e){if(e.type)return e;if("#"===e.charAt(0))return uk(lk(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,ik.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,ik.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const ck=e=>{const t=uk(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};QA.colorChannel=ck;function dk(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function pk(e){e=uk(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),dk({type:s,values:l})}function fk(e){let t="hsl"===(e=uk(e)).type||"hsla"===e.type?uk(pk(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function hk(e,t){return e=uk(e),t=sk(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,dk(e)}function mk(e,t){if(e=uk(e),t=sk(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return dk(e)}function gk(e,t){if(e=uk(e),t=sk(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return dk(e)}function bk(e,t=.15){return fk(e)>.5?mk(e,t):gk(e,t)}QA.private_safeColorChannel=(e,t)=>{try{return ck(e)}catch(t){return e}};const vk={black:"#000",white:"#fff"},yk={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},xk="#f3e5f5",Sk="#ce93d8",Ck="#ba68c8",Ek="#ab47bc",wk="#9c27b0",Rk="#7b1fa2",Ak="#e57373",kk="#ef5350",Pk="#f44336",Ik="#d32f2f",Lk="#c62828",Mk="#ffb74d",_k="#ffa726",Dk="#ff9800",Tk="#f57c00",Ok="#e65100",qk="#e3f2fd",Nk="#90caf9",jk="#42a5f5",zk="#1976d2",Fk="#1565c0",$k="#4fc3f7",Hk="#29b6f6",Bk="#03a9f4",Gk="#0288d1",Wk="#01579b",Vk="#81c784",Uk="#66bb6a",Yk="#4caf50",Kk="#388e3c",Xk="#2e7d32",Jk="#1b5e20",Zk=["mode","contrastThreshold","tonalOffset"],Qk={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:vk.white,default:vk.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},eP={text:{primary:vk.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:vk.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function tP(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=ok(e.main,o):"dark"===t&&(e.dark=rk(e.main,i)))}function rP(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=yr(e,Zk),i=e.primary||function(e="light"){return"dark"===e?{main:Nk,light:qk,dark:jk}:{main:zk,light:jk,dark:Fk}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Sk,light:xk,dark:Ek}:{main:wk,light:Ck,dark:Rk}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Pk,light:Ak,dark:Ik}:{main:Ik,light:kk,dark:Lk}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Hk,light:$k,dark:Gk}:{main:Gk,light:Bk,dark:Wk}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Uk,light:Vk,dark:Kk}:{main:Xk,light:Yk,dark:Jk}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:_k,light:Mk,dark:Tk}:{main:"#ed6c02",light:Dk,dark:Ok}}(t);function d(e){return nk(e,eP.text.primary)>=r?eP.text.primary:Qk.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=yt({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(bu(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(bu(12,t?` (${t})`:"",JSON.stringify(e.main)));return tP(e,"light",o,n),tP(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:eP,light:Qk};return gp(yt({common:yt({},vk),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:yk,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const nP=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const oP={textTransform:"uppercase"},iP='"Roboto", "Helvetica", "Arial", sans-serif';function aP(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=iP,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=yr(r,nP),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return yt({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===iP?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,oP),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,oP),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return gp(yt({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function sP(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const lP=["none",sP(0,2,1,-1,0,1,1,0,0,1,3,0),sP(0,3,1,-2,0,2,2,0,0,1,5,0),sP(0,3,3,-2,0,3,4,0,0,1,8,0),sP(0,2,4,-1,0,4,5,0,0,1,10,0),sP(0,3,5,-1,0,5,8,0,0,1,14,0),sP(0,3,5,-1,0,6,10,0,0,1,18,0),sP(0,4,5,-2,0,7,10,1,0,2,16,1),sP(0,5,5,-3,0,8,10,1,0,3,14,2),sP(0,5,6,-3,0,9,12,1,0,3,16,2),sP(0,6,6,-3,0,10,14,1,0,4,18,3),sP(0,6,7,-4,0,11,15,1,0,4,20,3),sP(0,7,8,-4,0,12,17,2,0,5,22,4),sP(0,7,8,-4,0,13,19,2,0,5,24,4),sP(0,7,9,-4,0,14,21,2,0,5,26,4),sP(0,8,9,-5,0,15,22,2,0,6,28,5),sP(0,8,10,-5,0,16,24,2,0,6,30,5),sP(0,8,11,-5,0,17,26,2,0,6,32,5),sP(0,9,11,-5,0,18,28,2,0,7,34,6),sP(0,9,12,-6,0,19,29,2,0,7,36,6),sP(0,10,13,-6,0,20,31,3,0,8,38,7),sP(0,10,13,-6,0,21,33,3,0,8,40,7),sP(0,10,14,-6,0,22,35,3,0,8,42,7),sP(0,11,14,-7,0,23,36,3,0,9,44,8),sP(0,11,15,-7,0,24,38,3,0,9,46,8)],uP=["duration","easing","delay"],cP={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},dP={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pP(e){return`${Math.round(e)}ms`}function fP(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function hP(e){const t=yt({},cP,e.easing),r=yt({},dP,e.duration);return yt({getAutoHeightDuration:fP,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return yr(n,uP),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:pP(o)} ${i} ${"string"==typeof a?a:pP(a)}`)).join(",")}},e,{easing:t,duration:r})}const mP={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},gP=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function bP(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=yr(e,gP);if(e.vars&&void 0===e.generateCssVars)throw new Error(bu(18));const s=rP(n),l=LA(e);let u=gp(l,{mixins:ZA(l.breakpoints,r),palette:s,shadows:lP.slice(),typography:aP(s,i),transitions:hP(o),zIndex:yt({},mP)});return u=gp(u,a),u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=yt({},RA,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return kA({sx:e,theme:this})},u}const vP=bP();var yP={},xP=wt(MA),SP=wt(zA),CP=nm;Object.defineProperty(yP,"__esModule",{value:!0});var EP=yP.default=function(e={}){const{themeId:t,defaultTheme:r=qP,rootShouldForwardProp:n=TP,slotShouldForwardProp:o=TP}=e,i=e=>(0,IP.default)((0,wP.default)({},e,{theme:jP((0,wP.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,AP.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=zP(NP(l))}=a,p=(0,RP.default)(a,_P),f=s&&s.startsWith("Mui")||l?"components":"custom",h=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,m=c||!1;let g=TP;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const b=(0,AP.default)(e,(0,wP.default)({shouldForwardProp:g,label:undefined},p)),v=e=>"function"==typeof e&&e.__emotion_real!==e||(0,kP.isPlainObject)(e)?n=>{const o=jP({theme:n.theme,defaultTheme:r,themeId:t});return FP(e,(0,wP.default)({},n,{theme:o}),o.modularCssLayers?f:void 0)}:e,y=(n,...o)=>{let a=v(n);const l=o?o.map(v):[];s&&d&&l.push((e=>{const n=jP((0,wP.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,r])=>{i[t]=FP(r,(0,wP.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)})),d(e,i)})),s&&!h&&l.push((e=>{var n;const o=jP((0,wP.default)({},e,{defaultTheme:r,themeId:t}));return FP({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,wP.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)})),m||l.push(i);const u=l.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=b(a,...l);return e.muiName&&(c.muiName=e.muiName),c};return b.withConfig&&(y.withConfig=b.withConfig),y}};yP.shouldForwardProp=TP,yP.systemDefaultTheme=void 0;var wP=CP(Km()),RP=CP(Zm()),AP=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=DP(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(Qm),kP=eg;CP(tg),CP(rg);var PP=CP(xP),IP=CP(SP);const LP=["ownerState"],MP=["variants"],_P=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function DP(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(DP=function(e){return e?r:t})(e)}function TP(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function OP(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const qP=yP.systemDefaultTheme=(0,PP.default)(),NP=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function jP({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function zP(e){return e?(t,r)=>r[e]:null}function FP(e,t,r){let{ownerState:n}=t,o=(0,RP.default)(t,LP);const i="function"==typeof e?e((0,wP.default)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap((e=>FP(e,(0,wP.default)({ownerState:n},o),r)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,RP.default)(i,MP);return e.forEach((e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,wP.default)({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)})),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,wP.default)({ownerState:n},o,n)):e.style;t.push(r?OP((0,AP.internal_serializeStyles)(i),r):i)}})),t}return r?OP((0,AP.internal_serializeStyles)(i),r):i}const $P=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,HP=EP({themeId:kR,defaultTheme:vP,rootShouldForwardProp:$P}),BP=["theme"];function GP(e){let{theme:t}=e,r=yr(e,BP);const n=t[kR];let o=n||t;return"function"!=typeof t&&(n&&!n.vars?o=yt({},n,{vars:null}):t&&!t.vars&&(o=yt({},t,{vars:null}))),Rl.jsx(JA,yt({},r,{themeId:n?kR:void 0,theme:o}))}var WP={exports:{}};
104
+ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=s)&&(t=(+t).toFixed(s+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],l=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%l,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),h+(r?"-":"")+n+x}},IC({exports:{}});var FC={exports:{}};self,FC.exports=(()=>{var e={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}},8:(e,t)=>{(()=>{var e={229:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{n.r(o),n.d(o,{default:()=>Me});var e=n(229),t=n.n(e);const r=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},i=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},a={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var s="".concat(" ","(").concat(" "),l="".concat(" ",")").concat(" ");function u(e){return s+e+l}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function d(e){return!(!e.fullAccumulation&&!e.fullRange)}function p(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function f(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function h(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function m(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function g(e){return void 0===e?")":", 0, ".concat(e,")")}function b(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function v(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(b("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(b("MaxString(".concat(t,")")),")'\"}")}function y(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=v(c(n[0],o),h(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var d=c(n[0],o),p=c(n[1],o),f=h(0),m=h(1),g=v(d,f),b=v(p,m);return"".concat(a,"({1<").concat(g,",").concat(b,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function x(e){return"".concat(e,"(")}function S(e){var t=e.properties,r=e.layout;return i(t,"qHyperCubeDef.qDimensions",i(r,"qHyperCube.qDimensionInfo",[])).length}const C={isFullRange:d,getNumDimensions:S,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=u(f(t));if(!r.showExcludedValues)return a;var s=y({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var c=h(0);return"If(Count(".concat(c,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var d=h(0),p=h(1);return"If(Count(".concat(d,") * Count(").concat(p,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:p,getNumStepComp:function(e,t){if(!d(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return p(e,t)},getAboveCompPrefix:m,getAboveCompSuffix:g,getAboveComp:function(e,t,r,n){return m(e,t)+r+g(n)},getFunctionPrefix:x,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return x(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:y,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout,o=function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t);return 0===o&&2===S({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=h(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:f,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(s);if(-1!==r){var n=t.indexOf(l);if(-1!==n)return t.substring(r+s.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:c,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=S({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:u,canExtract:function(e){var t=e.indexOf(s),r=e.indexOf(l);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:h,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=a.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?a.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(a.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return a.EXPRESSIONS[r]&&n.includes(a.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var R=t().bind(null,!0),A={},k=Array.isArray;function P(e){return null!=e&&!Array.isArray(e)&&"object"===w(e)}function L(e){return void 0===e}function I(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function M(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=L(e[r||t])?i:e[t],e=e[r||t]}})),e}function _(e,t){var r=!0;if(P(e)&&P(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){_(e[n],t[n])||(r=!1)})),r);if(k(e)&&k(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!_(e[n],t[n]))return!1;return!0}return e===t}A.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?R({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);_(i,a)||I(t,o)||(L(a)?n.push({op:"add",path:s,value:i}):P(i)&&P(a)?n=n.concat(A.generate(a,i,s)):k(i)&&k(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&L(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(_(t,o))return n;if(!L(t[0])&&L(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(A.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){L(t[o])&&!I(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},A.apply=function(e,t){t.forEach((function(t){var r,n,o=M(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(k(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(k(a)&&k(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return E(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(n)||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(P(a)&&P(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!I(r,e)&&delete r[e]})),R(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=M(e,t.from);k(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(k(o)?o.splice(+i,1):delete o[i])}))},A.clone=function(e){return R({},e)},A.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},A.updateObject=function(e,t){Object.keys(e).length?A.apply(e,A.generate(e,t)):R(e,t)};const D=A,T=function(e,r,n){if(!e)return Promise.resolve();var o=D.generate(r,n);return t()(!0,r,n),o&&o.length?(o=o.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(o,!0)):Promise.resolve()};var O="accumulation";function q(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===O)return r[n]}function N(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===O)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var j={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const z={translationKey:"properties.modifier.accumulation",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getNumStepComp(r,l),p=C.getAboveComp(r,l,c,d),f=C.getRangeComp("RangeSum",p);if(C.needDimension({modifier:r,properties:n,layout:o})){var h=C.getDimComp(u,1),m=C.getDimComp(u,0),g=C.getAggrComp(f,h,m);f=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,valueComp:g}):g}return f},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,j)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(N(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(N(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(N(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(N(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=q(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=q(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(N(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(O))return!1;var i=q(t,e);return i&&!i.disabled}};return r}};var F="movingAverage";function $(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===F)return r[n]}function H(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===F)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var B={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const G={translationKey:"properties.modifier.movingAverage",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,a=e.layout,s=e.numDimensions,l=e.dimensionAndFieldList;if(!n)return r;var u=s;void 0===u&&(u=C.getNumDimensions({properties:o,layout:a}));var c=i(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=C.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:l,treatMissingAsNull:d}),f=C.getNumStepComp(n,u),h=C.getAboveComp(n,u,p,f);if(n.nullSuppression)t=C.getRangeComp("RangeAvg",h);else{var m=C.getRangeComp("RangeSum",h),g=function(e,t){var r=C.getRowNoComp(e,t);if(!C.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(C.needDimension({modifier:n,properties:o,layout:a})){var v=C.getDimComp(c,1),y=C.getDimComp(c,0),x=C.getAggrComp(b,v,y);b=n.showExcludedValues?C.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:l,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:C.extractInputExpression,initModifier:function(e){C.initModifier(e,B)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(H(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(H(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(H(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(H(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=$(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=$(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat(H(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat(H(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(F))return!1;var i=$(t,e);return i&&!i.disabled}};return r}};var W="timeSeriesDecomposition";function V(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===W)return r[n]}function U(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===W)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Y={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const K={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?C.generateTSDExpression(r,t,n):t},extractInputExpression:C.extractInputExpression,initModifier:function(e,t){C.initModifier(e,Y),""===e.decomposition&&t&&(e.decomposition=C.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(U(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:a.OPTIONS},steps:{refFn:function(t){return"".concat(U(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=V(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=V(t,e);return r&&!r.fullRange}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(W))return!1;var i=V(t,e);return i&&!i.disabled}};return r}};var X="difference";function J(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===X)return r[n]}function Z(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===X)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var Q={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const ee={translationKey:"properties.modifier.difference",needDimension:C.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=C.getAboveComp(r,l,c),p="".concat(c," - ").concat(d);if(C.needDimension({modifier:r,properties:n,layout:o})){var f=C.getDimComp(u,1),h=C.getDimComp(u,0),m=C.getAggrComp(p,f,h);p=r.showExcludedValues?C.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:s,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(Q).forEach((function(t){void 0===e[t]&&(e[t]=Q[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(Z(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(Z(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(Z(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(X))return!1;var i=J(t,e);return i&&!i.disabled}};return r}};var te="normalization";function re(e,t){var r=i(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===te)return r[n]}function ne(e,t){var r=function(e,t){var r=i(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===te)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function oe(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var ie={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:2,selectionScope:2};function ae(e){return 2===e?"{1}":""}function se(e,t,r){return 1===e?"{$<".concat(C.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function le(e,t){return 0===e&&t>1||2===e?"Total":""}function ue(e,t,r){return 0===e&&t>1?"<".concat(C.getDimDefWithWrapper(r),">"):""}const ce={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return C.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:C.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,a=e.numDimensions,s=e.dimensionAndFieldList;if(!r)return t;var l=a;void 0===l&&(l=C.getNumDimensions({properties:n,layout:o}));var u=i(n,"qHyperCubeDef.qDimensions",[]),c=C.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:s}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=ae(t),l=se(t,r,n),u=""===s&&""===l?"":s||l,c=le(o,i),d=ue(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=C.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,l,r.primaryDimension)},initModifier:function(e){Object.keys(ie).forEach((function(t){void 0===e[t]&&(e[t]=ie[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!C.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(ne(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,options:function(r){return function(e,t,r){var n=[{value:0,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:1,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:2,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=oe(t,0);t.splice(r,1)}return t}(re(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(ne(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return 1===re(t,e).selectionScope}},value:{refFn:function(t){return"".concat(ne(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return 1===re(t,e).selectionScope}},dimensionalScope:{refFn:function(t){return"".concat(ne(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:2,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:0,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:1,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:2,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=oe(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=oe(t,1);t.splice(r,1)}return t}(re(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(ne(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return 0===(re(t,e).dimensionalScope||0)&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return C.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(te))return!1;var i=re(t,e);return i&&!i.disabled}};return r},getDisregardSelectionComp:ae,getFieldSelectionComp:se,getTotalComp:le,getSelectedDimComp:ue};var de="qDef.base",pe="qDef.qDef",fe="qDef.base.qDef",he="qLibraryId",me="qDef.base.qLibraryId";const ge={getExpression:function(e){var t=i(e,fe);return void 0!==t?t:i(e,pe)},getExpressionRef:function(e){return void 0!==i(e,fe)?fe:pe},getLibraryIdRef:function(e){return i(e,me)?me:he},getLibraryId:function(e){return i(e,me)||i(e,he)},getLabelRef:function(e){return i(e,de)?"qDef.base.qLabel":"qDef.qLabel"},getLabelExpressionRef:function(e){return i(e,de)?"qDef.base.qLabelExpression":"qDef.qLabelExpression"}};var be="qDef.qDef",ve="qDef.base.qDef",ye="qLibraryId",xe="qDef.base.qLibraryId",Se="qDef.qLabel",Ce="qDef.qLabelExpression",Ee="qDef.base.qLabel",we="qDef.base.qLabelExpression",Re="qDef.qAggrFunc",Ae="qDef.base.qAggrFunc",ke={initBase:function(e,t){(t||ke.isValid(e))&&(r(e,ve,i(e,be)),r(e,xe,i(e,ye)),r(e,Ee,i(e,Se)),r(e,we,i(e,Ce)))},restoreBase:function(e){ke.isValid(e)&&(r(e,be,i(e,ve)),r(e,ye,i(e,xe)),r(e,Se,i(e,Ee)),r(e,Ce,i(e,we)),i(e,Re)&&i(e,Ae)&&r(e,Re,i(e,Ae)),delete e.qDef.base)},isValid:function(e){var t=i(e,ve),r=i(e,xe);return void 0!==t||void 0!==r}};const Pe=ke;function Le(e){return Le="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},Le(e)}var Ie={accumulation:z,movingAverage:G,difference:ee,normalization:ce,timeSeriesDecomposition:K};const Me={modifiers:Ie,apply:De,applyModifiers:Te,cleanUpMeasure:Oe,destroy:function(e){e&&_e[e.id]&&_e[e.id].masterItemSubscriber&&(_e[e.id].masterItemSubscriber&&_e[e.id].masterItemSubscriber.unsubscribe(),delete _e[e.id])},hasActiveModifiers:qe,getActiveModifier:Ne,initBase:Pe.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Ie[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Ie[e]&&Ie[e].isApplicable({properties:r,layout:n})}))},measureBase:ge,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Fe(e);Ue({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||Ze({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:je};var _e={};function De(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.model,n=e.properties,o=e.isSnapshot,a=void 0!==o&&o,s=e.masterItem,l=!1;_e[r.id]=_e[r.id]||{isFirstTime:!0};var u=_e[r.id].isFirstTime;if(_e[r.id].isFirstTime=!1,n&&"object"===Le(n))return Te({model:r,properties:n});var c=r?r.layout:void 0,d=i(c,"qSelectionInfo.qInSelections");if(a||d)return Promise.resolve(l);var p=i(c,"qHyperCube.qMeasureInfo"),f=_e[r.id].lastReloadTime;if(_e[r.id].lastReloadTime=i(r,"app.layout.qLastReloadTime"),qe({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return i(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ve({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:r,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Ue({modifiers:Fe(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:s,isFirstTime:u})?r.getEffectiveProperties().then((function(e){var n=t()(!0,{},e);He(n);var o=Qe(n);return Ye({model:r}).then((function(t){return Ke({libraryIds:o,model:r}).then((function(o){return h&&function(e){var t=e.properties;ze(t).forEach((function(e){return function(e){var t=e.measure;if(Ve({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===Le(e)&&!e.disabled){if(r++,"object"!==Le(Ie[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Ie[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&Ge(t)&&C.simplifyExpression(t.qDef.base.qDef)!==C.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:n}),Te({model:r,oldProperties:e,properties:n,runUpdateIfChange:!0,masterItem:s,libraryItemsProps:o,dimensionAndFieldList:t})}))}))})):Promise.resolve(l)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===Le(e.base)}))}(p)?r.getEffectiveProperties().then((function(e){return function(e){var r=e.model,n=e.properties,o=Qe(n);return et({model:r,libraryIds:o}).then((function(){var e=t()(!0,{},n);return ze(n).forEach((function(e){return Oe(e)})),Je({oldProperties:e,newProperties:n,model:r})}))}({model:r,properties:e})})):Promise.resolve(l)}function Te(e){var r=e.model,n=e.oldProperties,o=e.properties,a=e.measures,s=e.runUpdateIfChange,l=void 0!==s&&s,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===n&&(n=l?t()(!0,{},o):o),He(o);var p=Qe(o);return et({model:r,libraryIds:p,masterItem:u}).then((function(){return function(e){var r=e.measures,n=e.properties,o=e.model,a=e.libraryItemsProps,s=e.dimensionAndFieldList;if(r||(r=ze(n)),!r.length)return Promise.resolve();if(!qe({measures:r,properties:n}))return r.forEach((function(e){return Oe(e)})),Promise.resolve();var l=a?void 0:Qe(n);return Ye({model:o,dimensionAndFieldList:s}).then((function(e){return Ke({libraryIds:l,model:o,libraryItemsProps:a}).then((function(o){r.forEach((function(r){Ue({modifiers:r.qDef.modifiers,properties:n})?(function(e){var r=e.measure,n=e.properties,o=e.libraryItemsProps,a=e.dimensionAndFieldList,s=0;Pe.isValid(r)||Pe.initBase(r,!0);var l=r.qDef,u=l.modifiers,c=l.base;Array.isArray(u)&&u.forEach((function(e){if("object"===Le(e)&&!e.disabled){if(s++,"object"!==Le(Ie[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(s>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Ie[e.type].initModifier(e,r);var l=r.qLibraryId||c&&c.qLibraryId;l?function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList,a=e.libraryItemsProps[e.libraryId],s=a.qMeasure.qDef,l=""===s?s:Ie[n.type].generateExpression({expression:s,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=l,r.qDef.qDef=n.outputExpression,(r.qDef.qLabel||a.qMeasure.qLabel)&&(r.qDef.qLabel=a.qMeasure.qLabel),(r.qDef.qLabelExpression||a.qMeasure.qLabelExpression)&&(r.qDef.qLabelExpression=a.qMeasure.qLabelExpression),r.qDef.quarantine&&r.qDef.quarantine.qNumFormat&&a.qMeasure.qNumFormat&&(r.qDef.qNumFormat=a.qMeasure.qNumFormat,r.qDef.isCustomFormatted=a.qMeasure.isCustomFormatted),delete r.qLibraryId,r.qDef.coloring=a.qMeasure.coloring,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,libraryId:l,properties:n,libraryItemsProps:o,dimensionAndFieldList:a}):function(e){var r=e.measure,n=e.modifier,o=e.properties,i=e.dimensionAndFieldList;"function"==typeof Ie[n.type].updateModifier&&Ie[n.type].updateModifier(n,o.qHyperCubeDef);var a=ge.getExpression(r),s=""===a?a:Ie[n.type].generateExpression({expression:a,modifier:n,properties:o,dimensionAndFieldList:i});n.outputExpression=s,r.qDef.qDef=n.outputExpression,r.qDef.base.qLabelExpression?r.qDef.qLabelExpression=r.qDef.base.qLabelExpression:r.qDef.qLabel=r.qDef.base.qLabel||a,n.base=t()(!0,{},r.qDef.base)}({measure:r,modifier:e,properties:n,dimensionAndFieldList:a}),function(e){var t=i(e,"qDef.qAggrFunc");"Expr"!==t||je(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&je(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(r)}}))}({measure:r,properties:n,libraryItemsProps:o,dimensionAndFieldList:e}),Be(r)):Oe(r)}))}))}))}({measures:a,properties:o,model:r,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return l?Je({oldProperties:n,newProperties:o,model:r}):Promise.resolve(!1)}))}))}function Oe(e){!function(e){var t=Fe(e);return Array.isArray(t)&&t.some((function(e){return"object"===Le(e)&&!e.disabled&&!Ie[e.type]}))}(e)?Pe.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Be(e)}function qe(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Ue({modifiers:Fe(e),properties:r,layout:n})}))}function Ne(e){var t=Fe(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Ie[n.type]&&!n.disabled)return n}}function je(e){var t=Ne(e);return!t||Ie[t.type].enableTotalsFunction(e)}function ze(e){return i(e,"qHyperCubeDef.qMeasures",[]).concat(i(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Fe(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function $e(e){return i(e,"outputExpression.qValueExpression.qExpr")||i(e,"outputExpression")}function He(e){ze(e).forEach((function(e){return function(e){var r=Ne(e);r&&(void 0!==r.outputExpression&&$e(r)!==e.qDef.qDef?delete e.qDef.base:!Pe.isValid(e)&&r.base&&(e.qDef.base=t()(!0,{},r.base)))}(e)}))}function Be(e){var t=Fe(e);Array.isArray(t)&&t.forEach((function(t){"object"===Le(t)&&(t.disabled||!Ie[t.type]&&$e(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function Ge(e){return e.base||e.qDef&&e.qDef.base}function We(e){var t=Ge(e);return e.qLibraryId||t&&t.qLibraryId}function Ve(e){var t=e.measure,r=e.properties,n=e.layout;return!We(t)&&Ue({modifiers:Fe(t),properties:r,layout:n})}function Ue(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==Le(e)||e.disabled||!Ie[e.type])&&(void 0===o[e.type]&&(o[e.type]=Ie[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Ye(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function Ke(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a}))}function Xe(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function Je(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(i(t,"qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qMeasures"),Xe)||JSON.stringify(i(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe)!==JSON.stringify(i(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),Xe);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&i(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):T(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function Ze(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===Le(e)&&!e.disabled&&Ie[e.type]&&Ie[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function Qe(e){var t=ze(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Fe(t);if(Ue({modifiers:n,properties:e})){var i=We(t);i&&r.push(i),o=o||Ze({modifiers:n,properties:e})}})),i(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function et(e){var t=e.model,r=e.libraryIds;return!e.masterItem&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(_e[t.id].masterItemSubscriber=_e[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},a={},s={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function l(e){var t={},r=i(e,"qInfo.qType");return r&&s[r]&&s[r].forEach((function(r){t[r]=i(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=l(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(e,r){return t.app[r](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),enabled:!1,properties:l(t.layout)}}))}return{subscribe:function(e){var r=e.measureLibraryIds,i=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),a={},t.forEach((function(e){a[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:i}),Object.keys(n).forEach((function(e){o[e]||a[e]||(n[e].listener.dispose(),delete n[e])})),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(c(e,"getMeasure"))})),Object.keys(a).forEach((function(e){a[e]&&!n[e]&&s.push(c(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose()})),n={}}}}({model:t,callback:function(e){return De({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),_e[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}})(),t.default=o.default,Object.defineProperty(t,"__esModule",{value:!0})})()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};return(()=>{function e(t){var r,n=t;return n>9?(r=65+n-10)>90&&(r+=6):n="".concat(n).charCodeAt(0),[48,111,79,105,73,108].indexOf(r)>-1?e(n+1):String.fromCharCode(r)}function t(r){var n=e(r%62),o=Math.floor(r/62);return o>0?t(o)+n:n}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},o(e)}r.d(n,{default:()=>He});const i={getValue:function(e,t,r){if(null==e||null==t)return r;for(var n=t.split("."),o=e,i=0;i<n.length;++i){var a=n[i];if(""!==a){if(void 0===o[a]||null===o[a])return r;o=o[a]}}return o},setValue:function(e,t,r){if(null!=e&&null!=t){for(var n=t.split("."),o=n[n.length-1],i=e,a=0;a<n.length-1;++a){var s=n[a];void 0!==i[s]&&null!==i[s]||(i[s]=Number.isNaN(+n[a+1])?{}:[]),i=i[s]}void 0!==r?i[o]=r:delete i[o]}},isEmpty:function(e){return 0===Object.keys(e).length&&e.constructor===Object},isAtomicValue:function(e){return/boolean|number|string/.test(o(e))},generateId:function(){return t(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};function a(e){return function(e){if(Array.isArray(e))return s(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 s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return function(e){if(Array.isArray(e))return u(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 u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return n;return-1}return-1}const d={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var r=e.indexOf(t[0]);if(-1!==r){for(var n=0;n<t.length;n++){var o=e.indexOf(t[n]);if(r>o)return!1;r=o}return!0}return!1},indexAdded:function(e,t){var r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)},indexRemoved:function(e,t){var r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n},findItemByPropertyValue:function(e,t,r){if(e){for(var n=0;n<e.length;n++)if(e[n][t]===r)return e[n];return null}return null},findIndexByPropertyValue:c};var p=r(8),f=r.n(p);const h=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.dimensions).push.apply(t,a(n.qDimensions));var s,l=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qDimensions");l&&(s=o.excludedDimensions).push.apply(s,a(l))},m=function(e){var t,r=e.exportFormat,n=e.qHyperCubeDef,o=r.data[0];(t=o.measures).push.apply(t,l(n.qMeasures));var a,s=i.getValue(n,"qLayoutExclude.qHyperCubeDef.qMeasures");s&&(a=o.excludedMeasures).push.apply(a,l(s))},g=function(e){var t=e.exportFormat,r=e.qHyperCubeDef,n=t.data[0];r.qInterColumnSortOrder||(r.qInterColumnSortOrder=[]),n.interColumnSortOrder=r.qInterColumnSortOrder.concat();var o=i.getValue(r,"qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder");o&&d.isOrderedSubset(o,n.interColumnSortOrder)&&(n.interColumnSortOrder=o.concat())},b=function(e){var t=e.exportFormat,r=e.properties;Object.keys(r).forEach((function(e){t.properties[e]=r[e]}))},v=function(e){var t=e.exportFormat,r=e.properties;r.qLayoutExclude||(r.qLayoutExclude={}),r.qLayoutExclude.disabled&&(Object.keys(r.qLayoutExclude.disabled).forEach((function(e){t.properties.hasOwnProperty(e)||(t.properties[e]=r.qLayoutExclude.disabled[e])})),delete r.qLayoutExclude.disabled),r.qLayoutExclude.changed&&(function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===i.getValue(e,t)&&i.setValue(e,t,e.qLayoutExclude.changed[t].from)}))}(r),delete r.qLayoutExclude.changed),r.qLayoutExclude.quarantine&&!i.isEmpty(r.qLayoutExclude.quarantine)||delete r.qLayoutExclude},y=function(e){e.forEach((function(e){f().cleanUpMeasure(e),e.qDef.modifiers&&(e.store={modifiers:e.qDef.modifiers},delete e.qDef.modifiers)}))};function x(e,t,r){var n,o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=i.getValue(e,t);if(!i.isAtomicValue(s))try{if((o=(o=(n=JSON.stringify(s)).match(/:\{/g))?o.length:0)>2&&!a)return;s=JSON.parse(n)}catch(e){return}i.getValue(e,"qLayoutExclude.quarantine")||i.setValue(e,"qLayoutExclude.quarantine",{});var l=i.getValue(e,"qLayoutExclude.quarantine");l[r]||(l[r]={}),l[r][t]=s}var S=r(909),C=r.n(S);function E(e,t){var r=C()(!0,{},t,e);return i.getValue(r,"qOtherTotalSpec.qOtherCounted")||i.setValue(r,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),i.getValue(r,"qOtherTotalSpec.qOtherLimit")||i.setValue(r,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),r.hasOwnProperty("othersLabel")||(r.othersLabel="Others"),r}function w(e,t){return C()(!0,{},t,e)}function R(e,t,r){return"function"==typeof e?e(t):Number.isNaN(+e)?r:e}var A=Math.pow(2,53)-1;function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}const L=function(e,t,r){var n="masterobject"===i.getValue(t,"properties.qInfo.qType")?"masterobject":i.getValue(r,"qInfo.qType");i.setValue(e,"qInfo.qType",n),e.visualization=r.visualization},I=function(e,t,r){t.hasOwnProperty(e)&&(r[e]=t[e])},M=function(e,t,r,n){t.hasOwnProperty(e)?r[e]=t[e]:r[e]=n},_=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}}},D=function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},T=function(e){var t,r=e.exportFormat,n=e.maxDimensions,o=e.minDimensions,i=e.newHyperCubeDef,a=e.defaultDimension,s=r.data[0];for(t=0;t<s.dimensions.length;++t){var l=E(s.dimensions[t],a);i.qDimensions.length<n?i.qDimensions.push(l):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(l)}for(t=0;t<s.excludedDimensions.length;++t){var u=E(s.excludedDimensions[t],a);i.qDimensions.length<o?i.qDimensions.push(u):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(u)}},O=function(e){var t,r=e.exportFormat,n=e.maxMeasures,o=e.minMeasures,i=e.newHyperCubeDef,a=e.defaultMeasure,s=r.data[0];for(t=0;t<s.measures.length;++t){var l=w(s.measures[t],a);i.qMeasures.length<n?i.qMeasures.push(l):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(l)}for(t=0;t<s.excludedMeasures.length;++t){var u=w(s.excludedMeasures[t],a);i.qMeasures.length<o?i.qMeasures.push(u):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(u)}},q=function(e){var t=e.exportFormat,r=e.dataDefinition,n=void 0===r?{}:r,o=t.data[0],i=n.dimensions||{max:0},a=n.measures||{max:0},s=R(a.max,o.dimensions.length,A),l=R(a.min,o.dimensions.length,0);return{maxDimensions:R(i.max,s,A),minDimensions:R(i.min,l,0),maxMeasures:s,minMeasures:l}},N=function(e){var t=e.exportFormat,r=e.newHyperCubeDef,n=t.data[0],o=r.qDimensions.length+r.qMeasures.length;r.qInterColumnSortOrder=n.interColumnSortOrder.concat();var i=r.qInterColumnSortOrder.length;if(i!==o)for(r.qLayoutExclude&&(r.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=n.interColumnSortOrder.concat());i!==o;)i<o?(d.indexAdded(r.qInterColumnSortOrder,i),++i):(--i,d.indexRemoved(r.qInterColumnSortOrder,i))},j=function(e){var t=e.exportFormat,r=e.initialProperties,n=e.hypercubePath,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=C()(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&n?i.setValue(o,"".concat(n,".qHyperCubeDef"),t.properties.qHyperCubeDef):r.hasOwnProperty(e)||-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)||function(e,t){return"components"===t&&Array.isArray(e[t])&&e[t].some((function(e){return"general"===e.key}))}(t.properties,e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),null===(o=C()(!0,{},r,o)).components&&(o.components=[]),o},z=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=t.data[0];return a.dimensions.length>r&&r>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>n||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!r&&a.dimensions.length>0},F=function(e){var t=e.exportFormat,r=e.maxDimensions,n=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=e.newHyperCubeDef,s=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(s.dimensions.length>r&&r>0||s.excludedDimensions&&s.excludedDimensions.length&&s.dimensions.length+s.excludedDimensions.length>n)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(s.measures.length>o&&o>0||s.excludedMeasures&&s.excludedMeasures.length&&s.measures.length+s.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&s.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!r&&s.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},$=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.dimensions&&"function"==typeof n.dimensions.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return k(e)}(t=a.qDimensions)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}(t)||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.")}();a.qDimensions=[],s.forEach((function(e){a.qDimensions.push(e),n.dimensions.added(e,r)}))}},H=function(e){var t,r=e.newProperties,n=e.dataDefinition,o=e.hypercubePath;if(n.measures&&"function"==typeof n.measures.added){var a=i.getValue(r,o||"").qHyperCubeDef,s=function(e){if(Array.isArray(e))return P(e)}(t=a.qMeasures)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}(t)||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.")}();a.qMeasures=[],s.forEach((function(e){a.qMeasures.push(e),n.measures.added(e,r)}))}},B=function(e){var t=e.measures,r=e.modifierTypes;t&&r&&f().isSupportedModifiers(r)&&t.forEach((function(e){e.store&&e.store.modifiers&&(e.qDef.modifiers=e.store.modifiers),delete e.store}))};function G(e,t){var r=i.getValue(e,"qLayoutExclude.quarantine",{})[t];return!!r&&(Object.keys(r).forEach((function(t){i.setValue(e,t,r[t])})),delete e.qLayoutExclude.quarantine[t],!0)}const W={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},r=0;r<e;++r)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),a=t.qProperty,s=i.getValue(a,r||""),l=s.qHyperCubeDef;return l.qInterColumnSortOrder||(l.qInterColumnSortOrder=[]),h({exportFormat:o,qHyperCubeDef:l}),m({exportFormat:o,qHyperCubeDef:l}),g({exportFormat:o,qHyperCubeDef:l}),delete l.qLayoutExclude,b({exportFormat:o,properties:a}),r&&(o.properties.qHyperCubeDef=l,delete s.qHyperCubeDef),v({exportFormat:o,properties:a}),n||y(o.properties.qHyperCubeDef.qMeasures),Array.isArray(o.properties.filters)&&(x(o.properties,"filters","storedFilters",!0),delete o.properties.filters),o.properties.qHyperCubeDef.qContextSetExpression&&(x(o.properties,"qHyperCubeDef.qContextSetExpression","storedFilters"),o.properties.qHyperCubeDef.qContextSetExpression=""),o.properties.qHyperCubeDef.qDynamicScript&&o.properties.qHyperCubeDef.qDynamicScript.length&&(x(o.properties,"qHyperCubeDef.qDynamicScript","dynamicScript"),o.properties.qHyperCubeDef.qDynamicScript=[]),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=void 0===r?{}:r,o=e.dataDefinition,a=void 0===o?{}:o,s=e.defaultPropertyValues,l=void 0===s?{}:s,u=e.hypercubePath,c=e.extension,d=e.supportedFilters,p=void 0===d||d,f=e.isHCModifierSupported,h=void 0===f||f,m={qChildren:[]},g=j({exportFormat:t,initialProperties:n,hypercubePath:u}),b=i.getValue(n,u||"").qHyperCubeDef,v=i.getValue(g,u||"").qHyperCubeDef,y=q({exportFormat:t,dataDefinition:a}),x=y.maxDimensions,S=y.minDimensions,C=y.maxMeasures,E=y.minMeasures,w=l.defaultDimension,R=void 0===w?_():w,A=l.defaultMeasure,k=void 0===A?D():A;v.qDimensions.length=0,v.qMeasures.length=0,z({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:E})&&F({exportFormat:t,maxDimensions:x,minDimensions:S,maxMeasures:C,minMeasures:E,newHyperCubeDef:v}),T({exportFormat:t,maxDimensions:x,minDimensions:S,newHyperCubeDef:v,defaultDimension:R}),O({exportFormat:t,maxMeasures:C,minMeasures:E,newHyperCubeDef:v,defaultMeasure:k}),$({newProperties:g,dataDefinition:a,hypercubePath:u}),H({newProperties:g,dataDefinition:a,hypercubePath:u}),N({exportFormat:t,newHyperCubeDef:v}),I("qMaxStackedCells",b,v),I("qNoOfLeftDims",b,v),M("qInitialDataFetch",b,v,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),M("qMode",b,v,"S"),M("qReductionMode",b,v,"N"),M("qSortbyYValue",b,v),M("qIndentMode",b,v),M("qShowTotalsAbove",b,v),L(g,t,n),m.qProperty=g;var P=i.getValue(c||{},"support.modifiers");return B({measures:v.qMeasures,modifierTypes:P}),p&&G(m.qProperty,"storedFilters"),"S"===v.qMode&&h&&G(m.qProperty,"dynamicScript"),m}};var V={cellBackgroundColor:!0,cellForegroundColor:!0,colorByAlternative:!0,colorByExpression:!0,tooltip:!0,urlLabel:!0,url:!0};function U(e,t,r,n){t=t||[];var o=c(e,n,r),i=c(t,n,r);if(-1!==o&&-1===i){var a=e.splice(o,1);t.push(a[0])}return t}function Y(e,t){return e.length!==t}const K={create:function(e,t){if(!e||!V[e])throw new Error("Attribute Expressions Util: ID required");var r={};return t&&Object.keys(t).forEach((function(e){r[e]=t[e]})),r.id=e,r.qAttribute=!0,r},moveByIdFromGroup:function(e,t,r,n,o){r=r||"qAttributeExpressions",o=o||"id";for(var i=0;i<e.length;i++){var a=e[i][r],s=t.length;if(U(a,t,n,o),Y(t,s))return t}return t},IDMAP:{CELL_BACKGROUND_COLOR:"cellBackgroundColor",CELL_FOREGROUND_COLOR:"cellForegroundColor",COLOR_BY_ALTERNATIVE:"colorByAlternative",COLOR_BY_EXPRESSION:"colorByExpression",TOOLTIP:"tooltip",CELL_LINK_LABEL:"urlLabel",CELL_LINK_URL:"url"}},X={getNumDimensions:function(e){return i.getValue(e,"qHyperCubeDef.qDimensions.length",0)},getNumMeasures:function(e){return i.getValue(e,"qHyperCubeDef.qMeasures.length",0)},wrapFieldName:function(e){return e.split(" ").length>1&&"="!==e[0]&&"["!==e[0]?"[".concat(e,"]"):e},getItemLabel:function(e){return e.label||e.name}},J={colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>0&&X.getNumMeasures(e)<=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>0},expression:function(e){return X.getNumMeasures(e)>=1}}},Z={colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}};var Q={scatterplot:Z,"sn-scatter-plot":Z,piechart:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumMeasures(e)>=1}}},linechart:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)<=1},expression:function(e){return X.getNumMeasures(e)>=1}}},map:{colorModeOptions:{primary:function(){return!0},dimension:function(e){return X.getNumDimensions(e)>=1},multiColor:function(e){return X.getNumMeasures(e)>1},measure:function(e){return X.getNumDimensions(e)>=1},expression:function(e){return X.getNumDimensions(e)>=1}}},distributionplot:{colorModeOptions:{primary:function(){return!0},dimension:function(){return!0},multiColor:function(){return!1},measure:function(){return!0},expression:function(e){return X.getNumDimensions(e)>=1}}}};function ee(e,t,r){if(Array.isArray(e[t])){var n=d.findIndexByPropertyValue(e[t],"id",r);n>=0&&e[t].splice(n,1)}else e[t]=[]}function te(e,t){var r=K.IDMAP.COLOR_BY_ALTERNATIVE;e.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)})),t.forEach((function(e){ee(e,"qAttributeDimensions",r),ee(e,"qAttributeExpressions",r)}))}function re(e,t){if(t){var r="="===t.charAt(0);e.color.altLabel=r?{qStringExpression:{qExpr:t.substr(1)}}:t}}function ne(e){var t=e.properties,r=e.isDimension,n=e.dimensions,o=e.excludedDimensions,a=e.measures,s=e.label;te(n,o);var l=n[n.length-1];if(l){var u=r?i.getValue(t,"color.byDimDef"):i.getValue(t,"color.byMeasureDef"),c=i.getValue(t,"color.formatting.qNumFormat"),p=i.getValue(t,"color.formatting.isCustomFormatted");if(u){var f=K.create(K.IDMAP.COLOR_BY_ALTERNATIVE);switch(u.type){case"expression":!function(e){var t=e.attributeExpression,r=e.label,n=e.item,o=e.isDimension,i=e.qNumFormat,a=e.isCustomFormatted;t.label=r||n.label,o?t.qDef=n.key:(t.qExpression=n.key,i&&(t.qNumFormat=i,t.isCustomFormatted=a)),t.matchMeasure=n.activeMeasureIndex,t.label&&"="===t.label.charAt(0)&&(t.labelExpRef="color.altLabel")}({attributeExpression:f,label:s,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p});break;case"libraryItem":!function(e){var t=e.attributeExpression,r=e.measures,n=e.item,o=e.qNumFormat,i=e.isCustomFormatted;e.isDimension||(t.matchMeasure=d.findIndexByPropertyValue(r,"qLibraryId",n.key),o&&(t.qNumFormat=o,t.isCustomFormatted=i)),void 0!==n.expression?t.qExpression=n.expression:t.qLibraryId=n.key,t.colorMapRef=n.key}({attributeExpression:f,measures:a,item:u,isDimension:r,qNumFormat:c,isCustomFormatted:p})}r?(f.qSortBy={qSortByAscii:1},l.qAttributeDimensions.push(f)):l.qAttributeExpressions.push(f)}}}function oe(e,t,r,n){var o,i,a,s={};switch(e){case"dimension":r.qLibraryId?(s.type="dimension",s.name=r.qLibraryId,s.id=r.qLibraryId):(s.type="field",t?(s.name=r.label||r.qDef,s.id=r.qDef):(s.name=r.qDef.qFieldDefs[0],s.label=(a=r.qDef).qLabelExpression?a.qLabelExpression:a.qFieldLabels&&a.qFieldLabels[0]?a.qFieldLabels[0]:a.qFieldDefs[0]));break;case"measure":o=function(e,t){return t?e.qLibraryId:f().measureBase.getLibraryId(e)}(r,t),o?(s.type="measure",s.name=o,s.id=o,i=function(e,t){return f().hasActiveModifiers({measures:[e]})&&t?e.qDef.qDef:void 0}(r,n),i&&(s.expression=i)):(s.type="expression",t?(s.name=r.label||r.qExpression,s.id=r.qExpression):(s.name=r.qDef.qDef,s.label=function(e){var t=e.qDef;return t.qLabelExpression?t.qLabelExpression:t.qLabel?t.qLabel:t.qDef}(r)));break;default:throw new Error('columnType should be "dimension" or "measure"')}return s}const ie={useMasterNumberFormat:function(e){e.quarantine={qNumFormat:e.qNumFormat||{},isCustomFormatted:e.isCustomFormatted||!1},e.qNumFormat=null,e.isCustomFormatted=void 0}};function ae(e,t,r,n){var o=t.type,i=e.color,a=i.mode,s=X.getItemLabel(t);switch(re(e,s||""),o){case"field":a="byDimension",i.byDimDef={label:t.label||X.wrapFieldName(t.name),key:X.wrapFieldName(t.name),type:"expression",activeDimensionIndex:t.activeDimensionIndex};break;case"expression":a="byMeasure",i.byMeasureDef={label:s,key:t.name,type:"expression",activeMeasureIndex:t.activeMeasureIndex};break;case"dimension":a="byDimension",i.byDimDef={label:t.name,key:t.id,type:"libraryItem",activeDimensionIndex:t.activeDimensionIndex};break;case"measure":a="byMeasure",i.byMeasureDef={label:t.name,key:t.id,expression:t.expression,type:"libraryItem",activeMeasureIndex:t.activeMeasureIndex},i.formatting&&ie.useMasterNumberFormat(i.formatting)}i.auto=!1,i.mode=a}function se(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byDimDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeDimensionIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"color.byDimDef");n.activeDimensionIndex=Math.min(n.activeDimensionIndex,r.length-1);var o=oe("dimension",!1,r[n.activeDimensionIndex]);o.activeDimensionIndex=n.activeDimensionIndex,ae(e,o)}(e,t);else if(function(e){return!e||!e.key}(a)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=r[function(e,t,r){var n=i.getValue(t,"visualization"),o=r.split("."),a=Number(o[1]),s=i.getValue(t,"layers.".concat(a,".type"));return 2===e.length&&"map"===n&&"point"===s}(r,e,t)?0:r.length-1],o=K.IDMAP.COLOR_BY_ALTERNATIVE,a=d.findItemByPropertyValue(n.qAttributeDimensions,"id",o);return ae(e,oe("dimension",!!a,a||n)),!!a}(e,t))return;ne({properties:e,isDimension:!0,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byDimDef.label")})}const le=function(e,t,r){i.setValue(e,t,r),i.isAtomicValue(r)&&function(e,t,r){var n=e.qLayoutExclude;n&&(n.changed||(n.changed={}),n.changed[t]={from:i.getValue(e,t),to:r})}(e,t,r)},ue=function(e,t){var r={primary:!0};if(e){var n=(Q[t]||J).colorModeOptions||J.colorModeOptions;r.byDimension=n.dimension(e),r.byMeasure=n.measure(e),r.byMultiple=n.multiColor(e),r.byExpression=n.expression(e)}return r},ce=function(e){var t=e.canColorBy,r=e.autoColor,n=e.colorMode,o=e.dimensions;return!(t[n]&&!r&&("byDimension"!==n&&"byMeasure"!==n||!o.length))},de=function(e,t){var r,n=i.getValue(e,"color.mode"),o=i.getValue(e,"color.auto"),a=i.getValue(e,"".concat(t,"qDimensions"),[]),s=i.getValue(e,"".concat(t,"qMeasures"),[]),l=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);o?te(a,l):!(r={auto:o,colorMode:n,dimensions:a}).auto&&"byDimension"===r.colorMode&&r.dimensions.length>0?se(e,t):function(e){var t=e.auto,r=e.colorMode,n=e.dimensions,o=e.measures,a=e.properties,s=i.getValue(a,"visualization");return!(t||"byMeasure"!==r||!n.length||"map"!==s&&!o.length)}({auto:o,colorMode:n,dimensions:a,measures:s,properties:e})?function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]),a=i.getValue(e,"color.byMeasureDef");if(a&&re(e,a.label),function(e){return!!(e&&e.activeMeasureIndex>-1)}(a))!function(e,t){var r=i.getValue(e,"".concat(t,"qMeasures"),[]),n=i.getValue(e,"color.byMeasureDef");if(n.activeMeasureIndex=Math.min(n.activeMeasureIndex,r.length-1),n.activeMeasureIndex>-1){var o=oe("measure",!1,r[n.activeMeasureIndex],!0);o.activeMeasureIndex=n.activeMeasureIndex,ae(e,o)}}(e,t);else if(function(e,t){return(!e||!e.key)&&t.length>0}(a,n)&&function(e,t){var r=i.getValue(e,"".concat(t,"qDimensions"),[]),n=i.getValue(e,"".concat(t,"qMeasures"),[]),o=r[r.length-1],a=K.IDMAP.COLOR_BY_ALTERNATIVE,s=d.findItemByPropertyValue(o.qAttributeExpressions,"id",a);return ae(e,oe("measure",!!s,s||n[0])),!!s}(e,t))return;ne({properties:e,isDimension:!1,dimensions:r,excludedDimensions:o,measures:n,label:i.getValue(e,"color.byMeasureDef.label")})}(e,t):function(e,t){var r=i.getValue(e,"color.mode"),n=i.getValue(e,"".concat(t,"qDimensions"),[]),o=i.getValue(e,"".concat(t,"qMeasures"),[]),a=i.getValue(e,"".concat(t,"qLayoutExclude.qHyperCubeDef.qDimensions"),[]);"byMultiple"===r&&o.length<2&&i.setValue(e,"color.mode","primary"),te(n,a)}(e,t)},pe=function(e){e.forEach((function(e){e.qOtherTotalSpec&&"qTotalMode"in e.qOtherTotalSpec&&delete e.qOtherTotalSpec.qTotalMode}))},fe=function(e){var t=e.shouldUpdateColorBy,r=e.properties,n=i.getValue(r,"qHyperCubeDef.qMeasures",[]),o=i.getValue(r,"color.mode","");return!t&&"byExpression"===o&&n.length>0},he=function(e){var t=i.getValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",[]),r=i.getValue(e,"color.colorExpression","");t.splice(0,0,{qExpression:r,id:"colorByExpression"}),i.setValue(e,"qHyperCubeDef.qMeasures.0.qAttributeExpressions",t)},me=function(e){i.setValue(e,"color.mode","primary"),i.setValue(e,"color.auto",!0)},ge=function(e){var t=i.getValue(e,"qHyperCubeDef.qDimensions",[]),r=i.getValue(e,"color.persistent",!1);return t.length>1&&!r},be={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=W.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),i=o.data[0],a=i.dimensions.concat(i.excludedDimensions),s=i.measures.concat(i.excludedMeasures),l=K.IDMAP,u=l.COLOR_BY_ALTERNATIVE,c=l.COLOR_BY_EXPRESSION;return K.moveByIdFromGroup(a,[],"qAttributeDimensions",u),K.moveByIdFromGroup(a,[],"qAttributeExpressions",u),K.moveByIdFromGroup(s,[],"qAttributeExpressions",c),o},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,a=e.hypercubePath,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=W.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:a,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty,p=i.getValue(d,"visualization"),f=i.getValue(d,"qHyperCubeDef.qDimensions",[]),h=i.getValue(d,"color.mode",""),m=i.getValue(d,"color.auto",""),g=ue(d,p),b=ce({canColorBy:g,autoColor:m,colorMode:h,dimensions:f});return g[h]?fe({shouldUpdateColorBy:b,properties:d})&&he(d):me(d),b&&de(d,"qHyperCubeDef."),ge(d)&&le(d,"color.persistent",!0),pe(f),c}};var ve=["bar","marker","line"];const ye=function(e){var t=e.initialProperties,r=e.properties;t.measureAxis&&void 0===t.measureAxis.autoMinMax?G(r,"unsupportedAutoMinMax")||C()(r.measureAxis,t.measureAxis):G(r,"supportedAutoMinMax")||C()(r.measureAxis,t.measureAxis)},xe=function(e){var t,r=e.exportFormat,n=e.initialProperties,o=e.properties,i=e.measureType,a=o.qHyperCubeDef,s=o.measureAxis;if(function(e){var t=e.initialProperties;return!(!e.exportFormat.properties.measureAxes||t.measureAxes||!t.measureAxis||void 0===t.measureAxis.autoMinMax)}({exportFormat:r,initialProperties:n})){var l=function(e){var t=[];return e.qMeasures.length>0&&e.qMeasures.forEach((function(e){if(e.qDef.series){var r=e.qDef.series,n=r.type,o=r.axis;t[o]||(t[o]={axis:o,type:{line:0,marker:0,bar:0,total:0}}),ve.includes(n)&&t[o].type[n]++,t[o].type.total++}})),t}(a);l.length?(i&&(t=l.filter((function(e){return e.type[i]>0})).sort((function(e,t){return t.type[i]-e.type[i]}))),t&&t.length||(t=l.sort((function(e,t){return t.type.total-e.type.total}))),t&&t[0]&&C()(s,r.properties.measureAxes[t[0].axis])):C()(s,r.properties.measureAxes[0])}},Se=function(e){if(e.qDimensions.length>1){var t=e.qInterColumnSortOrder.indexOf(0);if(0!==t){var r=e.qInterColumnSortOrder[0];e.qInterColumnSortOrder[0]=0,e.qInterColumnSortOrder[t]=r}}},Ce={exportProperties:function(e){var t=e.propertyTree,r=e.hypercubePath,n=e.viewDataMode,o=e.supportedAutoMinMax,i=void 0===o||o,a=be.exportProperties({propertyTree:t,hypercubePath:r,viewDataMode:n}),s=a.properties;return i?(x(s,"measureAxis.min","supportedAutoMinMax"),x(s,"measureAxis.max","supportedAutoMinMax")):(x(s,"measureAxis.min","unsupportedAutoMinMax"),x(s,"measureAxis.max","unsupportedAutoMinMax")),a},importProperties:function(e){var t=e.exportFormat,r=e.initialProperties,n=e.dataDefinition,o=e.defaultPropertyValues,i=e.hypercubePath,a=e.measureType,s=e.extension,l=e.supportedFilters,u=e.isHCModifierSupported,c=be.importProperties({exportFormat:t,initialProperties:r,dataDefinition:n,defaultPropertyValues:o,hypercubePath:i,extension:s,supportedFilters:l,isHCModifierSupported:u}),d=c.qProperty;return ye({initialProperties:r,properties:d}),xe({exportFormat:t,initialProperties:r,properties:d,measureType:a}),Se(d.qHyperCubeDef),d.qHyperCubeDef.qColumnOrder=[],d.qHyperCubeDef.columnOrder=[],c}};function Ee(e,t,r){return"qLayoutExclude.quarantine.".concat(e,".").concat(t,".").concat(r)}function we(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,a);if(void 0!==s){var l=i.getValue(o,"qDef.cId");l||(l=i.generateId(),i.setValue(o,"qDef.cId",l));var u=Ee(r,n,l);i.setValue(t,u,s),i.setValue(o,a,void 0)}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}function Re(e){var t=e.properties,r=e.arrayPath,n=e.quarantineName,o=e.arrayName,a=e.itemPath;i.getValue(t,r,[]).forEach((function(e){return function(e){var t=e.properties,r=e.quarantineName,n=e.arrayName,o=e.item,a=e.itemPath,s=i.getValue(o,"qDef.cId");if(s){var l=Ee(r,n,s),u=i.getValue(t,l);void 0!==u&&(i.setValue(o,a,u),i.setValue(t,l,void 0))}}({properties:t,quarantineName:n,arrayName:o,item:e,itemPath:a})}))}var Ae="qHyperCubeDef.qMeasures",ke="conditionalColoring",Pe="measures",Le="qDef.conditionalColoring";const Ie={quarantine:function(e){we({properties:e,arrayPath:Ae,quarantineName:ke,arrayName:Pe,itemPath:Le})},unquarantine:function(e){Re({properties:e,arrayPath:Ae,itemPath:Le,arrayName:Pe,quarantineName:ke})}};var Me="qHyperCubeDef.qMeasures",_e="measures",De="qHyperCubeDef.qDimensions",Te="dimensions",Oe="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",qe="alternativeMeasures",Ne="qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions",je="alternativeDimensions",ze="qCalcCondition",Fe="conditionalShowHide";const $e={quarantine:function(e){we({properties:e,arrayPath:Me,quarantineName:Fe,arrayName:_e,itemPath:ze}),we({properties:e,arrayPath:De,quarantineName:Fe,arrayName:Te,itemPath:ze})},unquarantine:function(e){Re({properties:e,arrayPath:Me,quarantineName:Fe,arrayName:_e,itemPath:ze}),Re({properties:e,arrayPath:De,quarantineName:Fe,arrayName:Te,itemPath:ze})},quarantineAlternative:function(e){we({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:ze}),we({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:je,itemPath:ze})},unquarantineAlternative:function(e){Re({properties:e,arrayPath:Oe,quarantineName:Fe,arrayName:qe,itemPath:ze}),Re({properties:e,arrayPath:Ne,quarantineName:Fe,arrayName:je,itemPath:ze})}},He={hypercube:W,colorChart:be,axisChart:Ce,quarantineProperty:x,unquarantineProperty:G,quarantineArrayProp:we,unquarantineArrayProp:Re,conditionalColoring:Ie,conditionalShow:$e}})(),n.default})();var $C=Et(FC.exports);const HC="qHyperCubeDef.qMeasures",BC="measures",GC="qHyperCubeDef.qDimensions",WC="dimensions",VC="qDef.representation",UC="tableRepresentation",YC="qDef.conditionalColoring",KC="conditionalColoring",XC="qMiniChartDef",JC="miniChartDef",ZC=(e,t,r)=>{const n=e.length+t.length,o=((null==r?void 0:r.length)===n?r:Array.from(Array(n).keys())).map((r=>((e,t,r)=>{var n;const o=t.length,i=e<o?t[e]:r[e-o],{columnWidth:a}=i.qDef;return"pixels"===(null==a?void 0:a.type)?null!==(n=a.pixels)&&void 0!==n?n:pS.PixelsDefault:-1})(r,e,t)));return o},QC=({propertyTree:e,hyperCubePath:t})=>{const r=$C.hypercube.exportProperties({propertyTree:e,hyperCubePath:t}),{qHyperCubeDef:{qColumnOrder:n,qDimensions:o,qMeasures:i}}=r.properties,a=ZC(o,i,n);return _C(r,"properties.qHyperCubeDef",{...r.properties.qHyperCubeDef,columnWidths:a}),$C.quarantineProperty(r.properties,"qHyperCubeDef.columnWidths","straightTableColumnWidths"),$C.quarantineProperty(r.properties,"qHyperCubeDef.qColumnOrder","straightTableColumnOrder"),$C.quarantineProperty(r.properties,"qHyperCubeDef.columnOrder","straightTableColumnOrder"),(e=>{$C.quarantineArrayProp({properties:e,arrayPath:GC,itemPath:VC,arrayName:WC,quarantineName:UC}),$C.quarantineArrayProp({properties:e,arrayPath:HC,itemPath:VC,arrayName:BC,quarantineName:UC}),$C.quarantineArrayProp({properties:e,arrayPath:HC,itemPath:YC,arrayName:BC,quarantineName:KC}),$C.quarantineArrayProp({properties:e,arrayPath:HC,itemPath:XC,arrayName:BC,quarantineName:JC})})(r.properties),r};const eE=/^q[A-Z]/,tE=[/\bqnDec\b/,/\bqv\b/,/\bcId\b/,/^title$/,/^subtitle$/,/^footnote$/,/^qLayoutExclude\b.+/],rE=e=>"object"==typeof e&&null!==e,nE=(e,t)=>(Object.entries(e).forEach((([r,n])=>{const o=void 0===t?r:`${t}.${r}`;((e,t)=>!eE.test(e)&&!tE.some((e=>e.test(t))))(r,o)?delete e[r]:Array.isArray(n)?e[r]=n.map(((e,t)=>rE(e)?nE(e,`${o}.${t}`):e)):rE(n)&&(e[r]=nE(n,o))})),e),oE=(e,t,r,n)=>{let o=t;n&&(o=t-n);const i=JSON.parse(JSON.stringify(e[o]));if(Array.isArray(r)&&r.length>0){const e=r[t];i.qDef.columnWidth="number"==typeof e&&e>0?{type:fS.Pixels,pixels:e}:{type:fS.FitToContent}}return i},iE=({exportFormat:e,initialProperties:t,extension:r,hypercubePath:n,defaultPropertyValues:o,viewDataMode:i})=>{if(i){try{e=structuredClone(e)}catch(e){console.error("Failed to copy source properties",e)}nE(e.properties)}const a=$C.hypercube.importProperties({exportFormat:e,initialProperties:t,dataDefinition:{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}},defaultPropertyValues:o,hypercubePath:n,extension:r});if($C.conditionalShow.unquarantine(a.qProperty),i)_C(a,"qProperty.totals.show",!1),_C(a,"qProperty.usePagination",!0);else{$C.unquarantineProperty(a.qProperty,"straightTableColumnOrder"),(e=>{$C.unquarantineArrayProp({properties:e,arrayPath:GC,itemPath:VC,arrayName:WC,quarantineName:UC}),$C.unquarantineArrayProp({properties:e,arrayPath:HC,itemPath:VC,arrayName:BC,quarantineName:UC}),$C.unquarantineArrayProp({properties:e,arrayPath:HC,itemPath:YC,arrayName:BC,quarantineName:KC}),$C.unquarantineArrayProp({properties:e,arrayPath:HC,itemPath:XC,arrayName:BC,quarantineName:JC})})(a.qProperty);const{qHyperCubeDef:{qDimensions:e,qMeasures:t,qColumnOrder:r,columnWidths:n}}=a.qProperty,{dimensions:o,measures:i}=((e,t,r,n)=>{const o=e.length,i=o+t.length,a=(null==r?void 0:r.length)===i?r:Array.from(Array(i).keys());return{dimensions:a.filter((e=>e<o)).map((t=>oE(e,t,n))),measures:a.filter((e=>e>=o)).map((e=>oE(t,e,n,o)))}})(e,t,r,n);Array.isArray(n)&&n.length>0&&(_C(a,"qProperty.qHyperCubeDef.qDimensions",o),_C(a,"qProperty.qHyperCubeDef.qMeasures",i))}return a};var aE={component:"items",items:{columnHandler:{component:"column-handler",search:!0,selectAll:!1}},classification:{tags:["exploration"],exclusive:!0}};function sE(e,t){let r;for(r=0;r<e.length;++r)e[r]>=0&&e[r]>=t&&++e[r];e.push(t)}function lE(e,t){let r,n=0;for(r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function uE(e){return e>0?0:1}function cE(e){return e.translator.get("Visualizations.Descriptions.Column")}function dE(e){return{measures:{min:uE,max:1e3,description:()=>cE(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;sE(n,r.getDimensions().length+r.getMeasures().length-1)},remove(e,t,r,n){const{qColumnOrder:o}=r.hcProperties;lE(o,(r.hcProperties.qDimensions?r.hcProperties.qDimensions.length:0)+n)}},dimensions:{min:uE,max:1e3,description:()=>cE(e),add(e,t,r){const{qColumnOrder:n}=r.hcProperties;return sE(n,r.getDimensions().length-1),e},remove(e,t,r,n){if(null!=e&&e.isAlternative)return;const{qColumnOrder:o}=r.hcProperties;lE(o,n)}}}}let pE=function(e){return e.Text="text",e.Link="link",e.Image="image",e.ImagesInIndentMode="imagesInIndentMode",e.Indicator="indicator",e.MiniChart="miniChart",e.EditableText="editableText",e.EditableSelector="editableSelector",e}({}),fE=function(e){return e.Attribute="attribute",e.Dimension="dimension",e.Measure="measure",e}({});const hE=e=>{switch(null==e?void 0:e.type){case"url":return pE.Link;case"image":return pE.Image;case"indicator":return pE.Indicator;case"miniChart":return pE.MiniChart;default:return pE.Text}},mE=({isImagesEnabled:e,supportedFeaturesInIndentMode:t})=>{const{isImagesSupportedInIndentMode:r}=null!=t?t:{};return{uses:"dimensionRepresentationItems.representationType",options(t,n,o){const{qIndentMode:i}=o.properties.qHyperCubeDef,a=[{value:"text",translation:"Object.Table.Representation.Text"},{value:"url",translation:"Object.Table.Representation.Link"}];return(!i&&e||i&&r)&&a.push({value:"image",translation:"Object.Table.Representation.Image"}),a}}},gE=(e,t)=>{if(e||t)return{representationImage:{uses:"dimensionRepresentationItems.representationImage",show:e=>hE(e.qDef.representation)===pE.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]},...t&&{imageBoxWidth:{ref:"qDef.representation.imageBox.width",translation:"properties.pivot.representation.image.imageBox.width",type:"number",expression:"optional",defaultValue:24,show:(e,t,r)=>{var n,o;if(!r.properties.qHyperCubeDef)return!1;const{qInterColumnSortOrder:i,qNoOfLeftDims:a,qDimensions:s,qIndentMode:l}=r.properties.qHyperCubeDef;let u=!1;null==i||i.indexOf(-1);const c=null!==(n=null==s?void 0:s.indexOf(e))&&void 0!==n?n:1/0;return(null!==(o=null==i?void 0:i.slice(0,a))&&void 0!==o?o:[]).indexOf(c)>-1&&(u=!0),u&&l}}}}}}},bE=e=>{var t,r;const{anything:n,flags:o}=e,i=o.isEnabled("CLIENT_IM_5975_INDENT_MODE_IMAGES"),a=o.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES")&&!(null!==(t=n.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"tableImages"));return{representationType:mE({isImagesEnabled:a,supportedFeaturesInIndentMode:{isImagesSupportedInIndentMode:i}}),representationUrlPosition:{uses:"dimensionRepresentationItems.representationUrlPosition",show:e=>hE(e.qDef.representation)===pE.Link},representationUrlLabel:{uses:"dimensionRepresentationItems.representationUrlLabel",show:e=>{var t;return hE(e.qDef.representation)===pE.Link&&(null===(t=e.qDef.representation)||void 0===t?void 0:t.urlPosition)===fE.Dimension}},representationLinkUrl:{uses:"dimensionRepresentationItems.representationLinkUrl",show:e=>{var t;return hE(e.qDef.representation)===pE.Link&&(null===(t=e.qDef.representation)||void 0===t?void 0:t.urlPosition)===fE.Attribute}},...gE(a,i)}},vE=(e,t)=>{var r;const{anything:n}=e,o=null===(r=n.sense)||void 0===r?void 0:r.isUnsupportedFeature,i=!(null!=o&&o("tableImages"))&&t[pE.Image],a=!(null!=o&&o("qMiniChartDef"))&&t[pE.MiniChart],s=!(null!=o&&o("tableIndicators"))&&t[pE.Indicator],l=i&&t[pE.ImagesInIndentMode];return{representationType:{uses:"measureRepresentationItems.representationType",options:(e,t,r)=>(e=>{var t;const{qIndentMode:r}=null!==(t=e.properties.qHyperCubeDef)&&void 0!==t?t:{},n=[{value:"text",translation:"Object.Table.Representation.Text"}];return(!r&&i||r&&l)&&n.push({value:"image",translation:"Object.Table.Representation.Image"}),s&&n.push({value:"indicator",translation:"Object.Table.Representation.Indicator"}),a&&n.push({value:"miniChart",translation:"Common.MiniChart"}),n})(r)},representationImage:i?{uses:"measureRepresentationItems.representationImage",show:e=>hE(e.qDef.representation)===pE.Image,items:{imageSize:{options:[{value:"alwaysFit",translation:"properties.backgroundImage.sizeAlwaysFit"},{value:"fitWidth",translation:"properties.backgroundImage.sizeFitWidth"},{value:"fitHeight",translation:"properties.backgroundImage.sizeFitHeight"},{value:"fill",translation:"properties.backgroundImage.sizeStretch"},{value:"originalSize",translation:"properties.backgroundImage.originalSize"}]}}}:void 0,representationIndicator:s?{uses:"measureRepresentationItems.representationIndicator"}:void 0,representationMiniChart:a?{uses:"measureRepresentationItems.representationMiniChart"}:void 0}};var yE,xE={};yE=xE,(()=>{var e={909:e=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;if(o)return o(e,r).value}return e[r]};e.exports=function e(){var t,r,n,o,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(r in t)n=l(d,r),d!==(o=l(t,r))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=n&&i(n)?n:[]):c=n&&a(n)?n:{},s(d,{name:r,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:r,newValue:o}));return d}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};r.r(n),r.d(n,{default:()=>Oe});var o=r(909),i=r.n(o);const a=function(e,t,r){if(!t)return!1;var n,o=t.split("."),i=o[o.length-1],a=e;for(n=0;n<o.length-1;++n)void 0===a[o[n]]&&(a[o[n]]=Number.isNaN(+o[n+1])?{}:[]),a=a[o[n]];if(void 0!==r){var s=a[i];return a[i]=r,{updated:r,previous:s}}return delete a[i],!1},s=function(e,t,r){var n,o=t.split("."),i=e;if(void 0===i)return r;for(n=0;n<o.length;++n){if(void 0===i[o[n]])return r;i=i[o[n]]}return i},l={EXPRESSIONS:{observed:"",trend:"STL_Trend",seasonal:"STL_Seasonal",residual:"STL_Residual"},OPTIONS:[{value:"observed",translation:"cao.trendDecomposition.parameters.decomposition.observed"},{value:"trend",translation:"cao.trendDecomposition.parameters.decomposition.trend"},{value:"seasonal",translation:"cao.trendDecomposition.parameters.decomposition.seasonal"},{value:"residual",translation:"cao.trendDecomposition.parameters.decomposition.residual"}]};var u="".concat(" ","(").concat(" "),c="".concat(" ",")").concat(" ");function d(e){return u+e+c}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.qLibraryId){var r=function(e,t){if(!t)return null;var r,n;for(r=0;r<t.length;r++)if((n=t[r]).qInfo.qId===e)return n;return null}(e.qLibraryId,t.dimensionList);return r&&r.qData.info[0].qTags.indexOf("$numeric")>-1}var n=function(e,t){if(!t)return null;var r,n,o=function(e){var t=e.trim();"="===t.charAt(0)&&(t=(t=t.substring(1)).trim());var r=t.length-1;return"["===t.charAt(0)&&"]"===t.charAt(r)&&(t=(t=t.substring(1,r)).trim()),t}(e);for(r=0;r<t.length;r++){if((n=t[r]).qName===o)return n;if(n.qDerivedFieldData)for(var i=0;i<n.qDerivedFieldData.qDerivedFieldLists.length;++i)for(var a=n.qDerivedFieldData.qDerivedFieldLists[i],s=0;s<a.qFieldDefs.length;++s){var l=a.qFieldDefs[s];if(l.qName===o)return l}}return null}(e.qDef.qFieldDefs[0],t.fieldList);return n&&n.qTags.indexOf("$numeric")>-1}function f(e){return!(!e.fullAccumulation&&!e.fullRange)}function h(e,t){var r=e.crossAllDimensions;return 2===t&&r?"RowNo(Total)":"RowNo()"}function m(e){var t=function(e){return e?(e=function(e){return e.replace(/\/\*[^]*?\*\//g,"")}(e=function(e){return e.replace(/\/\/(.*)$/gm,"")}(e))).trim():""}(e),r=t.trim();return"="===r.substring(0,1)?r.substring(1).trim():r}function g(){return"[$(=Replace(GetObjectField(".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,"),']',']]'))]")}function b(e,t){var r=e.crossAllDimensions;return 2===t&&r?"Above(Total ":"Above("}function v(e){return void 0===e?")":", 0, ".concat(e,")")}function y(e){return"Replace(Replace(".concat(e,",'''',''''''),'$','$''&''')")}function x(e,t){return e?"".concat(t,'={">=$(=Min(').concat(t,"))<=$(=Max(").concat(t,'))"}'):"".concat(t,'={"=Only({1}').concat(t,")>='$(=").concat(y("MinString(".concat(t,")")),")' and Only({1}").concat(t,")<='$(=").concat(y("MaxString(".concat(t,")")),")'\"}")}function S(e){var t=e.modifier,r=void 0===t?{}:t,n=e.dimensions,o=e.dimensionAndFieldList,i=e.funcComp,a=void 0===i?"Sum":i,s=e.valueComp,l=void 0===s?"0":s;if(!r.showExcludedValues)return"";if(n&&1===n.length){var u=x(p(n[0],o),g(0));return"".concat(a,"({1<").concat(u,">}").concat(l,")")}if(n&&2===n.length){var c=p(n[0],o),d=p(n[1],o),f=g(0),h=g(1),m=x(c,f),b=x(d,h);return"".concat(a,"({1<").concat(m,",").concat(b,">}").concat(l,")")}return"".concat(a,"({1}").concat(l,")")}function C(e){return"".concat(e,"(")}function E(e){var t=e.properties,r=e.layout;return s(t,"qHyperCubeDef.qDimensions",s(r,"qHyperCube.qDimensionInfo",[])).length}const w={isFullRange:f,getNumDimensions:E,getExpressionWithExcludedComp:function(e){var t=e.expression,r=e.modifier,n=e.dimensions,o=e.dimensionAndFieldList,i=e.treatMissingAsNull,a=d(m(t));if(!r.showExcludedValues)return a;var s=S({modifier:r,dimensions:n,dimensionAndFieldList:o}),l=i?"":", 0";if(n&&1===n.length){var u=g(0);return"If(Count(".concat(u,") > 0, ").concat(a," + ").concat(s).concat(l,")")}if(n&&2===n.length){var c=g(0),p=g(1);return"If(Count(".concat(c,") * Count(").concat(p,") > 0, ").concat(a," + ").concat(s).concat(l,")")}return a},getRowNoComp:h,getNumStepComp:function(e,t){if(!f(e)){var r=e.steps;return"number"!=typeof r||Number.isNaN(r)?6:r}return h(e,t)},getAboveCompPrefix:b,getAboveCompSuffix:v,getAboveComp:function(e,t,r,n){return b(e,t)+r+v(n)},getFunctionPrefix:C,getFunctionSuffix:function(){return")"},getRangeComp:function(e,t){return C(e)+t+")"},getAggrComp:function(e,t,r){return"Aggr(".concat(e,", ").concat(t,", ").concat(r,")")},getExcludedComp:S,needDimension:function(e){var t=e.modifier,r=e.properties,n=e.layout;return 0===function(e){return void 0===e.primaryDimension?e.accumulationDimension:e.primaryDimension}(t)&&2===E({properties:r,layout:n})},getDimComp:function(e,t){var r=function(e){return e[arguments.length>1&&void 0!==arguments[1]?arguments[1]:0].qDef.qSortCriterias[0]}(e,t),n=g(t);if(!r.qSortByExpression&&!r.qSortByNumeric&&!r.qSortByAscii)return n;var o=["Descending","Ascending"],i=r.qSortByNumeric?"(Numeric, ".concat(o[(r.qSortByNumeric+1)/2],")"):"",a=r.qSortByAscii?"(Text, ".concat(o[(r.qSortByAscii+1)/2],")"):"";return r.qSortByNumeric&&r.qSortByAscii?"(".concat(n,", ").concat(i,", ").concat(a,")"):r.qSortByNumeric?"(".concat(n,", ").concat(i,")"):r.qSortByAscii?"(".concat(n,", ").concat(a,")"):n},simplifyExpression:m,extractInputExpression:function(e){var t=e.outputExpression;if(e.modifier){var r=t.indexOf(u);if(-1!==r){var n=t.indexOf(c);if(-1!==n)return t.substring(r+u.length,n)}}},initModifier:function(e,t){Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=t[r])}))},isNumeric:p,isApplicable:function(e){var t=e.properties,r=e.layout,n=e.minDimensions,o=void 0===n?1:n,i=e.maxDimensions,a=void 0===i?2:i;if(!t&&!r)return!0;var s=E({properties:t,layout:r});return s>=o&&s<=a},getExpressionWithMarkers:d,canExtract:function(e){var t=e.indexOf(u),r=e.indexOf(c);return t>-1&&r>-1&&t<r},getDimDefWithWrapper:g,getFieldWithWrapper:function(e){var t=e?e.replace(/]/g,"]]"):e;return"[".concat(t,"]")},generateTSDExpression:function(e,t,r){var n=t||e.outputExpression;if(e.base&&e.base.qDef&&(n=t!==e.base.qDef?t:e.base.qDef),"observed"!==e.decomposition){var o=r.qHyperCubeDef.qMeasures.find((function(t){return t.qDef.base&&t.qDef.base.qLibraryId&&e.base&&e.base.qLibraryId?t.qDef.base.qLibraryId===e.base.qLibraryId:null}));o&&t!==o.qDef.qLabel&&(n=o.qLibraryId||o.qDef.base.qLibraryId?"[".concat(o.qDef.qLabel,"]"):o.qDef.base.qDef);var i=function(e){var t=l.OPTIONS.find((function(t){return t.value===e.decomposition}));return t?l.EXPRESSIONS[t.value]:""}(e);n=n.startsWith("=")?n.substr(1):n,n="".concat(i,"(").concat(n,", ").concat(e.steps,")")}return n},getDecomposition:function(e){var t="observed";return Object.values(l.EXPRESSIONS).find((function(r){var n=e.qDef.base.qDef.toLowerCase()||e.qDef.qDef.toLowerCase();return l.EXPRESSIONS[r]&&n.includes(l.EXPRESSIONS[r].toLowerCase())&&(t=r),r})),t}};function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}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},A(e)}var k=i().bind(null,!0),P={},L=Array.isArray;function I(e){return null!=e&&!Array.isArray(e)&&"object"===A(e)}function M(e){return void 0===e}function _(e,t){return"function"==typeof e[t]||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function D(e,t){var r,n=t.substring(1).split("/").slice(0,-1);return n.forEach((function(t,o){if(o!==n.length){r=+t;var i=Number.isNaN(r)?{}:[];e[r||t]=M(e[r||t])?i:e[t],e=e[r||t]}})),e}function T(e,t){var r=!0;if(I(e)&&I(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(n){T(e[n],t[n])||(r=!1)})),r);if(L(e)&&L(t)){if(e.length!==t.length)return!1;for(var n=0,o=e.length;n<o;n+=1)if(!T(e[n],t[n]))return!1;return!0}return e===t}P.generate=function(e,t,r){r=r||"";var n=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?k({},{val:e}).val:e}(t[o]),a=e[o],s="".concat(r,"/").concat(o);T(i,a)||_(t,o)||(M(a)?n.push({op:"add",path:s,value:i}):I(i)&&I(a)?n=n.concat(P.generate(a,i,s)):L(i)&&L(a)?n=n.concat(function(e,t,r){var n=[],o=e.slice(),i=-1;function a(e,t,r){if(e[r]&&M(e[r].qInfo))return null;if(e[r]&&e[r].qInfo.qId===t)return r;for(var n=0,o=e.length;n<o;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(T(t,o))return n;if(!M(t[0])&&M(t[0].qInfo))return n.push({op:"replace",path:r,value:t}),n;for(var s=o.length-1;s>=0;s-=1)-1===(i=a(t,o[s].qInfo&&o[s].qInfo.qId,s))?(n.push({op:"remove",path:"".concat(r,"/").concat(s)}),o.splice(s,1)):n=n.concat(P.generate(o[s],t[i],"".concat(r,"/").concat(s)));for(var l=0,u=t.length;l<u;l+=1)-1===(i=a(o,t[l].qInfo&&t[l].qInfo.qId))?(n.push({op:"add",path:"".concat(r,"/").concat(l),value:t[l]}),o.splice(l,0,t[l])):i!==l&&(n.push({op:"move",path:"".concat(r,"/").concat(l),from:"".concat(r,"/").concat(i)}),o.splice(l,0,o.splice(i,1)[0]));return n}(a,i,s)):n.push({op:"replace",path:"".concat(r,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){M(t[o])&&!_(e,o)&&n.push({op:"remove",path:"".concat(r,"/").concat(o)})})),n},P.apply=function(e,t){t.forEach((function(t){var r,n,o=D(e,t.path),i=t.path.split("/").splice(-1)[0],a=i&&Number.isNaN(+i)?o[i]:o[+i]||o,s=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(o=null,a=e),"add"===t.op||"replace"===t.op)if(L(o))"-"===i&&(i=o.length),o.splice(+i,"add"===t.op?0:1,t.value);else if(L(a)&&L(t.value)){var l,u=t.value.slice();a.length=0,(l=a).push.apply(l,function(e){if(Array.isArray(e))return R(e)}(n=u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(e,t):void 0}}(n)||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(I(a)&&I(t.value))r=a,Object.keys(r).forEach((function(e){Object.getOwnPropertyDescriptor(r,e).configurable&&!_(r,e)&&delete r[e]})),k(a,t.value);else{if(!o)throw new Error("Patchee is not an object we can patch");o[i]=t.value}else if("move"===t.op){var c=D(e,t.from);L(o)?o.splice(+i,0,c.splice(+s,1)[0]):(o[i]=c[s],delete c[s])}else"remove"===t.op&&(L(o)?o.splice(+i,1):delete o[i])}))},P.clone=function(e){return k({},e)},P.createPatch=function(e,t,r){var n={op:e.toLowerCase(),path:r};return"move"===n.op?n.from=t:void 0!==t&&(n.value=t),n},P.updateObject=function(e,t){Object.keys(e).length?P.apply(e,P.generate(e,t)):k(e,t)};const O=P,q=function(e,t,r){if(!e)return Promise.resolve();var n=O.generate(t,r);return i()(!0,t,r),n&&n.length?(n=n.map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}})),e.applyPatches(n,!0)):Promise.resolve()};var N="accumulation";function j(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===N)return r[n]}function z(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===N)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var F={type:"accumulation",disabled:!1,accumulationDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullAccumulation:!1,steps:6,outputExpression:""};const $={translationKey:"properties.modifier.accumulation",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var l=i;void 0===l&&(l=w.getNumDimensions({properties:n,layout:o}));var u=s(n,"qHyperCubeDef.qDimensions",[]),c=w.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=w.getNumStepComp(r,l),p=w.getAboveComp(r,l,c,d),f=w.getRangeComp("RangeSum",p);if(w.needDimension({modifier:r,properties:n,layout:o})){var h=w.getDimComp(u,1),m=w.getDimComp(u,0),g=w.getAggrComp(f,h,m);f=r.showExcludedValues?w.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,valueComp:g}):g}return f},extractInputExpression:w.extractInputExpression,initModifier:function(e){w.initModifier(e,F)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.accumulation.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(z(t,e),".accumulationDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.accumulation.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(z(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.accumulation.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(z(t,e),".fullAccumulation")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(z(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=j(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=j(t,e);return r&&!r.fullAccumulation}},showExcludedValues:{refFn:function(t){return"".concat(z(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(N))return!1;var i=j(t,e);return i&&!i.disabled}}}};var H="movingAverage";function B(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===H)return r[n]}function G(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===H)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var W={type:"movingAverage",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,fullRange:!1,steps:6,outputExpression:"",nullSuppression:!1};const V={translationKey:"properties.modifier.movingAverage",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t,r=e.expression,n=e.modifier,o=e.properties,i=e.layout,a=e.numDimensions,l=e.dimensionAndFieldList;if(!n)return r;var u=a;void 0===u&&(u=w.getNumDimensions({properties:o,layout:i}));var c=s(o,"qHyperCubeDef.qDimensions",[]),d=n.showExcludedValues&&n.nullSuppression,p=w.getExpressionWithExcludedComp({expression:r,modifier:n,dimensions:c,dimensionAndFieldList:l,treatMissingAsNull:d}),f=w.getNumStepComp(n,u),h=w.getAboveComp(n,u,p,f);if(n.nullSuppression)t=w.getRangeComp("RangeAvg",h);else{var m=w.getRangeComp("RangeSum",h),g=function(e,t){var r=w.getRowNoComp(e,t);if(!w.isFullRange(e)){var n=e.steps,o="number"!=typeof n||Number.isNaN(n)?6:n;return"RangeMin(".concat(o,", ").concat(r,")")}return r}(n,u);t="".concat(m," / ").concat(g)}var b=t;if(w.needDimension({modifier:n,properties:o,layout:i})){var v=w.getDimComp(c,1),y=w.getDimComp(c,0),x=w.getAggrComp(b,v,y);b=n.showExcludedValues?w.getExcludedComp({modifier:n,dimensions:c,dimensionAndFieldList:l,funcComp:"Only",valueComp:x}):x}return b},extractInputExpression:w.extractInputExpression,initModifier:function(e){w.initModifier(e,W)},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.movingAverage.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(G(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.movingAverage.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(G(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.movingAverage.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},fullRange:{refFn:function(t){return"".concat(G(t,e),".fullRange")},type:"boolean",translation:t.range||"properties.modifier.range",component:"dropdown",schemaIgnore:!0,defaultValue:!1,options:[{value:!0,translation:t.rangeFull||"properties.modifier.range.full"},{value:!1,translation:t.rangeCustom||"properties.modifier.range.custom"}]},steps:{refFn:function(t){return"".concat(G(t,e),".steps")},type:"integer",translation:t.rangeSteps||"properties.modifier.range.steps",schemaIgnore:!0,defaultValue:6,change:function(t){var r=B(t,e);if(r){var n=r.steps;r.steps="number"!=typeof n||Number.isNaN(n)?6:Math.abs(n)}},show:function(t){var r=B(t,e);return r&&!r.fullRange}},showExcludedValues:{refFn:function(t){return"".concat(G(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0},nullSuppression:{refFn:function(t){return"".concat(G(t,e),".nullSuppression")},type:"boolean",translation:t.showNull||"properties.dimensions.showNull",schemaIgnore:!0,defaultValue:!1,inverted:!0}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(H))return!1;var i=B(t,e);return i&&!i.disabled}}}};var U="timeSeriesDecomposition";function Y(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===U)return r[n]}function K(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===U)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var X={type:"timeSeriesDecomposition",disabled:!1,decomposition:"",steps:2,outputExpression:""};const J={translationKey:"properties.modifier.timeSeriesDecomposition",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties;return r?w.generateTSDExpression(r,t,n):t},extractInputExpression:w.extractInputExpression,initModifier:function(e,t){w.initModifier(e,X),""===e.decomposition&&t&&(e.decomposition=w.getDecomposition(t))},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.timeSeriesDecomposition||"properties.modifier.timeSeriesDecomposition",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{decomposition:{refFn:function(t){return"".concat(K(t,e),".decomposition")},type:"string",translation:t.modifierTrendDecompositionDecomposition||"properties.modifier.trendDecomposition.decomposition",component:"dropdown",schemaIgnore:!0,defaultValue:t.trendDecompositionParametersDecompositionObserved||"cao.trendDecomposition.parameters.decomposition.observed",options:l.OPTIONS},steps:{refFn:function(t){return"".concat(K(t,e),".steps")},type:"integer",translation:t.modifierTimeSeriesDecompositionPeriods||"properties.modifier.timeSeriesDecomposition.periods",schemaIgnore:!0,defaultValue:2,change:function(t,r){var n=Y(t,e);if(n){var o=n.steps;n.steps="number"!=typeof o||Number.isNaN(o)?2:Math.abs(o),r.properties.qHyperCubeDef.qMeasures=r.properties.qHyperCubeDef.qMeasures.map((function(e){return e.qDef.modifiers.map((function(e){return"timeSeriesDecomposition"===e.type?e.steps=o:e.steps=e.steps,e})),e}))}},show:function(t){var r=Y(t,e);return r&&!r.fullRange}}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(U))return!1;var i=Y(t,e);return i&&!i.disabled}}}};var Z="difference";function Q(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===Z)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}var ee={type:"difference",disabled:!1,primaryDimension:0,crossAllDimensions:!1,showExcludedValues:!0,outputExpression:""};const te={translationKey:"properties.modifier.difference",needDimension:w.needDimension,isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:w.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var l=i;void 0===l&&(l=w.getNumDimensions({properties:n,layout:o}));var u=s(n,"qHyperCubeDef.qDimensions",[]),c=w.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=w.getAboveComp(r,l,c),p="".concat(c," - ").concat(d);if(w.needDimension({modifier:r,properties:n,layout:o})){var f=w.getDimComp(u,1),h=w.getDimComp(u,0),m=w.getAggrComp(p,f,h);p=r.showExcludedValues?w.getExcludedComp({modifier:r,dimensions:u,dimensionAndFieldList:a,funcComp:"Only",valueComp:m}):m}return p},initModifier:function(e){Object.keys(ee).forEach((function(t){void 0===e[t]&&(e[t]=ee[t])}))},enableTotalsFunction:function(){return!1},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.difference.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{primaryDimension:{refFn:function(t){return"".concat(Q(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.difference.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},crossAllDimensions:{refFn:function(t){return"".concat(Q(t,e),".crossAllDimensions")},type:"boolean",translation:t.crossAllDimensions||"properties.modifier.crossAllDimensions",title:{translation:t.crossAllDimensionsTooltip||"properties.modifier.difference.crossAllDimensions.tooltip"},schemaIgnore:!0,defaultValue:!1,show:function(e,t){return t.layout.qHyperCube.qDimensionInfo.length>1}},showExcludedValues:{refFn:function(t){return"".concat(Q(t,e),".showExcludedValues")},type:"boolean",translation:t.showExcludedValues||"properties.modifier.showExcludedValues",schemaIgnore:!0,defaultValue:!0}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(Z))return!1;var i=function(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===Z)return r[n]}(t,e);return i&&!i.disabled}}}},re=0,ne=1,oe=2,ie=0,ae=1,se=2;var le="normalization";function ue(e,t){var r=s(e,t);if(r)for(var n=0;n<r.length;n++)if(r[n].type===le)return r[n]}function ce(e,t){var r=function(e,t){var r=s(e,t);if(!r)return-1;for(var n=0;n<r.length;n++)if(r[n].type===le)return n;return-1}(e,t);return r>-1?"".concat(t,".").concat(r):t}function de(e,t){for(var r=0;r<e.length;r++)if(e[r].value===t)return r;return-1}var pe={type:"normalization",disabled:!1,primaryDimension:0,outputExpression:"",dimensionalScope:se,selectionScope:oe};function fe(e){return 2===e?"{1}":""}function he(e,t,r){return 1===e?"{$<".concat(w.getFieldWithWrapper(t),"={'").concat(r,"'}>}"):""}function me(e,t){return 0===e&&t>1||2===e?"Total":""}function ge(e,t,r){return 0===e&&t>1?"<".concat(w.getDimDefWithWrapper(r),">"):""}const be={translationKey:"properties.modifier.normalization",needDimension:function(){return!0},isApplicable:function(e){var t=e.properties,r=e.layout;return w.isApplicable({properties:t,layout:r,minDimensions:1,maxDimensions:2})},extractInputExpression:w.extractInputExpression,generateExpression:function(e){var t=e.expression,r=e.modifier,n=e.properties,o=e.layout,i=e.numDimensions,a=e.dimensionAndFieldList;if(!r)return t;var l=i;void 0===l&&(l=w.getNumDimensions({properties:n,layout:o}));var u=s(n,"qHyperCubeDef.qDimensions",[]),c=w.getExpressionWithExcludedComp({expression:t,modifier:r,dimensions:u,dimensionAndFieldList:a}),d=r.selectionScope,p=r.dimensionalScope;return function(e,t,r,n,o,i,a){var s=fe(t),l=he(t,r,n),u=""===s&&""===l?"":s||l,c=me(o,i),d=ge(o,i,a),p=function(e){for(var t=[],r=0;r<e;r++)t[r]=w.getDimDefWithWrapper(r);return t.join(", ")}(i);return"".concat(e,"/ Sum(").concat(u," ").concat(c).concat(d," Aggr(").concat(u," ").concat(e,", ").concat(p,"))")}(c,d,r.field,r.value,p,l,r.primaryDimension)},initModifier:function(e){Object.keys(pe).forEach((function(t){void 0===e[t]&&(e[t]=pe[t])}))},updateModifier:function(e,t){1===(t.qDimensions?t.qDimensions.length:0)&&0===e.dimensionalScope&&(e.dimensionalScope=2)},enableTotalsFunction:function(){return!0},propertyPanelDef:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"items",items:{disclaimer:{component:"text",translation:t.disclaimer||"properties.modifier.normalization.disclaimer",show:function(e,t){return!w.isApplicable({properties:t.properties})}},settings:{type:"items",items:{selectionScope:{refFn:function(t){return"".concat(ce(t,e),".selectionScope")},type:"string",translation:t.modifierSelectionScope||"properties.modifier.selectionScope",title:{translation:t.modifierSelectionScopeTooltip||"properties.modifier.selectionScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:oe,options:function(r){return function(e,t,r){var n=[{value:re,translation:t.selectionScopeCurrentSelection||"properties.modifier.selectionScope.currentSelection"},{value:ne,translation:t.selectionScopeSpecificValue||"properties.modifier.selectionScope.selectAField"},{value:oe,translation:t.selectionScopeTotal||"properties.modifier.selectionScope.total"}];return n=function(e,t){if(1===e){var r=de(t,0);t.splice(r,1)}return t}(ue(e,r).dimensionalScope,n),n}(r,t,e)}},field:{refFn:function(t){return"".concat(ce(t,e),".field")},type:"string",component:"expression-with-dropdown",translation:"Common.Field",defaultValue:"",dropdownOnly:!0,options:function(e,t,r){return r.app.getFieldList().then((function(e){return e.map((function(e){return{label:e.qName,value:e.qName}}))}))},show:function(t){return ue(t,e).selectionScope===ne}},value:{refFn:function(t){return"".concat(ce(t,e),".value")},type:"string",ref:"value",component:"string",translation:"properties.value",expression:"optional",show:function(t){return ue(t,e).selectionScope===ne}},dimensionalScope:{refFn:function(t){return"".concat(ce(t,e),".dimensionalScope")},type:"string",translation:t.modifierDimensionalScope||"properties.modifier.dimensionalScope",title:{translation:t.modifierDimensionalScopeTooltip||"properties.modifier.dimensionalScope.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:se,supportTooltip:!0,options:function(r,n){return function(e,t,r,n){var o=t.layout.qHyperCube.qDimensionInfo.length,i=[{value:ie,translation:r.dimensionalScopeOneDimension||"properties.modifier.dimensionalScope.respectOneDimension",tooltipTranslation:r.dimensionalScopeOneDimensionTooltip||"properties.modifier.dimensionalScope.respectOneDimension.tooltip"},{value:ae,translation:r.dimensionalScopeAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension"),tooltipTranslation:r.dimensionalScopeAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"respectAllDimensions":"respectDimension",".tooltip")},{value:se,translation:r.dimensionalScopeDisregardAllDimensions||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension"),tooltipTranslation:r.dimensionalScopeDisregardAllDimensionsTooltip||"properties.modifier.dimensionalScope.".concat(2===o?"disregardAllDimensions":"disregardDimension",".tooltip")}];return i=function(e,t){if(e<2){var r=de(t,0);t.splice(r,1)}return t}(o,i),i=function(e,t){if(0===e){var r=de(t,1);t.splice(r,1)}return t}(ue(e,n).selectionScope,i),i}(r,n,t,e)}},primaryDimension:{refFn:function(t){return"".concat(ce(t,e),".primaryDimension")},type:"integer",translation:t.primaryDimension||"properties.modifier.primaryDimension",title:{translation:t.primaryDimensionTooltip||"properties.modifier.normalization.primaryDimension.tooltip"},component:"dropdown",schemaIgnore:!0,defaultValue:1,options:function(e,t){return t.layout.qHyperCube.qDimensionInfo.map((function(e,t){return{value:t,label:e.qGroupFallbackTitles[0]}}))},show:function(t,r){return(ue(t,e).dimensionalScope||0)===ie&&r.layout.qHyperCube.qDimensionInfo.length>1}}},show:function(e,t){return w.isApplicable({properties:t.properties})}}},show:function(t,r,n){var o=n.ext.support.modifiers;if(!Array.isArray(o)||-1===o.indexOf(le))return!1;var i=ue(t,e);return i&&!i.disabled}}},getDisregardSelectionComp:fe,getFieldSelectionComp:he,getTotalComp:me,getSelectedDimComp:ge};var ve="library id deleted",ye="qDef.qDef",xe="qDef.base.qDef",Se="qLibraryId",Ce="qDef.base.qLibraryId",Ee="qDef.qLabel",we="qDef.qLabelExpression",Re="qDef.base.qLabel",Ae="qDef.base.qLabelExpression",ke="qDef.qAggrFunc",Pe="qDef.base.qAggrFunc",Le="qDef.base";const Ie={getExpression:function(e){var t=s(e,xe);return void 0!==t?t:s(e,ye)},getExpressionRef:function(e){return void 0!==s(e,xe)?xe:ye},getLibraryIdRef:function(e){return s(e,Ce)?Ce:Se},getLibraryId:function(e){return s(e,Ce)||s(e,Se)},getLabelRef:function(e){return s(e,Le)?Re:Ee},getLabelExpressionRef:function(e){return s(e,Le)?Ae:we}};var Me={initBase:function(e,t){(t||Me.isValid(e))&&(a(e,xe,s(e,ye)),a(e,Ce,s(e,Se)),a(e,Re,s(e,Ee)),a(e,Ae,s(e,we)))},restoreBase:function(e){Me.isValid(e)&&(a(e,ye,s(e,xe)),a(e,Se,s(e,Ce)),a(e,Ee,s(e,Re)),a(e,we,s(e,Ae)),s(e,ke)&&s(e,Pe)&&a(e,ke,s(e,Pe)),delete e.qDef.base)},isValid:function(e){var t=s(e,xe),r=s(e,Ce);return void 0!==t||void 0!==r}};const _e=Me;function De(e){return De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},De(e)}var Te={accumulation:$,movingAverage:V,difference:te,normalization:be,timeSeriesDecomposition:J};const Oe={modifiers:Te,apply:Ne,applyModifiers:je,cleanUpMeasure:ze,destroy:function(e){e&&qe[e.id]&&qe[e.id].masterItemSubscriber&&(qe[e.id].masterItemSubscriber&&qe[e.id].masterItemSubscriber.unsubscribe(),delete qe[e.id])},hasActiveModifiers:Fe,getActiveModifier:$e,initBase:_e.initBase,isSupportedModifiers:function(e){return Array.isArray(e)&&e.some((function(e){return Te[e]}))},isApplicableSupportedModifiers:function(e){var t=e.modifierTypes,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return Te[e]&&Te[e].isApplicable({properties:r,layout:n})}))},measureBase:Ie,limitedSorting:function(e){var t=e.measures,r=e.properties,n=e.layout,o=!1,i=!1;return t.forEach((function(e){var t=Ge(e);Je({modifiers:t,properties:r,layout:n})&&(o=!0,i=i||rt({modifiers:t,properties:r,layout:n}))})),o&&!i},ifEnableTotalsFunction:He};var qe={};function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.properties,n=e.isSnapshot,o=void 0!==n&&n,a=e.masterItem,l=!1;qe[t.id]=qe[t.id]||{isFirstTime:!0};var u=qe[t.id].isFirstTime;if(qe[t.id].isFirstTime=!1,r&&"object"===De(r))return je({model:t,properties:r});var c=t?t.layout:void 0,d=s(c,"qSelectionInfo.qInSelections");if(o||d)return Promise.resolve(l);var p=s(c,"qHyperCube.qMeasureInfo"),f=qe[t.id].lastReloadTime;if(qe[t.id].lastReloadTime=s(t,"app.layout.qLastReloadTime"),Fe({measures:p,layout:c})){var h=function(e){var t=e.measures,r=e.layout,n=e.lastReloadTime;return s(e.model,"app.layout.qLastReloadTime")!==n&&function(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Xe({measure:e,properties:r,layout:n})}))}({measures:t,layout:r})}({measures:p,layout:c,model:t,lastReloadTime:f});return h||function(e){var t=e.measures,r=e.layout,n=e.masterItem,o=e.isFirstTime;return!!Array.isArray(t)&&(o||n||t.some((function(e){return function(e){var t=e.measure,r=e.layout;return Je({modifiers:Ge(t),layout:r})?!t.base:!!t.base}({measure:e,layout:r})})))}({measures:p,layout:c,masterItem:a,isFirstTime:u})?t.getEffectiveProperties().then((function(e){var r=i()(!0,{},e);Ve(r);var n=nt(r);return Ze({model:t}).then((function(o){return Qe({libraryIds:n,model:t}).then((function(n){return h&&function(e){var t=e.properties;Be(t).forEach((function(e){return function(e){var t=e.measure;if(Xe({measure:t,properties:e.properties})){var r=0,n=t.qDef.modifiers;Array.isArray(n)&&n.forEach((function(e){if("object"===De(e)&&!e.disabled){if(r++,"object"!==De(Te[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(r>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");var n=Te[e.type].extractInputExpression({outputExpression:t.qDef.qDef,modifier:e});void 0!==n&&Ye(t)&&w.simplifyExpression(t.qDef.base.qDef)!==w.simplifyExpression(n)&&(t.qDef.base.qDef=n)}}))}}({measure:e,properties:t})}))}({properties:r}),je({model:t,oldProperties:e,properties:r,runUpdateIfChange:!0,masterItem:a,libraryItemsProps:n,dimensionAndFieldList:o})}))})).catch((function(){return Promise.resolve(l)}))})):Promise.resolve(l)}return function(e){return!!Array.isArray(e)&&e.some((function(e){return"object"===De(e.base)}))}(p)?t.getEffectiveProperties().then((function(e){return function(e){var t=e.model,r=e.properties,n=nt(r);return ot({model:t,libraryIds:n}).then((function(){var e=i()(!0,{},r);return Be(r).forEach((function(e){return ze(e)})),tt({oldProperties:e,newProperties:r,model:t})}))}({model:t,properties:e})})):Promise.resolve(l)}function je(e){var t=e.model,r=e.oldProperties,n=e.properties,o=e.measures,a=e.runUpdateIfChange,l=void 0!==a&&a,u=e.masterItem,c=e.libraryItemsProps,d=e.dimensionAndFieldList;void 0===r&&(r=l?i()(!0,{},n):n),Ve(n);var p=nt(n);return ot({model:t,libraryIds:p,masterItem:u}).then((function(){return function(e){var t=e.measures,r=e.properties,n=e.model,o=e.libraryItemsProps,a=e.dimensionAndFieldList;if(t||(t=Be(r)),!t.length)return Promise.resolve();if(!o&&!Fe({measures:t,properties:r}))return t.forEach((function(e){return ze(e)})),Promise.resolve();var l=o?void 0:nt(r);return Ze({model:n,dimensionAndFieldList:a}).then((function(e){return Qe({libraryIds:l,model:n,libraryItemsProps:o}).then((function(n){t.forEach((function(t){var o=t.qDef.modifiers;n&&Je({modifiers:o,properties:r})?(function(e){var t=e.measure,r=e.properties,n=e.libraryItemsProps,o=e.dimensionAndFieldList,a=0;_e.isValid(t)||_e.initBase(t,!0);var l=t.qDef,u=l.modifiers,c=l.base;Array.isArray(u)&&u.forEach((function(e){if("object"===De(e)&&!e.disabled){if(a++,"object"!==De(Te[e.type]))throw new Error('Modifier "'.concat(e.type,'" is not available'));if(a>1)throw new Error("More than 1 modifier on a measure! (not yet supported)");Te[e.type].initModifier(e,t);var l=t.qLibraryId||c&&c.qLibraryId;l?function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList,a=e.libraryItemsProps[e.libraryId],s=a.qMeasure.qDef,l=""===s?s:Te[r.type].generateExpression({expression:s,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=l,t.qDef.qDef=r.outputExpression,(t.qDef.qLabel||a.qMeasure.qLabel)&&(t.qDef.qLabel=a.qMeasure.qLabel),(t.qDef.qLabelExpression||a.qMeasure.qLabelExpression)&&(t.qDef.qLabelExpression=a.qMeasure.qLabelExpression),t.qDef.quarantine&&t.qDef.quarantine.qNumFormat&&a.qMeasure.qNumFormat&&(t.qDef.qNumFormat=a.qMeasure.qNumFormat,t.qDef.isCustomFormatted=a.qMeasure.isCustomFormatted),delete t.qLibraryId,t.qDef.coloring=a.qMeasure.coloring,r.base=i()(!0,{},t.qDef.base)}({measure:t,modifier:e,libraryId:l,properties:r,libraryItemsProps:n,dimensionAndFieldList:o}):function(e){var t=e.measure,r=e.modifier,n=e.properties,o=e.dimensionAndFieldList;"function"==typeof Te[r.type].updateModifier&&Te[r.type].updateModifier(r,n.qHyperCubeDef);var a=Ie.getExpression(t),s=""===a?a:Te[r.type].generateExpression({expression:a,modifier:r,properties:n,dimensionAndFieldList:o});r.outputExpression=s,t.qDef.qDef=r.outputExpression,t.qDef.base.qLabelExpression?t.qDef.qLabelExpression=t.qDef.base.qLabelExpression:t.qDef.qLabel=t.qDef.base.qLabel||a,r.base=i()(!0,{},t.qDef.base)}({measure:t,modifier:e,properties:r,dimensionAndFieldList:o}),function(e){var t=s(e,"qDef.qAggrFunc");"Expr"!==t||He(e)?"None"!==t?delete e.qDef.base.qAggrFunc:"None"===t&&He(e)&&"Expr"===e.qDef.base.qAggrFunc&&(e.qDef.qAggrFunc="Expr",delete e.qDef.base.qAggrFunc):(e.qDef.qAggrFunc="None",e.qDef.base.qAggrFunc="Expr")}(t)}}))}({measure:t,properties:r,libraryItemsProps:n,dimensionAndFieldList:e}),Ue(t)):ze(t)}))}))}))}({measures:o,properties:n,model:t,libraryItemsProps:c,dimensionAndFieldList:d}).then((function(){return l?tt({oldProperties:r,newProperties:n,model:t}):Promise.resolve(!1)}))})).catch((function(){return Promise.resolve(!1)}))}function ze(e){!function(e){var t=Ge(e);return Array.isArray(t)&&t.some((function(e){return"object"===De(e)&&!e.disabled&&!Te[e.type]}))}(e)?_e.restoreBase(e):delete e.qDef.base,e.qDef.coloring&&delete e.qDef.coloring,Ue(e)}function Fe(e){var t=e.measures,r=e.properties,n=e.layout;return!!Array.isArray(t)&&t.some((function(e){return Je({modifiers:Ge(e),properties:r,layout:n})}))}function $e(e){var t=Ge(e);if(Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];if(Te[n.type]&&!n.disabled)return n}}function He(e){var t=$e(e);return!t||Te[t.type].enableTotalsFunction(e)}function Be(e){return s(e,"qHyperCubeDef.qMeasures",[]).concat(s(e,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures",[]))}function Ge(e){return e.modifiers||e.qDef&&e.qDef.modifiers}function We(e){return s(e,"outputExpression.qValueExpression.qExpr")||s(e,"outputExpression")}function Ve(e){Be(e).forEach((function(e){return function(e){var t=$e(e);t&&(void 0!==t.outputExpression&&We(t)!==e.qDef.qDef?delete e.qDef.base:!_e.isValid(e)&&t.base&&(e.qDef.base=i()(!0,{},t.base)))}(e)}))}function Ue(e){var t=Ge(e);Array.isArray(t)&&t.forEach((function(t){"object"===De(t)&&(t.disabled||!Te[t.type]&&We(t)!==e.qDef.qDef)&&(t.disabled=!0,delete t.base)}))}function Ye(e){return e.base||e.qDef&&e.qDef.base}function Ke(e){var t=Ye(e);return e.qLibraryId||t&&t.qLibraryId}function Xe(e){var t=e.measure,r=e.properties,n=e.layout;return!Ke(t)&&Je({modifiers:Ge(t),properties:r,layout:n})}function Je(e){var t=e.modifiers,r=e.properties,n=e.layout,o={};return Array.isArray(t)&&t.some((function(e){return!("object"!==De(e)||e.disabled||!Te[e.type])&&(void 0===o[e.type]&&(o[e.type]=Te[e.type].isApplicable({properties:r,layout:n})),o[e.type])}))}function Ze(e){var t=e.model,r=e.dimensionAndFieldList;if(r)return Promise.resolve(r);var n=[],o={},i=t.app.getDimensionList().then((function(e){o.dimensionList=e}));n.push(i);var a=t.app.getFieldList().then((function(e){o.fieldList=e}));return n.push(a),Promise.all(n).then((function(){return o}))}function Qe(e){var t=e.libraryIds,r=e.model,n=e.libraryItemsProps;if(n)return Promise.resolve(n);var o=t.measureLibraryIds,i=t.dimensionLibraryIds,a={},s=[];return o.forEach((function(e){var t=r.app.getMeasure(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),i.forEach((function(e){var t=r.app.getDimension(e).then((function(t){return t.getProperties().then((function(t){a[e]=t}))}));s.push(t)})),Promise.all(s).then((function(){return a})).catch((function(){return null}))}function et(e,t){if(""!==t||-1===["qFmt","qDec","qThou"].indexOf(e))return t}function tt(e){var t=e.oldProperties,r=e.newProperties,n=e.model,o=JSON.stringify(s(t,"qHyperCubeDef.qMeasures"),et)!==JSON.stringify(s(r,"qHyperCubeDef.qMeasures"),et)||JSON.stringify(s(t,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),et)!==JSON.stringify(s(r,"qHyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures"),et);return o?function(e){var t=e.model,r=e.oldProperties,n=e.newProperties,o=t.layout;return o&&!o.qHasSoftPatches&&!o.qExtendsId&&s(o,"qMeta.privileges",[]).indexOf("update")>-1?t.setProperties(n):q(t,r,n)}({model:n,oldProperties:t,newProperties:r}).then((function(){return o})):Promise.resolve(o)}function rt(e){var t=e.modifiers,r=e.properties,n=e.layout;return Array.isArray(t)&&t.some((function(e){return"object"===De(e)&&!e.disabled&&Te[e.type]&&Te[e.type].needDimension({modifier:e,properties:r,layout:n})}))}function nt(e){var t=Be(e),r=[],n=[],o=!1;return t.forEach((function(t){var n=Ge(t);if(Je({modifiers:n,properties:e})){var i=Ke(t);i&&r.push(i),o=o||rt({modifiers:n,properties:e})}})),s(e,"qHyperCubeDef.qDimensions",[]).forEach((function(e){var t=e.qLibraryId;t&&n.push(t)})),{measureLibraryIds:r,dimensionLibraryIds:n}}function ot(e){var t=e.model,r=e.libraryIds,n=e.masterItem;return!n&&n!==ve&&r&&(r.measureLibraryIds.length||r.dimensionLibraryIds.length)?(qe[t.id].masterItemSubscriber=qe[t.id].masterItemSubscriber||function(e){var t=e.model,r=e.callback,n={},o={},i={},a={dimension:["qDim.qFieldDefs"],measure:["qMeasure.qDef","qMeasure.qLabel","qMeasure.qLabelExpression","qMeasure.coloring","qMeasure.qNumFormat","qMeasure.isCustomFormatted"]};function l(e){var t={},r=s(e,"qInfo.qType");return r&&a[r]&&a[r].forEach((function(r){t[r]=s(e,r)})),JSON.stringify(t)}function u(e){var t=e.qInfo.qId;if(n[t]){var o=l(e);n[t].properties!==o&&(n[t].properties=o,"function"==typeof r&&n[t].enabled&&r(e)),n[t].enabled=!0}}function c(){Object.keys(n).forEach((function(e){o[e]||i[e]||(n[e].listener.dispose(),n[e].unbindCloseListnener(),delete n[e])}))}var d=function(e,t){return e.once("closed",t),function(){return e.removeListener("closed",t)}};function p(e,o){return t.app[o](e).then((function(t){n[e]={listener:t.layoutSubscribe(u),unbindCloseListnener:d(t,(function(){return e=t.id,r(ve),delete n[e],void c();var e})),enabled:!1,properties:l(t.layout)}})).catch((function(){}))}return{subscribe:function(e){var r=e.measureLibraryIds,a=e.dimensionLibraryIds,s=[];return function(e){var t=e.dimensionLibraryIds;o={},e.measureLibraryIds.forEach((function(e){o[e]=!0})),i={},t.forEach((function(e){i[e]=!0}))}({measureLibraryIds:r,dimensionLibraryIds:a}),c(),t.app&&(Object.keys(o).forEach((function(e){o[e]&&!n[e]&&s.push(p(e,"getMeasure"))})),Object.keys(i).forEach((function(e){i[e]&&!n[e]&&s.push(p(e,"getDimension"))}))),Promise.all(s)},unsubscribe:function(){Object.keys(n).forEach((function(e){n[e].listener.dispose(),n[e].unbindCloseListnener()})),n={}}}}({model:t,callback:function(e){return Ne({model:t,masterItem:e}).then((function(){return t.app.clearUndoBuffer()}))}}),qe[t.id].masterItemSubscriber.subscribe(r)):Promise.resolve()}yE.default=n.default,Object.defineProperty(yE,"__esModule",{value:!0})})();var SE=Et(xE);const CE={autoSort:{ref:"qDef.autoSort",type:"boolean",defaultValue:!0,show:!1}},EE={textAlignAuto:{ref:"qDef.textAlign.auto",type:"boolean",component:"switch",translation:"Common.Text.TextAlignment",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},textAlign:{ref:"qDef.textAlign.align",type:"string",component:"item-selection-list",horizontal:!0,items:[{component:"icon-item",icon:"align_left",labelPlacement:"bottom",value:"left",translation:"properties.dock.left"},{component:"icon-item",icon:"align_center",labelPlacement:"bottom",value:"center",translation:"Common.Center"},{component:"icon-item",icon:"align_right",labelPlacement:"bottom",value:"right",translation:"properties.dock.right"}],defaultValue:"left",show:e=>void 0!==e.qDef.textAlign&&!e.qDef.textAlign.auto}},wE=e=>{var t,r,n,o;return{type:"items",grouped:!0,items:{totalsAggrGroup:{type:"items",items:{totalsAggrFunc:{type:"string",component:"dropdown",ref:"qDef.qAggrFunc",translation:"Object.Table.AggrFunc",options:(e,t)=>(!SE.hasActiveModifiers({measures:[e],properties:t.properties})||SE.ifEnableTotalsFunction(e)?[{value:"Expr",translation:"Common.Auto"}]:[]).concat([{value:"Avg",translation:"Object.Table.AggrFunc.Avg"},{value:"Count",translation:"Object.Table.AggrFunc.Count"},{value:"Max",translation:"Object.Table.AggrFunc.Max"},{value:"Min",translation:"Object.Table.AggrFunc.Min"},{value:"Sum",translation:"Object.Table.AggrFunc.Sum"},{value:"None",translation:"Object.Table.AggrFunc.None"}]),defaultValue:null!==(t=e.anything.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"totals")?"None":"Expr"}}}},show:!(null!==(n=e.anything.sense)&&void 0!==n&&null!==(o=n.isUnsupportedFeature)&&void 0!==o&&o.call(n,"totals"))}},RE={type:{type:"string",component:"dropdown",ref:"qDef.columnWidth.type",translation:"Object.Table.Column.Width",options:[{value:fS.Auto,translation:"Common.Auto"},{value:fS.FitToContent,translation:"Object.Table.Column.FitToContent"},{value:fS.Pixels,translation:"Object.Table.Column.Pixels"},{value:fS.Percentage,translation:"Object.Table.Column.Percentage"}],defaultValue:fS.Auto},sizePixels:{ref:"qDef.columnWidth.pixels",translation:"Object.Table.Column.Pixels",type:"number",component:"expression",expressionType:"ValueExpression",expression:"optional",defaultValue:"200",show:e=>{var t;return(null===(t=e.qDef.columnWidth)||void 0===t?void 0:t.type)===fS.Pixels}},sizePercentage:{ref:"qDef.columnWidth.percentage",translation:"Object.Table.Column.Percentage",type:"number",expression:"optional",defaultValue:"20",show:e=>{var t;return(null===(t=e.qDef.columnWidth)||void 0===t?void 0:t.type)===fS.Percentage}}},AE=()=>({...CE,visibilityCondition:{type:"string",component:"expression",ref:"qCalcCondition.qCond",expression:"optional",expressionType:"ValueExpr",translation:"Object.Table.Columns.VisibilityCondition",defaultValue:{qv:""},tid:"visibilityCondition",isExpression:e=>"string"==typeof e&&e.trim().length>0},tableCellStyling:{component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.BackgroundExpression",defaultValue:"",id:"cellBackgroundColor",tid:"tableColorBgByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"cellForegroundColor",tid:"tableColorByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.TextStyleExpression",defaultValue:"",id:"textStyleExpression",tid:"tableTextStyleByExpression"},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"urlLabel",tid:"URLLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"url",tid:"URLByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageLabel",tid:"ImageLabelByExpression",show:!1},{component:"expression",ref:"qExpression",expressionType:"measure",defaultValue:"",id:"imageUrl",tid:"ImageUrlByExpression",show:!1}]},...EE,...RE}),kE={libraryId:{type:"string",component:"library-item",libraryItemType:"dimension",ref:"qLibraryId",translation:"Common.Dimension",show:e=>e.qLibraryId},inlineDimension:{component:"inline-dimension",show:e=>!e.qLibraryId},nullSuppression:{type:"boolean",ref:"qNullSuppression",defaultValue:!1,translation:"properties.dimensions.showNull",inverted:!0},createMasterItemButton:{},divider:{uses:"divider"},dimensionLimits:{uses:"dimensions.items.dimensionLimits"},showOthers:{uses:"dimensions.items.others"}},PE=e=>{var t,r;const n=null===(t=e.anything.sense)||void 0===t||null===(r=t.isUnsupportedFeature)||void 0===r?void 0:r.call(t,"modifiers");return{libraryId:{type:"string",component:"library-item",libraryItemType:"measure",ref:"qLibraryId",translation:"Common.Measure",show:e=>{var t;return n?!!e.qLibraryId:!!(e.qLibraryId||null!==(t=e.qDef.base)&&void 0!==t&&t.qLibraryId)}},inlineMeasure:{component:"inline-measure",show:e=>{var t;return n?!e.qLibraryId:!(e.qLibraryId||null!==(t=e.qDef.base)&&void 0!==t&&t.qLibraryId)}},numberFormatting:{uses:"measures.items.numberFormatting"},createMasterItemButton:{},divider:{uses:"divider"},totalsAggr:wE(e)}},LE=e=>({dimensions:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qDimensions",items:{field:{type:"items",translation:"Common.Field",items:kE},presentation:{type:"items",translation:"properties.presentation",items:{...AE(),...bE(e)}}}}}),IE=e=>({measures:{type:"array",component:"expandable-items",ref:"qHyperCubeDef.qMeasures",items:{field:{type:"items",translation:"Common.Field",items:PE(e)},presentation:{type:"items",translation:"properties.presentation",items:{...AE(),...vE(e,{[pE.Image]:e.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[pE.Indicator]:!0,[pE.MiniChart]:!0})}}}}}),ME=e=>({...LE(e),...IE(e)}),_E=e=>({type:"items",translation:"Common.Data",component:"tabs-component",items:{columns:{component:"data-assets-panel",ref:"columns",tabName:"properties.DataAssetPanel.Columns",items:{...ME(e)},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")},filters:{type:"items",component:"filters-assets-panel",ref:"filters",tabName:"SimpleProperties.Filters.Filters",items:{filter:{type:"object",component:"filter-item-react",ref:"filter"}},highlightSelected:e.flags.isEnabled("CLIENT_VNA_312_TABLE_HIGHLIGHT_SELECTED")}}}),DE={chartExploration:{type:"items",translation:"properties.chartExploration",items:{chartExplorationToggler:{type:"items",component:"chart-exploration-toggler",translation:"properties.enableChartExploration",ref:"enableChartExploration"},visibilityToggler:{show:e=>e.enableChartExploration,component:"buttongroup",translation:"properties.ChartExploration.VisibilityOption",ref:"chartExploration.menuVisibility",options:[{value:"auto",translation:"Common.Auto"},{value:"minimized",translation:"properties.ChartExploration.Minimized"}]}},show:e=>!e.insideContainer}},TE=e=>{var t,r;return{type:"items",items:[{ref:"totals.show",type:"boolean",translation:"properties.totals",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}],defaultValue:!0},{ref:"totals.position",translation:"Common.Position",type:"string",component:"dropdown",options:[{value:"noTotals",translation:"Common.None"},{value:"top",translation:"Common.Top"},{value:"bottom",translation:"Common.Bottom"}],defaultValue:"noTotals",show(e){var t;return!(null!==(t=e.totals)&&void 0!==t&&t.show)}},{ref:"totals.label",translation:"properties.totals.label",type:"string",expression:"optional",defaultValue:()=>e.translator.get("Object.Table.Totals")}],show:!(null!==(t=e.anything.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"totals"))}},OE=(e,t,r,n)=>({ref:e,translation:t,dualOutput:!0,type:"object",component:"color-picker",width:"auto",disableNone:null!=n&&n,defaultValue(e,t,o){var i;const a=null!==(i=null==n?void 0:n(e,t,o))&&void 0!==i&&i,s=o.theme.current(),l=r(s,a);return{color:"transparent"===l?"none":l}}}),qE=(e,t=!1)=>{return{value:e,label:t?(r=e,r.charAt(0).toUpperCase()+r.slice(1)):e,groupHeader:!1,disabled:!1,styles:t?{fontFamily:e}:void 0};var r},NE=({ref:e,themeAccessor:t,translator:r,flags:n})=>({component:"dropdown",ref:e,options:(e,o,i)=>{const a=i.theme.current();return((e,t,r,n)=>{var o,i;const a=null!==(o=t.fontFamily)&&void 0!==o?o:"Source Sans Pro, sans-serif",s=null!==(i=t.fontFamilies)&&void 0!==i?i:[],l=Array.from(new Set([e,a,...s])),u=[{value:"ThemeHeader",label:r.get("properties.themeFonts"),metaText:r.get("properties.theme"),groupHeader:!0},...l.sort().map((e=>qE(e,!0)))],c=[{value:"DefaultHeader",label:r.get("properties.allFonts"),metaText:r.get("properties.default"),groupHeader:!0},...ae(n).filter((e=>!l.includes(e))).map((e=>qE(e,!0)))];return[...u,...c.length>1?c:[]]})(t(a),a,r,n)},defaultValue:(e,r,n)=>t(n.theme.current())}),jE=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],zE=({ref:e,themeAccessor:t,translator:r})=>({component:"dropdown",ref:e,options:(e,n,o)=>{const i=o.theme.current();return((e,t,r)=>{var n;const o=t.fontSize,i=null!==(n=t.fontSizes)&&void 0!==n?n:[],a=Array.from(new Set([e,o,...i])),s=[{value:"ThemeHeader",label:r.get("properties.themeFontSizes"),metaText:r.get("properties.theme"),groupHeader:!0},...a.sort(((e,t)=>parseInt(e,10)-parseInt(t,10))).map((e=>qE(e,!1)))],l=[{value:"DefaultHeader",label:r.get("properties.allFontSizes"),metaText:r.get("properties.default"),groupHeader:!0},...jE.filter((e=>!a.includes(e))).map((e=>qE(e,!1)))];return[...s,...l.length>1?l:[]]})(t(i),i,r)},defaultValue:(e,r,n)=>t(n.theme.current())}),FE=({section:e,defaultFontStyle:t,translator:r,flags:n,getThemeValue:o,translation:i,disableNoneCallback:a})=>({component:"panel-section",translation:null!=i?i:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontFamily:NE({ref:`${e}.fontFamily`,themeAccessor:t=>{var r;return null!==(r=o(t,e,"fontFamily"))&&void 0!==r?r:t.fontFamily},translator:r,flags:n}),fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",width:!1,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontSize:zE({ref:`${e}.fontSize`,themeAccessor:t=>{var r;return null!==(r=o(t,e,"fontSize"))&&void 0!==r?r:t.fontSize},translator:r}),fontColor:OE(`${e}.fontColor`,void 0,(t=>{var r;return null!==(r=o(t,e,"color"))&&void 0!==r?r:t.color}))}},background:OE(`${e}.background`,"properties.background",((t,r)=>{var n;const i=r?Tx.WHITE:Tx.TRANSPARENT;return null!==(n=o(t,e,"backgroundColor"))&&void 0!==n?n:i}),a)}}}}),$E=({section:e,defaultFontStyle:t,fallbackBackground:r,getThemeValue:n})=>({component:"panel-section",translation:`properties.pivot.${e}`,items:{content:{component:"items",ref:"components",key:"theme",items:{fontWrapperItem:{component:"inline-wrapper",items:{fontStyle:{component:"font-style-buttons",fullWidth:!0,ref:`${e}.fontStyle`,defaultValue:null!=t?t:[]},fontColor:OE(`${e}.fontColor`,void 0,(t=>{var r;return null!==(r=n(t,e,"color"))&&void 0!==r?r:t.color}))}},background:OE(`${e}.background`,"properties.background",(t=>{var o,i;return null!==(o=null!==(i=n(t,e,"backgroundColor"))&&void 0!==i?i:r)&&void 0!==o?o:"transparent"}))}}}}),HE=(e,t,r)=>{var n,o,i,a,s;switch(t){case"header":return null===(n=e.object)||void 0===n||null===(n=n.straightTableV2)||void 0===n||null===(n=n.dimension)||void 0===n||null===(n=n.label)||void 0===n||null===(n=n.name)||void 0===n?void 0:n[r];case"dimensionValues":return null===(o=e.object)||void 0===o||null===(o=o.straightTableV2)||void 0===o||null===(o=o.dimension)||void 0===o||null===(o=o.label)||void 0===o||null===(o=o.value)||void 0===o?void 0:o[r];case"measureValues":return null===(i=e.object)||void 0===i||null===(i=i.straightTableV2)||void 0===i||null===(i=i.measure)||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.value)||void 0===i?void 0:i[r];case"totalValues":return null===(a=e.object)||void 0===a||null===(a=a.straightTableV2)||void 0===a||null===(a=a.total)||void 0===a||null===(a=a.label)||void 0===a||null===(a=a.value)||void 0===a?void 0:a[r];case"nullValues":return null===(s=e.object)||void 0===s||null===(s=s.straightTableV2)||void 0===s||null===(s=s.null)||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.value)||void 0===s?void 0:s[r];default:return}},BE=e=>{var t;return null===(t=e.grid)||void 0===t||null===(t=t.zebraStripes)||void 0===t?void 0:t.show},GE={ref:"content.rowHeight",component:"integer",placeholder:1,maxlength:4,translation:"ThemeStyleEditor.style.rowHeight",change(e){var t,r;null!==(null==e||null===(t=e.content)||void 0===t?void 0:t.rowHeight)&&void 0!==(null==e||null===(r=e.content)||void 0===r?void 0:r.rowHeight)&&""!==e.content.rowHeight?e.content.rowHeight=Math.max(1,Math.min(50,Math.floor(e.content.rowHeight))):void 0!==(null==e?void 0:e.content)&&(e.content.rowHeight=void 0)}},WE=e=>({translation:"properties.pivot.grid",component:"panel-section",items:{gridItems:{component:"items",ref:"components",key:"theme",items:{rowHeight:{show:()=>e.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),...GE},border:OE("grid.border","properties.border",(e=>{var t,r;return null!==(t=null===(r=e.object)||void 0===r||null===(r=r.straightTableV2)||void 0===r||null===(r=r.grid)||void 0===r?void 0:r.borderColor)&&void 0!==t?t:Tx.BORDER_MEDIUM})),divider:OE("grid.divider","properties.pivot.divider",(e=>{var t,r;return null!==(t=null===(r=e.object)||void 0===r||null===(r=r.straightTableV2)||void 0===r||null===(r=r.grid)||void 0===r||null===(r=r.divider)||void 0===r?void 0:r.borderColor)&&void 0!==t?t:Tx.BORDER_HEAVY}))}}}}),VE=e=>{var t;return null==e||null===(t=e.content)||void 0===t?void 0:t.hoverEffect},UE={translation:"properties.RowHover",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{hoverEffectSwitch:{ref:"content.hoverEffect",translation:"ThemeStyleEditor.style.hoverEffect",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},hoverEffectColorItem:{show:VE,ref:"content.hoverColor",translation:"ThemeStyleEditor.style.hoverStyle",type:"object",component:"color-picker",dualOutput:!0},hoverEffectFontColorItem:{show:VE,ref:"content.hoverFontColor",translation:"ThemeStyleEditor.style.hoverFontStyle",type:"object",component:"color-picker",dualOutput:!0}}}}},YE=(e,t,{properties:r})=>"sn-table"===r.visualization&&!0===r.usePagination,KE=({flags:e,translator:t})=>({type:"items",items:[{component:"styling-panel",chartTitle:"Object.StraightTable",subtitle:"LayerStyleEditor.component.styling",translation:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0,defaultValue:[],items:{headerSection:FE({section:"header",defaultFontStyle:["bold"],translator:t,flags:e,getThemeValue:HE,disableNoneCallback:YE}),dimensionValueSection:FE({section:"dimensionValues",translator:t,flags:e,getThemeValue:HE}),measureValueSection:FE({section:"measureValues",translator:t,flags:e,getThemeValue:HE}),totalRowSection:FE({section:"totalValues",defaultFontStyle:["bold"],translation:"properties.totals",translator:t,flags:e,getThemeValue:HE,disableNoneCallback:YE}),nullValues:$E({section:"nullValues",fallbackBackground:Tx.NULL_VALUE_BACKGROUND,getThemeValue:HE}),grid:WE(e),hoverEffectSection:UE,zebraStripes:{translation:"properties.zebraStripes",component:"panel-section",items:{hoverEffectItem:{component:"items",ref:"components",key:"theme",items:{zebraStripesEnable:{ref:"grid.zebraStripes.show",translation:"properties.zebraStripes.enable",type:"boolean",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1},zebraStripesColorOdd:{show:BE,ref:"grid.zebraStripes.color.odd",translation:"properties.zebraStripes.color.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundrOdd:{show:BE,ref:"grid.zebraStripes.background.odd",translation:"properties.zebraStripes.background.odd",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1},zebraStripesColorEven:{show:BE,ref:"grid.zebraStripes.color.even",translation:"properties.zebraStripes.color.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!0},zebraStripesBackgroundEven:{show:BE,ref:"grid.zebraStripes.background.even",translation:"properties.zebraStripes.background.even",type:"object",component:"color-picker",dualOutput:!0,disableNone:!1}}}}}}}]}),XE=e=>({uses:"settings",items:{presentation:{grouped:!0,type:"items",translation:"properties.presentation",items:[KE(e),TE(e),{ref:"usePagination",translation:"properties.usePagination",type:"boolean",component:"checkbox",defaultValue:!1},{type:"items",translation:"Object.Table.WrapText",items:[{component:"text",translation:"Object.Table.Multiline"},{ref:"multiline.wrapTextInHeaders",type:"boolean",translation:"Object.Table.Multiline.WrapTextInHeaders",component:"checkbox",defaultValue:!0},{ref:"multiline.wrapTextInCells",type:"boolean",translation:"Object.Table.Multiline.WrapTextInCells",component:"checkbox",defaultValue:!0}]},{ref:"hideHeader",translation:"properties.hideHeader",type:"boolean",component:"checkbox",defaultValue:!1},{ref:"nullValueRepresentation.text",type:"string",translation:"properties.pivot.nullValueText",defaultValue:"-"}]},...DE}}),JE={uses:"sorting"},ZE={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{calcCond:{uses:"calcCond"}}}}},QE=e=>({type:"items",component:"accordion",items:{data:_E(e),sorting:JE,addOns:ZE,settings:XE(e)}});function ew(e){var t,r;return{definition:QE(e),exploration:aE,data:dE(e),support:{export:!0,exportData:!0,snapshot:!0,viewData:!1,exploration:!0,cssScaling:!0,modifiers:null!==(t=e.anything.sense)&&void 0!==t&&null!==(r=t.isUnsupportedFeature)&&void 0!==r&&r.call(t,"modifiers")?void 0:["accumulation","movingAverage","difference","normalization"]},importProperties(e,t,r,n,o){const i={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()};return iE({exportFormat:e,initialProperties:t,extension:r,hypercubePath:n,defaultPropertyValues:i,viewDataMode:o})},exportProperties:(e,t)=>QC({propertyTree:e,hyperCubePath:t})}}const tw=(t,r)=>e((()=>((e,t)=>(r,{isDim:n,colIdx:o})=>{var i;const a=n?o:o-e.qDimensionInfo.length,s=`/qHyperCubeDef/${n?"qDimensions":"qMeasures"}/${a}/qDef/columnWidth`,l=null===(i=e[n?"qDimensionInfo":"qMeasureInfo"].at(a))||void 0===i?void 0:i.columnWidth,u=l?{qPath:s,qOp:"Replace",qValue:JSON.stringify({...l,...r})}:{qPath:s,qOp:"Add",qValue:JSON.stringify(r)};null==t||t.applyPatches([u],!0)})(t,r)),[t,r]),rw=e=>-1===e?{}:e.qAttrExprInfo.reduce(((e,{id:t},r)=>(e[t]=r,e)),{}),nw=[];for(let e=0;e<256;++e)nw.push((e+256).toString(16).slice(1));let ow;const iw=new Uint8Array(16);var aw={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function sw(e,t,r){var n,o,i,a;if(aw.randomUUID&&!e)return aw.randomUUID();const s=null!==(n=null!==(o=(e=e||{}).random)&&void 0!==o?o:null===(i=(a=e).rng)||void 0===i?void 0:i.call(a))&&void 0!==n?n:function(){if(!ow){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ow=crypto.getRandomValues.bind(crypto)}return ow(iw)}();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=15&s[6]|64,s[8]=63&s[8]|128,function(e,t=0){return(nw[e[t+0]]+nw[e[t+1]]+nw[e[t+2]]+nw[e[t+3]]+"-"+nw[e[t+4]]+nw[e[t+5]]+"-"+nw[e[t+6]]+nw[e[t+7]]+"-"+nw[e[t+8]]+nw[e[t+9]]+"-"+nw[e[t+10]]+nw[e[t+11]]+nw[e[t+12]]+nw[e[t+13]]+nw[e[t+14]]+nw[e[t+15]]).toLowerCase()}(s)}const lw=()=>{var e,t,r;return null!==(e=null===(t=crypto)||void 0===t||null===(r=t.randomUUID)||void 0===r?void 0:r.call(t))&&void 0!==e?e:sw()},uw=({qLibraryId:e,cId:t})=>{var r;return null!==(r=null!=e?e:t)&&void 0!==r?r:lw()},cw=e=>"number"==typeof e&&!Number.isNaN(+e),dw=e=>cw(e.qNum),pw=e=>"string"==typeof e&&e.length>0&&!Number.isNaN(+e);function fw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function hw(e,t,r){return t=vw(t),function(e,t){if(t&&("object"==typeof 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)}(e,xw()?Reflect.construct(t,r||[],vw(e).constructor):t.apply(e,r))}function mw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ew(n.key),n)}}function bw(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function vw(e){return vw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vw(e)}function yw(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&&Sw(e,t)}function xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xw=function(){return!!e})()}function Sw(e,t){return Sw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sw(e,t)}function Cw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fw(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ew(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}function ww(e){return ww="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},ww(e)}var Rw={fromSearchString:function(e){if(!e)return[];"?"===e[0]&&(e=e.substr(1));var t=[];return e.split("&").forEach((function(e){if(e){var r,n=e.indexOf("="),o="",i=!1;-1===n?r=e:(r=e.slice(0,n),o=e.slice(n+1),i=!0),t.push(function(e,t,r){return{key:Aw(e),value:Aw(t),useEqualSign:r}}(r,o,i))}})),t}};function Aw(e){try{return decodeURIComponent(e)}catch(t){return e}}function kw(e){if(!(this instanceof kw))throw new Error("Url needs to be called with the new keyword");if(!e)throw new Error("Url needs a string to operate on");var t=function(e){var t={authorityAndPath:"",search:"",hash:""},r=e.indexOf("#");-1!==r&&(t.hash=e.substr(r),e=e.substr(0,r));r=e.indexOf("?"),-1!==r&&(t.search=e.substr(r),e=e.substr(0,r));return t.authorityAndPath=e,t}(e);Object.defineProperties(this,{authorityAndPath:{value:t.authorityAndPath},search:{value:t.search},hash:{value:t.hash},searchParams:{get:function(){return Rw.fromSearchString(t.search)}}})}function Pw(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}kw.encodeAuthorityAndPath=function(e){return encodeURI(e).replace(/%5B/gi,"[").replace(/%5D/gi,"]").replace(/%25/gi,"%")},kw.encodeSearchParams=function(e){for(var t,r="",n=0;n<e.length;n++)r+=0===n?"?":"&",r+=Pw((t=e[n]).key),t.value?r+="=".concat(Pw(t.value)):r+=t.useEqualSign?"=":"";return r};var Lw,Iw=function(){return bw((function e(t){mw(this,e),this._input=t,this._pushback=null,this._temp=null,this._index=0,this._mark=0}),[{key:"_hasNext",value:function(){return null!=this._input&&(0!==this._input.length&&this._index<this._input.length)}},{key:"pushback",value:function(e){this._pushback=e}},{key:"index",value:function(){return this._index}},{key:"hasNext",value:function(){return null!=this._pushback||this._hasNext()}},{key:"next",value:function(){if(null!=this._pushback){var e=this._pushback;return this._pushback=null,e}return this._hasNext()?this._input.charAt(this._index++):null}},{key:"nextHex",value:function(){var e=this.next();return null==e?null:e.match(/[0-9A-Fa-f]/)?e:null}},{key:"peek",value:function(e){return e?!(!this._pushback||this._pushback!==e)||!!this._hasNext()&&this._input.charAt(this._index)===e:this._pushback?this._pushback:this._hasNext()?this._input.charAt(this._index):null}},{key:"mark",value:function(){this._temp=this._pushback,this._mark=this._index}},{key:"reset",value:function(){this._pushback=this._temp,this._index=this._mark}},{key:"remainder",value:function(){var e=this._input.substr(this._index);return null!=this._pushback&&(e=this._pushback+e),e}}])}(),Mw=function(){return bw((function e(){mw(this,e)}),[{key:"decode",value:function(e){for(var t,r="",n=new Iw(e);n.hasNext();)r+=null!=(t=this.decodeCharacter(n))?t:n.next();return r}},{key:"decodeCharacter",value:function(e){return e.next()}}])}(),_w=function(e){return e>=0&&e<=1114111},Dw=function(e){return e.match(/[\s]/)},Tw=function(){function e(){return mw(this,e),hw(this,e,arguments)}return yw(e,Mw),bw(e,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o=e.next();if(null==o||"\\"!==o)return e.reset(),null;var i=e.next();if(null==i)return e.reset(),null;switch(i){case"\r":e.peek("\n")&&e.next();case"\n":case"\f":case"\0":return this.decodeCharacter(e)}if("NaN"===parseInt(i,16))return i;for(t=i,r=0;r<5&&(null!=(n=e.next())&&!Dw(n));r++){if("NaN"===parseInt(n,16)){e.pushback(n);break}t+=n}var a=parseInt(t,16);return _w(a)?String.fromCharCode(a):"�"}}])}(),Ow=function(){function e(t,r){mw(this,e),this._key=t,this._value=r}return bw(e,[{key:"getKey",value:function(){return this._key}},{key:"getValue",value:function(){return this._value}},{key:"equals",value:function(t){return t instanceof e&&(this._key===t._key&&this._value===t._value)}}],[{key:"newInstanceIfNeeded",value:function(){var t,r,n=arguments[0];return"string"==typeof arguments[1]?(t=arguments[1],r=n.length):(r=arguments[1],t=arguments[2]),t&&n?(n.length>r&&(n=n.substr(0,r)),new e(n,t)):null}}])}(),qw=function(){function e(){mw(this,e)}return bw(e,[{key:"setValue",value:function(e){this._nextMap=null,this._value=e}},{key:"getNextNode",value:function(e){return this._nextMap?this._nextMap[e]:null}},{key:"put",value:function(t,r,n){var o,i;if(t.length===r)return i=this._value,this.setValue(n),i;var a=t.charAt(r);return this._nextMap?(o=this._nextMap[a])||(o=new e,this._nextMap[a]=o):(this._nextMap={},o=new e,this._nextMap[a]=o),o.put(t,r+1,n)}},{key:"get",value:function(e,t){if(e.length<=t)return this._value;var r=this.getNextNode(e.charAt(t));return r?r.get(e,t+1):null}},{key:"getLongestMatch",value:function(e,t){if(e.length<=t)return Ow.newInstanceIfNeeded(e,this._value);var r=this.getNextNode(e.charAt(t));if(!r)return Ow.newInstanceIfNeeded(e,t,this._value);var n=r.getLongestMatch(e,t+1);return n||Ow.newInstanceIfNeeded(e,t,this._value)}}])}(),Nw=function(){return bw((function e(){mw(this,e),this.clear()}),[{key:"getLongestMatch",value:function(e){return this.root&&e?this.root.getLongestMatch(e,0):null}},{key:"getMaxKeyLength",value:function(){return this.maxKeyLen}},{key:"clear",value:function(){this.root=null,this.maxKeyLen=0,this.size=0}},{key:"put",value:function(e,t){this.root||(this.root=new qw);var r=this.root.put(e,0,t);return r||(e.length>this.maxKeyLen&&(this.maxKeyLen=e.length),this.size++,null)}}])}(),jw=function(){var e,t,r,n=[],o=[],i=new Nw;for(e in n["&quot"]="34",n["&amp"]="38",n["&lt"]="60",n["&gt"]="62",n["&nbsp"]="160",n["&iexcl"]="161",n["&cent"]="162",n["&pound"]="163",n["&curren"]="164",n["&yen"]="165",n["&brvbar"]="166",n["&sect"]="167",n["&uml"]="168",n["&copy"]="169",n["&ordf"]="170",n["&laquo"]="171",n["&not"]="172",n["&shy"]="173",n["&reg"]="174",n["&macr"]="175",n["&deg"]="176",n["&plusmn"]="177",n["&sup2"]="178",n["&sup3"]="179",n["&acute"]="180",n["&micro"]="181",n["&para"]="182",n["&middot"]="183",n["&cedil"]="184",n["&sup1"]="185",n["&ordm"]="186",n["&raquo"]="187",n["&frac14"]="188",n["&frac12"]="189",n["&frac34"]="190",n["&iquest"]="191",n["&Agrave"]="192",n["&Aacute"]="193",n["&Acirc"]="194",n["&Atilde"]="195",n["&Auml"]="196",n["&Aring"]="197",n["&AElig"]="198",n["&Ccedil"]="199",n["&Egrave"]="200",n["&Eacute"]="201",n["&Ecirc"]="202",n["&Euml"]="203",n["&Igrave"]="204",n["&Iacute"]="205",n["&Icirc"]="206",n["&Iuml"]="207",n["&ETH"]="208",n["&Ntilde"]="209",n["&Ograve"]="210",n["&Oacute"]="211",n["&Ocirc"]="212",n["&Otilde"]="213",n["&Ouml"]="214",n["&times"]="215",n["&Oslash"]="216",n["&Ugrave"]="217",n["&Uacute"]="218",n["&Ucirc"]="219",n["&Uuml"]="220",n["&Yacute"]="221",n["&THORN"]="222",n["&szlig"]="223",n["&agrave"]="224",n["&aacute"]="225",n["&acirc"]="226",n["&atilde"]="227",n["&auml"]="228",n["&aring"]="229",n["&aelig"]="230",n["&ccedil"]="231",n["&egrave"]="232",n["&eacute"]="233",n["&ecirc"]="234",n["&euml"]="235",n["&igrave"]="236",n["&iacute"]="237",n["&icirc"]="238",n["&iuml"]="239",n["&eth"]="240",n["&ntilde"]="241",n["&ograve"]="242",n["&oacute"]="243",n["&ocirc"]="244",n["&otilde"]="245",n["&ouml"]="246",n["&divide"]="247",n["&oslash"]="248",n["&ugrave"]="249",n["&uacute"]="250",n["&ucirc"]="251",n["&uuml"]="252",n["&yacute"]="253",n["&thorn"]="254",n["&yuml"]="255",n["&OElig"]="338",n["&oelig"]="339",n["&Scaron"]="352",n["&scaron"]="353",n["&Yuml"]="376",n["&fnof"]="402",n["&circ"]="710",n["&tilde"]="732",n["&Alpha"]="913",n["&Beta"]="914",n["&Gamma"]="915",n["&Delta"]="916",n["&Epsilon"]="917",n["&Zeta"]="918",n["&Eta"]="919",n["&Theta"]="920",n["&Iota"]="921",n["&Kappa"]="922",n["&Lambda"]="923",n["&Mu"]="924",n["&Nu"]="925",n["&Xi"]="926",n["&Omicron"]="927",n["&Pi"]="928",n["&Rho"]="929",n["&Sigma"]="931",n["&Tau"]="932",n["&Upsilon"]="933",n["&Phi"]="934",n["&Chi"]="935",n["&Psi"]="936",n["&Omega"]="937",n["&alpha"]="945",n["&beta"]="946",n["&gamma"]="947",n["&delta"]="948",n["&epsilon"]="949",n["&zeta"]="950",n["&eta"]="951",n["&theta"]="952",n["&iota"]="953",n["&kappa"]="954",n["&lambda"]="955",n["&mu"]="956",n["&nu"]="957",n["&xi"]="958",n["&omicron"]="959",n["&pi"]="960",n["&rho"]="961",n["&sigmaf"]="962",n["&sigma"]="963",n["&tau"]="964",n["&upsilon"]="965",n["&phi"]="966",n["&chi"]="967",n["&psi"]="968",n["&omega"]="969",n["&thetasym"]="977",n["&upsih"]="978",n["&piv"]="982",n["&ensp"]="8194",n["&emsp"]="8195",n["&thinsp"]="8201",n["&zwnj"]="8204",n["&zwj"]="8205",n["&lrm"]="8206",n["&rlm"]="8207",n["&ndash"]="8211",n["&mdash"]="8212",n["&lsquo"]="8216",n["&rsquo"]="8217",n["&sbquo"]="8218",n["&ldquo"]="8220",n["&rdquo"]="8221",n["&bdquo"]="8222",n["&dagger"]="8224",n["&Dagger"]="8225",n["&bull"]="8226",n["&hellip"]="8230",n["&permil"]="8240",n["&prime"]="8242",n["&Prime"]="8243",n["&lsaquo"]="8249",n["&rsaquo"]="8250",n["&oline"]="8254",n["&frasl"]="8260",n["&euro"]="8364",n["&image"]="8365",n["&weierp"]="8472",n["&real"]="8476",n["&trade"]="8482",n["&alefsym"]="8501",n["&larr"]="8592",n["&uarr"]="8593",n["&rarr"]="8594",n["&darr"]="8595",n["&harr"]="8596",n["&crarr"]="8629",n["&lArr"]="8656",n["&uArr"]="8657",n["&rArr"]="8658",n["&dArr"]="8659",n["&hArr"]="8660",n["&forall"]="8704",n["&part"]="8706",n["&exist"]="8707",n["&empty"]="8709",n["&nabla"]="8711",n["&isin"]="8712",n["&notin"]="8713",n["&ni"]="8715",n["&prod"]="8719",n["&sum"]="8721",n["&minus"]="8722",n["&lowast"]="8727",n["&radic"]="8730",n["&prop"]="8733",n["&infin"]="8734",n["&ang"]="8736",n["&and"]="8743",n["&or"]="8744",n["&cap"]="8745",n["&cup"]="8746",n["&int"]="8747",n["&there4"]="8756",n["&sim"]="8764",n["&cong"]="8773",n["&asymp"]="8776",n["&ne"]="8800",n["&equiv"]="8801",n["&le"]="8804",n["&ge"]="8805",n["&sub"]="8834",n["&sup"]="8835",n["&nsub"]="8836",n["&sube"]="8838",n["&supe"]="8839",n["&oplus"]="8853",n["&otimes"]="8855",n["&perp"]="8869",n["&sdot"]="8901",n["&lceil"]="8968",n["&rceil"]="8969",n["&lfloor"]="8970",n["&rfloor"]="8971",n["&lang"]="9001",n["&rang"]="9002",n["&loz"]="9674",n["&spades"]="9824",n["&clubs"]="9827",n["&hearts"]="9829",n["&diams"]="9830",n)"function"!=typeof n[e]&&n.hasOwnProperty(e)&&(o[n[e]]=e);for(t in o)"function"!=typeof o[t]&&o.hasOwnProperty(t)&&(r=o[t].toLowerCase().substr(1),i.put(r,String.fromCharCode(t)));return i}(),zw=function(){function e(){return mw(this,e),hw(this,e,arguments)}return yw(e,Mw),bw(e,[{key:"decodeCharacter",value:function(e){var t;e.mark();var r=e.next();if(null==r||"&"!==r)return e.reset(),null;var n=e.next();if(null==n)return e.reset(),null;if("#"===n){if(null!=(t=this._getNumericEntity(e)))return t}else if(n.match(/[A-Za-z]/)&&(e.pushback(n),null!=(t=this._getNamedEntity(e))))return t;return e.reset(),null}},{key:"_getNamedEntity",value:function(e){var t,r,n,o="";for(t=Math.min(e.remainder().length,jw.getMaxKeyLength()),n=0;n<t;n++)o+=e.next().toLowerCase();var i=jw.getLongestMatch(o);if(null==i)return null;for(e.reset(),e.next(),t=i.getKey().length,r=0;r<t;r++)e.next();return e.peek(";")&&e.next(),i.getValue()}},{key:"_getNumericEntity",value:function(e){var t=e.peek();return null==t?null:"x"===t||"X"===t?(e.next(),this._parseHex(e)):this._parseNumber(e)}},{key:"_parseHex",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,16))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,16);return!Number.isNaN(+n)&&_w(n)?String.fromCharCode(n):null}},{key:"_parseNumber",value:function(e){for(var t,r="";e.hasNext();){if(t=e.peek(),Number.isNaN(+parseInt(t,10))){if(";"===t){e.next();break}break}r+=t,e.next()}var n=parseInt(r,10);return!Number.isNaN(+n)&&_w(n)?String.fromCharCode(n):null}}])}(),Fw=function(){function e(){return mw(this,e),hw(this,e,arguments)}return yw(e,Mw),bw(e,[{key:"decodeCharacter",value:function(e){e.mark();var t,r,n,o,i=e.next();if(null==i)return e.reset(),null;if("%"!==i)return e.reset(),null;for(t="",r=0;r<2;r++)null!=(n=e.nextHex())&&(t+=n);return 2===t.length&&(o=parseInt(t,16),_w(o))?String.fromCharCode(o):(e.reset(),null)}}])}(),$w=/^data:(?<!\s)\s*(image\/[\w+-.]+)(?<!\s)\s*(;.*?){0,1}(?<!\s)\s*,(.*)/i;"undefined"!=typeof document&&(Lw=document.createElement("div"));var Hw=Array.prototype.indexOf,Bw=[",",".","_"," "],Gw=[",",".","-","_"," "],Ww={width:["%"],height:["%"]},Vw={default:["-"," ","%"],color:["#"," ","(",")"],image:["(",")",":","/","?","&","-",".",'"',"="," "]},Uw={background:["(",")",":","%","/","?","&","-"," ",".",'"',"=","#"],"background-image":Vw.image,"background-color":Vw.color,"border-color":Vw.color,"border-image":Vw.image,color:Vw.color,icon:Vw.image,"list-style-image":Vw.image,"outline-color":Vw.color},Yw={attr_name:["^on[a-z]{1,}","style","href","src"],attr_val:["javascript:","data:"],css_key:["behavior","-moz-behavior","-ms-behavior"],css_val:["expression"]};function Kw(e,t,r){var n;if(t){if(Hw)return Hw.call(t,e,r);for(n=t.length,r=r?r<0?Math.max(0,n+r):r:0;r<n;r++)if(r in t&&t[r]===e)return r}return-1}function Xw(e){if(null==e)return"";var t,r=document.createTextNode(e);return Lw.appendChild(r),t=Lw.innerHTML,Lw.removeChild(r),t}function Jw(e,t,r){var n,o,i,a,s,l,u,c,d;for(e=Qw(e).toLowerCase(),t=Qw(t),i=0;i<Yw.attr_name.length;i++)if(e.match(Yw.attr_name[i]))throw new Error("Unsafe attribute name used: ".concat(e));for(i=0;i<Yw.attr_val.length;i++)if(t.toLowerCase().match(Yw.attr_val[i]))throw new Error("Unsafe attribute value used: ".concat(t));if((n=Ww[e])||(n=Gw),o="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z\-0-9]/))throw new Error("Invalid attribute name specified");o+=s}o+='="'}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&Kw(u,n)<0?(d=c.toString(16),o+="&#x".concat(d,";")):o+=u;return r||(o+='"'),o}function Zw(e,t,r){var n,o,i,a,s,l,u,c,d,p;if(e=Qw(e).toLowerCase(),t=Qw(t),Kw(e,Yw.css_key)>=0)throw new Error("Unsafe property name used: ".concat(e));for(n=0;n<Yw.css_val.length;n++)if(t.toLowerCase().indexOf(Yw.css_val[n])>=0)throw new Error("Unsafe property value used: ".concat(t));if((o=Uw[e])||(o=Vw.default),i="",!r){for(a=0;a<e.length;a++){if(!(s=e.charAt(a)).match(/[a-zA-Z-]/))throw new Error("Invalid Property Name specified");i+=s}i+=": "}for(l=0;l<t.length;l++)u=t.charAt(l),c=t.charCodeAt(l),!u.match(/[a-zA-Z0-9]/)&&Kw(u,o)<0?(d=c.toString(16),p="000000".substr(d.length),i+="\\".concat(p).concat(d)):i+=u;return i}function Qw(e,t){var r,n,o,i,a=!1;if(null===e)return null;r=e,n=e,o=0;for(var s=[new zw,new Fw,new Tw];!a;){n=r;for(var l=0;l<s.length;l++)(i=s[l].decode(r))!==r&&(o++,r=i);n!==r||(a=!0)}if(t&&o>1)throw new Error("Attack Detected - Multiple/Double Encodings used in input");return r}for(var eR=[],tR=0;tR<255;tR++)eR[tR]=tR>=48&&tR<=57||tR>=65&&tR<=90||tR>=97&&tR<=122?null:tR.toString(16);var rR=function(e){return Xw(e.unsafe)},nR=function(e){var t,r=[],n=[],o={},i="";for(t in e.map?r=e.map:r[e.name]=e.unsafe,r)"function"!=typeof r[t]&&r.hasOwnProperty(t)&&(n[t]=Zw(t,r[t],!0),i+=Zw(t,r[t],!0),o[t]=n[t]);return e.map?o:i},oR=function(e){var t=[],r=[],n={},o="";for(var i in e.map?t=e.map:t[e.name]=e.unsafe,t)"function"!=typeof t[i]&&t.hasOwnProperty(i)&&(r[i]=Jw(i,t[i],!0),o+=Jw(i,t[i],!0),n[i]=r[i]);return e.map?n:o};function iR(e,t){throw new Error(t)}var aR={canonicalize:Qw,encode:function(){var e={context:"html",unsafe:null,name:null,map:null,setter:null,strict:!0};return 1===arguments.length&&"object"===ww(arguments[0])?function(){for(var e,t,r,n=arguments[0]||{},o=1,i=arguments.length;o<i;o++)if(null!=(e=arguments[o]))for(t in e)if(e.hasOwnProperty(t)){if(n===(r=e[t]))continue;void 0!==r&&(n[t]=r)}}(e,arguments[0]):(e.context=arguments[0],2===arguments.length?"html"===e.context?e.unsafe=arguments[1]:"attr"!==e.context&&"css"!==e.context||(e.map=arguments[1]):(e.name=arguments[2],e.unsafe=arguments[1])),"html"===e.context?rR(e):"css"===e.context?(null!=e.map&&"object"!==ww(e.map)&&iR(this,"Invalid parameter type"),nR(e)):"attr"===e.context?(null!=e.map&&"object"!==ww(e.map)&&iR(this,"Invalid parameter type"),oR(e)):void iR(this,"Invalid parameter type")},encodeForAttr:Jw,encodeForAttr2:function(e){return Jw("nonsens",e,!0)},encodeForCSS:Zw,encodeForHref:function(e){Qw(e),0!==e.search("[a-zA-Z0-9]+:")&&(e="http://".concat(e));var t=new kw(e),r=kw.encodeAuthorityAndPath(decodeURI(t.authorityAndPath)),n=t.searchParams,o=(e=r+kw.encodeSearchParams(n)+t.hash).toLowerCase();if(-1!==o.indexOf("javascript:"))throw new Error("Attack Detected - Javascript in input");if(-1!==o.indexOf("data:"))throw new Error("Attack Detected - data in input");return e},encodeForJS:function(e,t){var r,n,o,i,a,s;for(t||(t=Bw),s="",r=0;r<e.length;r++)o=e.charAt(r),i=e.charCodeAt(r),Kw(o,t)>=0||null==eR[i]?s+=o:(n=i.toString(16),i<256?(a="00".substr(n.length),s+="\\x".concat(a).concat(n.toUpperCase())):(a="0000".substr(n.length),s+="\\u".concat(a).concat(n.toUpperCase())));return s},encodeForHTML:Xw,encodeForURL:function(e,t){var r="";return t&&(t.match(/^[A-Za-z\-0-9]{1,}$/)?r+=Qw(t).toLowerCase():iR(this,"Illegal Attribute Name Specified"),r+='="'),r+=encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A"),r+=t?'"':""},isSafeDataURL:function(e,t){var r=null!=t?t:{},n=r.maxByteSizeSvg,o=void 0===n?5e5:n,i=r.maxByteSizeImage,a=void 0===i?5e6:i,s=function(e){var t,r=Cw(null!==(t=$w.exec(e.trim()))&&void 0!==t?t:[],4),n=r[1];return{encoding:r[2],data:r[3],mimeType:null==n?void 0:n.toLocaleLowerCase()}}(e),l=s.mimeType,u=s.encoding,c=s.data;if(!c)return!0;var d=function(e,t,r){var n={type:e};if(null!=t&&t.includes(";base64"))try{return new Blob([atob(r)],n).size}catch(e){return new Blob([r],n).size}return"image/svg+xml"===e?new Blob([r],n).size:0}(l,u,c);return"image/svg+xml"===l?d<=o:d<=a},validateURI:function(e){if(""===e||function(e){if("canParse"in URL)return URL.canParse(e);try{return new URL(e),!0}catch(e){return!1}}(e))return!1;var t=e.replace(/%2E/gi,".");if(t.match(/[#&=: ]/))return!1;var r=function(e){for(var t=e,r="";t.length>0;)if(t.startsWith("../")||t.startsWith("./"))t=t.replace(/^\.\.?\//,"");else if(t.startsWith("/./"))t=t.replace(/^\/\.\//,"/");else if("/."===t)t="/";else if(t.startsWith("/../")){t=t.replace(/^\/\.\.\//,"/");var n=r.lastIndexOf("/");-1!==n&&(r=r.slice(0,n))}else if("/.."===t){t="/";var o=r.lastIndexOf("/");-1!==o&&(r=r.slice(0,o))}else if("."===t||".."===t)t="";else{var i=t.match(/^\/?[^/]*/),a=i?i[0]:"";t=t.slice(a.length),r+=a}return r}(t);return""!==r&&"/"!==r&&r}};const sR=(e,t)=>{var r;return null===(r=t.qAttrExps)||void 0===r||null===(r=r.qValues)||void 0===r?void 0:r[e]},lR=(e,t)=>{switch(e){case"topLeft":default:return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-start"};case"centerLeft":return{horizontal:"center",vertical:"flex-start"};case"bottomLeft":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-start"};case"topCenter":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"center"};case"centerCenter":return{horizontal:"center",vertical:"center"};case"bottomCenter":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"center"};case"topRight":return{horizontal:"rtl"===t?"flex-end":"flex-start",vertical:"flex-end"};case"centerRight":return{horizontal:"center",vertical:"flex-end"};case"bottomRight":return{horizontal:"rtl"===t?"flex-start":"flex-end",vertical:"flex-end"}}},uR=({text:e,url:t,imageSize:r,imagePosition:n,labelStructure:o,imageBox:i,direction:a})=>n&&t&&!t.toLowerCase().includes("javascript:")&&aR.isSafeDataURL(t)?{type:pE.Image,url:t,text:e,imageSize:r,resolvedImagePosition:lR(n,a),labelStructure:o,imageBox:i}:{type:pE.Text,url:void 0,text:e,labelStructure:o},cR=(e,t,r,n)=>{if(!e.qMiniChart||null==t||!t.miniChart||!r)return{type:pE.Text,text:n};const{minY:o,maxY:i}=((e,t,r)=>{var n,o;const i="global"===(null===(n=t.yAxis)||void 0===n?void 0:n.scale),a="zeroCenter"===(null===(o=t.yAxis)||void 0===o?void 0:o.position),s=i?r.qYMin:e.qMiniChart.qMin,l=i?r.qYMax:e.qMiniChart.qMax;if(a){const e=Math.max(Math.abs(s),Math.abs(l));return{minY:-e,maxY:e}}return(e=>{var t,r;return"zeroBaseline"===(null===(t=e.yAxis)||void 0===t?void 0:t.position)||"bars"===e.type&&"auto"===(null===(r=e.yAxis)||void 0===r?void 0:r.position)})(t)?{minY:Math.min(0,s),maxY:Math.max(0,l)}:{minY:s,maxY:l}})(e,t.miniChart,r),a={type:t.miniChart.type,qMatrix:e.qMiniChart.qMatrix,minY:o,maxY:i,showDots:!!t.miniChart.showDots,colors:t.miniChart.colors,colorMin:e.qMiniChart.qMin,colorMax:e.qMiniChart.qMax};return{type:pE.MiniChart,text:n,miniChart:a}},dR=(e,t,r)=>{var n;const o=Array.isArray(t.qAttrExps)?t.qAttrExps[0]:t.qAttrExps,i=null==o||null===(n=o.qValues)||void 0===n?void 0:n[e];if(i){const e=Number.isNaN(+i.qNum)?void 0:`${i.qNum}`;return i.qText||e}return(null==r?void 0:r.urlPosition)===fE.Attribute||null==r?void 0:r.urlLabel},pR=({labelStructure:e,text:t,url:r})=>{try{if(!r)throw Error("Invalid url");return{type:pE.Link,url:aR.encodeForHref(r),text:t,labelStructure:e}}catch(r){return{type:pE.Text,url:void 0,text:t,labelStructure:e}}},fR=({cell:e,representationProperties:t,attrExprInfoIndex:r,env:n,conditionalColoring:o,miniChartOnMeasure:i,labelStructure:a,getText:s=e=>e.qText,direction:l,enabledFeatures:u})=>{var c,d,p,f,h,m;const g=hE(t),b=s(e);return g!==pE.Image||!u[pE.Image]||null!==(c=n.anything.sense)&&void 0!==c&&null!==(d=c.isUnsupportedFeature)&&void 0!==d&&d.call(c,"tableImages")?g===pE.Link?((e,t,r,n,o)=>{const{urlPosition:i}=null!=t?t:{};if(i===fE.Attribute){var a;const i=dR(null!==(a=r.url)&&void 0!==a?a:-1,e,t);return pR({labelStructure:n,text:o||i||"",url:i})}if(i===fE.Dimension){var s,l;const i=dR(null!==(s=r.urlLabel)&&void 0!==s?s:-1,e,t)||o;return n&&(n.maskedValue=i),pR({text:i,labelStructure:n,url:null!==(l=null==n?void 0:n.originalValue)&&void 0!==l?l:o})}return{type:pE.Text,url:void 0,text:o,labelStructure:n}})(e,t,r,a,b):g!==pE.Indicator||!u[pE.Indicator]||null!==(p=n.anything.sense)&&void 0!==p&&null!==(f=p.isUnsupportedFeature)&&void 0!==f&&f.call(p,"tableIndicators")?g!==pE.MiniChart||!u[pE.MiniChart]||null!==(h=n.anything.sense)&&void 0!==h&&null!==(m=h.isUnsupportedFeature)&&void 0!==m&&m.call(h,"qMiniChartDef")?{type:pE.Text,url:void 0,text:b,labelStructure:a}:cR(e,t,i,b):((e,t,r)=>{const{indicator:n}=null!=e?e:{};return{type:pE.Indicator,url:void 0,text:r,indicator:{applySegmentColors:null==n?void 0:n.applySegmentColors,position:null==n?void 0:n.position,showTextValues:null==n?void 0:n.showTextValues},indicatorConditionalColoring:t}})(t,o,b):((e,t,r,n,o,i)=>{const{imageSize:a,imagePosition:s,imageSetting:l,imageLabel:u,imageBox:c}=null!=t?t:{};if("url"===l){var d,p;const t=null===(d=sR(null!==(p=r.imageUrl)&&void 0!==p?p:-1,e))||void 0===d?void 0:d.qText;return i&&(i.maskedValue=null!=t?t:""),uR({text:n,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}if("label"===l){var f,h,m;const t=i?i.originalValue:n;if(-1===r.imageLabel)return uR({text:u||t||"",url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o});const l=null!==(f=null===(h=sR(null!==(m=r.imageLabel)&&void 0!==m?m:-1,e))||void 0===h?void 0:h.qText)&&void 0!==f?f:n;return uR({text:l,url:t,imageSize:a,imagePosition:s,labelStructure:i,imageBox:c,direction:o})}return{type:pE.Text,url:void 0,labelStructure:i,text:n}})(e,t,r,b,l,a)},hR=(e,t)=>t?-2===e.qElemNumber:!!e.qIsNull,mR=(e,t,r)=>{var n,o,i;return null!==(n=null!==(o=e||null===(i=r.nullValueRepresentation)||void 0===i?void 0:i.text)&&void 0!==o?o:t.qText)&&void 0!==n?n:"-"},gR=1e4;function bR(e,t){return[...t].reverse().find((t=>t*e<=gR))||Math.floor(gR/e)}function vR(e,t){var r;if(null!==(r=t.viewState)&&void 0!==r&&r.skipTotals)return{atTop:!1,atBottom:!1};const[n,o,i,a,s]=[e.qHyperCube.qDimensionInfo.length>0,e.qHyperCube.qMeasureInfo.length>0,e.qHyperCube.qGrandTotalRow.length>0,e.totals.show,e.totals.position];if(i&&(n&&o||!a&&!n)){if(a||"top"===s)return{atTop:!0,atBottom:!1};if("bottom"===s)return{atTop:!1,atBottom:!0}}return{atTop:!1,atBottom:!1}}function yR(e,t,r,n){var o,i,a;return t?0===r&&null!==(a=e.totals.label)&&void 0!==a?a:"":null!==(o=null===(i=e.qHyperCube.qGrandTotalRow.at(n))||void 0===i?void 0:i.qText)&&void 0!==o?o:""}function xR(e,t){const r=e.qHyperCube.qGrandTotalRow.at(t);return cw(null==r?void 0:r.qNum)}function SR(e,t,r,n,o){return e&&!e.auto?n&&"rtl"===o&&"center"!==e.align?{headTextAlign:"right"===e.align?"left":"right",totalsTextAlign:"right"===e.align?"left":"right",bodyTextAlign:"right"===e.align?"left":"right"}:{headTextAlign:e.align,totalsTextAlign:e.align,bodyTextAlign:e.align}:n||"rtl"!==o?{headTextAlign:"N"===t||void 0===t?"right":"left",totalsTextAlign:r?"left":"right",bodyTextAlign:"auto"}:{headTextAlign:"N"===t||void 0===t?"left":"right",totalsTextAlign:r?"right":"left",bodyTextAlign:"auto"}}const CR=(e,t,r,n)=>"auto"!==t?t:n||"rtl"!==r?e?"right":"left":e?"left":"right";const ER=(e,t,r)=>{const{qHyperCube:{qColumnOrder:n,qDimensionInfo:o,qMeasureInfo:i}}=e,a=o.length+i.length,s=n.length===a?n:Array.from(Array(a).keys()),{visibleColumnsOrder:l,visibleColumnIndexes:u}=((e,t,r)=>{const n=t.length,o=[];let i=0,a=0;return{visibleColumnsOrder:e.filter((e=>{const s=e<n,{qError:l}=s?t[e]:r[e-n],u=7005===(null==l?void 0:l.qErrorCode);return u?s?i++:a++:o[e]=s?e-i:e-n-a,!u})),visibleColumnIndexes:o}})(s,o,i);return l.map(((n,o)=>function(e,t,r,n,o,i){const{qDimensionInfo:a,qMeasureInfo:s,qEffectiveInterColumnSortOrder:l}=e.qHyperCube,u=a.length,c=t<u,d=c?a[t]:s[t-u],p=c&&a[t].qGrouping===gS.Cyclic,f=t===l[0];let h,m,g="",b=!1,v=-1,y=0,x=[];const{representation:S,conditionalColoring:C}=d;if(c){var E;const e=d;g=e.qGroupFieldDefs[e.qGroupPos],y=e.qGroupPos,x=e.qGroupFallbackTitles.map((e=>({label:e,enabled:!0}))),b=null!==(E=e.qLocked)&&void 0!==E&&E,v=n,({qDimensionType:h}=e)}else({qMiniChart:m}=d);const{qFallbackTitle:w,textAlign:R,qAttrExprInfo:A,qSortIndicator:k,qReverseSort:P,qApprMaxGlyphCount:L,columnWidth:I,qLibraryId:M}=d;return{isDim:c,isCyclic:p,isLocked:b,fieldId:g,colIdx:t,qLibraryId:M,pageColIdx:r,qApprMaxGlyphCount:L,qReverseSort:P,columnWidth:null!=I?I:{type:fS.Auto},selectionColIdx:v,isActivelySorted:f,id:uw(d),label:w,groupDimensionPos:y,groupDimensionLabels:x,qAttrExprInfoIDs:A.map((e=>e.id)),qAttrExprInfoIndex:rw(d),sortDirection:k&&"N"!==k?k:"A",totalInfo:yR(e,c,r,n),...!c&&{isTotalNumeric:xR(e,n)},...SR(R,h,c,o,i),representation:S,conditionalColoring:c?void 0:C,qMiniChart:m}}(e,n,o,u[n],t,r)))};const wR=(e,t)=>{var r;return!!(e.snapshotData||null!==(r=t.viewState)&&void 0!==r&&r.visibleHeight)},RR=(e,t)=>{var r;return void 0!==(null===(r=t.viewState)||void 0===r?void 0:r.usePagination)?t.viewState.usePagination:!1!==e.usePagination||wR(e,t)};var AR="$$material";const kR=["values","unit","step"];function PR(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=yr(e,kR),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>yt({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function u(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return yt({keys:a,values:i,up:s,down:l,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}const LR={borderRadius:4};function IR(e,t){return t?gp(e,t,{clone:!1}):e}const MR={xs:0,sm:600,md:900,lg:1200,xl:1536},_R={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${MR[e]}px)`};function DR(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||_R;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||_R;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||MR).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function TR(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function OR(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function qR(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:OR(e,r)||n,t&&(o=t(o,n,e)),o}function NR(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=OR(e.theme,n)||{};return DR(e,i,(e=>{let n=qR(a,o,e);return e===n&&"string"==typeof e&&(n=qR(a,o,`${t}${"default"===e?"":Rp(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const jR={m:"margin",p:"padding"},zR={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},FR={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$R=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!FR[e])return[e];e=FR[e]}const[t,r]=e.split(""),n=jR[t],o=zR[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),HR=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],BR=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function GR(e,t,r,n){var o;const i=null!=(o=OR(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function WR(e){return GR(e,"spacing",8)}function VR(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function UR(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=VR(t,r),e)),{})}($R(r),n);return DR(e,e[r],o)}function YR(e,t){const r=WR(e.theme);return Object.keys(e).map((n=>UR(e,t,n,r))).reduce(IR,{})}function KR(e){return YR(e,HR)}function XR(e){return YR(e,BR)}function JR(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?IR(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function ZR(e){return"number"!=typeof e?e:`${e}px solid`}function QR(e,t){return NR({prop:e,themeKey:"borders",transform:t})}KR.propTypes={},KR.filterProps=HR,XR.propTypes={},XR.filterProps=BR;const eA=QR("border",ZR),tA=QR("borderTop",ZR),rA=QR("borderRight",ZR),nA=QR("borderBottom",ZR),oA=QR("borderLeft",ZR),iA=QR("borderColor"),aA=QR("borderTopColor"),sA=QR("borderRightColor"),lA=QR("borderBottomColor"),uA=QR("borderLeftColor"),cA=QR("outline",ZR),dA=QR("outlineColor"),pA=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=GR(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:VR(t,e)});return DR(e,e.borderRadius,r)}return null};pA.propTypes={},pA.filterProps=["borderRadius"],JR(eA,tA,rA,nA,oA,iA,aA,sA,lA,uA,pA,cA,dA);const fA=e=>{if(void 0!==e.gap&&null!==e.gap){const t=GR(e.theme,"spacing",8),r=e=>({gap:VR(t,e)});return DR(e,e.gap,r)}return null};fA.propTypes={},fA.filterProps=["gap"];const hA=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=GR(e.theme,"spacing",8),r=e=>({columnGap:VR(t,e)});return DR(e,e.columnGap,r)}return null};hA.propTypes={},hA.filterProps=["columnGap"];const mA=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=GR(e.theme,"spacing",8),r=e=>({rowGap:VR(t,e)});return DR(e,e.rowGap,r)}return null};mA.propTypes={},mA.filterProps=["rowGap"];function gA(e,t){return"grey"===t?t:e}JR(fA,hA,mA,NR({prop:"gridColumn"}),NR({prop:"gridRow"}),NR({prop:"gridAutoFlow"}),NR({prop:"gridAutoColumns"}),NR({prop:"gridAutoRows"}),NR({prop:"gridTemplateColumns"}),NR({prop:"gridTemplateRows"}),NR({prop:"gridTemplateAreas"}),NR({prop:"gridArea"}));function bA(e){return e<=1&&0!==e?100*e+"%":e}JR(NR({prop:"color",themeKey:"palette",transform:gA}),NR({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gA}),NR({prop:"backgroundColor",themeKey:"palette",transform:gA}));const vA=NR({prop:"width",transform:bA}),yA=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||MR[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:bA(t)}};return DR(e,e.maxWidth,t)}return null};yA.filterProps=["maxWidth"];const xA=NR({prop:"minWidth",transform:bA}),SA=NR({prop:"height",transform:bA}),CA=NR({prop:"maxHeight",transform:bA}),EA=NR({prop:"minHeight",transform:bA});NR({prop:"size",cssProperty:"width",transform:bA}),NR({prop:"size",cssProperty:"height",transform:bA});JR(vA,yA,xA,SA,CA,EA,NR({prop:"boxSizing"}));const wA={border:{themeKey:"borders",transform:ZR},borderTop:{themeKey:"borders",transform:ZR},borderRight:{themeKey:"borders",transform:ZR},borderBottom:{themeKey:"borders",transform:ZR},borderLeft:{themeKey:"borders",transform:ZR},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ZR},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:pA},color:{themeKey:"palette",transform:gA},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gA},backgroundColor:{themeKey:"palette",transform:gA},p:{style:XR},pt:{style:XR},pr:{style:XR},pb:{style:XR},pl:{style:XR},px:{style:XR},py:{style:XR},padding:{style:XR},paddingTop:{style:XR},paddingRight:{style:XR},paddingBottom:{style:XR},paddingLeft:{style:XR},paddingX:{style:XR},paddingY:{style:XR},paddingInline:{style:XR},paddingInlineStart:{style:XR},paddingInlineEnd:{style:XR},paddingBlock:{style:XR},paddingBlockStart:{style:XR},paddingBlockEnd:{style:XR},m:{style:KR},mt:{style:KR},mr:{style:KR},mb:{style:KR},ml:{style:KR},mx:{style:KR},my:{style:KR},margin:{style:KR},marginTop:{style:KR},marginRight:{style:KR},marginBottom:{style:KR},marginLeft:{style:KR},marginX:{style:KR},marginY:{style:KR},marginInline:{style:KR},marginInlineStart:{style:KR},marginInlineEnd:{style:KR},marginBlock:{style:KR},marginBlockStart:{style:KR},marginBlockEnd:{style:KR},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fA},rowGap:{style:mA},columnGap:{style:hA},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:bA},maxWidth:{style:yA},minWidth:{transform:bA},height:{transform:bA},maxHeight:{transform:bA},minHeight:{transform:bA},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function RA(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:u}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const c=OR(r,s)||{};if(u)return u(o);return DR(o,t,(t=>{let r=qR(c,l,t);return t===r&&"string"==typeof t&&(r=qR(c,l,`${e}${"default"===t?"":Rp(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={},nested:a}=r||{};if(!o)return null;const s=null!=(n=i.unstable_sxConfig)?n:wA;function l(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;const r=null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return r||{}}(i.breakpoints),l=Object.keys(o);let u=o;return Object.keys(n).forEach((r=>{const o=(a=n[r],l=i,"function"==typeof a?a(l):a);var a,l;if(null!=o)if("object"==typeof o)if(s[r])u=IR(u,e(r,o,i,s));else{const e=DR({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?u=IR(u,e):u[r]=t({sx:o,theme:i,nested:!0})}else u=IR(u,e(r,o,i,s))})),!a&&i.modularCssLayers?{"@layer sx":TR(l,u)}:TR(l,u)}return Array.isArray(o)?o.map(l):l(o)}}const AA=RA();function kA(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}AA.filterProps=["sx"];const PA=["breakpoints","palette","spacing","shape"];function LA(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=yr(e,PA),s=PR(r),l=function(e=8){if(e.mui)return e;const t=WR({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(o);let u=gp({breakpoints:s,direction:"ltr",components:{},palette:yt({mode:"light"},n),spacing:l,shape:yt({},LR,i)},a);return u.applyStyles=kA,u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=yt({},wA,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return AA({sx:e,theme:this})},u}var IA=Object.freeze({__proto__:null,default:LA,private_createBreakpoints:PR,unstable_applyStyles:kA});function MA(e=null){const t=y.useContext(Jd);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const _A=LA();function DA(e=_A){return MA(e)}function TA(e){const t=e;return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function OA({styles:e,themeId:t,defaultTheme:r={}}){const n=DA(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map((e=>TA("function"==typeof e?e(o):e))):TA(i)),Rl.jsx(up,{styles:i})}const qA=["sx"];function NA(e){const{sx:t}=e,r=yr(e,qA),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:wA;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return hp(r)?yt({},n,r):n}:yt({},n,t),yt({},o,{sx:i})}var jA=Object.freeze({__proto__:null,default:AA,extendSxProp:NA,unstable_createStyleFunctionSx:RA,unstable_defaultSxConfig:wA});const zA=["className","component"];function FA(e){if(e.type)return e;if("#"===e.charAt(0))return FA(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(bu(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(bu(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function $A(e,t){return e=FA(e),t=function(e,t=0,r=1){return ch(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}const HA=["value"],BA=y.createContext();function GA(e){let{value:t}=e,r=yr(e,HA);return Rl.jsx(BA.Provider,yt({value:null==t||t},r))}const WA=y.createContext(void 0);function VA({value:e,children:t}){return Rl.jsx(WA.Provider,{value:e,children:t})}function UA({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?lh(o.defaultProps,n):o.styleOverrides||o.variants?n:lh(o,n)}({props:e,name:t,theme:{components:y.useContext(WA)}})}const YA={};function KA(e,t,r,n=!1){return y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?yt({},t,{[e]:i}):i;return n?()=>a:a}return yt({},t,e?{[e]:r}:r)}),[e,t,r,n])}function XA(e){const{children:t,theme:r,themeId:n}=e,o=MA(YA),i=Uh()||YA,a=KA(n,o,r),s=KA(n,i,r,!0),l="rtl"===a.direction,u=function(e){const t=MA(),r=Sh()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",uh((()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var n;if(t&&null!=(n=t.hasAttribute)&&n.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",r),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${r}"]`))||i.remove()}}),[o,r]),o?Rl.jsx(OA,{styles:o}):null}(a);return Rl.jsx(Kh,{theme:s,children:Rl.jsx(Jd.Provider,{value:a,children:Rl.jsx(GA,{value:l,children:Rl.jsxs(VA,{value:null==a?void 0:a.components,children:[u,t]})})})})}function JA(e,t){return yt({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var ZA={},QA=nm;Object.defineProperty(ZA,"__esModule",{value:!0});var ek=ZA.alpha=fk;ZA.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),i=lk(e),a=lk(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return ck({type:"rgb",values:s})},ZA.colorChannel=void 0;var tk=ZA.darken=hk;ZA.decomposeColor=lk,ZA.emphasize=gk;var rk=ZA.getContrastRatio=function(e,t){const r=pk(e),n=pk(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};ZA.getLuminance=pk,ZA.hexToRgb=sk,ZA.hslToRgb=dk;var nk=ZA.lighten=mk;ZA.private_safeAlpha=function(e,t,r){try{return fk(e,t)}catch(t){return e}},ZA.private_safeColorChannel=void 0,ZA.private_safeDarken=function(e,t,r){try{return hk(e,t)}catch(t){return e}},ZA.private_safeEmphasize=function(e,t,r){try{return gk(e,t)}catch(t){return e}},ZA.private_safeLighten=function(e,t,r){try{return mk(e,t)}catch(t){return e}},ZA.recomposeColor=ck,ZA.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=lk(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var ok=QA(om),ik=QA(im);function ak(e,t=0,r=1){return(0,ik.default)(e,t,r)}function sk(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function lk(e){if(e.type)return e;if("#"===e.charAt(0))return lk(sk(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,ok.default)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,ok.default)(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const uk=e=>{const t=lk(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};ZA.colorChannel=uk;function ck(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function dk(e){e=lk(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ck({type:s,values:l})}function pk(e){let t="hsl"===(e=lk(e)).type||"hsla"===e.type?lk(dk(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fk(e,t){return e=lk(e),t=ak(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ck(e)}function hk(e,t){if(e=lk(e),t=ak(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ck(e)}function mk(e,t){if(e=lk(e),t=ak(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ck(e)}function gk(e,t=.15){return pk(e)>.5?hk(e,t):mk(e,t)}ZA.private_safeColorChannel=(e,t)=>{try{return uk(e)}catch(t){return e}};const bk={black:"#000",white:"#fff"},vk={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},yk="#f3e5f5",xk="#ce93d8",Sk="#ba68c8",Ck="#ab47bc",Ek="#9c27b0",wk="#7b1fa2",Rk="#e57373",Ak="#ef5350",kk="#f44336",Pk="#d32f2f",Lk="#c62828",Ik="#ffb74d",Mk="#ffa726",_k="#ff9800",Dk="#f57c00",Tk="#e65100",Ok="#e3f2fd",qk="#90caf9",Nk="#42a5f5",jk="#1976d2",zk="#1565c0",Fk="#4fc3f7",$k="#29b6f6",Hk="#03a9f4",Bk="#0288d1",Gk="#01579b",Wk="#81c784",Vk="#66bb6a",Uk="#4caf50",Yk="#388e3c",Kk="#2e7d32",Xk="#1b5e20",Jk=["mode","contrastThreshold","tonalOffset"],Zk={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:bk.white,default:bk.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Qk={text:{primary:bk.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:bk.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function eP(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=nk(e.main,o):"dark"===t&&(e.dark=tk(e.main,i)))}function tP(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=yr(e,Jk),i=e.primary||function(e="light"){return"dark"===e?{main:qk,light:Ok,dark:Nk}:{main:jk,light:Nk,dark:zk}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:xk,light:yk,dark:Ck}:{main:Ek,light:Sk,dark:wk}}(t),s=e.error||function(e="light"){return"dark"===e?{main:kk,light:Rk,dark:Pk}:{main:Pk,light:Ak,dark:Lk}}(t),l=e.info||function(e="light"){return"dark"===e?{main:$k,light:Fk,dark:Bk}:{main:Bk,light:Hk,dark:Gk}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Vk,light:Wk,dark:Yk}:{main:Kk,light:Uk,dark:Xk}}(t),c=e.warning||function(e="light"){return"dark"===e?{main:Mk,light:Ik,dark:Dk}:{main:"#ed6c02",light:_k,dark:Tk}}(t);function d(e){return rk(e,Qk.text.primary)>=r?Qk.text.primary:Zk.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=yt({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(bu(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(bu(12,t?` (${t})`:"",JSON.stringify(e.main)));return eP(e,"light",o,n),eP(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Qk,light:Zk};return gp(yt({common:yt({},bk),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:c,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:u,name:"success"}),grey:vk,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},f[t]),o)}const rP=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const nP={textTransform:"uppercase"},oP='"Roboto", "Helvetica", "Arial", sans-serif';function iP(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=oP,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=r,p=yr(r,rP),f=o/14,h=d||(e=>e/u*f+"rem"),m=(e,t,r,o,i)=>{return yt({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===oP?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,nP),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,nP),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return gp(yt({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function aP(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const sP=["none",aP(0,2,1,-1,0,1,1,0,0,1,3,0),aP(0,3,1,-2,0,2,2,0,0,1,5,0),aP(0,3,3,-2,0,3,4,0,0,1,8,0),aP(0,2,4,-1,0,4,5,0,0,1,10,0),aP(0,3,5,-1,0,5,8,0,0,1,14,0),aP(0,3,5,-1,0,6,10,0,0,1,18,0),aP(0,4,5,-2,0,7,10,1,0,2,16,1),aP(0,5,5,-3,0,8,10,1,0,3,14,2),aP(0,5,6,-3,0,9,12,1,0,3,16,2),aP(0,6,6,-3,0,10,14,1,0,4,18,3),aP(0,6,7,-4,0,11,15,1,0,4,20,3),aP(0,7,8,-4,0,12,17,2,0,5,22,4),aP(0,7,8,-4,0,13,19,2,0,5,24,4),aP(0,7,9,-4,0,14,21,2,0,5,26,4),aP(0,8,9,-5,0,15,22,2,0,6,28,5),aP(0,8,10,-5,0,16,24,2,0,6,30,5),aP(0,8,11,-5,0,17,26,2,0,6,32,5),aP(0,9,11,-5,0,18,28,2,0,7,34,6),aP(0,9,12,-6,0,19,29,2,0,7,36,6),aP(0,10,13,-6,0,20,31,3,0,8,38,7),aP(0,10,13,-6,0,21,33,3,0,8,40,7),aP(0,10,14,-6,0,22,35,3,0,8,42,7),aP(0,11,14,-7,0,23,36,3,0,9,44,8),aP(0,11,15,-7,0,24,38,3,0,9,46,8)],lP=["duration","easing","delay"],uP={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cP={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dP(e){return`${Math.round(e)}ms`}function pP(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function fP(e){const t=yt({},uP,e.easing),r=yt({},cP,e.duration);return yt({getAutoHeightDuration:pP,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return yr(n,lP),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:dP(o)} ${i} ${"string"==typeof a?a:dP(a)}`)).join(",")}},e,{easing:t,duration:r})}const hP={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},mP=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function gP(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=yr(e,mP);if(e.vars&&void 0===e.generateCssVars)throw new Error(bu(18));const s=tP(n),l=LA(e);let u=gp(l,{mixins:JA(l.breakpoints,r),palette:s,shadows:sP.slice(),typography:iP(s,i),transitions:fP(o),zIndex:yt({},hP)});return u=gp(u,a),u=t.reduce(((e,t)=>gp(e,t)),u),u.unstable_sxConfig=yt({},wA,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return AA({sx:e,theme:this})},u}const bP=gP();var vP={},yP=wt(IA),xP=wt(jA),SP=nm;Object.defineProperty(vP,"__esModule",{value:!0});var CP=vP.default=function(e={}){const{themeId:t,defaultTheme:r=OP,rootShouldForwardProp:n=DP,slotShouldForwardProp:o=DP}=e,i=e=>(0,PP.default)((0,EP.default)({},e,{theme:NP((0,EP.default)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,RP.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:d=jP(qP(l))}=a,p=(0,wP.default)(a,MP),f=s&&s.startsWith("Mui")||l?"components":"custom",h=void 0!==u?u:l&&"Root"!==l&&"root"!==l||!1,m=c||!1;let g=DP;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const b=(0,RP.default)(e,(0,EP.default)({shouldForwardProp:g,label:undefined},p)),v=e=>"function"==typeof e&&e.__emotion_real!==e||(0,AP.isPlainObject)(e)?n=>{const o=NP({theme:n.theme,defaultTheme:r,themeId:t});return zP(e,(0,EP.default)({},n,{theme:o}),o.modularCssLayers?f:void 0)}:e,y=(n,...o)=>{let a=v(n);const l=o?o.map(v):[];s&&d&&l.push((e=>{const n=NP((0,EP.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,r])=>{i[t]=zP(r,(0,EP.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)})),d(e,i)})),s&&!h&&l.push((e=>{var n;const o=NP((0,EP.default)({},e,{defaultTheme:r,themeId:t}));return zP({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,EP.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)})),m||l.push(i);const u=l.length-o.length;if(Array.isArray(n)&&u>0){const e=new Array(u).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=b(a,...l);return e.muiName&&(c.muiName=e.muiName),c};return b.withConfig&&(y.withConfig=b.withConfig),y}};vP.shouldForwardProp=DP,vP.systemDefaultTheme=void 0;var EP=SP(Km()),wP=SP(Zm()),RP=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_P(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(Qm),AP=eg;SP(tg),SP(rg);var kP=SP(yP),PP=SP(xP);const LP=["ownerState"],IP=["variants"],MP=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function _P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_P=function(e){return e?r:t})(e)}function DP(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function TP(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const OP=vP.systemDefaultTheme=(0,kP.default)(),qP=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function NP({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function jP(e){return e?(t,r)=>r[e]:null}function zP(e,t,r){let{ownerState:n}=t,o=(0,wP.default)(t,LP);const i="function"==typeof e?e((0,EP.default)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap((e=>zP(e,(0,EP.default)({ownerState:n},o),r)));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,wP.default)(i,IP);return e.forEach((e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,EP.default)({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)})),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,EP.default)({ownerState:n},o,n)):e.style;t.push(r?TP((0,RP.internal_serializeStyles)(i),r):i)}})),t}return r?TP((0,RP.internal_serializeStyles)(i),r):i}const FP=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,$P=CP({themeId:AR,defaultTheme:bP,rootShouldForwardProp:FP}),HP=["theme"];function BP(e){let{theme:t}=e,r=yr(e,HP);const n=t[AR];let o=n||t;return"function"!=typeof t&&(n&&!n.vars?o=yt({},n,{vars:null}):t&&!t.vars&&(o=yt({},t,{vars:null}))),Rl.jsx(XA,yt({},r,{themeId:n?AR:void 0,theme:o}))}var GP={exports:{}};
105
105
  /*!
106
106
  * CSSJanus. https://github.com/cssjanus/cssjanus
107
107
  *
@@ -120,7 +120,7 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
120
120
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121
121
  * See the License for the specific language governing permissions and
122
122
  * limitations under the License.
123
- */!function(e,t){var r;function n(e,t){var r=[],n=0;function o(e){return r.push(e),t}function i(){return r[n++]}return{tokenize:function(t){return t.replace(e,o)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),i)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",i="direction\\s*:\\s*",a="['\"]?\\s*",s="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="(?:[_a-z0-9-]|"+r+"|"+u+")",d=o+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+r+"|"+u+")")+c+"*")+")?",p="((?:-?"+d+")|(?:inherit|auto))",f="(#?"+c+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",h="(?:[!#$%&*-~]|"+r+"|"+u+")*?",m="(?![a-zA-Z])",g="(?!("+c+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",b="(?!"+h+a+"\\))",v="(?="+h+a+"\\))",y="(\\s*(?:!important\\s*)?[;}])",x=/`TMP`/g,S=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),C=new RegExp("("+l+g+"[^;}]+;?)","gi"),E=new RegExp("("+l+"[^\\}]*?})","gi"),w=new RegExp("("+i+")ltr","gi"),R=new RegExp("("+i+")rtl","gi"),A=new RegExp(s+"(left)"+m+b+g,"gi"),k=new RegExp(s+"(right)"+m+b+g,"gi"),P=new RegExp(s+"(left)"+v,"gi"),I=new RegExp(s+"(right)"+v,"gi"),L=new RegExp(s+"(ltr)"+v,"gi"),M=new RegExp(s+"(rtl)"+v,"gi"),_=new RegExp(s+"([ns]?)e-resize","gi"),D=new RegExp(s+"([ns]?)w-resize","gi"),T=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+y,"gi"),O=new RegExp("((?:-color|border-style)\\s*:\\s*)"+f+"(\\s+)"+f+"(\\s+)"+f+"(\\s+)"+f+y,"gi"),q=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),N=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),j=new RegExp("(border-radius\\s*:\\s*)"+p+"(?:(?:\\s+"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?)?(?:(?:(?:\\s*\\/\\s*)"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?(?:\\s+"+p+")?)?"+y,"gi"),z=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+p,"gi"),F=new RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+f,"gi"),$=new RegExp("(text-shadow\\s*:\\s*)"+f+"(\\s*)"+p,"gi"),H=new RegExp("(text-shadow\\s*:\\s*)"+p,"gi"),B=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+p+"(\\s*\\))","gi"),G=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+p+"((?:\\s*,\\s*"+p+"){0,2}\\s*\\))","gi");function W(e,t,r){var n,o;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(o=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(o)+"%"):r=100-parseFloat(r)+"%"),t+r}function V(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function U(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter((function(e){return e})),o=r.slice(6,10).filter((function(e){return e})),i=r[10]||"";return t+(o.length?V(n)+" / "+V(o):V(n))+i}function Y(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function K(e,t,r){return t+Y(r)}function X(e,t,r,n,o){return t+r+Y(n)+o}function J(e,t,r,n,o){return t+r+n+Y(o)}return{transform:function(r,o){var i=new n(C,"`NOFLIP_SINGLE`"),a=new n(E,"`NOFLIP_CLASS`"),s=new n(S,t);return r=s.tokenize(a.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(L,"$1"+e).replace(M,"$1ltr").replace(x,"rtl")),o.transformEdgeInUrl&&(r=r.replace(P,"$1"+e).replace(I,"$1left").replace(x,"right")),r=r.replace(w,"$1"+e).replace(R,"$1ltr").replace(x,"rtl").replace(A,"$1"+e).replace(k,"$1left").replace(x,"right").replace(_,"$1$2"+e).replace(D,"$1$2e-resize").replace(x,"w-resize").replace(j,U).replace(z,K).replace(F,J).replace($,J).replace(H,K).replace(B,X).replace(G,X).replace(T,"$1$2$3$8$5$6$7$4$9").replace(O,"$1$2$3$8$5$6$7$4$9").replace(q,W).replace(N,W),r=i.detokenize(a.detokenize(s.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var o;return"object"==typeof t?o=t:(o={},"boolean"==typeof t&&(o.transformDirInUrl=t),"boolean"==typeof n&&(o.transformEdgeInUrl=n)),r.transform(e,o)}:"undefined"!=typeof window&&(window.cssjanus=r)}(WP,WP.exports);var VP=Et(WP.exports),UP="comm",YP="rule",KP="decl",XP=Math.abs,JP=String.fromCharCode;function ZP(e){return e.trim()}function QP(e,t,r){return e.replace(t,r)}function eI(e,t,r){return e.indexOf(t,r)}function tI(e,t){return 0|e.charCodeAt(t)}function rI(e,t,r){return e.slice(t,r)}function nI(e){return e.length}function oI(e,t){return t.push(e),e}var iI,aI,sI,lI,uI=1,cI=1,dI=0,pI=0,fI=0,hI="";function mI(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:uI,column:cI,length:a,return:"",siblings:s}}function gI(){return fI=pI>0?tI(hI,--pI):0,cI--,10===fI&&(cI=1,uI--),fI}function bI(){return fI=pI<dI?tI(hI,pI++):0,cI++,10===fI&&(cI=1,uI++),fI}function vI(){return tI(hI,pI)}function yI(){return pI}function xI(e,t){return rI(hI,e,t)}function SI(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function CI(e){return ZP(xI(pI-1,RI(91===e?e+2:40===e?e+1:e)))}function EI(e){for(;(fI=vI())&&fI<33;)bI();return SI(e)>2||SI(fI)>3?"":" "}function wI(e,t){for(;--t&&bI()&&!(fI<48||fI>102||fI>57&&fI<65||fI>70&&fI<97););return xI(e,yI()+(t<6&&32==vI()&&32==bI()))}function RI(e){for(;bI();)switch(fI){case e:return pI;case 34:case 39:34!==e&&39!==e&&RI(fI);break;case 40:41===e&&RI(e);break;case 92:bI()}return pI}function AI(e,t){for(;bI()&&e+fI!==57&&(e+fI!==84||47!==vI()););return"/*"+xI(t,pI-1)+"*"+JP(47===e?e:bI())}function kI(e){for(;!SI(vI());)bI();return xI(e,pI)}function PI(e){return function(e){return hI="",e}(II("",null,null,null,[""],e=function(e){return uI=cI=1,dI=nI(hI=e),pI=0,[]}(e),0,[0],e))}function II(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,E=y;g;)switch(h=v,v=bI()){case 40:if(108!=h&&58==tI(E,d-1)){-1!=eI(E+=QP(CI(v),"&","&\f"),"&\f",XP(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:E+=CI(v);break;case 9:case 10:case 13:case 32:E+=EI(h);break;case 92:E+=wI(yI()-1,7);continue;case 47:switch(vI()){case 42:case 47:oI(MI(AI(bI(),yI()),t,r,l),l),5!=SI(h||1)&&5!=SI(vI()||1)||!nI(E)||" "===rI(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*m:s[u++]=nI(E)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(E=QP(E,/\f/g,"")),f>0&&(nI(E)-d||0===m&&47===h)&&oI(f>32?_I(E+";",n,r,d-1,l):_I(QP(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(oI(C=LI(E,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)II(E,t,C,C,x,i,d,s,S);else{switch(p){case 99:if(110===tI(E,3))break;case 108:if(97===tI(E,2))break;default:c=0;case 100:case 109:case 115:}c?II(e,C,C,n&&oI(LI(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S):II(E,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=E="",d=a;break;case 58:d=1+nI(E),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==gI())continue;switch(E+=JP(v),v*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(nI(E)-1)*b,b=1;break;case 64:45===vI()&&(E+=CI(bI())),p=vI(),c=d=nI(y=E+=kI(yI())),v++;break;case 45:45===h&&2==nI(E)&&(m=0)}}return i}function LI(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=function(e){return e.length}(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=rI(e,p+1,p=XP(g=a[m])),x=e;v<h;++v)(x=ZP(g>0?f[v]+" "+y:QP(y,/&\f/g,f[v])))&&(l[b++]=x);return mI(e,t,r,0===o?YP:s,l,u,c,d)}function MI(e,t,r,n){return mI(e,t,r,UP,JP(fI),rI(e,2,-2),0,n)}function _I(e,t,r,n,o){return mI(e,t,r,KP,rI(e,0,n),rI(e,n+1,-1),n,o)}function DI(e,t,r){switch(e.type){case"@import":case KP:case UP:return e.return=e.return||e.value;case YP:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===UP&&(e.children=e.value)}))}var n=function(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}(Array.prototype.concat(e.children),DI);return nI(n)?e.return=e.value+"{"+n+"}":""}function TI(e,t,r,n){if("@keyframes"===e.type||"@supports"===e.type||e.type===YP&&(!e.parent||"@media"===e.parent.type||e.parent.type===YP)){var o=VP.transform(DI(e));e.children=o?PI(o)[0].children:[],e.return=""}}Object.defineProperty(TI,"name",{value:"stylisRTLPlugin"}),function(e){e.Selected="selected",e.Possible="possible",e.Disabled="disabled",e.Inactive="inactive"}(iI||(iI={})),function(e){e.Select="Select",e.SelectMouseDown="SelectMouseDown",e.SelectMouseUp="SelectMouseUp",e.SelectMultiAdd="SelectMultiAdd",e.SelectMultiEnd="SelectMultiEnd",e.Reset="Reset",e.Clear="Clear",e.UpdatePageRows="UpdatePageRows"}(aI||(aI={})),function(e){e.A="ascending",e.D="descending"}(sI||(sI={})),function(e){e.First="sn-table-announcer-1",e.Second="sn-table-announcer-2"}(lI||(lI={}));const OI=[0,0],qI={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_25:"rgba(0, 0, 0, 0.25)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},NI=12,jI=14,zI=16,FI=24,$I=3,HI=300,BI=400,GI=600,WI=700,VI={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function UI(e){return YA(e)}const YI=jf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),KI=["center","classes","className"];let XI,JI,ZI,QI,eL=e=>e;const tL=sp(XI||(XI=eL`
123
+ */!function(e,t){var r;function n(e,t){var r=[],n=0;function o(e){return r.push(e),t}function i(){return r[n++]}return{tokenize:function(t){return t.replace(e,o)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),i)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",i="direction\\s*:\\s*",a="['\"]?\\s*",s="(^|[^a-zA-Z])",l="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",c="(?:[_a-z0-9-]|"+r+"|"+u+")",d=o+"(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+r+"|"+u+")")+c+"*")+")?",p="((?:-?"+d+")|(?:inherit|auto))",f="(#?"+c+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",h="(?:[!#$%&*-~]|"+r+"|"+u+")*?",m="(?![a-zA-Z])",g="(?!("+c+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",b="(?!"+h+a+"\\))",v="(?="+h+a+"\\))",y="(\\s*(?:!important\\s*)?[;}])",x=/`TMP`/g,S=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),C=new RegExp("("+l+g+"[^;}]+;?)","gi"),E=new RegExp("("+l+"[^\\}]*?})","gi"),w=new RegExp("("+i+")ltr","gi"),R=new RegExp("("+i+")rtl","gi"),A=new RegExp(s+"(left)"+m+b+g,"gi"),k=new RegExp(s+"(right)"+m+b+g,"gi"),P=new RegExp(s+"(left)"+v,"gi"),L=new RegExp(s+"(right)"+v,"gi"),I=new RegExp(s+"(ltr)"+v,"gi"),M=new RegExp(s+"(rtl)"+v,"gi"),_=new RegExp(s+"([ns]?)e-resize","gi"),D=new RegExp(s+"([ns]?)w-resize","gi"),T=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+p+"(\\s+)"+p+"(\\s+)"+p+"(\\s+)"+p+y,"gi"),O=new RegExp("((?:-color|border-style)\\s*:\\s*)"+f+"(\\s+)"+f+"(\\s+)"+f+"(\\s+)"+f+y,"gi"),q=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+d+")","gi"),N=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),j=new RegExp("(border-radius\\s*:\\s*)"+p+"(?:(?:\\s+"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?)?(?:(?:(?:\\s*\\/\\s*)"+p+")(?:\\s+"+p+")?(?:\\s+"+p+")?(?:\\s+"+p+")?)?"+y,"gi"),z=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+p,"gi"),F=new RegExp("(text-shadow\\s*:\\s*)"+p+"(\\s*)"+f,"gi"),$=new RegExp("(text-shadow\\s*:\\s*)"+f+"(\\s*)"+p,"gi"),H=new RegExp("(text-shadow\\s*:\\s*)"+p,"gi"),B=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+p+"(\\s*\\))","gi"),G=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+p+"((?:\\s*,\\s*"+p+"){0,2}\\s*\\))","gi");function W(e,t,r){var n,o;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(o=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(o)+"%"):r=100-parseFloat(r)+"%"),t+r}function V(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function U(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter((function(e){return e})),o=r.slice(6,10).filter((function(e){return e})),i=r[10]||"";return t+(o.length?V(n)+" / "+V(o):V(n))+i}function Y(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function K(e,t,r){return t+Y(r)}function X(e,t,r,n,o){return t+r+Y(n)+o}function J(e,t,r,n,o){return t+r+n+Y(o)}return{transform:function(r,o){var i=new n(C,"`NOFLIP_SINGLE`"),a=new n(E,"`NOFLIP_CLASS`"),s=new n(S,t);return r=s.tokenize(a.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(I,"$1"+e).replace(M,"$1ltr").replace(x,"rtl")),o.transformEdgeInUrl&&(r=r.replace(P,"$1"+e).replace(L,"$1left").replace(x,"right")),r=r.replace(w,"$1"+e).replace(R,"$1ltr").replace(x,"rtl").replace(A,"$1"+e).replace(k,"$1left").replace(x,"right").replace(_,"$1$2"+e).replace(D,"$1$2e-resize").replace(x,"w-resize").replace(j,U).replace(z,K).replace(F,J).replace($,J).replace(H,K).replace(B,X).replace(G,X).replace(T,"$1$2$3$8$5$6$7$4$9").replace(O,"$1$2$3$8$5$6$7$4$9").replace(q,W).replace(N,W),r=i.detokenize(a.detokenize(s.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var o;return"object"==typeof t?o=t:(o={},"boolean"==typeof t&&(o.transformDirInUrl=t),"boolean"==typeof n&&(o.transformEdgeInUrl=n)),r.transform(e,o)}:"undefined"!=typeof window&&(window.cssjanus=r)}(GP,GP.exports);var WP=Et(GP.exports),VP="comm",UP="rule",YP="decl",KP=Math.abs,XP=String.fromCharCode;function JP(e){return e.trim()}function ZP(e,t,r){return e.replace(t,r)}function QP(e,t,r){return e.indexOf(t,r)}function eL(e,t){return 0|e.charCodeAt(t)}function tL(e,t,r){return e.slice(t,r)}function rL(e){return e.length}function nL(e,t){return t.push(e),e}var oL,iL,aL,sL,lL=1,uL=1,cL=0,dL=0,pL=0,fL="";function hL(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:lL,column:uL,length:a,return:"",siblings:s}}function mL(){return pL=dL>0?eL(fL,--dL):0,uL--,10===pL&&(uL=1,lL--),pL}function gL(){return pL=dL<cL?eL(fL,dL++):0,uL++,10===pL&&(uL=1,lL++),pL}function bL(){return eL(fL,dL)}function vL(){return dL}function yL(e,t){return tL(fL,e,t)}function xL(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function SL(e){return JP(yL(dL-1,wL(91===e?e+2:40===e?e+1:e)))}function CL(e){for(;(pL=bL())&&pL<33;)gL();return xL(e)>2||xL(pL)>3?"":" "}function EL(e,t){for(;--t&&gL()&&!(pL<48||pL>102||pL>57&&pL<65||pL>70&&pL<97););return yL(e,vL()+(t<6&&32==bL()&&32==gL()))}function wL(e){for(;gL();)switch(pL){case e:return dL;case 34:case 39:34!==e&&39!==e&&wL(pL);break;case 40:41===e&&wL(e);break;case 92:gL()}return dL}function RL(e,t){for(;gL()&&e+pL!==57&&(e+pL!==84||47!==bL()););return"/*"+yL(t,dL-1)+"*"+XP(47===e?e:gL())}function AL(e){for(;!xL(bL());)gL();return yL(e,dL)}function kL(e){return function(e){return fL="",e}(PL("",null,null,null,[""],e=function(e){return lL=uL=1,cL=rL(fL=e),dL=0,[]}(e),0,[0],e))}function PL(e,t,r,n,o,i,a,s,l){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,C=n,E=y;g;)switch(h=v,v=gL()){case 40:if(108!=h&&58==eL(E,d-1)){-1!=QP(E+=ZP(SL(v),"&","&\f"),"&\f",KP(u?s[u-1]:0))&&(b=-1);break}case 34:case 39:case 91:E+=SL(v);break;case 9:case 10:case 13:case 32:E+=CL(h);break;case 92:E+=EL(vL()-1,7);continue;case 47:switch(bL()){case 42:case 47:nL(IL(RL(gL(),vL()),t,r,l),l),5!=xL(h||1)&&5!=xL(bL()||1)||!rL(E)||" "===tL(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*m:s[u++]=rL(E)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(E=ZP(E,/\f/g,"")),f>0&&(rL(E)-d||0===m&&47===h)&&nL(f>32?ML(E+";",n,r,d-1,l):ML(ZP(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(nL(C=LL(E,t,r,u,c,o,s,y,x=[],S=[],d,i),i),123===v)if(0===c)PL(E,t,C,C,x,i,d,s,S);else{switch(p){case 99:if(110===eL(E,3))break;case 108:if(97===eL(E,2))break;default:c=0;case 100:case 109:case 115:}c?PL(e,C,C,n&&nL(LL(e,C,C,0,0,o,s,y,o,x=[],d,S),S),o,S,d,s,n?x:S):PL(E,C,C,C,[""],S,0,s,S)}}u=c=f=0,m=b=1,y=E="",d=a;break;case 58:d=1+rL(E),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==mL())continue;switch(E+=XP(v),v*m){case 38:b=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(rL(E)-1)*b,b=1;break;case 64:45===bL()&&(E+=SL(gL())),p=bL(),c=d=rL(y=E+=AL(vL())),v++;break;case 45:45===h&&2==rL(E)&&(m=0)}}return i}function LL(e,t,r,n,o,i,a,s,l,u,c,d){for(var p=o-1,f=0===o?i:[""],h=function(e){return e.length}(f),m=0,g=0,b=0;m<n;++m)for(var v=0,y=tL(e,p+1,p=KP(g=a[m])),x=e;v<h;++v)(x=JP(g>0?f[v]+" "+y:ZP(y,/&\f/g,f[v])))&&(l[b++]=x);return hL(e,t,r,0===o?UP:s,l,u,c,d)}function IL(e,t,r,n){return hL(e,t,r,VP,XP(pL),tL(e,2,-2),0,n)}function ML(e,t,r,n,o){return hL(e,t,r,YP,tL(e,0,n),tL(e,n+1,-1),n,o)}function _L(e,t,r){switch(e.type){case"@import":case YP:case VP:return e.return=e.return||e.value;case UP:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach((function(e){e.type===VP&&(e.children=e.value)}))}var n=function(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}(Array.prototype.concat(e.children),_L);return rL(n)?e.return=e.value+"{"+n+"}":""}function DL(e,t,r,n){if("@keyframes"===e.type||"@supports"===e.type||e.type===UP&&(!e.parent||"@media"===e.parent.type||e.parent.type===UP)){var o=WP.transform(_L(e));e.children=o?kL(o)[0].children:[],e.return=""}}Object.defineProperty(DL,"name",{value:"stylisRTLPlugin"}),function(e){e.Selected="selected",e.Possible="possible",e.Disabled="disabled",e.Inactive="inactive"}(oL||(oL={})),function(e){e.Select="Select",e.SelectMouseDown="SelectMouseDown",e.SelectMouseUp="SelectMouseUp",e.SelectMultiAdd="SelectMultiAdd",e.SelectMultiEnd="SelectMultiEnd",e.Reset="Reset",e.Clear="Clear",e.UpdatePageRows="UpdatePageRows"}(iL||(iL={})),function(e){e.A="ascending",e.D="descending"}(aL||(aL={})),function(e){e.First="sn-table-announcer-1",e.Second="sn-table-announcer-2"}(sL||(sL={}));const TL=[0,0],OL={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_25:"rgba(0, 0, 0, 0.25)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},qL=12,NL=14,jL=16,zL=24,FL=3,$L=300,HL=400,BL=600,GL=700,WL={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function VL(e){return UA(e)}const UL=jf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),YL=["center","classes","className"];let KL,XL,JL,ZL,QL=e=>e;const eI=sp(KL||(KL=QL`
124
124
  0% {
125
125
  transform: scale(0);
126
126
  opacity: 0.1;
@@ -130,7 +130,7 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
130
130
  transform: scale(1);
131
131
  opacity: 0.3;
132
132
  }
133
- `)),rL=sp(JI||(JI=eL`
133
+ `)),tI=sp(XL||(XL=QL`
134
134
  0% {
135
135
  opacity: 1;
136
136
  }
@@ -138,7 +138,7 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
138
138
  100% {
139
139
  opacity: 0;
140
140
  }
141
- `)),nL=sp(ZI||(ZI=eL`
141
+ `)),rI=sp(JL||(JL=QL`
142
142
  0% {
143
143
  transform: scale(1);
144
144
  }
@@ -150,7 +150,7 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
150
150
  100% {
151
151
  transform: scale(1);
152
152
  }
153
- `)),oL=HP("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),iL=HP((function(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,d]=y.useState(!1),p=Tf(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Tf(r.child,c&&r.childLeaving,n&&r.childPulsate);return s||c||d(!0),y.useEffect((()=>{if(!s&&null!=l){const e=setTimeout(l,u);return()=>{clearTimeout(e)}}}),[l,s,u]),Rl.jsx("span",{className:p,style:f,children:Rl.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(QI||(QI=eL`
153
+ `)),nI=$P("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),oI=$P((function(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,d]=y.useState(!1),p=Tf(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Tf(r.child,c&&r.childLeaving,n&&r.childPulsate);return s||c||d(!0),y.useEffect((()=>{if(!s&&null!=l){const e=setTimeout(l,u);return()=>{clearTimeout(e)}}}),[l,s,u]),Rl.jsx("span",{className:p,style:f,children:Rl.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(ZL||(ZL=QL`
154
154
  opacity: 0;
155
155
  position: absolute;
156
156
 
@@ -193,4 +193,4 @@ e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,s,l,u,c,d,p=e.le
193
193
  animation-iteration-count: infinite;
194
194
  animation-delay: 200ms;
195
195
  }
196
- `),YI.rippleVisible,tL,550,(({theme:e})=>e.transitions.easing.easeInOut),YI.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),YI.child,YI.childLeaving,rL,550,(({theme:e})=>e.transitions.easing.easeInOut),YI.childPulsate,nL,(({theme:e})=>e.transitions.easing.easeInOut)),aL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=yr(r,KI),[s,l]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[s]);const d=y.useRef(!1),p=Ph(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;l((e=>[...e,Rl.jsx(iL,{classes:{ripple:Tf(o.ripple,YI.ripple),rippleVisible:Tf(o.rippleVisible,YI.rippleVisible),ripplePulsate:Tf(o.ripplePulsate,YI.ripplePulsate),child:Tf(o.child,YI.child),childLeaving:Tf(o.childLeaving,YI.childLeaving),childPulsate:Tf(o.childPulsate,YI.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(r-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})}),[n,m,p]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{v(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),Rl.jsx(oL,yt({className:Tf(YI.root,o.root,i),ref:h},a,{children:Rl.jsx(Ug,{component:null,exit:!0,children:s})}))}));function sL(e){return Nf("MuiButtonBase",e)}const lL=jf("MuiButtonBase",["root","disabled","focusVisible"]),uL=["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"],cL=HP("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"},[`&.${lL.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),dL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:x,onKeyUp:S,onMouseDown:C,onMouseLeave:E,onMouseUp:w,onTouchEnd:R,onTouchMove:A,onTouchStart:k,tabIndex:P=0,TouchRippleProps:I,touchRippleRef:L,type:M}=r,_=yr(r,uL),D=y.useRef(null),T=y.useRef(null),O=wh(T,L),{isFocusVisibleRef:q,onFocus:N,onBlur:j,ref:z}=Nh(),[F,$]=y.useState(!1);l&&F&&$(!1),y.useImperativeHandle(n,(()=>({focusVisible:()=>{$(!0),D.current.focus()}})),[]);const[H,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const G=H&&!u&&!l;function W(e,t,r=c){return Eh((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}y.useEffect((()=>{F&&d&&!u&&H&&T.current.pulsate()}),[u,d,F,H]);const V=W("start",C),U=W("stop",m),Y=W("stop",g),K=W("stop",w),X=W("stop",(e=>{F&&e.preventDefault(),E&&E(e)})),J=W("start",k),Z=W("stop",R),Q=W("stop",A),ee=W("stop",(e=>{j(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=Eh((e=>{D.current||(D.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),re=()=>{const e=D.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=y.useRef(!1),oe=Eh((e=>{d&&!ne.current&&F&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Eh((e=>{d&&" "===e.key&&T.current&&F&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(_.href||_.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===M?"button":M,se.disabled=l):(_.href||_.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=wh(t,z,D),ue=yt({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:F}),ce=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=zh({root:["root",t&&"disabled",r&&"focusVisible"]},sL,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return Rl.jsxs(cL,yt({as:ae,className:Tf(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:U,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:Y,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:P,type:M},se,_,{children:[i,G?Rl.jsx(aL,yt({ref:O,center:o},I)):null]}))})),pL=jf("MuiBox",["root"]),fL=bP(),hL=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=cp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(kA);return y.forwardRef((function(e,a){const s=TA(r),l=jA(e),{className:u,component:c="div"}=l,d=yr(l,FA);return Rl.jsx(i,yt({as:c,ref:a,className:Tf(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:kR,defaultTheme:fL,defaultClassName:pL.root,generateClassName:_f.generate}),mL=jf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),gL=y.createContext({});function bL(e){return Nf("MuiListItemIcon",e)}const vL=jf("MuiListItemIcon",["root","alignItemsFlexStart"]),yL=["className"],xL=HP("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>yt({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),SL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=yr(r,yL),i=yt({},r,{alignItems:y.useContext(gL).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return zh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},bL,r)})(i);return Rl.jsx(xL,yt({className:Tf(a.root,n),ownerState:i,ref:t},o))})),CL=jf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function EL(e){return Nf("MuiMenuItem",e)}const wL=jf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),RL=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],AL=HP(dL,{shouldForwardProp:e=>$P(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>yt({},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"}},[`&.${wL.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:tk(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${wL.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:tk(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${wL.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:tk(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})`:tk(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${wL.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${wL.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${mL.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${mL.inset}`]:{marginLeft:52},[`& .${CL.root}`]:{marginTop:0,marginBottom:0},[`& .${CL.inset}`]:{paddingLeft:36},[`& .${vL.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&yt({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${vL.root} svg`]:{fontSize:"1.25rem"}})))),kL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u="menuitem",tabIndex:c,className:d}=r,p=yr(r,RL),f=y.useContext(gL),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:s})),[f.dense,i,s]),m=y.useRef(null);uh((()=>{n&&m.current&&m.current.focus()}),[n]);const g=yt({},r,{dense:h.dense,divider:a,disableGutters:s}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return yt({},a,zh({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},EL,a))})(r),v=wh(m,t);let x;return r.disabled||(x=void 0!==c?c:-1),Rl.jsx(gL.Provider,{value:h,children:Rl.jsx(AL,yt({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:Tf(b.focusVisible,l),className:Tf(b.root,d)},p,{ownerState:g,classes:b}))})})),PL=y.createContext();function IL(e){return Nf("MuiTable",e)}jf("MuiTable",["root","stickyHeader"]);const LL=["className","component","padding","size","stickyHeader"],ML=HP("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>yt({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":yt({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"}))),_L="table",DL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTable"}),{className:n,component:o=_L,padding:i="normal",size:a="medium",stickyHeader:s=!1}=r,l=yr(r,LL),u=yt({},r,{component:o,padding:i,size:a,stickyHeader:s}),c=(e=>{const{classes:t,stickyHeader:r}=e;return zh({root:["root",r&&"stickyHeader"]},IL,t)})(u),d=y.useMemo((()=>({padding:i,size:a,stickyHeader:s})),[i,a,s]);return Rl.jsx(PL.Provider,{value:d,children:Rl.jsx(ML,yt({as:o,role:o===_L?null:"table",ref:t,className:Tf(c.root,n),ownerState:u},l))})})),TL=y.createContext();function OL(e){return Nf("MuiTableBody",e)}jf("MuiTableBody",["root"]);const qL=["className","component"],NL=HP("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),jL={variant:"body"},zL="tbody",FL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTableBody"}),{className:n,component:o=zL}=r,i=yr(r,qL),a=yt({},r,{component:o}),s=(e=>{const{classes:t}=e;return zh({root:["root"]},OL,t)})(a);return Rl.jsx(TL.Provider,{value:jL,children:Rl.jsx(NL,yt({className:Tf(s.root,n),as:o,ref:t,role:o===zL?null:"rowgroup",ownerState:a},i))})}));function $L(e){return Nf("MuiTableCell",e)}const HL=jf("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),BL=["align","className","component","padding","scope","size","sortDirection","variant"],GL=HP("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Rp(r.size)}`],"normal"!==r.padding&&t[`padding${Rp(r.padding)}`],"inherit"!==r.align&&t[`align${Rp(r.align)}`],r.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>yt({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?ok(tk(e.palette.divider,1),.88):rk(tk(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${HL.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),WL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTableCell"}),{align:n="inherit",className:o,component:i,padding:a,scope:s,size:l,sortDirection:u,variant:c}=r,d=yr(r,BL),p=y.useContext(PL),f=y.useContext(TL),h=f&&"head"===f.variant;let m;m=i||(h?"th":"td");let g=s;"td"===m?g=void 0:!g&&h&&(g="col");const b=c||f&&f.variant,v=yt({},r,{align:n,component:m,padding:a||(p&&p.padding?p.padding:"normal"),size:l||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&p&&p.stickyHeader,variant:b}),x=(e=>{const{classes:t,variant:r,align:n,padding:o,size:i,stickyHeader:a}=e;return zh({root:["root",r,a&&"stickyHeader","inherit"!==n&&`align${Rp(n)}`,"normal"!==o&&`padding${Rp(o)}`,`size${Rp(i)}`]},$L,t)})(v);let S=null;return u&&(S="asc"===u?"ascending":"descending"),Rl.jsx(GL,yt({as:m,ref:t,className:Tf(x.root,o),"aria-sort":S,scope:g,ownerState:v},d))}));function VL(e){return Nf("MuiTableContainer",e)}jf("MuiTableContainer",["root"]);const UL=["className","component"],YL=HP("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),KL=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,i=yr(r,UL),a=yt({},r,{component:o}),s=(e=>{const{classes:t}=e;return zh({root:["root"]},VL,t)})(a);return Rl.jsx(YL,yt({ref:t,as:o,className:Tf(s.root,n),ownerState:a},i))}));function XL(e){return Nf("MuiTableHead",e)}jf("MuiTableHead",["root"]);const JL=["className","component"],ZL=HP("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),QL={variant:"head"},eM="thead",tM=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTableHead"}),{className:n,component:o=eM}=r,i=yr(r,JL),a=yt({},r,{component:o}),s=(e=>{const{classes:t}=e;return zh({root:["root"]},XL,t)})(a);return Rl.jsx(TL.Provider,{value:QL,children:Rl.jsx(ZL,yt({as:o,className:Tf(s.root,n),ref:t,role:o===eM?null:"rowgroup",ownerState:a},i))})}));function rM(e){return Nf("MuiTableRow",e)}const nM=jf("MuiTableRow",["root","selected","hover","head","footer"]),oM=["className","component","hover","selected"],iM=HP("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${nM.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${nM.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:tk(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:tk(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),aM="tr",sM=y.forwardRef((function(e,t){const r=UI({props:e,name:"MuiTableRow"}),{className:n,component:o=aM,hover:i=!1,selected:a=!1}=r,s=yr(r,oM),l=y.useContext(TL),u=yt({},r,{component:o,hover:i,selected:a,head:l&&"head"===l.variant,footer:l&&"footer"===l.variant}),c=(e=>{const{classes:t,selected:r,hover:n,head:o,footer:i}=e;return zh({root:["root",r&&"selected",n&&"hover",o&&"head",i&&"footer"]},rM,t)})(u);return Rl.jsx(iM,yt({as:o,ref:t,className:Tf(c.root,n),role:o===aM?null:"row",ownerState:u},s))}));var lM='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A';function uM(e){return Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Rl.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}var cM=function({fontSize:e="medium",children:t=null,className:r=""}={}){const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Rl.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})};function dM(e={}){return Rl.jsx(cM,{...e,children:Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Rl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Rl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function pM(e={}){return Rl.jsx(cM,{fontSize:"medium",...e,children:Rl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Rl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Rl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function fM(e){return Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Rl.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function hM(e={}){return Rl.jsx(cM,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Rl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Rl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function mM(e={}){return Rl.jsx(cM,{fontSize:"medium",...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Rl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function gM({className:e}){return Rl.jsx(cM,{fontSize:"small",className:e,children:Rl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Rl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Rl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Rl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function bM(e={}){return Rl.jsx(cM,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("rect",{stroke:qI.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}const vM={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:$I,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var yM=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:qI.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:qI.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Rl.jsx(uM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${qI.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`,borderRadius:$I,backgroundColor:qI.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${qI.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:qI.WHITE,color:qI.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:$I},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:qI.GREYSCALE_0_15,backgroundColor:qI.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:qI.GREEN_PALE},"&:active":{backgroundColor:qI.GREEN_DARK},"&.Mui-focusVisible":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${HA(qI.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:qI.BLUE_PALE},"&:active":{backgroundColor:qI.BLUE_DARK},"&.Mui-focusVisible":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${HA(qI.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:$I,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:qI.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:qI.GREYSCALE_0_15,backgroundColor:qI.GREYSCALE_100_60,"&:active":{backgroundColor:qI.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:qI.PURPLE,"&.Mui-focusVisible":{borderColor:qI.PURPLE,boxShadow:`0 0 0 3px ${HA(qI.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:qI.GREEN,"&.Mui-focusVisible":{borderColor:qI.GREEN,boxShadow:`0 0 0 3px ${HA(qI.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:qI.BLUE,"&.Mui-focusVisible":{borderColor:qI.BLUE,boxShadow:`0 0 0 3px ${HA(qI.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:qI.ORANGE,"&.Mui-focusVisible":{borderColor:qI.ORANGE,boxShadow:`0 0 0 3px ${HA(qI.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:qI.RED,"&.Mui-focusVisible":{borderColor:qI.RED,boxShadow:`0 0 0 3px ${HA(qI.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:qI.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:qI.PURPLE_PALE},"&:active":{backgroundColor:qI.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:qI.PURPLE_PALE,boxShadow:`0 0 0 3px ${HA(qI.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:qI.GREEN_PALE},"&:active":{backgroundColor:qI.GREEN_DARK},"&.Mui-focusVisible":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${HA(qI.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:qI.BLUE_PALE},"&:active":{backgroundColor:qI.BLUE_DARK},"&.Mui-focusVisible":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${HA(qI.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:qI.ORANGE_PALE},"&:active":{backgroundColor:qI.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:qI.ORANGE_PALE,boxShadow:`0 0 0 3px ${HA(qI.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:qI.RED_PALE},"&:active":{backgroundColor:qI.RED_DARK},"&.Mui-focusVisible":{borderColor:qI.RED_PALE,boxShadow:`0 0 0 3px ${HA(qI.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:qI.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:qI.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:$I,boxShadow:`inset 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Rl.jsx(fM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:NI,borderRadius:$I,color:qI.TEXT_PRIMARY,backgroundColor:qI.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${qI.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:qI.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:qI.GREYSCALE_0_05,color:qI.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:qI.GREEN,borderColor:qI.GREEN},"&.MuiChip-outlinedInfo":{color:qI.BLUE,borderColor:qI.BLUE},"&.MuiChip-outlinedWarning":{color:qI.ORANGE,borderColor:qI.ORANGE},"&.MuiChip-outlinedError":{color:qI.RED,borderColor:qI.RED}},outlined:{border:`solid 1px ${qI.GREYSCALE_0_15}`,backgroundColor:qI.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:$I,boxShadow:"none",backgroundColor:qI.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:qI.GREEN,borderColor:qI.GREEN},outlinedSecondary:{color:qI.BLUE,borderColor:qI.BLUE},label:{fontFamily:VI.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Rl.jsx(fM,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Rl.jsx(uM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:$I},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:$I,fontSize:jI,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:qI.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${qI.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:qI.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:qI.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:qI.GREYSCALE_0_05}}},popupIndicator:{borderRadius:$I,border:`solid 1px ${qI.GREYSCALE_0_15}`,color:qI.GREYSCALE_0_60,marginRight:0,width:FI,height:FI},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${qI.GREYSCALE_0_15}`},clearIndicator:{borderRadius:$I,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:qI.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:jI}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:NI,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:qI.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:qI.GREYSCALE_25,fontSize:NI,fontFamily:VI.FONT_FAMILY,fontWeight:GI,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:qI.TEXT_PRIMARY},"&.Mui-error":{color:qI.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:qI.TEXT_SECONDARY,content:"'(optional)'",fontWeight:BI,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:qI.TEXT_SECONDARY,content:"'(required)'",fontWeight:BI,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:jI,lineHeight:"16px",backgroundColor:qI.WHITE,borderRadius:$I,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${qI.GREYSCALE_0_05}`,borderColor:qI.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${qI.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${qI.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${qI.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${qI.RED}`,boxShadow:`0px 0px 0px 1px ${qI.RED}, inset 0 2px 0 0 ${qI.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${qI.GREYSCALE_0_10}`,borderColor:qI.GREYSCALE_0_10,backgroundColor:qI.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:qI.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:qI.GREYSCALE_0_15,borderRadius:$I,boxShadow:`inset 0 2px 0 0 ${qI.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Rl.jsx(uM,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:qI.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:qI.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:qI.GREYSCALE_0_03},"&:active":{backgroundColor:qI.GREYSCALE_0_10},"&:focus":{backgroundColor:qI.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${qI.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${qI.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:qI.GREYSCALE_0_30,"&:hover":{backgroundColor:qI.GREYSCALE_0_0,borderColor:qI.GREYSCALE_0_15},"& ~svg":{color:qI.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${qI.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:$I}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:qI.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:jI,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:NI,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:NI,fontWeight:GI,color:qI.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:GI}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${qI.GREYSCALE_0_15}, 0px 0px 0px 1px ${qI.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Rl.jsx(mM,{}),checkedIcon:Rl.jsx(pM,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:qI.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${HA(qI.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${HA(qI.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:qI.GREYSCALE_0_20}},"&.Mui-disabled":{fill:qI.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Rl.jsx(bM,{}),checkedIcon:Rl.jsx(dM,{}),indeterminateIcon:Rl.jsx(hM,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:$I,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:qI.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:qI.GREYSCALE_0_55,color:qI.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:qI.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:qI.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:qI.GREYSCALE_0_55,"&:hover":{color:qI.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:qI.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:qI.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:jI,color:qI.TEXT_PRIMARY,lineHeight:"16px",fontWeight:GI},secondary:{fontSize:NI,color:qI.GREYSCALE_45,fontWeight:BI,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:jI,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:jI,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:qI.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:NI,borderBottom:`solid 1px ${qI.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:jI,color:qI.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:qI.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:qI.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:qI.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:`url('${lM}')`,fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:qI.RED}}},"&.Mui-focusVisible":{backgroundColor:qI.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:qI.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:qI.GREEN,height:"24px","&.Mui-disabled":{color:qI.GREYSCALE_0_15}},rail:{backgroundColor:qI.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${qI.GREYSCALE_0_05}`,borderRadius:$I,boxShadow:`inset 0px 0px 0px 1px ${qI.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${qI.GREYSCALE_0_05}`,borderRadius:$I},thumb:{height:"16px",width:"16px",borderRadius:$I,backgroundColor:qI.WHITE,boxShadow:`0px 1px 2px 0px ${qI.GREYSCALE_0_15}, 0px 0px 0px 1px ${qI.GREYSCALE_0_05}`,"&:hover":{borderRadius:$I,boxShadow:`0 2px 4px 0 ${qI.GREYSCALE_0_30}, 0 0 0 1px ${qI.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${qI.GREYSCALE_0_15}, 0 0 0 1px ${qI.GREYSCALE_0_06}, 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${qI.GREYSCALE_0_15}, 0 0 0 1px ${qI.GREYSCALE_0_06}, 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:qI.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:qI.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:qI.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:qI.GREYSCALE_0_15},markLabel:{color:qI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:qI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:qI.WHITE,color:qI.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:qI.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${HA(qI.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${HA(qI.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:qI.GREYSCALE_0_15,borderRadius:$I},thumb:{height:"16px",width:"16px",borderRadius:$I,backgroundColor:qI.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:jI,fontWeight:GI,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${qI.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`,backgroundColor:qI.GREYSCALE_0_03,borderRadius:$I},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:qI.GREYSCALE_25,"&.Mui-selected":{color:qI.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:jI,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:$I,"&:hover":{backgroundColor:qI.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${qI.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${qI.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:$I,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:qI.GREYSCALE_0_05},"&:hover":{backgroundColor:qI.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${qI.GREYSCALE_85}`,borderRight:`1px solid ${qI.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:GI,backgroundColor:qI.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:qI.GREYSCALE_98,borderBottom:`1px solid ${qI.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${qI.GREYSCALE_85}`,borderTop:`1px solid ${qI.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:qI.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:qI.GREYSCALE_0_05,"&:hover":{backgroundColor:qI.GREYSCALE_0_03}},"&&:hover":{backgroundColor:qI.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Rl.jsx(gM,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${qI.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:jI,borderRadius:$I,padding:"7px 16px",border:`1px solid ${qI.GREYSCALE_0_15}`,backgroundColor:qI.GREYSCALE_100_60,color:qI.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:qI.GREYSCALE_0_10,border:`1px solid ${qI.GREYSCALE_0_30}`},"&:hover":{backgroundColor:qI.GREYSCALE_0_03,border:`1px solid ${qI.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:qI.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`,border:`1px solid ${qI.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:qI.GREYSCALE_25,backgroundColor:qI.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:qI.GREYSCALE_0_10,border:`1px solid ${qI.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:NI,height:24,width:24,padding:7},sizeLarge:{fontSize:zI,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:jI,borderRadius:$I}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:qI.GREYSCALE_20},tooltip:{backgroundColor:qI.GREYSCALE_20,fontSize:NI,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...vM}:{}});var xM=()=>({mode:"light",primary:{ultraLight:qI.GREEN_ULTRA_LIGHT,light:qI.GREEN_PALE,main:qI.GREEN,dark:qI.GREEN_DARK,extraDark:qI.GREEN_EXTRA_DARK,contrastText:qI.WHITE},secondary:{ultraLight:qI.BLUE_ULTRA_LIGHT,light:qI.BLUE_PALE,main:qI.BLUE,dark:qI.BLUE_DARK,extraDark:qI.BLUE_EXTRA_DARK,contrastText:qI.WHITE},error:{ultraLight:qI.RED_ULTRA_LIGHT,light:qI.RED_PALE,main:qI.RED,dark:qI.RED_DARK,extraDark:qI.RED_EXTRA_DARK,contrastText:qI.WHITE},warning:{ultraLight:qI.ORANGE_ULTRA_LIGHT,light:qI.ORANGE_PALE,main:qI.ORANGE,dark:qI.ORANGE_DARK,extraDark:qI.ORANGE_EXTRA_DARK,contrastText:qI.WHITE},success:{ultraLight:qI.GREEN_ULTRA_LIGHT,light:qI.GREEN_PALE,main:qI.GREEN,dark:qI.GREEN_DARK,extraDark:qI.GREEN_EXTRA_DARK,contrastText:qI.WHITE},info:{ultraLight:qI.BLUE_ULTRA_LIGHT,light:qI.BLUE_PALE,main:qI.BLUE,dark:qI.BLUE_DARK,extraDark:qI.BLUE_EXTRA_DARK,contrastText:qI.WHITE},text:{primary:qI.TEXT_PRIMARY,secondary:qI.TEXT_SECONDARY,disabled:qI.GREYSCALE_0_30},action:{hover:qI.GREYSCALE_0_03,hoverOpacity:.03,selected:qI.GREYSCALE_0_05,selectedOpacity:.05,focus:qI.MISC_FOCUS_BORDER},amethyst:{ultraLight:qI.WHITE,main:qI.PURPLE,light:qI.PURPLE_PALE,dark:qI.PURPLE_DARK,extraDark:qI.GREYSCALE_0_0,contrastText:qI.WHITE},background:{paper:qI.WHITE,default:qI.GREYSCALE_95},divider:qI.GREYSCALE_0_15});var SM=e=>xM();var CM=(e,t=!1)=>{const r=((e,t)=>yM(t))(0,t);return{components:r,palette:SM(e),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:jI,fontWeightLight:HI,fontWeightRegular:BI,fontWeightMedium:GI,fontWeightBold:WI,htmlFontSize:jI,fontFamily:VI.FONT_FAMILY,button:{fontWeight:GI,fontSize:jI,textTransform:"none"},body1:{fontSize:zI,lineHeight:"24px"},body2:{fontSize:jI,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:FI,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:zI,fontWeight:GI,lineHeight:"16px"},h6:{fontSize:jI,fontWeight:GI,lineHeight:"16px"},caption:{color:qI.TEXT_SECONDARY},subtitle1:{fontSize:jI,color:qI.TEXT_SECONDARY},subtitle2:{fontSize:NI,color:qI.TEXT_SECONDARY}},shape:{borderRadius:$I}}},EM={},wM={exports:{}},RM={exports:{}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(RM);var AM=RM.exports;!function(e){var t=AM.default;function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}e.exports=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var o=r(n);if(o&&o.has(e))return o.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,o&&o.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports}(wM);var kM=wM.exports,PM={},IM=wt(gr);Object.defineProperty(PM,"__esModule",{value:!0}),PM.hexToRgb=_M,PM.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=TM(e),r=t.values;return"#".concat(r.map((function(e){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(e)})).join(""))},PM.hslToRgb=DM,PM.decomposeColor=TM,PM.recomposeColor=OM,PM.getContrastRatio=function(e,t){var r=qM(e),n=qM(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},PM.getLuminance=qM,PM.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return qM(e)>.5?jM(e,t):zM(e,t)},PM.fade=function(e,t){return NM(e,t)},PM.alpha=NM,PM.darken=jM,PM.lighten=zM;var LM=IM;function MM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}function _M(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function DM(e){var t=(e=TM(e)).values,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),OM({type:s,values:l})}function TM(e){if(e.type)return e;if("#"===e.charAt(0))return TM(_M(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error((0,LM.formatMuiErrorMessage)(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function OM(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function qM(e){var t="hsl"===(e=TM(e)).type?TM(DM(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function NM(e,t){return e=TM(e),t=MM(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,OM(e)}function jM(e,t){if(e=TM(e),t=MM(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return OM(e)}function zM(e,t){if(e=TM(e),t=MM(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return OM(e)}var FM,$M,HM,BM={},GM={exports:{}},WM={exports:{}},VM={exports:{}};function UM(){return FM||(FM=1,function(e){var t=AM.default;e.exports=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(VM)),VM.exports}function YM(){return $M||($M=1,function(e){var t=AM.default,r=UM();e.exports=function(e){var n=r(e,"string");return"symbol"==t(n)?n:n+""},e.exports.__esModule=!0,e.exports.default=e.exports}(WM)),WM.exports}function KM(){return HM||(HM=1,function(e){var t=YM();e.exports=function(e,r,n){return(r=t(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(GM)),GM.exports}var XM,JM={exports:{}};function ZM(){return XM||(XM=1,function(e){var t=Zm();e.exports=function(e,r){if(null==e)return{};var n,o,i=t(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],r.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports}(JM)),JM.exports}var QM,e_={};var t_,r_={};var n_,o_={},i_={};var a_,s_={};var l_,u_={};var c_,d_={};var p_,f_={};var h_,m_={};var g_,b_={};var v_,y_,x_={};function S_(){if(y_)return o_;y_=1;var e=nm;Object.defineProperty(o_,"__esModule",{value:!0}),o_.default=function(e){var g=e.primary,b=void 0===g?{light:a.default[300],main:a.default[500],dark:a.default[700]}:g,v=e.secondary,y=void 0===v?{light:s.default.A200,main:s.default.A400,dark:s.default.A700}:v,x=e.error,S=void 0===x?{light:l.default[300],main:l.default[500],dark:l.default[700]}:x,C=e.warning,E=void 0===C?{light:u.default[300],main:u.default[500],dark:u.default[700]}:C,w=e.info,R=void 0===w?{light:c.default[300],main:c.default[500],dark:c.default[700]}:w,A=e.success,k=void 0===A?{light:d.default[300],main:d.default[500],dark:d.default[700]}:A,P=e.type,I=void 0===P?"light":P,L=e.contrastThreshold,M=void 0===L?3:L,_=e.tonalOffset,D=void 0===_?.2:_,T=(0,r.default)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function O(e){return(0,p.getContrastRatio)(e,h.text.primary)>=M?h.text.primary:f.text.primary}var q=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,t.default)({},e)).main&&e[r]&&(e.main=e[r]),!e.main)throw new Error((0,n.formatMuiErrorMessage)(4,r));if("string"!=typeof e.main)throw new Error(_formatMuiErrorMessage(5,JSON.stringify(e.main)));return m(e,"light",o,D),m(e,"dark",i,D),e.contrastText||(e.contrastText=O(e.main)),e},N={dark:h,light:f},j=(0,n.deepmerge)((0,t.default)({common:o.default,type:I,primary:q(b),secondary:q(y,"A400","A200","A700"),error:q(S),warning:q(E),info:q(R),success:q(k),grey:i.default,contrastThreshold:M,getContrastText:O,augmentColor:q,tonalOffset:D},N[I]),T);return j},o_.dark=o_.light=void 0;var t=e(Km()),r=e(ZM()),n=IM,o=e(function(){if(n_)return i_;n_=1,Object.defineProperty(i_,"__esModule",{value:!0}),i_.default=void 0;var e={black:"#000",white:"#fff"};return i_.default=e,i_}()),i=e(function(){if(a_)return s_;a_=1,Object.defineProperty(s_,"__esModule",{value:!0}),s_.default=void 0;var e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};return s_.default=e,s_}()),a=e(function(){if(l_)return u_;l_=1,Object.defineProperty(u_,"__esModule",{value:!0}),u_.default=void 0;var e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};return u_.default=e,u_}()),s=e(function(){if(c_)return d_;c_=1,Object.defineProperty(d_,"__esModule",{value:!0}),d_.default=void 0;var e={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};return d_.default=e,d_}()),l=e(function(){if(p_)return f_;p_=1,Object.defineProperty(f_,"__esModule",{value:!0}),f_.default=void 0;var e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};return f_.default=e,f_}()),u=e(function(){if(h_)return m_;h_=1,Object.defineProperty(m_,"__esModule",{value:!0}),m_.default=void 0;var e={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};return m_.default=e,m_}()),c=e(function(){if(g_)return b_;g_=1,Object.defineProperty(b_,"__esModule",{value:!0}),b_.default=void 0;var e={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};return b_.default=e,b_}()),d=e(function(){if(v_)return x_;v_=1,Object.defineProperty(x_,"__esModule",{value:!0}),x_.default=void 0;var e={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};return x_.default=e,x_}()),p=PM,f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.default.white,default:i.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}};o_.light=f;var h={text:{primary:o.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:i.default[800],default:"#303030"},action:{active:o.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(e,t,r,n){var o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,p.lighten)(e.main,o):"dark"===t&&(e.dark=(0,p.darken)(e.main,i)))}return o_.dark=h,o_}var C_,E_={};var w_,R_={};var A_,k_={};var P_,I_={},L_=wt(ro);var M_,__={};function D_(){if(M_)return __;M_=1;var e=nm;Object.defineProperty(__,"__esModule",{value:!0}),__.default=__.duration=__.easing=void 0;var t=e(ZM()),r={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};__.easing=r;var n={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}__.duration=n;var i={easing:r,duration:n,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?n.standard:a,l=i.easing,u=void 0===l?r.easeInOut:l,c=i.delay,d=void 0===c?0:c;return(0,t.default)(i,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:o(s)," ").concat(u," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};return __.default=i,__}var T_,O_,q_={};function N_(){if(O_)return BM;O_=1;var e=nm;Object.defineProperty(BM,"__esModule",{value:!0}),BM.createMuiTheme=function(){return p.apply(void 0,arguments)},BM.default=void 0,e(KM());var t=e(ZM()),r=IM,n=e(function(){if(QM)return e_;QM=1;var e=nm;Object.defineProperty(e_,"__esModule",{value:!0}),e_.default=function(e){var o=e.values,i=void 0===o?{xs:0,sm:600,md:960,lg:1280,xl:1920}:o,a=e.unit,s=void 0===a?"px":a,l=e.step,u=void 0===l?5:l,c=(0,r.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof i[e]?i[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=n.indexOf(t);return r===n.length-1?d(e):"@media (min-width:".concat("number"==typeof i[e]?i[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof i[n[r+1]]?i[n[r+1]]:t)-u/100).concat(s,")")}return(0,t.default)({keys:n,values:i,up:d,down:function(e){var t=n.indexOf(e)+1,r=i[n[t]];return t===n.length?d("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return i[e]}},c)},e_.keys=void 0;var t=e(Km()),r=e(ZM()),n=["xs","sm","md","lg","xl"];return e_.keys=n,e_}()),o=e(function(){if(t_)return r_;t_=1;var e=nm;Object.defineProperty(r_,"__esModule",{value:!0}),r_.default=function(e,n,o){var i;return(0,r.default)({gutters:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,r.default)({paddingLeft:n(2),paddingRight:n(2)},o,(0,t.default)({},e.up("sm"),(0,r.default)({paddingLeft:n(3),paddingRight:n(3)},o[e.up("sm")])))},toolbar:(i={minHeight:56},(0,t.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,t.default)(i,e.up("sm"),{minHeight:64}),i)},o)};var t=e(KM()),r=e(Km());return r_}()),i=e(S_()),a=e(function(){if(C_)return E_;C_=1;var e=nm;Object.defineProperty(E_,"__esModule",{value:!0}),E_.default=function(e,l){var u="function"==typeof l?l(e):l,c=u.fontFamily,d=void 0===c?s:c,p=u.fontSize,f=void 0===p?14:p,h=u.fontWeightLight,m=void 0===h?300:h,g=u.fontWeightRegular,b=void 0===g?400:g,v=u.fontWeightMedium,y=void 0===v?500:v,x=u.fontWeightBold,S=void 0===x?700:x,C=u.htmlFontSize,E=void 0===C?16:C,w=u.allVariants,R=u.pxToRem,A=(0,r.default)(u,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),k=f/14,P=R||function(e){return"".concat(e/E*k,"rem")},I=function(e,r,n,i,a){return(0,t.default)({fontFamily:d,fontWeight:e,fontSize:P(r),lineHeight:n},d===s?{letterSpacing:"".concat(o(i/r),"em")}:{},a,w)},L={h1:I(m,96,1.167,-1.5),h2:I(m,60,1.2,-.5),h3:I(b,48,1.167,0),h4:I(b,34,1.235,.25),h5:I(b,24,1.334,0),h6:I(y,20,1.6,.15),subtitle1:I(b,16,1.75,.15),subtitle2:I(y,14,1.57,.1),body1:I(b,16,1.5,.15),body2:I(b,14,1.43,.15),button:I(y,14,1.75,.4,a),caption:I(b,12,1.66,.4),overline:I(b,12,2.66,1,a)};return(0,n.deepmerge)((0,t.default)({htmlFontSize:E,pxToRem:P,round:i,fontFamily:d,fontSize:f,fontWeightLight:m,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:S},L),A,{clone:!1})};var t=e(Km()),r=e(ZM()),n=IM;function o(e){return Math.round(1e5*e)/1e5}function i(e){return o(e)}var a={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';return E_}()),s=e(function(){if(w_)return R_;function e(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}w_=1,Object.defineProperty(R_,"__esModule",{value:!0}),R_.default=void 0;var t=["none",e(0,2,1,-1,0,1,1,0,0,1,3,0),e(0,3,1,-2,0,2,2,0,0,1,5,0),e(0,3,3,-2,0,3,4,0,0,1,8,0),e(0,2,4,-1,0,4,5,0,0,1,10,0),e(0,3,5,-1,0,5,8,0,0,1,14,0),e(0,3,5,-1,0,6,10,0,0,1,18,0),e(0,4,5,-2,0,7,10,1,0,2,16,1),e(0,5,5,-3,0,8,10,1,0,3,14,2),e(0,5,6,-3,0,9,12,1,0,3,16,2),e(0,6,6,-3,0,10,14,1,0,4,18,3),e(0,6,7,-4,0,11,15,1,0,4,20,3),e(0,7,8,-4,0,12,17,2,0,5,22,4),e(0,7,8,-4,0,13,19,2,0,5,24,4),e(0,7,9,-4,0,14,21,2,0,5,26,4),e(0,8,9,-5,0,15,22,2,0,6,28,5),e(0,8,10,-5,0,16,24,2,0,6,30,5),e(0,8,11,-5,0,17,26,2,0,6,32,5),e(0,9,11,-5,0,18,28,2,0,7,34,6),e(0,9,12,-6,0,19,29,2,0,7,36,6),e(0,10,13,-6,0,20,31,3,0,8,38,7),e(0,10,13,-6,0,21,33,3,0,8,40,7),e(0,10,14,-6,0,22,35,3,0,8,42,7),e(0,11,14,-7,0,23,36,3,0,9,44,8),e(0,11,15,-7,0,24,38,3,0,9,46,8)];return R_.default=t,R_}()),l=e(function(){if(A_)return k_;A_=1,Object.defineProperty(k_,"__esModule",{value:!0}),k_.default=void 0;var e={borderRadius:4};return k_.default=e,k_}()),u=e(function(){if(P_)return I_;P_=1,Object.defineProperty(I_,"__esModule",{value:!0}),I_.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var r=(0,e.createUnarySpacing)({spacing:t}),n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n};var e=L_;return I_}()),c=e(D_()),d=e(function(){if(T_)return q_;T_=1,Object.defineProperty(q_,"__esModule",{value:!0}),q_.default=void 0;var e={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};return q_.default=e,q_}());function p(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=e.breakpoints,f=void 0===p?{}:p,h=e.mixins,m=void 0===h?{}:h,g=e.palette,b=void 0===g?{}:g,v=e.spacing,y=e.typography,x=void 0===y?{}:y,S=(0,t.default)(e,["breakpoints","mixins","palette","spacing","typography"]),C=(0,i.default)(b),E=(0,n.default)(f),w=(0,u.default)(v),R=(0,r.deepmerge)({breakpoints:E,direction:"ltr",mixins:(0,o.default)(E,w,m),overrides:{},palette:C,props:{},shadows:s.default,typography:(0,a.default)(C,x),spacing:w,shape:l.default,transitions:c.default,zIndex:d.default},S),A=arguments.length,k=new Array(A>1?A-1:0),P=1;P<A;P++)k[P-1]=arguments[P];return R=k.reduce((function(e,t){return(0,r.deepmerge)(e,t)}),R)}var f=p;return BM.default=f,BM}var j_,z_={};var F_,$_={},H_=wt(rl);var B_,G_,W_={},V_={};function U_(){if(B_)return V_;B_=1;var e=nm;Object.defineProperty(V_,"__esModule",{value:!0}),V_.default=void 0;var t=(0,e(N_()).default)();return V_.default=t,V_}var Y_,K_,X_={},J_={};function Z_(){if(K_)return X_;K_=1;var e=nm;Object.defineProperty(X_,"__esModule",{value:!0}),X_.default=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.breakpoints,a=void 0===i?["sm","md","lg"]:i,s=o.disableAlign,l=void 0!==s&&s,u=o.factor,c=void 0===u?2:u,d=o.variants,p=void 0===d?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:d,f=(0,t.default)({},e);f.typography=(0,t.default)({},f.typography);var h=f.typography,m=(0,n.convertLength)(h.htmlFontSize),g=a.map((function(e){return f.breakpoints.values[e]}));return p.forEach((function(e){var o=h[e],i=parseFloat(m(o.fontSize,"rem"));if(!(i<=1)){var a=i,s=1+(a-1)/c,u=o.lineHeight;if(!(0,n.isUnitless)(u)&&!l)throw new Error((0,r.formatMuiErrorMessage)(6));(0,n.isUnitless)(u)||(u=parseFloat(m(u,"rem"))/parseFloat(i));var d=null;l||(d=function(e){return(0,n.alignProperty)({size:e,grid:(0,n.fontGrid)({pixels:4,lineHeight:u,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,t.default)({},o,(0,n.responsiveProperty)({cssProperty:"fontSize",min:s,max:a,unit:"rem",breakpoints:g,transform:d}))}})),f};var t=e(Km()),r=IM,n=function(){if(Y_)return J_;Y_=1;var e=nm;Object.defineProperty(J_,"__esModule",{value:!0}),J_.isUnitless=function(e){return String(parseFloat(e)).length===String(e).length},J_.getUnit=r,J_.toUnitless=n,J_.convertLength=function(e){return function(t,o){var i=r(t);if(i===o)return t;var a=n(t);if("px"!==i)if("em"===i)a=n(t)*n(e);else if("rem"===i)return a=n(t)*n(e),t;var s=a;if("px"!==o)if("em"===o)s=a/n(e);else{if("rem"!==o)return t;s=a/n(e)}return parseFloat(s.toFixed(5))+o}},J_.alignProperty=function(e){var t=e.size,r=e.grid,n=t-t%r,o=n+r;return t-n<o-t?n:o},J_.fontGrid=function(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)},J_.responsiveProperty=function(e){var r=e.cssProperty,n=e.min,o=e.max,i=e.unit,a=void 0===i?"rem":i,s=e.breakpoints,l=void 0===s?[600,960,1280]:s,u=e.transform,c=void 0===u?null:u,d=(0,t.default)({},r,"".concat(n).concat(a)),p=(o-n)/l[l.length-1];return l.forEach((function(e){var o=n+p*e;null!==c&&(o=c(o)),d["@media (min-width:".concat(e,"px)")]=(0,t.default)({},r,"".concat(Math.round(1e4*o)/1e4).concat(a))})),d};var t=e(KM());function r(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function n(e){return parseFloat(e)}return J_}();return X_}var Q_,eD={};var tD,rD={};var nD,oD={};var iD,aD={};!function(e){var t=nm,r=kM;Object.defineProperty(e,"__esModule",{value:!0});var n={createTheme:!0,createMuiTheme:!0,unstable_createMuiStrictModeTheme:!0,createStyles:!0,makeStyles:!0,responsiveFontSizes:!0,styled:!0,useTheme:!0,withStyles:!0,withTheme:!0,createGenerateClassName:!0,jssPreset:!0,ServerStyleSheets:!0,StylesProvider:!0,MuiThemeProvider:!0,ThemeProvider:!0};Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"createMuiTheme",{enumerable:!0,get:function(){return i.createMuiTheme}}),Object.defineProperty(e,"unstable_createMuiStrictModeTheme",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStyles",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"makeStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"responsiveFontSizes",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"styled",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"withStyles",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"withTheme",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createGenerateClassName",{enumerable:!0,get:function(){return m.createGenerateClassName}}),Object.defineProperty(e,"jssPreset",{enumerable:!0,get:function(){return m.jssPreset}}),Object.defineProperty(e,"ServerStyleSheets",{enumerable:!0,get:function(){return m.ServerStyleSheets}}),Object.defineProperty(e,"StylesProvider",{enumerable:!0,get:function(){return m.StylesProvider}}),Object.defineProperty(e,"MuiThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}});var o=PM;Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var i=r(N_()),a=t(function(){if(j_)return z_;j_=1;var e=nm;Object.defineProperty(z_,"__esModule",{value:!0}),z_.default=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.default.apply(void 0,[(0,t.deepmerge)({unstable_strictMode:!0},e)].concat(o))};var t=IM,r=e(N_());return z_}()),s=t(function(){if(F_)return $_;F_=1,Object.defineProperty($_,"__esModule",{value:!0}),$_.default=function(t){return(0,e.createStyles)(t)};var e=H_;return $_}()),l=t(function(){if(G_)return W_;G_=1;var e=nm;Object.defineProperty(W_,"__esModule",{value:!0}),W_.default=void 0;var t=e(Km()),r=H_,n=e(U_()),o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.makeStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return W_.default=o,W_}()),u=t(Z_()),c=t(function(){if(Q_)return eD;Q_=1;var e=nm;Object.defineProperty(eD,"__esModule",{value:!0}),eD.default=void 0;var t=e(Km()),r=H_,n=e(U_()),o=function(e){var o=(0,r.styled)(e);return function(e,r){return o(e,(0,t.default)({defaultTheme:n.default},r))}};return eD.default=o,eD}()),d=D_();Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var p=t(function(){if(tD)return rD;tD=1;var e=nm;Object.defineProperty(rD,"__esModule",{value:!0}),rD.default=function(){return(0,t.useTheme)()||r.default};var t=H_;e(x);var r=e(U_());return rD}()),f=t(function(){if(nD)return oD;nD=1;var e=nm;Object.defineProperty(oD,"__esModule",{value:!0}),oD.default=void 0;var t=e(Km()),r=H_,n=e(U_()),o=function(e,o){return(0,r.withStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return oD.default=o,oD}()),h=t(function(){if(iD)return aD;iD=1;var e=nm;Object.defineProperty(aD,"__esModule",{value:!0}),aD.default=void 0;var t=H_,r=e(U_()),n=(0,t.withThemeCreator)({defaultTheme:r.default});return aD.default=n,aD}()),m=H_}(EM);var sD=Object.defineProperty,lD=(e,t)=>{for(var r in t)sD(e,r,{get:t[r],enumerable:!0})};lD({},{light:()=>uD});const uD={root:{backgroundColor:qI.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&$expanded":{margin:"0px"}}};lD({},{light:()=>cD});const cD={root:{backgroundColor:qI.WHITE}};lD({},{light:()=>dD});const dD={root:{padding:"0px 16px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${qI.GREYSCALE_0_15}`,"&$focused":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`,borderRadius:$I,backgroundColor:qI.GREYSCALE_0_03},"&$expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis"}};lD({},{light:()=>pD});const pD={root:{flex:"0 0 48px",flexDirection:"row",boxShadow:`inset 0 -1px 0 0 ${qI.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:qI.WHITE,color:qI.TEXT_PRIMARY}};lD({},{light:()=>fD});const fD={inputRoot:{boxSizing:"border-box",borderRadius:$I,"&&":{padding:0},"&&& input":{padding:"8px 4px"},"&&& $endAdornment":{right:4}},listbox:{paddingTop:0,paddingBottom:0},option:{fontSize:jI,height:"32px",'&[data-focus="true"]':{backgroundColor:qI.GREYSCALE_0_03}},endAdornment:{top:"auto",bottom:"4px",position:"absolute"},popupIndicator:{borderRadius:$I,border:`solid 1px ${qI.GREYSCALE_0_15}`,color:qI.GREYSCALE_0_60,marginRight:0,width:FI,height:FI,"& svg":{fontSize:"0.7em"},"& i":{lineHeight:"1 !important"}},paper:{marginTop:"5px",boxShadow:`0px 2px 4px 0px ${qI.GREYSCALE_0_15}`},clearIndicator:{"& svg":{fontSize:"0.5em",position:"absolute"},color:qI.GREYSCALE_25,width:zI,height:FI,borderRadius:$I,backgroundColor:"unset",marginRight:"4px","&&&&:hover":{backgroundColor:EM.alpha(qI.GREYSCALE_0,.05)}},popupIndicatorOpen:{backgroundColor:qI.GREYSCALE_0_10}};lD({},{light:()=>hD});const hD={badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}};lD({},{light:()=>mD});const mD={root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:$I,"& > $label > i:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:qI.GREYSCALE_0_10},"&$focusVisible":{boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:qI.GREYSCALE_0_15,backgroundColor:qI.GREYSCALE_100_60,"&:active":{backgroundColor:qI.GREYSCALE_0_10},"&$focusVisible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},containedPrimary:{"&:hover":{backgroundColor:qI.GREEN_PALE},"&:active":{backgroundColor:qI.GREEN_DARK},"&$focusVisible":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:qI.BLUE_PALE},"&:active":{backgroundColor:qI.BLUE_DARK},"&$focusVisible":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.BLUE_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > $label > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > $label > i:only-child":{marginLeft:"-10px",marginRight:"-10px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}};lD({},{light:()=>gD});const gD={root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:$I},groupedText:{padding:"8px 16px","&:active":{backgroundColor:qI.GREYSCALE_0_10},"&$focusVisible":{boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`}},groupedOutlined:{padding:"7px 16px",borderColor:qI.GREYSCALE_0_15,backgroundColor:qI.GREYSCALE_100_60,"&:active":{backgroundColor:qI.GREYSCALE_0_10},"&$focusVisible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:qI.GREEN_PALE},"&:active":{backgroundColor:qI.GREEN_DARK},"&$focusVisible":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:qI.BLUE_PALE},"&:active":{backgroundColor:qI.BLUE_DARK},"&$focusVisible":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.BLUE_PALE,.5)}`}}};lD({},{light:()=>bD});const bD={root:{height:"100%","& $focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:qI.GREYSCALE_0_03,"& $focusHighlight":{opacity:0}},"&:active":{backgroundColor:qI.GREYSCALE_95,boxShadow:"none"},"&$focusVisible":{borderRadius:$I,boxShadow:`inset 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`,"& $focusHighlight":{opacity:0}}}};lD({},{light:()=>vD});const vD={root:{borderWidth:1,"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:3},"&:not($disabled)":{"&:not($checked)":{"&:not($indeterminate)":{"& span":{color:qI.WHITE}}}},"&$disabled":{"& span":{pointerEvents:"auto",cursor:"not-allowed",color:qI.GREYSCALE_0_25}}},colorPrimary:{"&.sprout-focus-visible i":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible i":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.BLUE_PALE,.5)}`}}};lD({},{light:()=>yD});const yD={root:{height:"24px",fontSize:NI,borderRadius:$I,color:qI.TEXT_PRIMARY,backgroundColor:qI.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${qI.MISC_FOCUS_BORDER}`},"&$disabled":{backgroundColor:qI.GREYSCALE_0_05,color:qI.GREYSCALE_0_30,border:"none",opacity:1}},outlined:{border:`solid 1px ${qI.GREYSCALE_0_15}`,backgroundColor:qI.GREYSCALE_100_15,"$clickable&:active ":{boxSizing:"border-box",borderRadius:$I,boxShadow:"none",backgroundColor:qI.GREYSCALE_0_10},"& $deleteIconSmall":{height:13,color:"inherit"}},label:{fontFamily:VI.FONT_FAMILY,lineHeight:"16px"}};lD({},{light:()=>xD});const xD={root:{padding:"8px",backgroundColor:qI.GREYSCALE_98,borderTop:`1px ${qI.GREYSCALE_0_15} solid`}};lD({},{light:()=>SD});const SD={root:{padding:"24px"}};lD({},{light:()=>CD});const CD={root:{marginBottom:0}};lD({},{light:()=>ED});const ED={root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",height:"24px",padding:"12px 8px 12px 24px",fontSize:"16px",lineHeight:"24px",backgroundColor:qI.GREYSCALE_98,borderBottom:`1px ${qI.GREYSCALE_0_15} solid`}};lD({},{light:()=>wD});const wD={middle:{margin:"4px 8px"}};lD({},{light:()=>RD});const RD={root:{marginLeft:"-10px"},label:{fontSize:jI}};lD({},{light:()=>AD});const AD={root:{fontSize:NI,lineHeight:"16px",margin:"4px 0 0 0","&$error":{color:qI.RED}},contained:{marginLeft:0,marginRight:0}};lD({},{light:()=>kD});const kD={root:{color:qI.GREYSCALE_25,fontSize:NI,fontFamily:VI.FONT_FAMILY,fontWeight:GI,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&$focused":{color:qI.TEXT_PRIMARY},"&$error":{color:qI.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:qI.TEXT_SECONDARY,position:"absolute",content:"'(optional)'",fontWeight:BI,marginLeft:"4px"}}},asterisk:{visibility:"hidden",display:"inline-flex","&::after":{visibility:"visible",color:qI.TEXT_SECONDARY,position:"absolute",content:"'(required)'",fontWeight:BI,marginLeft:"4px"}}};lD({},{light:()=>PD});const PD={root:{padding:7,borderRadius:$I,border:"1px solid transparent","&.sprout-focus-visible":{borderColor:qI.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`},"&&&:hover":{backgroundColor:"transparent"}}};lD({},{light:()=>ID});const ID={root:{padding:"4px 8px",color:qI.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}};lD({},{light:()=>LD});const LD={input:{padding:"8px 12px",lineHeight:"16px"}};lD({},{light:()=>MD});const MD={outlined:{fontSize:`${NI}px`,fontWeight:GI,color:qI.GREYSCALE_25,"&$shrink":{transform:"translate(0px, -8px)",fontWeight:GI}}};lD({},{light:()=>_D});const _D={root:{color:qI.MISC_FOCUS_BORDER}};lD({},{light:()=>DD});const DD={padding:{paddingTop:"0px",paddingBottom:"0px"}};lD({},{light:()=>TD});const TD={root:{minHeight:"32px",fontSize:jI,"&$selected":{backgroundColor:"unset","&:not($disabled)":{"&::after":{content:`url('${lM}')`,fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:qI.RED}}}},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:qI.GREYSCALE_0_03},"&:active":{backgroundColor:qI.GREYSCALE_0_05}}};lD({},{light:()=>OD});const OD={root:{color:qI.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}};lD({},{light:()=>qD});const qD={root:{fontSize:"12px"},primary:{fontSize:jI,color:qI.TEXT_PRIMARY,lineHeight:"16px"},secondary:{fontSize:NI,fontWeight:HI,lineHeight:"16px",color:qI.TEXT_SECONDARY}};lD({},{light:()=>ND});const ND={root:{'&[role="option"]':{color:qI.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:NI,borderBottom:`solid 1px ${qI.GREYSCALE_0_15}`,pointerEvents:"none"}}};lD({},{light:()=>jD});const jD={list:{paddingTop:4,paddingBottom:4},paper:{marginTop:4,marginBottom:4,background:qI.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15)",borderRadius:"2px"}};lD({},{light:()=>zD});const zD={root:{fontSize:jI,height:"32px",'[class*="MuiListSubheader-root"] ~ &[role="option"]':{paddingLeft:"20px"},"& div i":{color:qI.GREYSCALE_25}}};lD({},{light:()=>FD});const FD={root:{fontSize:jI,lineHeight:"16px",backgroundColor:qI.WHITE,borderRadius:$I,"&:not($focused):not($error):not($disabled):hover $notchedOutline":{border:`solid 1px ${qI.GREYSCALE_0_05}`,borderColor:qI.GREYSCALE_0_30},"&$focused:not($error) $notchedOutline":{border:`solid 1px ${qI.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${qI.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${qI.GREYSCALE_0_05}`},"&$focused$error $notchedOutline":{border:`solid 1px ${qI.RED}`,boxShadow:`0px 0px 0px 1px ${qI.RED}, inset 0 2px 0 0 ${qI.GREYSCALE_0_05}`},"&$disabled":{backgroundColor:"transparent"},"&$disabled $notchedOutline":{border:`solid 1px ${qI.GREYSCALE_0_10}`,borderColor:qI.GREYSCALE_0_10,backgroundColor:qI.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:qI.TEXT_PRIMARY,padding:"8px 12px","&$disabled":{opacity:.45}},notchedOutline:{borderColor:qI.GREYSCALE_0_15,borderRadius:$I,boxShadow:`inset 0 2px 0 0 ${qI.GREYSCALE_0_05}`},multiline:{padding:"8px 12px"}};lD({},{light:()=>$D});const $D={day:{"&&&:hover":{backgroundColor:qI.GREYSCALE_0_03}},daySelected:{"&&&:hover":{backgroundColor:qI.GREEN}}};lD({},{light:()=>HD});const HD={paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${qI.GREYSCALE_0_15}, 0px 0px 0px 1px ${qI.GREYSCALE_0_05}`}};lD({},{light:()=>BD});const BD={root:{fill:qI.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${qI.MISC_FOCUS_BORDER}`},"&$checked":{"&$colorPrimary":{"&.sprout-focus-visible i":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.GREEN_PALE,.5)}`}},"&$colorSecondary":{"&.sprout-focus-visible i":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.BLUE_PALE,.5)}`}},"&$disabled":{color:qI.GREYSCALE_0_20}},"&$disabled":{fill:qI.GREYSCALE_0_20,stroke:"none"}}};lD({},{light:()=>GD});const GD={root:{height:"32px",zIndex:1,borderRadius:"3px !important","& em":{color:qI.TEXT_SECONDARY,WebkitFontSmoothing:"antialiased","&::after":{content:""}},"& ~svg":{position:"absolute",top:"unset",right:"12px"},"&[aria-expanded=true]":{backgroundColor:qI.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:qI.GREYSCALE_0_03},"&:active":{backgroundColor:qI.GREYSCALE_0_10},"&:focus":{backgroundColor:qI.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${qI.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${qI.MISC_FOCUS_BORDER}`},"&$disabled":{opacity:"unset",color:qI.GREYSCALE_0_30,"&:hover":{backgroundColor:qI.GREYSCALE_0_0,borderColor:qI.GREYSCALE_0_15},"& ~svg":{color:qI.GREYSCALE_0_30}}},selectMenu:{height:"14px"},outlined:{border:`solid 1px ${qI.GREYSCALE_0_15}`}};lD({},{light:()=>WD});const WD={root:{color:qI.GREEN,height:"24px","&$disabled":{color:qI.GREYSCALE_0_15}},rail:{backgroundColor:qI.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${qI.GREYSCALE_0_05}`,borderRadius:$I,boxShadow:`inset 0px 0px 0px 1px ${qI.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${qI.GREYSCALE_0_05}`,borderRadius:$I},thumb:{height:"16px",width:"16px",borderRadius:$I,backgroundColor:qI.WHITE,boxShadow:`0px 1px 2px 0px ${qI.GREYSCALE_0_15}, 0px 0px 0px 1px ${qI.GREYSCALE_0_05}`,"&:hover":{borderRadius:$I,boxShadow:`0 2px 4px 0 ${qI.GREYSCALE_0_30}, 0 0 0 1px ${qI.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${qI.GREYSCALE_0_15}, 0 0 0 1px ${qI.GREYSCALE_0_06}, 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`},"&$disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:qI.GREYSCALE_90},"& .bar":{height:"8px",width:"1px",backgroundColor:qI.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:qI.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:qI.GREYSCALE_0_15},markLabel:{color:qI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:qI.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},active:{}};lD({},{light:()=>VD});const VD={root:{backgroundColor:qI.WHITE,color:qI.GREYSCALE_25}};lD({},{light:()=>UD});const UD={root:{padding:"10px",width:"60px",height:"40px"},switchBase:{padding:"11px","&$disabled":{"& $thumb":{backgroundColor:qI.GREYSCALE_100_50}},"&$checked + $track":{opacity:1},"&$disabled + $track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + $track":{borderColor:qI.GREEN_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + $track":{borderColor:qI.BLUE_PALE,boxShadow:`0 0 0 3px ${EM.alpha(qI.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:qI.GREYSCALE_0_15,borderRadius:$I},thumb:{height:"16px",width:"16px",borderRadius:$I,backgroundColor:qI.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& $thumb":{height:"12px",width:"12px"},"& $switchBase":{padding:"9px 11px"}}};lD({},{light:()=>YD});const YD={root:{fontSize:jI,fontWeight:GI,textTransform:"none",minWidth:"auto",boxSizing:"border-box","&:hover":{borderBottom:`2px solid ${qI.GREYSCALE_80}`,paddingBottom:"4px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${qI.MISC_FOCUS_BORDER}`,paddingTop:"4px",backgroundColor:qI.GREYSCALE_0_03,borderRadius:$I,minHeight:"44px",paddingBottom:"4px",border:"none"},"&$disabled":{opacity:.3}},textColorPrimary:{color:qI.GREYSCALE_25,"&$selected":{color:qI.GREYSCALE_25}},textColorInherit:{opacity:"unset"},fullWidth:{"&.sprout-focus-visible":{paddingRight:12,paddingLeft:12}},wrapper:{alignItems:"initial"},labelIcon:{minWidth:"40px",minHeight:"48px","&.sprout-focus-visible":{minHeight:"auto",height:"30px",marginTop:9,marginBottom:9,flexDirection:"column",paddingRight:"12px",paddingBottom:"2px"},"& $wrapper":{display:"block"}}};lD({},{light:()=>KD});const KD={root:{borderLeft:`1px solid ${qI.GREYSCALE_85}`}};lD({},{light:()=>XD});const XD={root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${qI.GREYSCALE_85}`,borderRight:`1px solid ${qI.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:GI,backgroundColor:qI.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&$head":{height:"31px"},"&$paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:qI.GREYSCALE_98,borderBottom:`1px solid ${qI.GREYSCALE_85}`}};lD({},{light:()=>JD});const JD={root:{borderBottom:`1px solid ${qI.GREYSCALE_85}`,borderTop:`1px solid ${qI.GREYSCALE_85}`}};lD({},{light:()=>ZD});const ZD={root:{backgroundColor:qI.GREYSCALE_98}};lD({},{light:()=>QD});const QD={hover:{"&$selected":{backgroundColor:qI.GREYSCALE_0_05,"&:hover":{backgroundColor:qI.GREYSCALE_0_03}},"&&:hover":{backgroundColor:qI.GREYSCALE_0_03}}};lD({},{light:()=>eT});const eT={root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&$active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}};lD({},{light:()=>tT});const tT={scroller:{height:"100%"},flexContainer:{height:"100%",marginLeft:2,marginRight:2},root:{fontSize:jI,fontWeight:"bold"},indicator:{height:2}};lD({},{light:()=>rT});const rT={root:{height:32,lineHeight:16,width:32,fontSize:jI,borderRadius:$I,padding:"7px 16px",border:`1px solid ${qI.GREYSCALE_0_15}`,backgroundColor:qI.GREYSCALE_100_60,color:qI.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:qI.GREYSCALE_0_10,border:`1px solid ${qI.GREYSCALE_0_30}`},"&:hover":{backgroundColor:qI.GREYSCALE_0_03,border:`1px solid ${qI.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:qI.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${qI.MISC_FOCUS_BORDER}`,border:`1px solid ${qI.MISC_FOCUS_BORDER}`,zIndex:2},"&$selected":{color:qI.GREYSCALE_25,backgroundColor:qI.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:qI.GREYSCALE_0_10,border:`1px solid ${qI.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:NI,height:24,width:24,padding:7},sizeLarge:{fontSize:zI,height:40,width:40,lineHeight:20}};lD({},{light:()=>nT});const nT={root:{height:"32px",lineHeight:"16px",fontSize:jI,borderRadius:$I}};lD({},{light:()=>oT});const oT={root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}};lD({},{light:()=>iT});const iT={arrow:{color:qI.GREYSCALE_20},tooltip:{backgroundColor:qI.GREYSCALE_20,fontSize:NI,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}},aT=(e="light",t=!1)=>CM(e,t),sT=(aT().palette.primary.light,iI.Selected,"repeating-linear-gradient(-45deg, rgba(200,200,200,0.08), rgba(200,200,200,0.08) 2px, rgba(200,200,200,0.3) 2.5px, rgba(200,200,200,0.08) 3px, rgba(200,200,200,0.08) 5px)"),lT=4/3,uT="12px",cT="600",dT="Source Sans Pro, sans-serif",pT={height:"auto",fontSize:uT,lineHeight:"unset",padding:"4px",borderStyle:"solid",borderWidth:"0px 1px 1px 0px",userSelect:"none",outline:"none","&:focus-visible":{boxShadow:"0 0 0 2px #177fe6 inset, 0 0 0 3px #fff inset"},"&:focus:not(:focus-visible)":{boxShadow:"none"},"&:last-child":{borderRightWidth:"0px"}},fT={"<i>":{fontStyle:"italic"},"<b>":{fontWeight:cT},"<u>":{textDecoration:"underline"},"<s>":{textDecoration:"line-through"}},hT=25e4,mT=(e,t,r)=>{if(!e.length)return[];const n=[],o=[];let i=t;if(e.forEach(((e,a)=>{var s;const{columnWidth:{type:l,pixels:u,percentage:c},label:d,qApprMaxGlyphCount:p,totalInfo:f}=e;let h=0;const m=()=>{n[a]=Math.min(pS.PixelsMax,Math.max(pS.PixelsMin,h)),i-=n[a]};switch(l){case fS.Pixels:h=(e=>void 0===e||Number.isNaN(+e)?pS.PixelsDefault:+e)(u),m();break;case fS.Percentage:h=(e=>void 0===e||Number.isNaN(+e)?pS.PercentageDefault:+e)(c)/100*t,m();break;case fS.FitToContent:(null===(s=e.representation)||void 0===s?void 0:s.type)===pE.Image?o.push(a):(h=r(d,f,p,e.isLocked,e.isActivelySorted,e.isDim),m());break;case fS.Auto:o.push(a);break;default:throw new Error(`${l} is not a valid column width type`)}})),o.length){const e=i/o.length;o.forEach((t=>{n[t]=Math.max(pS.AutoMinTable,e)}))}return n},gT=(e,t,r)=>{const n=r.size,o=n>=t.size;if(n){e({keys:[o?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.DeselectedValue",1===n?"SNTable.SelectionLabel.OneSelectedValue":["SNTable.SelectionLabel.SelectedValues",n.toString()]]})}else e({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]})},bT=(e,t,r)=>{r&&t&&(t.classList.contains("selected")?e({keys:["SNTable.SelectionLabel.SelectedValue"]}):e({keys:["SNTable.SelectionLabel.NotSelectedValue"]}))},vT=e=>e.ctrlKey||e.metaKey,yT=e=>e.shiftKey&&vT(e),xT=e=>[cS.Left,cS.Right,cS.Up,cS.Down].includes(e),ST=e=>e.shiftKey&&xT(e.key),CT=e=>(e=>xT(e)||[cS.Home,cS.End,cS.PageUp,cS.PageDown].includes(e))(e.key)&&!yT(e),ET=(e,t)=>{const{api:r,rows:n,colIdx:o}=e,{cell:i,announce:a,evt:s}=t;let l=new Map;if(-1===o)null==r||r.begin(["/qHyperCubeDef"]);else{if(o!==i.selectionColIdx)return e;l=new Map(n)}return l=((e,t,r)=>{const{qElemNumber:n,rowIdx:o}=t;return r.ctrlKey||r.metaKey?(new Map).set(n,o):(e.has(n)?e.delete(n):e.set(n,o),new Map(e))})(l,i,s),gT(a,n,l),l.size?(null==r||r.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(l.values()),[i.selectionColIdx]]}),{...e,rows:l,colIdx:i.selectionColIdx}):(null==r||r.cancel(),{...e,rows:l,colIdx:-1})},wT=(e,t)=>{var r;const{api:n,rows:o,colIdx:i,pageRows:a,firstCell:s}=e,{cell:l,announce:u,evt:c}=t;if(!(s||"key"in c&&ST(c)))return e;-1===i&&(null==n||n.begin(["/qHyperCubeDef"]));const d=((e,t,r,n,o)=>{const i=new Map(t);if("key"in n&&ST(n)){i.set(r.qElemNumber,r.rowIdx);const t=n.key===cS.Down?1:-1,o=e[r.pageRowIdx+t][r.pageColIdx];return i.set(o.qElemNumber,r.rowIdx+t),i}if(!o)return t;const a=Math.min(o.pageRowIdx,r.pageRowIdx),s=Math.max(o.pageRowIdx,r.pageRowIdx);for(let t=a;t<=s;t++){const r=e[t][o.pageColIdx];i.set(r.qElemNumber,r.rowIdx)}return i})(a,o,l,c,s);return gT(u,o,d),{...e,rows:d,colIdx:null!==(r=null==s?void 0:s.selectionColIdx)&&void 0!==r?r:l.selectionColIdx,isSelectMultiValues:!0}},RT=e=>{const{api:t,rows:r,colIdx:n,isSelectMultiValues:o,mouseupOutsideCallback:i}=e;return i&&document.removeEventListener("mouseup",i),o&&(null==t||t.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(r.values()),[n]]})),{...e,isSelectMultiValues:!1,firstCell:void 0,mouseupOutsideCallback:void 0}},AT=(e,t)=>{var r;switch(t.type){case aI.Select:return ET(e,t.payload);case aI.SelectMouseDown:return((e,{cell:t,mouseupOutsideCallback:r})=>!r||-1!==e.colIdx&&e.colIdx!==t.selectionColIdx?e:(document.addEventListener("mouseup",r),{...e,firstCell:t,mouseupOutsideCallback:r}))(e,t.payload);case aI.SelectMouseUp:return((e,t)=>RT(e.isSelectMultiValues||e.firstCell!==t.cell?e:ET(e,t)))(e,t.payload);case aI.SelectMultiAdd:return wT(e,t.payload);case aI.SelectMultiEnd:return RT(e);case aI.Reset:return null!==(r=e.api)&&void 0!==r&&r.isModal()?e:{...e,rows:new Map,colIdx:-1};case aI.Clear:return e.rows.size?{...e,rows:new Map}:e;case aI.UpdatePageRows:return{...e,pageRows:t.payload.pageRows};default:throw new Error("reducer called with invalid action type")}},kT=4/3,PT=e=>!(null==e||!e.color)||"number"==typeof(null==e?void 0:e.index)&&e.index>-1;function IT(e,t,r={index:-1}){const n=t.getColorPickerColor(r);return n&&"none"!==n?n:e}const LT=(e,t)=>e?{borderBottomColor:Tx.DARK_MODE_BORDER,borderRightColor:Tx.DARK_MODE_BORDER,borderLeftColor:Tx.DARK_MODE_BORDER,borderTopColor:Tx.DARK_MODE_BORDER}:{borderLeftColor:Tx.BORDER_MEDIUM,borderRightColor:Tx.BORDER_MEDIUM,borderTopColor:Tx.BORDER_HEAVY,borderBottomColor:t?Tx.BORDER_HEAVY:Tx.BORDER_LIGHT},MT=(e,t,r)=>{if(e&&t&&r){const n=(e=>parseInt(e,10)*kT+8+1)(e);return n*(t+2)<r.clientHeight-40?"1px":"0px"}return"0px"},_T=e=>{var t;return null===(t=e.components)||void 0===t?void 0:t.find((e=>"theme"===e.key))},DT=(e,t,r,n=!1)=>{const o=t.getStyle("object",`straightTableV2.${e}`,"fontFamily"),i=t.getStyle("object",`straightTableV2.${e}`,"color"),a=t.getStyle("object",`straightTableV2.${e}`,"fontSize"),s={fontFamily:o,color:PT(null==r?void 0:r.fontColor)?IT(Tx.TEXT,t,null==r?void 0:r.fontColor):i||Tx.TEXT,fontSize:(null==r?void 0:r.fontSize)&&`${r.fontSize}px`||a,padding:r&&"padding"in r?r.padding:void 0,...LT(t.background.isDark,n)};return Object.keys(s).forEach((e=>{const t=e;null==s[t]&&delete s[t]})),s};function TT(e,t,r){var n,o,i;const a=null===(n=_T(e))||void 0===n?void 0:n.header,s=DT("header",t,a,r);return s.background=(e=>{if(void 0===e)return;const t=ee(e);return t.setAlpha(1),t.getRGB()})(t.background.headerColor),s.hoverBackground=Nx(null!==(o=s.background)&&void 0!==o?o:Tx.WHITE,hS),s.activeBackground=Nx(null!==(i=s.background)&&void 0!==i?i:Tx.WHITE,mS),s}const OT=(e,t)=>{var r;const n=null!==(r=e.toLowerCase().match(/<[^>]+>/g))&&void 0!==r?r:[];return n.forEach((e=>(e=>e in fT)(e)&&Object.assign(t,fT[e]))),t};function qT(e,t,r){var n;const o={};let i={fontStyle:e.fontStyle,fontWeight:e.fontWeight,textDecoration:e.textDecoration};return null==t||null===(n=t.qValues)||void 0===n||n.forEach(((e,t)=>{const n=e.qText,a=n&&Fx(n);a&&"none"!==a&&(o[r[t]]=a),i=n?OT(n,i):i})),o.cellBackgroundColor&&!o.cellForegroundColor&&(o.cellForegroundColor=Ox(o.cellBackgroundColor)),{...e,...o,color:o.cellForegroundColor||e.color,background:o.cellBackgroundColor||e.background,fontStyle:i.fontStyle,fontWeight:i.fontWeight,textDecoration:i.textDecoration}}const NT=(e,t)=>{if(t){const r=e.getColorPickerColor(t);return"none"===r?"transparent":r}},jT=(e,t,r)=>{const{objectColorFromCSS:n,sheetColorFromCSS:o}=e.background,i=NT(e,null==t?void 0:t.background),a=e.getStyle("","",r);return{backgroundColor:i||n||a,backgroundFromStyling:i,sheetColorFromCSS:o}},zT=(e,t,r,n=Tx.WHITE)=>{var o;const{backgroundColor:i,backgroundFromStyling:a,sheetColorFromCSS:s}=jT(e,t,r);return null!==(o=Gx(a,i,s,n))&&void 0!==o?o:n},FT=e=>{switch(typeof e){case"string":return`${parseInt(e,10)}px`;case"number":return`${e}px`;default:return uT}},$T=e=>null!=e&&e.some((e=>"italic"===e))?"italic":"normal",HT=(e,t)=>void 0===e?t:e.some((e=>"bold"===e))?cT:"normal",BT=e=>!1===e?1:3,GT=e=>parseInt(null!=e?e:pT.fontSize,10)*lT,WT=e=>null!=e&&e.some((e=>"underline"===e))?"underline":"none",VT=(e,t,r,n,o)=>{var i,a,s,l,u,c,d,p,f,h,m,g,b,v,y,x,S,C,E,w,R,A,k,P,I,L,M,_,D,T,O,q,N,j,z,F,$,H,B,G,W,V,U,Y,K,X,J,Z,Q,ee,te,re,ne,oe,ie,ae,se,le,ue,ce,de,pe,fe,he,me,ge,be,ve,ye;const{header:xe,dimensionValues:Se,measureValues:Ce,totalValues:Ee,nullValues:we,grid:Re,content:Ae}=null!==(i=_T(t))&&void 0!==i?i:{},ke=!0===t.usePagination?Tx.WHITE:Tx.TRANSPARENT,Pe=zT(n,xe,"object.straightTableV2.dimension.label.name.backgroundColor",ke),Ie=null!==(a=null!==(s=null===(l=o.viewState)||void 0===l?void 0:l.maxLineCount)&&void 0!==s?s:null==Ae?void 0:Ae.rowHeight)&&void 0!==a?a:n.getStyle("object.straightTableV2","grid","lineClamp"),Le={header:{fontFamily:null!==(u=null!==(c=null!==(d=null==xe?void 0:xe.fontFamily)&&void 0!==d?d:n.getStyle("object.straightTableV2.dimension","label.name","fontFamily"))&&void 0!==c?c:r.head.fontFamily)&&void 0!==u?u:dT,fontSize:FT(null!==(p=null!==(f=null==xe?void 0:xe.fontSize)&&void 0!==f?f:n.getStyle("object.straightTableV2.dimension","label.name","fontSize"))&&void 0!==p?p:r.head.fontSize),fontStyle:$T(null==xe?void 0:xe.fontStyle),fontWeight:HT(null==xe?void 0:xe.fontStyle,cT),textDecoration:WT(null==xe?void 0:xe.fontStyle),color:null!==(h=null!==(m=null!==(g=NT(n,null==xe?void 0:xe.fontColor))&&void 0!==g?g:n.getStyle("object.straightTableV2.dimension","label.name","color"))&&void 0!==m?m:r.head.color)&&void 0!==h?h:Tx.TEXT,background:Pe},headerMenuHoverBackground:Nx(Pe,hS),headerMenuActiveBackground:Nx(Pe,mS),dimension:{values:{fontFamily:null!==(b=null!==(v=null!==(y=null==Se?void 0:Se.fontFamily)&&void 0!==y?y:n.getStyle("object.straightTableV2.dimension","label.value","fontFamily"))&&void 0!==v?v:r.body.fontFamily)&&void 0!==b?b:dT,fontSize:FT(null!==(x=null!==(S=null!==(C=null==Se?void 0:Se.fontSize)&&void 0!==C?C:null==Ae?void 0:Ae.fontSize)&&void 0!==S?S:n.getStyle("object.straightTableV2.dimension","label.value","fontSize"))&&void 0!==x?x:r.body.fontSize),fontStyle:$T(null==Se?void 0:Se.fontStyle),fontWeight:HT(null==Se?void 0:Se.fontStyle,"normal"),textDecoration:WT(null==Se?void 0:Se.fontStyle),color:null!==(E=null!==(w=null!==(R=null!==(A=NT(n,null==Se?void 0:Se.fontColor))&&void 0!==A?A:NT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==R?R:n.getStyle("object.straightTableV2.dimension","label.value","color"))&&void 0!==w?w:r.body.color)&&void 0!==E?E:Tx.TEXT,background:null!==(k=null!==(P=jT(n,Se,"object.straightTableV2.dimension.label.value.backgroundColor").backgroundColor)&&void 0!==P?P:r.body.background)&&void 0!==k?k:Tx.TRANSPARENT}},measure:{values:{fontFamily:null!==(I=null!==(L=null!==(M=null==Ce?void 0:Ce.fontFamily)&&void 0!==M?M:n.getStyle("object.straightTableV2.measure","label.value","fontFamily"))&&void 0!==L?L:r.body.fontFamily)&&void 0!==I?I:dT,fontSize:FT(null!==(_=null!==(D=null!==(T=null==Ce?void 0:Ce.fontSize)&&void 0!==T?T:null==Ae?void 0:Ae.fontSize)&&void 0!==D?D:n.getStyle("object.straightTableV2.measure","label.value","fontSize"))&&void 0!==_?_:r.body.fontSize),fontStyle:$T(null==Ce?void 0:Ce.fontStyle),fontWeight:HT(null==Ce?void 0:Ce.fontStyle,"normal"),textDecoration:WT(null==Ce?void 0:Ce.fontStyle),color:null!==(O=null!==(q=null!==(N=null!==(j=NT(n,null==Ce?void 0:Ce.fontColor))&&void 0!==j?j:NT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==N?N:n.getStyle("object.straightTableV2.measure","label.value","color"))&&void 0!==q?q:r.body.color)&&void 0!==O?O:Tx.TEXT,background:null!==(z=null!==(F=jT(n,Ce,"object.straightTableV2.measure.label.value.backgroundColor").backgroundColor)&&void 0!==F?F:r.body.background)&&void 0!==z?z:Tx.TRANSPARENT}},totalRow:{fontFamily:null!==($=null!==(H=null!==(B=null==Ee?void 0:Ee.fontFamily)&&void 0!==B?B:n.getStyle("object.straightTableV2.total","label.value","fontFamily"))&&void 0!==H?H:r.totals.fontFamily)&&void 0!==$?$:dT,fontSize:FT(null!==(G=null!==(W=null!==(V=null==Ee?void 0:Ee.fontSize)&&void 0!==V?V:null==Ae?void 0:Ae.fontSize)&&void 0!==W?W:n.getStyle("object.straightTableV2.total","label.value","fontSize"))&&void 0!==G?G:r.totals.fontSize),fontStyle:$T(null==Ee?void 0:Ee.fontStyle),fontWeight:HT(null==Ee?void 0:Ee.fontStyle,cT),textDecoration:WT(null==Ee?void 0:Ee.fontStyle),color:null!==(U=null!==(Y=null!==(K=null!==(X=NT(n,null==Ee?void 0:Ee.fontColor))&&void 0!==X?X:NT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==K?K:n.getStyle("object.straightTableV2.total","label.value","color"))&&void 0!==Y?Y:r.totals.color)&&void 0!==U?U:Tx.TEXT,background:zT(n,Ee,"object.straightTableV2.total.label.value.backgroundColor",ke)},nullValues:{fontStyle:$T(null==we?void 0:we.fontStyle),fontWeight:HT(null==we?void 0:we.fontStyle,"normal"),textDecoration:WT(null==we?void 0:we.fontStyle),color:null!==(J=null!==(Z=null!==(Q=null!==(ee=NT(n,null==we?void 0:we.fontColor))&&void 0!==ee?ee:NT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==Q?Q:n.getStyle("object.straightTableV2.null","label.value","color"))&&void 0!==Z?Z:r.body.color)&&void 0!==J?J:Tx.TEXT,background:null!==(te=null!==(re=NT(n,null==we?void 0:we.background))&&void 0!==re?re:n.getStyle("","","object.straightTableV2.null.label.value.backgroundColor"))&&void 0!==te?te:Tx.NULL_VALUE_BACKGROUND},grid:{contentLineClamp:null!=Ie?Ie:BT(null===(ne=t.multiline)||void 0===ne?void 0:ne.wrapTextInCells),headerLineClamp:BT(null===(oe=t.multiline)||void 0===oe?void 0:oe.wrapTextInHeaders),border:null!==(ie=null!==(ae=NT(n,null==Re?void 0:Re.border))&&void 0!==ae?ae:n.getStyle("object.straightTableV2","grid","borderColor"))&&void 0!==ie?ie:n.background.isDark?Tx.DARK_MODE_BORDER:Tx.BORDER_MEDIUM,divider:null!==(se=null!==(le=NT(n,null==Re?void 0:Re.divider))&&void 0!==le?le:n.getStyle("object.straightTableV2.grid","","divider.borderColor"))&&void 0!==se?se:Tx.BORDER_HEAVY,hoverColors:{color:null!==(ue=null!==(ce=NT(n,null==Ae?void 0:Ae.hoverFontColor))&&void 0!==ce?ce:n.getStyle("object.straightTableV2","","grid.hover.color"))&&void 0!==ue?ue:null===(de=r.body.hoverColors)||void 0===de?void 0:de.color,background:null!==(pe=null!==(fe=NT(n,null==Ae?void 0:Ae.hoverColor))&&void 0!==fe?fe:n.getStyle("object.straightTableV2","","grid.hover.backgroundColor"))&&void 0!==pe?pe:null===(he=r.body.hoverColors)||void 0===he?void 0:he.background},zebraStripes:{show:!(null==Re||null===(me=Re.zebraStripes)||void 0===me||!me.show),odd:{color:NT(n,null==Re||null===(ge=Re.zebraStripes)||void 0===ge||null===(ge=ge.color)||void 0===ge?void 0:ge.odd),background:NT(n,null==Re||null===(be=Re.zebraStripes)||void 0===be||null===(be=be.background)||void 0===be?void 0:be.odd)},even:{color:NT(n,null==Re||null===(ve=Re.zebraStripes)||void 0===ve||null===(ve=ve.color)||void 0===ve?void 0:ve.even),background:NT(n,null==Re||null===(ye=Re.zebraStripes)||void 0===ye||null===(ye=ye.background)||void 0===ye?void 0:ye.even)},overrideNullValueBackground:void 0===NT(n,null==we?void 0:we.background),overrideNullValueColor:void 0===NT(n,null==we?void 0:we.fontColor)},lastRowBottomBorder:r.body.lastRowBottomBorder},selectedColors:qx(n),headerMinRowHeight:0,totalRowLineHeight:0,totalRowMinHeight:0,contentLineHeight:0,contentMinRowHeight:0,contentStaticLineCount:Ie},{headerMinRowHeight:Me,totalRowLineHeight:_e,totalRowMinHeight:De,contentLineHeight:Te,contentMinRowHeight:Oe}=(e=>{const t=Math.max(GT(e.header.fontSize)+8,32),r=GT(e.totalRow.fontSize),n=Math.max(r+8+1,24),o=Math.max(GT(e.dimension.values.fontSize),GT(e.measure.values.fontSize)),i=(e.contentStaticLineCount||1)*o;return{headerMinRowHeight:t,totalRowLineHeight:r,totalRowMinHeight:n,contentLineHeight:o,contentMinRowHeight:Math.max(i+8+1,24)}})(Le);return Le.headerMinRowHeight=Me,Le.totalRowLineHeight=_e,Le.totalRowMinHeight=De,Le.contentLineHeight=Te,Le.contentMinRowHeight=Oe,Le},UT=(e,t,r,n)=>{const o=E((()=>{const o=r.totalsPosition.atTop,i=function(e,t,r,n){var o;const i=null===(o=_T(e))||void 0===o?void 0:o.content,a=DT("content",t,i);a.background=t.background.color;const s=MT(a.fontSize,r,n),l=null==i?void 0:i.hoverColor,u=null==i?void 0:i.hoverFontColor,c=t.getStyle("object","","straightTableV2.content.hover.backgroundColor"),d=t.getStyle("object","","straightTableV2.content.hover.color"),p=PT(u)||!!d,f=PT(l)||!!c,h=p||f;let m;m=PT(l)?IT(Tx.HOVER,t,l):c||(p?"":Tx.HOVER);const g=h?IT(Ox(m),t,u):"";return{...a,lastRowBottomBorder:s,hoverColors:{background:m,color:g}}}(e,t,r.rows.length,n),a=TT(e,t,!o),s=function(e,t,r){var n;const o=null===(n=_T(e))||void 0===n?void 0:n.content,i=DT("content",t,o),{borderBottomColor:a,borderTopColor:s,background:l}=TT(e,t,r);return{...i,borderBottomColor:a,background:l,borderTopColor:s}}(e,t,o);return{body:i,head:a,totals:s}}),[e,t,r,n]);return o},YT=new Map;const KT=L({}),XT=function(e){const t=L([()=>{},new Set]);return YT.set(e,t),({children:r,value:n})=>{const o=M(n),i=M(new Set);w((()=>{o.current=n,i.current.forEach((e=>{e(n)}))}),[n]);const a=_((()=>o.current),[o]),s=E((()=>[a,i.current]),[a]);return Rl.jsx(e.Provider,{value:n,children:Rl.jsx(t.Provider,{value:s,children:r})})}}(KT),JT={rows:[],columns:[],totalsPosition:{}},ZT=({app:e,children:t,tableData:r=JT,selectionsAPI:n,cellCoordMock:o,layout:i,model:a,translator:s,interactions:l,theme:u,keyboard:c,rootElement:d,embed:p,changeSortOrder:f,applyColumnWidths:h,setPage:m,pageInfo:g,initialDataPages:b,rect:v,viewService:y,downloadService:x,env:S,direction:w})=>{const[R,A]=C(0),[k,P]=C(o||OI),[L,M]=((e,t)=>{const[r,n]=I(AT,{pageRows:e,rows:new Map,colIdx:-1,api:t,isSelectMultiValues:!1});return[r,n]})(r.rows,n),[_,D]=C(-1),T=UT(i,u,r,d),O=((e,t,r,n,o)=>E((()=>VT(0,t,r,n,o)),[t,r,e,n,o]))(S,i,T,u,y),[q,N,j,z]=((e,t,r,n)=>{const o=t.atBottom||t.atTop,i=Jx({...n.header,fontWeight:cT},{maxNbrLinesOfText:3}).measureText,a=Jx({...n.totalRow,fontWeight:cT},{maxNbrLinesOfText:3}).measureText,{estimateWidth:s}=Jx(n.dimension.values,{maxNbrLinesOfText:3}),{estimateWidth:l}=Jx(n.measure.values,{maxNbrLinesOfText:3}),u=E((()=>(e,t,r,n,u,c)=>{let d=25;d+=28,n&&(d+=24),u&&(d+=20);const p=c?s:l;return Math.max(i(e)+d,o?a(t)+24+1:0,p(r))}),[s,l,i,a,o]),[c,d]=C(0),[p,f]=C((()=>mT(e,r,u)));tS((()=>{f(mT(e,r-c,u))}),[e,r,c,u]);const h=E((()=>((e,t,r)=>e.length>0&&e.reduce(((e,t)=>e+t))+t<r)(p,c,r)),[p,c,r]);return[p,f,d,h]})(r.columns,r.totalsPosition,v.width,O),F=E((()=>({app:e,selectionsAPI:n,layout:i,model:a,translator:s,interactions:l,theme:u,keyboard:c,rootElement:d,embed:p,changeSortOrder:f,applyColumnWidths:h,rect:v,viewService:y,styleService:O,direction:w,downloadService:x})),[e,n,i,a,s,l,u,c.active,d,p,f,h,v,y,O,w,x]);return Rl.jsx(XT,{value:{headRowHeight:R,setHeadRowHeight:A,focusedCellCoord:k,setFocusedCellCoord:P,selectionState:L,selectionDispatch:M,hoverIndex:_,setHoverIndex:D,columnWidths:q,setColumnWidths:N,baseProps:F,tableData:r,setYScrollbarWidth:j,setPage:m,pageInfo:g,initialDataPages:b,showRightBorder:z,env:S},children:t})};function QT(e,t){const r=function(e){return YT.get(e)}(e),[n,o]=S(r),[,i]=I((e=>e+1),0),a=M(t),s=M(),l=n();if(void 0===l)throw new Error("You must call useContextSelector inside a valid context.");const u=E((()=>t(l)),[l,t]);return w((()=>{a.current=t,s.current=u}),[l,u,t]),w((()=>{const e=e=>{a.current(e)!==s.current&&i()};return o.add(e),()=>{o.delete(e)}}),[o]),u}function eO(e){var t;const r=aT();return null!==(t=r.components)&&void 0!==t&&null!==(t=t.MuiTable)&&void 0!==t&&t.styleOverrides&&(r.components.MuiTable.styleOverrides.root={}),bP({...r,direction:e})}const tO={width:"100%",height:"100%",color:"transparent",background:"transparent",borderColor:"transparent"},rO={border:0,boxShadow:"none",borderRadius:0,outline:0,width:0,height:0,background:"transparent",cursor:"pointer",visibility:"hidden"},nO=Rg("input",{shouldForwardProp:e=>"isLastColumn"!==e&&"hoverColor"!==e})((({isLastColumn:e,hoverColor:t,dir:r})=>({position:"absolute",display:"flex",height:"100%",top:0,marginLeft:"-4px",marginRight:"rtl"===r?"-4px":void 0,touchAction:"none",cursor:"col-resize",pointerEvents:"auto",width:(e?4:9)+"px",justifyContent:e?"flex-end":"center",outline:"none",appearance:"none",WebkitAppearance:"none",backgroundColor:"transparent","&::-webkit-slider-runnable-track":{...tO},"&::-moz-range-track":{...tO},"&::-ms-track":{...tO},"&::-webkit-slider-thumb":{appearance:"none",WebkitAppearance:"none",...rO},"&::-moz-range-thumb":{...rO},"&::-ms-thumb":{...rO},"&:hover:not(:focus, :active)":{"&::after":{backgroundColor:t||"#D9D9D9","@media (hover: none)":{backgroundColor:"none"}}},"&:focus-visible, &:active":{"&::after":{backgroundColor:"#177fe6",borderLeft:"1px solid #fff",borderRight:e?void 0:"1px solid #fff"}},"&::after":{content:'""',height:"100%",width:"3px",position:"absolute"}}))),oO=({columnWidth:e,keyValue:t,isLastColumn:r,isPivot:n,hoverColor:o,updateWidthCallback:i,confirmWidthCallback:a,handleBlur:s,setIsAdjustingWidth:l,isLeftColumn:u,accessibilityRelatedArgs:c,direction:d="ltr"})=>{const p=nS({translator:c.translator}),f=M({initWidth:e,columnWidth:e,initX:0}),h=r?0:1,m=n&&!u,g=()=>m?f.current.columnWidth-h:"100%",b={left:"rtl"!==d?g():void 0,right:"rtl"===d?g():void 0},v=t=>{f.current={initWidth:e,columnWidth:e,initX:null!=t?t:f.current.initX}};tS((()=>{m&&v()}),[e]);const y=e=>{const t=Math.max(e,pS.PixelsMin);f.current.columnWidth=t,i(t)},S=()=>{if(f.current.columnWidth!==f.current.initWidth){const e={type:fS.Pixels,pixels:f.current.columnWidth};a(e)}else null==l||l(!1)},C=e=>{const t="rtl"===d?f.current.initWidth+f.current.initX-e.clientX:f.current.initWidth+e.clientX-f.current.initX;y(t)},E=e=>{Hx(e),document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",E),S()},w=e=>{const t="rtl"===d?f.current.initWidth+-f.current.initX-e.touches[0].clientX:f.current.initWidth+e.touches[0].clientX-f.current.initX;y(t)},R=e=>{Hx(e),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",R),S()},A=!n&&s?e=>{if(e.key===cS.Left||e.key===cS.Right){Hx(e);const t=5,r=e.key===cS.Left?t:-t,n="rtl"===d?r:-r;y(f.current.columnWidth+n)}else e.key===cS.Space||e.key===cS.Enter?(Hx(e),s(e),S()):e.key===cS.Esc&&(Hx(e),s(e),y(f.current.initWidth))}:void 0,k=p.get("NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",[String(c.columnLabel)]);return x.createElement(nO,{style:b,key:t,hoverColor:o,isLastColumn:r,className:dS,"data-testid":dS,onMouseDown:e=>{Hx(e),document.addEventListener("mousemove",C),document.addEventListener("mouseup",E),null==l||l(!0),v(e.clientX)},onDoubleClick:()=>{a({type:fS.FitToContent})},onTouchStart:e=>{1===e.touches.length&&(Hx(e),document.addEventListener("touchmove",w),document.addEventListener("touchend",R),null==l||l(!0),v(e.touches[0].clientX))},onKeyDown:A,onBlur:s,onFocus:()=>{v()},type:"range",tabIndex:-1,"aria-label":k,"aria-valuemin":pS.PixelsMin,"aria-valuemax":pS.PixelsMax,"aria-valuenow":Number(e.toFixed(1)),dir:d})},iO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M15 4H1V2h14zm0 10H1v-2h14zm0-5H1V7h14z"})})));function aO(){return aO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aO.apply(null,arguments)}const sO=Rg(sv,{shouldForwardProp:e=>"rightAligned"!==e&&"shouldShowMenuIcon"!==e})((({rightAligned:e,shouldShowMenuIcon:t})=>({...e?{marginRight:"auto"}:{marginLeft:"auto"},height:24,display:t?"flex":"none",fontWeight:"bold",width:"100%",alignItems:"center",justifyContent:"center"}))),lO=Rg(iO,{shouldForwardProp:e=>"isInteractionsActive"!==e})((({isInteractionsActive:e})=>({minWidth:"unset",position:"relative",cursor:e?"pointer":"default"}))),uO=Rg(Hy)((({theme:e})=>({".MuiList-root":{padding:e.spacing(.5,0)}}))),cO=Rg(zv)((({theme:e})=>({"&.MuiDivider-root":{margin:e.spacing(.5)}}))),dO=Rg(Uy)((({theme:e})=>({fontSize:"12px",height:24,fontWeight:"bold",padding:`${e.spacing(.25,2)} !important`,marginBottom:e.spacing(.5)}))),pO=Rg(Uy,{shouldForwardProp:e=>"isSubMenu"!==e&&"isActive"!==e})((({theme:e,isSubMenu:t,isActive:r})=>({width:`calc(220px - ${e.spacing(1)} - ${t?10:0}px)`,maxHeight:32,borderRadius:`${e.spacing(.5)} !important`,margin:`${e.spacing(.25,.5)} !important`,padding:`${e.spacing(1,1.5)} !important`,display:"flex !important",justifyContent:"space-between !important","&&:focus":{boxShadow:"rgb(23, 127, 230) 0px 0px 0px 2px"},position:"relative !important",overflow:"hidden",boxSizing:"border-box !important",background:r?"rgba(0, 0, 0, 0.05)":"transparent"}))),fO=Rg("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((({theme:e,direction:t,isPagination:r})=>({position:"absolute",width:e.spacing(.5),height:16,left:0,right:r||"rtl"!==t?void 0:0,top:"50%",transform:"TranslateY(-50%)",borderRadius:"0 2px 2px 0",background:"#01873d"}))),hO=Rg("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center",maxWidth:"100%"}))),mO=Rg(Eb)((()=>({fontFamily:'"Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif',fontSize:"14px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),gO=Rg(my,{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((({theme:e,direction:t,isPagination:r})=>({width:16,minWidth:"unset !important",marginRight:r||"rtl"!==t?e.spacing(1.5):0,marginLeft:r||"rtl"!==t?void 0:e.spacing(1.5),lineHeight:0}))),bO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5z"})}))),vO=e=>{const t=e.nextElementSibling;var r;return t?"HR"===t.tagName?vO(t):t:null===(r=e.parentElement)||void 0===r||null===(r=r.children)||void 0===r?void 0:r[0]},yO=e=>{const t=e.previousElementSibling;if(!t){var r,n;const t=null===(r=e.parentElement)||void 0===r||null===(r=r.children)||void 0===r?void 0:r.length;return null===(n=e.parentElement)||void 0===n||null===(n=n.children)||void 0===n?void 0:n[t-1]}return"HR"===t.tagName?yO(t):t},xO=e=>{var t;const{key:r,currentTarget:n}=e,o=null!==(t=document.activeElement)&&void 0!==t?t:n;if(r===cS.Down||r===cS.Up){const t=e=>r===cS.Down?vO(e):yO(e);e.preventDefault(),e.stopPropagation();let n=t(o);for(;n;){if("true"!==n.ariaDisabled){n.focus();break}n=t(n)}}},SO=(e,t)=>e.map((e=>e.map((e=>({...e.groupHeading?{groupHeading:e.groupHeading}:{},items:e.items.map((({onClick:e,...r})=>({...r,...e?{onClick:async r=>{Object.entries(t).forEach((([,e])=>{e(!1)})),await e(r)}}:{}})))})))));let CO={};const EO=({autoFocus:e,id:t,onClick:r,itemTitle:n,icon:o,enabled:i,subMenus:a,isSubMenu:s,isActive:l,direction:u,isPagination:c})=>{const[d,p]=C(!1),f=M(null),h=_((e=>{e.stopPropagation(),p(!1)}),[p]);return x.createElement(x.Fragment,null,x.createElement(pO,{ref:a?f:null,key:t,"data-testid":`menu-item-${t}`,className:"nebula-table-utils-head-menu-item",onClick:async e=>{"keyup"!==e.type&&(r&&(await r(e),CO={}),null!=a&&a.length&&(p(!0),CO[n]=p))},disabled:!i,autoFocus:e,isSubMenu:!!s,isActive:!!l,onKeyDown:xO},l?x.createElement(fO,{direction:u,isPagination:c}):null,x.createElement(hO,null,x.createElement(gO,{direction:u,isPagination:c},x.createElement(o,null)),x.createElement(mO,{variant:"body2"},n)),null!=a&&a.length?x.createElement(bO,null):null),null!=a&&a.length?x.createElement(AO,{isSubMenu:!0,open:d,anchorEl:f.current,onClose:h,menuGroups:SO(a,CO),transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},direction:u,isPagination:c}):null)},wO=({menuGroup:e,isSubMenu:t,direction:r,isPagination:n})=>e.map((e=>[[e.groupHeading&&x.createElement(dO,{key:e.groupHeading,disabled:!0,style:{opacity:1}},e.groupHeading),e.items.map((e=>x.createElement(EO,aO({key:e.id},e,{isSubMenu:t,direction:r,isPagination:n}))))].filter(Boolean)])),RO={appear:0,enter:0,exit:0},AO=({anchorEl:e,open:t,onClose:r,menuGroups:n,transformOrigin:o,anchorOrigin:i,isSubMenu:a,direction:s,isPagination:l})=>n.length?x.createElement(uO,aO({className:sS,open:t,anchorEl:e,onClose:r,transitionDuration:RO,MenuListProps:{id:lS}},i?{anchorOrigin:i}:{},o?{transformOrigin:o}:{},{dir:s}),(({itemGroups:e,isSubMenu:t,direction:r,isPagination:n})=>e.map(((o,i)=>[wO({menuGroup:o,isSubMenu:t,direction:r,isPagination:n}),i<e.length-1?x.createElement(cO,{"data-testid":"group-divider",variant:"middle"}):void 0])))({itemGroups:n,isSubMenu:a,direction:s,isPagination:l})):null,kO=(e,t)=>e.some((e=>t[e]>0)),PO={canSelectAll:!1,canClearSelections:!1,canSelectPossible:!1,canSelectAlternative:!1,canSelectExcluded:!1},IO=({open:e,qStateName:t="$",headerData:r,app:n})=>{const[o,i]=C(null),[a,s]=C(PO);return tS((()=>{e||(s(PO),i(null))}),[e]),w((()=>{if(null==n||!n.createSessionObject||!r.isDim||!e)return()=>{};let o,a=!1;const l=()=>{o&&n.destroySessionObject(o)};return(async()=>{try{var e,u,c;const d=((e,t)=>({qInfo:{qType:"tableListbox"},qListObjectDef:Boolean(t.qLibraryId)?{qLibraryId:t.qLibraryId,qStateName:e}:{qDef:{qFieldDefs:[t.fieldId]},qStateName:e}}))(t,r),p=await n.createSessionObject(d),f=await p.getLayout(),{qStateCounts:h}=null!==(e=null===(u=f.qListObject)||void 0===u?void 0:u.qDimensionInfo)&&void 0!==e?e:{};o=null===(c=f.qInfo)||void 0===c?void 0:c.qId,a?l():(i(p),h&&s((e=>({canSelectAll:kO(["qOption","qAlternative","qExcluded","qDeselected"],e),canClearSelections:kO(["qSelected"],e),canSelectPossible:kO(["qOption"],e),canSelectAlternative:kO(["qAlternative"],e),canSelectExcluded:kO(["qAlternative","qExcluded"],e)}))(h)))}catch(e){console.error(e)}})(),()=>{a=!0,l()}}),[e,n,r,t]),{fieldInstance:o,selectionActionsEnabledStatus:a}},LO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),MO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m0-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m-1-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M9.166 6.166c1.555-1.555 4.113-1.555 5.668 0s1.555 4.113 0 5.668-4.113 1.555-5.668 0-1.555-4.063 0-5.668m4.966 1.555a.56.56 0 0 0 0-.803.56.56 0 0 0-.803 0l-1.304 1.305-1.304-1.305a.522.522 0 0 0-.803 0 .524.524 0 0 0 0 .803l1.305 1.304-1.305 1.304c-.25.2-.25.552 0 .803.251.25.602.25.803 0l1.304-1.304 1.304 1.304c.2.25.552.25.803 0 .2-.201.25-.602 0-.803l-1.304-1.304z"})}))),_O=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3.914 8h8.207L10.5 6.379l.707-.708L14.036 8.5l-2.829 2.828-.707-.707L12.12 9H3.914l1.621 1.621-.707.707L2 8.5l2.828-2.828.707.707zM15 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 13V2h-2v3h-1V2H4v3H3V2H1v12h2v-2h1v2h8v-2h1v2z"})}))),DO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),TO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M.5 4.774v6.452a2 2 0 0 0 1.154 1.813l5.5 2.566a2 2 0 0 0 1.692 0l5.5-2.566a2 2 0 0 0 1.154-1.813V4.774a2 2 0 0 0-1.154-1.813L8.846.395a2 2 0 0 0-1.692 0l-5.5 2.566A2 2 0 0 0 .5 4.774m1 0v-.032l6 2.428v7.493l-5.423-2.53a1 1 0 0 1-.577-.907zm.545-.89.032-.016 5.5-2.567a1 1 0 0 1 .846 0l5.5 2.567.032.015L8 6.293zm12.454.858v6.484a1 1 0 0 1-.576.906L8.5 14.663V7.17z"})}))),OO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8z"})}))),qO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8zM8.5 4v8h-1V4z"})}))),NO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7"})}))),jO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})}))),zO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3 4v1H1v10h10v-2h1v2a1 1 0 0 1-.883.993L11 16H1a1 1 0 0 1-.993-.883L0 15V5a1 1 0 0 1 .883-.993L1 4zm12-4a1 1 0 0 1 .993.883L16 1v10a1 1 0 0 1-.883.993L15 12H5a1 1 0 0 1-.993-.883L4 11V1a1 1 0 0 1 .883-.993L5 0zm0 1H5v10h10zm-2.36 2.653.72.694L9.143 8.72 6.64 6.125l.72-.694L9.143 7.28z"})}))),FO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8l8-8zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),$O=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 3h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),HO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8h8V4zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),BO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M1 1.5a.5.5 0 0 1 .5-.5H3V0H1.5A1.5 1.5 0 0 0 0 1.5V3h1zM14.5 1a.5.5 0 0 1 .5.5V3h1V1.5A1.5 1.5 0 0 0 14.5 0H13v1zM1 14.5a.5.5 0 0 0 .5.5H3v1H1.5A1.5 1.5 0 0 1 0 14.5V13h1zm14 0a.5.5 0 0 1-.5.5H13v1h1.5a1.5 1.5 0 0 0 1.5-1.5V13h-1zM6 0h4v1H6zM0 6h1v4H0zm15 0h1v4h-1zm-9 9h4v1H6z"})})));let GO=function(e){return e.Sorting="sorting",e.Searching="searching",e.Selections="selections",e.AdjusterHeaderSize="adjustHeaderSize",e}({});const WO="/qListObjectDef",VO=({headerData:e,translator:t,menuAvailabilityFlags:r,setOpen:n,sortFromMenu:o,interactions:i,embedListbox:a,fieldInstance:s,selectionActionsEnabledStatus:l,anchorRef:u,focusColumnAdjuster:c,setActiveFieldCallback:d,expandOrCollapseArgs:p})=>{const f=[];if(r[GO.Sorting]){const{isActivelySorted:r,sortDirection:i}=e,{ascendingEnabled:a,descendingEnabled:s}=(({isActivelySorted:e,sortDirection:t,isPivot:r,isSortedByFirstMeasure:n})=>{let o=!r&&!e||"D"===t,i=!r&&!e||"A"===t;return n&&(o=!1,i=!1),{ascendingEnabled:o,descendingEnabled:i}})(e);f.push([{groupHeading:t.get("NebulaTableUtils.MenuGroupLabel.Sorting"),items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortAscending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"A")),n(!1)},icon:LO,enabled:a,isActive:!!r&&"A"===i,autoFocus:a},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortDescending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"D")),n(!1)},icon:DO,enabled:s,isActive:!!r&&"D"===i,autoFocus:!a&&s}]}])}if(e.isCyclic&&d){const t=[];t.push([{items:[{id:1,itemTitle:e.groupDimensionLabels[e.groupDimensionPos].label,enabled:!0,icon:NO,subMenus:[[{items:e.groupDimensionLabels.map((({label:t,enabled:r},o)=>({id:o+1,itemTitle:t,onClick:async e=>{e.stopPropagation(),n(!1),d(o)},enabled:r,icon:TO,isActive:e.groupDimensionPos===o})))}]]}]}]),t.length>0&&f.push(...t)}if(e.isDim&&null!=i&&i.select){const e=[];r[GO.Searching]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Search"),onClick:e=>{e.stopPropagation(),n(!1),a()},icon:jO,enabled:!0}]}]),r[GO.Selections]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Selections"),icon:BO,enabled:!!s,subMenus:[[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAll"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectAll(WO))},icon:zO,enabled:l.canSelectAll},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectPossible"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectPossible(WO))},icon:HO,enabled:l.canSelectPossible},{id:3,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAlternative"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectAlternative(WO))},icon:FO,enabled:l.canSelectAlternative},{id:4,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectExcluded"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectExcluded(WO))},icon:$O,enabled:l.canSelectExcluded}]}],[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.ClearSelections"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.clearSelections(WO))},icon:MO,enabled:l.canClearSelections}]}]]}]}]),p&&f.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Expand"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),n(!1),await p.expandCallback()},icon:qO,enabled:!0},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Collapse"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),n(!1),await p.collapseCallback()},icon:OO,enabled:!0}]}]),e.length>0&&f.push(...e)}return r[GO.AdjusterHeaderSize]&&f.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.AdjustColumnSize"),onClick:e=>{e.stopPropagation(),e.preventDefault(),n(!1),null==c||c(u)},icon:_O,enabled:!0}]}]),f},UO=({open:e,setOpen:t,anchorRef:r,headerData:n,translator:o,interactions:i,menuAvailabilityFlags:a,shouldShowMenuIcon:s=!0,sortRelatedArgs:l,searchRelatedArgs:u,selectionRelatedArgs:c,adjustHeaderSizeRelatedArgs:d,expandOrCollapseArgs:p,model:f,direction:h="ltr",isPagination:m})=>{var g;const b=nS({translator:o}),{qLibraryId:v,fieldId:y,headTextAlign:S}=n,C=null==c?void 0:c.app,{fieldInstance:E,selectionActionsEnabledStatus:w}=IO({open:e,headerData:n,app:C,qStateName:null==c?void 0:c.qStateName});let R=null;if(f&&"setActiveField"in f&&void 0!==n.dimensionInfoIndex){const e=n.dimensionInfoIndex;R=async t=>{try{await f.setActiveField("/qHyperCubeDef",e,t)}catch(e){console.error(e)}}}const A=_((()=>{const e=v?{qLibraryId:v,type:"dimension"}:y;if(null!=u&&u.embed){const{embed:t,listboxRef:r}=u;t.__DO_NOT_USE__.popover(r.current,e,{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"rtl"===h?"right":"left"},sortCriteria:u.sortCriteria,stateName:null==c?void 0:c.qStateName,direction:h})}}),[v,y,u,null==c?void 0:c.qStateName,h]),k=_((e=>{e.stopPropagation(),t(!1)}),[t]);return i.active?x.createElement(sO,{rightAligned:"right"===S,shouldShowMenuIcon:s,className:aS},s?x.createElement(lO,{height:oS,className:iS,"data-testid":iS,isInteractionsActive:null!==(g=i.active)&&void 0!==g&&g},x.createElement(iO,null)):null,x.createElement(AO,{open:e,anchorEl:r.current,onClose:k,menuGroups:VO({headerData:n,translator:b,menuAvailabilityFlags:a,setOpen:t,...l,embedListbox:A,interactions:i,fieldInstance:E,selectionActionsEnabledStatus:w,anchorRef:r,focusColumnAdjuster:null==d?void 0:d.focusColumnAdjuster,setActiveFieldCallback:R,expandOrCollapseArgs:p}),direction:h,isPagination:m})):null},YO=e=>e.isDark?{background:e.color,borderColor:Tx.DARK_MODE_BORDER,color:Tx.DARK_MODE_TEXT,disabledColor:Tx.DARK_MODE_DISABLED,iconColor:Tx.DARK_MODE_TEXT}:{background:e.color,borderColor:Tx.BORDER_MEDIUM,color:Tx.TEXT,disabledColor:Tx.DISABLED},KO=Rg(sv,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({height:40,display:"flex",justifyContent:"flex-end",alignItems:"center",padding:t.spacing(0,1,0,1),color:e.color,background:e.background,borderTop:`1px solid ${e.borderColor}`}))),XO=Rg(kx,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({background:"inherit",marginRight:t.spacing(1),color:e.color,"& .MuiNativeSelect-icon, .MuiNativeSelect-select":{color:e.iconColor}}))),JO=Rg(bv,{shouldForwardProp:e=>"disabledCondition"!==e&&"footerStyle"!==e})((({disabledCondition:e,footerStyle:t,theme:r})=>({color:e?t.disabledColor:t.color,cursor:e?"default":"pointer",marginLeft:r.spacing(1)}))),ZO=Rg(Eb)((({theme:e})=>({color:"inherit",margin:e.spacing(0,1,0,1)}))),QO=({children:e,footerContainer:t,interactions:r,theme:n,paginationNeeded:o=!0})=>{const i=E((()=>YO(n.background)),[n]);if(!r.active)return null;const a=o?x.createElement(KO,{footerStyle:i},e):null;return t?F.createPortal(e,t):a},eq=L({}),tq=()=>S(eq),rq=({children:e,direction:t,pageInfo:r,handleChangeRowsPerPage:n,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:c,translator:d,theme:p,interactions:f,rect:h,layout:m})=>{const g=(e=>!e.enabled||e.active)(c)?0:-1,b=E((()=>YO(p.background)),[p]),v=o?o.getBoundingClientRect().width:h.width,y=nS({translator:d}),S=E((()=>({direction:t,pageInfo:r,handleChangeRowsPerPage:n,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:c,translator:y,theme:p,interactions:f,rect:h,layout:m,footerStyle:b,tabIndex:g,width:v})),[t,r,n,o,i,a,s,l,u,c,y,p,f,h,m,b,g,v]);return x.createElement(eq.Provider,{value:S},e)};let nq=function(e){return e.FirstPage="FirstPage",e.LastPage="LastPage",e.NextPage="NextPage",e.PreviousPage="PreviousPage",e}({}),oq=function(e){return e[e.DisplayedRowsLabel=250]="DisplayedRowsLabel",e[e.FirstPage=350]="FirstPage",e[e.LastPage=350]="LastPage",e[e.RowsPerPage=550]="RowsPerPage",e[e.SelectPage=700]="SelectPage",e}({});const iq=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"})}))),aq=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m12 2 1.5 1.5L9 8l4.5 4.5L12 14 6 8zM4 2v12H2V2z"})}))),sq=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m3.5 2 6 6-6 6L2 12.5 6.5 8 2 3.5zM14 2v12h-2V2z"})}))),lq={FirstPage:aq,PreviousPage:iq,NextPage:bO,LastPage:sq,FirstPageRTL:sq,PreviousPageRTL:bO,NextPageRTL:iq,LastPageRTL:aq},uq=({disabledCondition:e,pageNumber:t,type:r})=>{const{direction:n,footerStyle:o,handleChangePage:i,translator:a,interactions:s,tabIndex:l}=tq(),u=r.concat("rtl"===n?"RTL":""),c=lq[u];return{styledProps:{footerStyle:o,disabledCondition:e,size:"small","data-testid":"pagination-action-icon-button","aria-disabled":e,"aria-label":a.get(`NebulaTableUtils.Pagination.${r}`),title:s.passive?a.get(`NebulaTableUtils.Pagination.${r}`):void 0,tabIndex:l,onClick:e?void 0:()=>{i(t)}},IconComponent:c}},cq=()=>{const{pageInfo:e,width:t,interactions:r}=tq(),n=0===e.page,{IconComponent:o,styledProps:i}=uq({type:nq.FirstPage,disabledCondition:n,pageNumber:0});return t<=oq.FirstPage?null:x.createElement(JO,aO({},i,{disabled:!r.active}),x.createElement(o,{height:oS}))},dq=(e,t,r=!1)=>{r&&e.key===cS.Tab&&!e.shiftKey&&(Hx(e),$x(e.target,t,!1))},pq=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=tq(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=uq({type:nq.LastPage,disabledCondition:a,pageNumber:r-1}),u=t.enabled?e=>{dq(e,t,n)}:void 0;return o<=oq.LastPage?null:x.createElement(JO,aO({},l,{onKeyDown:u,disabled:!i.active}),x.createElement(s,{height:oS}))},fq=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=tq(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=uq({type:nq.NextPage,disabledCondition:a,pageNumber:e.page+1}),u=!(o>oq.FirstPage&&o>oq.LastPage)&&t.enabled?e=>{dq(e,t,n)}:void 0;return x.createElement(JO,aO({},l,{onKeyDown:u,disabled:!i.active}),x.createElement(s,{height:oS}))},hq=()=>{const{pageInfo:e,interactions:t}=tq(),r=0===e.page,{IconComponent:n,styledProps:o}=uq({type:nq.PreviousPage,disabledCondition:r,pageNumber:e.page-1});return x.createElement(JO,aO({},o,{disabled:!t.active}),x.createElement(n,{height:oS}))},mq=()=>{const{translator:e,width:t,pageInfo:r,totalRowCount:n}=tq(),{page:o,rowsPerPage:i}=r;if(t<=oq.DisplayedRowsLabel)return null;const a=e.get("NebulaTableUtils.Pagination.DisplayedRowsLabel",[`${o*i+1} - ${Math.min((o+1)*i,n)}`,n.toString()]);return x.createElement(ZO,{variant:"caption",dir:"ltr"},a)},gq=({name:e,value:t,options:r,handleChange:n})=>{const{layout:o,footerStyle:i,translator:a,tabIndex:s,interactions:l}=tq(),u=o.qInfo.qId,c=a.get(`NebulaTableUtils.Pagination.${e}`),d=`${e}-dropdown`,p=`${d}-label-${u}`,f={tabIndex:s,id:`${d}-${u}`,"data-testid":d,"aria-labelledby":p};return x.createElement(x.Fragment,null,x.createElement(ZO,{variant:"caption",id:p},c,":"),x.createElement(XO,{footerStyle:i,size:"small",native:!0,value:t,onChange:n,inputProps:f,disabled:!l.active},r))},bq=()=>{var e;const{pageInfo:t,isSelectionMode:r,totalColumnCount:n,width:o,handleChangeRowsPerPage:i}=tq();if(!(!(null===(e=t.rowsPerPageOptions)||void 0===e||!e.length)&&!r&&o>oq.RowsPerPage&&n<=100)||void 0===t.rowsPerPageOptions)return null;const a=x.createElement(x.Fragment,null,t.rowsPerPageOptions.map((e=>x.createElement("option",{key:e,value:e},e))));return x.createElement(gq,{name:"RowsPerPage",value:t.rowsPerPage,options:a,handleChange:e=>{null==i||i(+e.target.value)}})},vq=1e3,yq="…",xq=({totalPages:e,page:t})=>{const r=Math.min(e,vq),n=r<e&&t>500,o=n?Math.min(500+t,e):r,i=n?Math.max(0,o-vq):0,a=Array.from(Array(r).keys()).map((e=>{const t=e+i;return x.createElement("option",{key:t,value:t},t+1)}));return i>0&&a.unshift(x.createElement("option",{key:"startMoreOptions",value:yq,disabled:!0},yq)),o<e-1&&a.push(x.createElement("option",{key:"endMoreOptions",value:yq,disabled:!0},yq)),x.createElement(x.Fragment,null,a)},Sq=()=>{const{pageInfo:e,width:t,totalPages:r,handleChangePage:n}=tq(),{page:o}=e;if(t<=oq.SelectPage)return null;const i=x.createElement(xq,{totalPages:r,page:o});return x.createElement(gq,{name:"SelectPage",value:o,options:i,handleChange:e=>{n(+e.target.value)}})};var Cq=T((e=>x.createElement(rq,e,x.createElement(bq,null),x.createElement(Sq,null),x.createElement(mq,null),x.createElement(cq,null),x.createElement(hq,null),x.createElement(fq,null),x.createElement(pq,null))));const Eq=e=>x.createElement(QO,e,x.createElement(Cq,e)),wq={lineHeight:"calc(4/3)",fontSize:"inherit",textOverflow:"ellipsis",overflow:"hidden"},Rq=HP(hL,{shouldForwardProp:e=>"background"!==e})((({background:e})=>({height:"100%",background:e.color}))),Aq=HP("span",{shouldForwardProp:e=>"lineClamp"!==e&&"isHeadCell"!==e&&"isPagination"!==e&&"isNumeric"!==e})((({lineClamp:e,isHeadCell:t=!1,isPagination:r=!1,isNumeric:n=!1})=>n||1===e&&!t?{...wq,whiteSpace:"nowrap",display:r?"block":void 0}:{...wq,wordBreak:"break-word",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",whiteSpace:"pre-line"}));function kq(e,t){const r=M(!1);w((()=>{r.current?e():r.current=!0}),t)}const Pq=({colIdx:e,rowIdx:t,firstColIdx:r,lastColIdx:n})=>(e>r?e--:t>r&&(t--,e=n),[t,e]),Iq=({colIdx:e,rowIdx:t,firstColIdx:r,lastColIdx:n,lastRowIdx:o})=>(e<n?e++:t<o&&(t++,e=r),[t,e]),Lq=e=>e.atTop?2:1,Mq=(e,t)=>{var r;return null===(r=e.getElementsByClassName("sn-table-row")[t[0]])||void 0===r?void 0:r.getElementsByClassName("sn-table-cell")[t[1]]},_q=e=>null==e?void 0:e.setAttribute("tabIndex","0"),Dq=e=>null==e?void 0:e.setAttribute("tabIndex","-1"),Tq=e=>{e.querySelectorAll("td[tabindex='0'], th[tabindex='0']").forEach(Dq)},Oq=e=>{null==e||e.focus(),_q(e)},qq=e=>{setTimeout((()=>{var t;const r=null===(t=e.current)||void 0===t||null===(t=t.closest(".sn-table-cell"))||void 0===t?void 0:t.querySelector(`.${dS}`);Oq(r)}),0)},Nq=({evt:e,rootElement:t,cellCoord:r,setFocusedCellCoord:n,allowedRows:o,direction:i})=>{Tq(t);const a=((e,t,r,n,o={top:0,bottom:0})=>{const i=o.top>0,a=o.top,s=t.getElementsByClassName("sn-table-row").length-1-o.bottom,l=t.getElementsByClassName("sn-table-head-cell").length-1;let[u,c]=r;switch(e.key){case cS.Down:u<s&&u++;break;case cS.Up:u>a&&u--;break;case cS.Right:if(i)break;[u,c]="rtl"===n?Pq({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0}):Iq({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0});break;case cS.Left:if(i)break;[u,c]="rtl"===n?Iq({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0}):Pq({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0});break;case cS.Home:(vT(e)||i)&&(u=a),i||(c=0);break;case cS.End:(vT(e)||i)&&(u=s),i||(c=l);break;case cS.PageDown:u=Math.min(s,u+10);break;case cS.PageUp:u=Math.max(a,u-10)}return[u,c]})(e,t,r,i,o),s=Mq(t,a);return Oq(s),((e,t)=>{const r=t.getElementsByClassName("sn-table-container")[0];if(null==r||!r.scrollTo)return;const[n,o]=e;if(n<2)r.scrollTo({top:0,behavior:"auto"});else{const e=t.getElementsByClassName("sn-table-head-cell")[0],i=t.getElementsByClassName("sn-table-row")[n].getElementsByClassName("sn-table-cell")[o];if(!i||!e)return;if(i.offsetTop-e.offsetHeight<r.scrollTop){const t=r.scrollTop-i.offsetHeight-e.offsetHeight;r.scrollTo({top:Math.max(0,t),behavior:"auto"})}}})(a,t),n(a),{nextCell:s,nextCellCoord:a}},jq=(e,t,r,n)=>{var o;(Tq(t),r(e),n.enabled&&!n.active)?null===(o=n.focus)||void 0===o||o.call(n):Oq(Mq(t,e))},zq=(e,t,r)=>{const n=e.currentTarget,o=e.relatedTarget,i=!(null==n||!n.contains(o)),a=null==o?void 0:o.closest(`.${sS}`);var s;!r.enabled||i||a||t.current||!n||((e=>{const t=e.querySelector(`.${lI.First}`),r=e.querySelector(`.${lI.Second}`);t&&r&&(t.innerHTML="",r.innerHTML="")})(n),null===(s=r.blur)||void 0===s||s.call(r,!1))},Fq=()=>{const{downloadService:e}=QT(KT,(e=>e.baseProps));w((()=>{e.isDownloadedAsPDForImage&&e.notifyIsDoneRendering()}))},$q=(e,t,r)=>{const{rootElement:n,keyboard:o}=QT(KT,(e=>e.baseProps)),{totalColumnCount:i,totalRowCount:a,rows:s,totalsPosition:l}=QT(KT,(e=>e.tableData)),u=QT(KT,(e=>e.focusedCellCoord)),c=QT(KT,(e=>e.setFocusedCellCoord)),d=QT(KT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()}));kq((()=>{const r=((e,t,r=!1)=>{const n=[Lq(t),e[1]];return r?n:OI})(u,l,d);(({resetCellCoord:e,rootElement:t,shouldRefocus:r,isSelectionMode:n,setFocusedCellCoord:o,keyboard:i,announce:a})=>{if(Tq(t),o(e),!(e=>!e.enabled||e.active)(i))return;const s=Mq(t,e);var l;r.current?(Oq(s),r.current=!1):_q(s),n&&(a({keys:[null!==(l=null==s?void 0:s.textContent)&&void 0!==l?l:""]}),bT(a,s,n))})({resetCellCoord:r,rootElement:n,shouldRefocus:e,setFocusedCellCoord:c,isSelectionMode:d,keyboard:o,announce:t})}),[s.length,a,i,r])},Hq=(e,t,r)=>{w((()=>{const n=e.current;if(!n)return;const o=e=>{((e,t,r)=>{if(0===e.deltaX)return;e.stopPropagation();const n=r.scrollWidth-r.offsetWidth;let{scrollLeft:o}=r,i=o+e.deltaX;t&&(i=n+i),n>0&&(i<0||i>n+1)&&(e.preventDefault(),o=t?Math.min(0,Math.min(n,i)):Math.max(0,Math.min(n,i)))})(e,"rtl"===t,n)},i=e=>{var t;r.scrollLeft=(null===(t=e.currentTarget)||void 0===t?void 0:t.scrollLeft)||0};return n.addEventListener("wheel",o),n.addEventListener("scroll",i),()=>{n.removeEventListener("wheel",o),n.removeEventListener("scroll",i)}}),[e,t,r])},Bq=e=>{Hx(e),vT(e)&&yS(e.currentTarget)},Gq=e=>{CT(e.evt)&&(Hx(e.evt),Nq(e))},Wq=e=>{const{evt:t,totalsPosition:r,cell:n,isSelectionMode:o}=e;if(!CT(t))return;Hx(t);const i=((e,t)=>[e.pageRowIdx+Lq(t),e.pageColIdx])(n,r),a=((e,t)=>({top:e?Lq(t):0,bottom:e&&t.atBottom?1:0}))(o,r),{nextCell:s,nextCellCoord:l}=Nq({...e,cellCoord:i,allowedRows:a});l[0]!==i[0]&&(({evt:e,isSelectionsEnabled:t,cell:r,selectionDispatch:n,announce:o,isSelectionMode:i,nextCell:a})=>{e.shiftKey&&t&&r.isSelectable?n({type:aI.SelectMultiAdd,payload:{cell:r,evt:e,announce:o}}):bT(o,a,i)})({...e,nextCell:s})},Vq=e=>{const{evt:t}=e;yT(t)?(({evt:e,totalRowCount:t,rowsPerPage:r,page:n,updateShouldRefocus:o,handleChangePage:i})=>{Hx(e);const a=Math.ceil(t/r)-1;e.key===cS.Right&&n<a?(o(),i(n+1)):e.key===cS.Left&&n>0&&(o(),i(n-1))})(e):t.key===cS.Esc?(({evt:e,keyboard:t,isSelectionMode:r})=>{var n;t.enabled&&!r&&(Hx(e),null===(n=t.blur)||void 0===n||n.call(t,!0))})(e):xT(t.key)&&Hx(t)},Uq=e=>{const{evt:t,selectionsAPI:r}=e;if(t.currentTarget.classList.contains(iI.Disabled))return void Hx(t);const n={...e,isSelectionMode:!(null==r||!r.isModal())};switch(t.key){case cS.Space:(({evt:e,cell:t,isSelectionsEnabled:r,selectionDispatch:n,announce:o})=>{Hx(e),t.isSelectable&&r&&n({type:aI.Select,payload:{cell:t,evt:e,announce:o}})})(n);break;case cS.Enter:(({isSelectionMode:e,selectionsAPI:t,evt:r,announce:n})=>{Hx(r),e&&(null==t||t.confirm(),n({keys:["SNTable.SelectionLabel.SelectionsConfirmed"]}))})(n);break;case cS.Esc:(({isSelectionMode:e,selectionsAPI:t,evt:r,announce:n})=>{e&&(Hx(r),null==t||t.cancel(),n({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]}))})(n);break;case cS.C:Bq(t);break;case cS.Tab:(({evt:e,keyboard:t,isSelectionMode:r,paginationNeeded:n})=>{const o=e.shiftKey||!n;t.enabled&&r&&o&&(Hx(e),$x(e.currentTarget,t,e.shiftKey))})(n);break;default:Wq(n)}},Yq=e=>{const{layout:t,rect:r,theme:n}=QT(KT,(e=>e.baseProps)),[o,i]=C(0),[a,s]=C(0);return O((()=>{if(e.current){const{offsetWidth:t=0,offsetHeight:r=0,clientWidth:n=0,clientHeight:o=0}=e.current,a=r-o;s(t-n),i(a)}}),[e,t,r,n]),{xScrollbarWidth:o,yScrollbarWidth:a}},Kq=HP("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Xq=HP(KL,{shouldForwardProp:e=>"fullHeight"!==e&&"interactions"!==e})((({fullHeight:e,interactions:t})=>({height:e?"100%":"calc(100% - 41px)",overflow:t.scroll?"auto":"hidden",border:"none"}))),Jq=HP(DL,{shouldForwardProp:e=>"borderRight"!==e})((({borderRight:e})=>({tableLayout:"fixed",width:"min-content",borderRight:e}))),Zq=()=>Rl.jsxs(Rl.Fragment,{children:[Rl.jsx(Kq,{className:lI.First,"data-testid":lI.First,"aria-live":"polite","aria-atomic":"true"}),Rl.jsx(Kq,{className:lI.Second,"data-testid":lI.Second,"aria-live":"polite","aria-atomic":"true"})]}),Qq=e=>{const t=M(new Map),r=M(null);w((()=>{r.current=e(t.current),t.current.forEach(((e,t)=>{var n;null===(n=r.current)||void 0===n||n.observe(t)}));const n=t.current,o=r.current;return()=>{o.disconnect(),n.clear()}}),[e,r,t]);const n=_(((e,n)=>{var o;t.current.set(e,n),null===(o=r.current)||void 0===o||o.observe(e)}),[t,r]),o=_((e=>{var n;t.current.delete(e),null===(n=r.current)||void 0===n||n.unobserve(e)}),[r,t]);return E((()=>({addTask:n,removeTask:o})),[n,o])},eN=e=>new ResizeObserver((t=>{t.forEach((t=>{const r=e.get(t.target);null==r||r(t)}))})),tN=()=>Qq(eN),rN=({selectionsAPI:e,selectionDispatch:t,updateShouldRefocus:r,keyboard:n,tableWrapperRef:o})=>{w((()=>{const i=()=>{t({type:aI.Reset})},a=()=>{t({type:aI.Clear})},s=()=>{var e;if(null!==(e=o.current)&&void 0!==e&&e.contains(document.activeElement))r();else if(n.enabled){var t;null===(t=n.blur)||void 0===t||t.call(n,!0)}i()};return null==e||e.on("deactivated",i),null==e||e.on("canceled",i),null==e||e.on("confirmed",s),null==e||e.on("cleared",a),()=>{null==e||e.removeListener("deactivated",i),null==e||e.removeListener("canceled",i),null==e||e.removeListener("confirmed",s),null==e||e.removeListener("cleared",a)}}),[e,n,t,r,o])},nN=e=>{e.stopPropagation()},oN=({href:e,text:t,interactions:r,color:n})=>x.createElement(iy,(({href:e,text:t,interactions:r,color:n})=>({href:e,title:t,rel:"noreferrer",target:"_blank",underline:"hover",onClick:nN,style:{pointerEvents:r.active?"auto":"none",color:null!=n?n:void 0,opacity:r.active&&r.passive||n?void 0:.4}}))({href:e,text:t,interactions:r,color:n}),t);var iN,aN;const sN=null!==(iN=window.requestIdleCallback)&&void 0!==iN?iN:e=>setTimeout((()=>{e({})}),0),lN=null!==(aN=window.cancelIdleCallback)&&void 0!==aN?aN:e=>{clearTimeout(e)},uN="qDimensionInfo/0",cN="qMeasureInfo/0",dN="x",pN="y",fN=e=>({key:"bars",type:"box",data:{extract:{field:uN,props:{start:0,end:{field:cN}}}},settings:{major:{scale:dN},minor:{scale:pN},box:{maxWidthPx:8,fill:{fn:e}}}}),hN=e=>({key:"p",type:"point",data:{extract:{field:uN,props:{y:{field:cN}}}},settings:{x:{scale:dN},y:{scale:pN},shape:"circle",size:1,opacity:1,sizeLimits:{minPx:4,maxPx:4},fill:{fn:e}},preferredSize:{edgeBleed:{left:2,right:2,top:2,bottom:2}}}),mN=({qNum:e})=>void 0===e?0:Math.sign(e),gN=(e,t)=>{const{primary:r,nil:n,others:o}=e.getDataColorSpecials(),i=zx(e,null==t?void 0:t.negative,r),a=zx(e,null==t?void 0:t.positive,r);return{key:"pos-neg",type:"box",data:{extract:{field:uN,props:{start:0,end:{field:cN,value:mN}}}},settings:{major:{scale:dN},minor:{scale:pN},box:{maxWidthPx:8,fill:{fn:e=>-2===e.datum.value?n:-3===e.datum.value?o:0===e.datum.end.value?"#DDDDDD":Math.sign(e.datum.end.value)<0?i:a}}}}},bN=(e,{type:t,showDots:r,colors:n,colorMin:o,colorMax:i})=>{const a=((e,t,r,n)=>{const{primary:o,nil:i,others:a}=e.getDataColorSpecials(),s=zx(e,null==t?void 0:t.main,o),l=zx(e,null==t?void 0:t.max,s),u=zx(e,null==t?void 0:t.min,s),c=zx(e,null==t?void 0:t.first,s),d=zx(e,null==t?void 0:t.last,s);return e=>{const t=pN in e.datum?pN:"end";return-2===e.datum.value?i:-3===e.datum.value?a:e.datum[t].value>=n?l:e.datum[t].value<=r?u:e.data.items.at(0)===e.datum?c:e.data.items.at(-1)===e.datum?d:s}})(e,n,o,i);switch(t){case"bars":return[fN(a)];case"dots":return[hN(a)];case"sparkline":{const t=(e=>({key:"lines",type:"line",data:{extract:{field:uN,props:{v:{field:cN}}}},settings:{coordinates:{major:{scale:dN},minor:{scale:pN,ref:"v"}},layers:{line:{strokeWidth:1,stroke:e}}}}))(zx(e,null==n?void 0:n.main,e.getDataColorSpecials().primary));return r?[t,hN(a)]:[t]}case"posNeg":return[gN(e,n)];default:return[]}},vN=e=>({qDimensionInfo:[{qFallbackTitle:"",qCardinal:1}],qMeasureInfo:[{qFallbackTitle:""}],qDataPages:[{qArea:{qTop:0,qLeft:0,qHeight:e.length,qWidth:2},qMatrix:e}],qEffectiveInterColumnSortOrder:[0,1],qSize:{qcx:2,qcy:e.length},qMode:"S"}),yN=(e,t,r,n)=>({y:{data:{field:cN},invert:!0,min:"posNeg"===e?-1:t,max:"posNeg"===e?1:r},x:{data:{extract:{field:uN}},paddingInner:.3,paddingOuter:0,invert:"rtl"===n,align:"rtl"===n?1:0,maxPxStep:12}}),xN=H();xN.use($),xN.renderer.prio(["canvas"]);const SN={resolve:()=>{},promise:{}},CN=({chart:e,element:t,requestId:r,theme:n,isSnapshot:o,direction:i,miniChartData:a,downloadService:s})=>{const{resolveChartPromise:l,addChartPromiseToQueue:u}=(e=>{const t=M(e.isDownloadedAsPDForImage?ht():SN);return{addChartPromiseToQueue:_((()=>{e.waitForPromise(t.current.promise)}),[e]),resolveChartPromise:t.current.resolve}})(s);return{renderChartWithRequestIdleCallback:_((()=>{if(null===t.current||null!==e.current)return;u();r.current=sN((()=>{t.current&&(e.current=(({element:e,theme:t,isSnapshot:r,miniChartData:n,onChartRendered:o,direction:i})=>{const{type:a,qMatrix:s,minY:l,maxY:u}=n;return xN.chart({element:e,data:{type:"q",key:"qHyperCube",data:vN(s)},settings:{scales:yN(a,l,u,i),components:bN(t,n),strategy:r?{size:{width:e.offsetWidth,height:e.offsetHeight}}:void 0},mounted:()=>{o()}})})({element:t.current,theme:n,isSnapshot:o,miniChartData:a,direction:i,onChartRendered:l}))}),{timeout:2e3})}),[t,e,u,r,n,o,a,i,l]),safeCancelIdleCallback:_((()=>{null!==r.current&&lN(r.current),r.current=null,l()}),[r,l])}},EN=e=>{const t=M(null),r=M(!1);return _((n=>{var o,i;const a=null!==(o=null===(i=n.contentBoxSize.at(0))||void 0===i?void 0:i.inlineSize)&&void 0!==o?o:0;(e=>{e.current&&(lN(e.current),e.current=null)})(t),r.current?0!==a?null!==e.current&&(t.current=sN((()=>{var t;null===(t=e.current)||void 0===t||t.update()}),{timeout:2e3})):r.current=!1:r.current=!0}),[e])},wN=({intersectionObserverTaskScheduler:e,resizeObserverTaskScheduler:t,theme:r,isSnapshot:n,miniChartData:o,downloadService:i,direction:a})=>{const s=M(null),l=M(null),u=M(null),{renderChartWithRequestIdleCallback:c,safeCancelIdleCallback:d}=CN({element:s,chart:l,requestId:u,theme:r,isSnapshot:n,direction:a,miniChartData:o,downloadService:i});return(({element:e,intersectionObserverTaskScheduler:t,safeCancelIdleCallback:r,renderChartWithRequestIdleCallback:n,chart:o})=>{const i=_((e=>{e.isIntersecting?n():r()}),[n,r]);w((()=>{if(!e.current||!t)return()=>{};const n=e.current;return t.addTask(n,i),()=>{var e;t.removeTask(n),r(),null===(e=o.current)||void 0===e||e.destroy(),o.current=null}}),[o,e,t,r,i])})({element:s,intersectionObserverTaskScheduler:e,safeCancelIdleCallback:d,renderChartWithRequestIdleCallback:c,chart:l}),(({renderChartWithRequestIdleCallback:e,safeCancelIdleCallback:t,chart:r,intersectionObserverTaskScheduler:n})=>{w((()=>n?()=>{}:(e(),()=>{var e;t(),null===(e=r.current)||void 0===e||e.destroy(),r.current=null})),[n,t,e,r])})({intersectionObserverTaskScheduler:e,safeCancelIdleCallback:d,renderChartWithRequestIdleCallback:c,chart:l}),(({element:e,chart:t,resizeObserverTaskScheduler:r})=>{const n=EN(t);w((()=>{const t=e.current;return t?(r.addTask(t,n),()=>{r.removeTask(t)}):()=>{}}),[e,n,r])})({element:s,chart:l,resizeObserverTaskScheduler:t}),s},RN=({height:e,intersectionObserverTaskScheduler:t,resizeObserverTaskScheduler:r,theme:n,isSnapshot:o,miniChartData:i,downloadService:a,direction:s})=>{const l=wN({intersectionObserverTaskScheduler:t,resizeObserverTaskScheduler:r,theme:n,isSnapshot:o,miniChartData:i,downloadService:a,direction:s});return x.createElement("div",{"data-testid":"picasso-container",ref:l,style:{position:"relative",width:"100%",height:e,overflow:"hidden"}})},AN="cell-text",kN=({children:e,forwardRef:t,isNumeric:r=!1,isPagination:n=!1,isHeadCell:o=!1,lineClamp:i})=>{const{styleService:a}=QT(KT,(e=>e.baseProps));return o?Rl.jsx(Aq,{"data-testid":AN,ref:t,className:"sn-table-cell-text",lineClamp:a.grid.headerLineClamp,isPagination:n,isHeadCell:!0,style:{direction:r?"ltr":void 0},children:e}):Rl.jsx(Aq,{"data-testid":AN,ref:t,className:"sn-table-cell-text",isNumeric:r,lineClamp:null!=i?i:a.grid.contentLineClamp,isPagination:n,style:{direction:r?"ltr":void 0},children:e})},PN=(e,t)=>e.max===e.min?.5:(t-e.min)/(e.max-e.min),IN=(e,t,r)=>{const n=e.paletteColors?e.paletteColors[t]:e.localPaletteColors[t];return r.getColorPickerColor(n)},LN=(e,t)=>{const r=(e=>e.map((e=>{var t;return null!==(t=e.value)&&void 0!==t?t:e})).sort(((e,t)=>e-t)))(e),n=r.some((e=>!dw(e)));return 0===r.length||n?(e=>{const t=0===e?0:.5*e;return{min:e-t,max:e+t}})(t):1===r.length?((e,t)=>{const r=e[0]-t;if(0===r||!dw(r)){const e=0===t?.5:Math.abs(.5*t);return{min:t-e,max:t+e}}return r>0?{min:t-.5*Math.abs(t),max:e[0]+2*r}:{min:e[0]+2*r,max:t+.5*Math.abs(t)}})(r,t):((e,t)=>{let r=e[e.length-1]-e[0];return r=r>0?r:1,{min:Math.min(t,e[0])-r/2,max:Math.max(t,e[e.length-1])+r/2}})(r,t)},MN=(e,t,r)=>{const n={previousColor:(o=e.localPaletteColors)[(i=t)-(i>0?1:0)],nextColor:o[i+(i<o.length-1?1:0)]};var o,i;const a=((e,t)=>{const r=e.limits&&e.limits.concat().sort(((e,t)=>e.value-t.value));return{lowerLimit:r&&t>0?r[t-1]:{value:0,gradient:!1},upperLimit:r&&r[t]?r[t]:{value:1,gradient:!1}}})(e,t),s=((e,t,r,n,o)=>{const{upperLimit:i,lowerLimit:a}=e,{previousColor:s,nextColor:l}=t,u=n===i.value?1:(n-a.value)/(i.value-a.value);return a.gradient&&i.gradient?n-a.value<i.value-n?{color:s.color,t:.5-u}:{color:l.color,t:u-.5}:a.gradient?{color:s.color,t:1-(.5+u/2)}:i.gradient?{color:l.color,t:u/2}:{color:o.localPaletteColors[r].color,t:n}})(a,n,t,r,e);return s&&ee(e.localPaletteColors[t].color).blend(ee(s.color),s.t)},_N=(e,t,r)=>{const n=((e,t)=>{const{limits:r}=e;return r&&(e.limits=r.sort(((e,t)=>e.value-t.value)),e.limits=r.map((e=>({...e,value:PN(t,e.value)})))),e})({...e},t),o=n.paletteColors||n.localPaletteColors;return o&&(n.localPaletteColors=o.concat().map(((e,t)=>({color:IN(n,t,r)})))),n},DN=(e,t,r,n)=>{const o=_N(e,r,n),{localPaletteColors:i}=o;if(t<=0)return i[0].color;if(t>=1)return i[i.length-1].color;const a=((e,t)=>{let r="",n=0;const{limits:o,localPaletteColors:i}=e;for(let a=0;a<i.length;a++){const i=o&&o[a]?o[a].value:1;if(t>=n&&t<i){r=MN(e,a,t);break}n=i}return r})(o,t);return a},TN=(e,t)=>{const{limits:r}=e.segments;if(!r)return;const n=((e,t)=>{const{min:r,max:n}=LN(e,t),o=Math.abs(t);return{min:null!=r?r:t-o,max:null!=n?n:t+o}})(r,t),o=((e,t,r)=>{const{limits:n,paletteColors:o,localPaletteColors:i}=e.segments;if(!n||!dw(t))return 0;let a=r&&dw(r)?Math.min(r,t):0;const s=n.sort(((e,t)=>e.value-t.value)),l=o||i;for(let e=0;e<l.length;e++){if(e===l.length-1||t<s[e].value&&t>=a)return e;a=s[e].value}return 0})(e,t,n.min);return{limitRange:n,limitPaletteColorIndex:o}},ON=(e,t,r,n)=>{const o=e.indicatorConditionalColoring;if(!o)return;const i=TN(o,t),a=((e,t,r,n)=>{const{segments:o}=e;if(!o||!r)return;const{limits:i}=o;if(null==i||!i.length||!((e,t)=>{var r,n,o;return!(!e||0===e.length||!(null!==(r=null===(n=e[t])||void 0===n?void 0:n.gradient)&&void 0!==r?r:null===(o=e[t-1])||void 0===o?void 0:o.gradient))})(i,r.limitPaletteColorIndex))return IN(o,r.limitPaletteColorIndex,n);const a=PN(r.limitRange,t);return DN(o,a,r.limitRange,n)})(o,t,i,n),s=o.segments.paletteColors[(null==i?void 0:i.limitPaletteColorIndex)||0].icon,{indicator:l}=e;let u=(null==l?void 0:l.position)||"right";return"rtl"===r&&(u="right"===u?"left":"right"),{color:a,iconKey:s,position:u}},qN=(e,t)=>{var r,n,o,i;return"rtl"===e&&"center"!==(null===(r=t.resolvedImagePosition)||void 0===r?void 0:r.horizontal)?(null===(o=t.resolvedImagePosition)||void 0===o?void 0:o.horizontal)&&(e=>"flex-start"===e?"flex-end":"flex-start")(null===(i=t.resolvedImagePosition)||void 0===i?void 0:i.horizontal):null===(n=t.resolvedImagePosition)||void 0===n?void 0:n.horizontal},NN=(e,t)=>e.representation.type===pE.Image&&"fitHeight"===e.representation.imageSize?qN(t,e.representation):e.align,jN=(e,t)=>t||"right"!==e&&"left"!==e?t||"center"!==e?void 0:"row":"row-reverse",zN=(e,t,r)=>{if(!t&&"rtl"===r){if("left"===e.headTextAlign)return"right";if("right"===e.headTextAlign)return"left"}return e.headTextAlign},FN=(e,t)=>"rtl"===e&&"center"!==t?"right"===t?"left":"right":t,$N=(e,t,r)=>"rtl"===e||t&&!r?"0px":"1px",HN=(e,t,r)=>"rtl"===e?t&&!r?"0px":"1px":"0px",BN=e=>{let t="center",r="center";return"flex-start"===(null==e?void 0:e.vertical)?t="top":"flex-end"===(null==e?void 0:e.vertical)&&(t="bottom"),"flex-start"===(null==e?void 0:e.horizontal)?r="left":"flex-end"===(null==e?void 0:e.horizontal)&&(r="right"),`${r} ${t}`},GN=e=>{switch(e){case"alwaysFit":return"contain";case"fill":return"fill";case"fitHeight":case"fitWidth":return"cover";case"originalSize":return"none";default:return}},WN=({representation:e,textStyle:t,maxImageHeight:r,wrapInContainer:n})=>{const{direction:o}=QT(KT,(e=>e.baseProps)),{url:i,text:a,imageSize:s,resolvedImagePosition:l}=e,u="fitHeight"===s,c=Rl.jsx("img",{src:i,alt:a,style:{...t,width:u?"auto":"100%",height:"100%",maxHeight:r,objectFit:GN(s),objectPosition:BN(l),overflow:"hidden"}});return n?Rl.jsx("div",{"data-key":"image-horizontal-container",style:{width:"100%",height:u?r:"100%",overflow:"hidden",display:"flex",justifyContent:u?qN(o,e):void 0},children:c}):c},VN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9 7V2H7v5H2v2h5v5h2V9h5V7z"})}))),UN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),YN=D(((e,t)=>Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Rl.jsx("path",{d:"M3 9v6.5a.5.5 0 1 1-1 0V.5a.5.5 0 0 1 1 0V1q2.441.639 3.667.639c1.225 0 1.774-.995 3.87-1.196q1.972-.19 3.297.47A.3.3 0 0 1 14 1.18v7.344a.3.3 0 0 1-.417.277q-1.338-.565-3.045-.416c-1.98.172-2.083 1.107-3.871 1.253Q4.879 9.785 3 9"}),Rl.jsx("use",{fillRule:"evenodd"})]}))),KN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M13.9 7.4c-1 1.3-.6 1.5-1.5 4.1-.5 1.8-1.2 2.9-1.7 3.6q-.45.6-.9.9H4.2c-1 0-1.6-.5-1.9-1-.2-.3-.3-.6-.3-1V4.2c0-.4.3-.7.7-.7s.7.3.7.7v3.6l.9-.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v5.1l1.1-.2V.7C6.7.3 7 0 7.4 0s.7.3.7.7v5.9l1.1.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v7.7s.1 0 .1-.2l.6-1.4c1.1-2.1 3.1-1.1 2.6-.3"})}))),XN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M5 13h6v1.5c0 .3-.2.5-.5.5H10v.5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5V15h-.5c-.3 0-.5-.2-.5-.5zm0-1c0-2-3-3-3-7 0-3 3-5 6-5s6 2 6 5c0 4-3 4-3 7H5m-.5-7c.3 0 .5-.2.5-.5s.2-.7.5-1 .6-.5 1-.5c.3 0 .5-.2.5-.5S6.8 2 6.5 2c-.6 0-1.2.3-1.7.8S4 3.9 4 4.5c0 .3.2.5.5.5"})}))),JN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8m4.5 9c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6h-9c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7z"})}))),ZN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M2 7h12v2H2z"})}))),QN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9 7h7a7.004 7.004 0 0 0-7-7zm1-5.917A6.005 6.005 0 0 1 14.917 6H10zM14 9H7V2a7.002 7.002 0 0 0 0 14 7 7 0 0 0 7-7m-8 1h6.917A6.002 6.002 0 0 1 1 9a6 6 0 0 1 5-5.917z"})}))),ej=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9 9h3.5c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6H9V3.5c0-.25-.3-.5-.6-.5h-.7c-.4 0-.7.25-.7.5V7H3.5c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7H7v3.5c0 .25.3.5.6.5h.8c.3 0 .6-.25.6-.5zM8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),tj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m8.418 1.007.042.08 1.788 4.217 4.571.388a.5.5 0 0 1 .348.811l-.063.065-3.472 3.008 1.043 4.47a.5.5 0 0 1-.664.581l-.081-.04L8 12.217l-3.93 2.372a.5.5 0 0 1-.757-.453l.012-.089 1.043-4.47L.896 6.568a.5.5 0 0 1 .196-.86l.089-.016 4.571-.388L7.54 1.086a.5.5 0 0 1 .878-.08Z"})}))),rj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1"})}))),nj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})}))),oj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M2.4 4h11.2a.2.2 0 0 1 .16.32l-5.6 7.467a.2.2 0 0 1-.32 0L2.24 4.32A.2.2 0 0 1 2.4 4"})}))),ij=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M11 2.4v11.2a.2.2 0 0 1-.32.16l-7.467-5.6a.2.2 0 0 1 0-.32l7.467-5.6a.2.2 0 0 1 .32.16"})}))),aj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M4 13.6V2.4a.2.2 0 0 1 .32-.16l7.467 5.6a.2.2 0 0 1 0 .32l-7.467 5.6A.2.2 0 0 1 4 13.6"})}))),sj={m:nj,"ï":tj,R:D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M13.6 11H2.4a.2.2 0 0 1-.16-.32l5.6-7.467a.2.2 0 0 1 .32 0l5.6 7.467a.2.2 0 0 1-.16.32"})}))),S:oj,T:ij,U:aj,P:ej,Q:JN,"è":D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M14.98 15H1.04c-1.002 0-1.303-.7-.802-1.5l6.82-11.9c.5-.8 1.303-.8 1.804 0l6.92 11.9c.501.8.1 1.5-.803 1.5M8.5 5h-1c-.3 0-.5.2-.5.5V9c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5V5.5c0-.3-.2-.5-.5-.5m-1 6c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5z"})}))),"¢":KN,"©":YN,"23F4":XN,2013:rj,"&":QN,add:VN,"minus-2":ZN,dot:UN},lj=({size:e,iconKey:t,color:r,pvStyle:n})=>{const o=t&&sj[t];return o&&x.createElement("div",{"data-testid":"representation-indicator-icon",style:{color:r,height:e,...n}},x.createElement(o,{style:{height:e}}))},uj=({representation:e,cellValue:t,paginationCellAlign:r})=>{const{styleService:n,theme:o,direction:i}=QT(KT,(e=>e.baseProps)),{text:a,indicator:s}=e,{showTextValues:l,applySegmentColors:u}=null!=s?s:{},c=ON(e,t,i,o),d=(e=>parseInt(e||uT,10))(n.measure.values.fontSize),{color:p,iconKey:f,position:h}=c||{};return l?Rl.jsxs("div",{"data-key":"representation-indicator",style:{display:"flex",justifyContent:null!=r?r:"flex-end",alignItems:"center",gap:"2px",overflow:"hidden",color:u?p:void 0},children:["left"===h&&lj({size:d,iconKey:f,color:p}),Rl.jsx(kN,{isNumeric:!0,children:a}),"right"===h&&lj({size:d,iconKey:f,color:p})]}):lj({size:d,iconKey:f,color:p})},cj=(e,t)=>e.contentStaticLineCount?e.contentLineHeight*(null!=t?t:e.grid.contentLineClamp):e.contentLineHeight,dj=({forwardRef:e,cell:t,style:r,virtualizedCell:n,lineClamp:o,intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a,paginationCellAlign:s})=>{const{interactions:l,styleService:u,theme:c,layout:d,downloadService:p,direction:f}=QT(KT,(e=>e.baseProps)),h=QT(KT,(e=>{var t;return null===(t=e.selectionState.api)||void 0===t?void 0:t.isActive()}));let m=t.representation.text;if(t.representation.type!==pE.Link||h||(m=Rl.jsx(oN,{href:t.representation.url,text:t.representation.text,interactions:l,color:r.cellForegroundColor})),t.representation.type===pE.Image)return Rl.jsx(WN,{representation:t.representation,textStyle:r,maxImageHeight:cj(u,o),wrapInContainer:!n});const g="string"==typeof(b=t.qIsNull?t.representation.text:t.qNum)&&b.length>0||"number"==typeof b?+b:NaN;var b;return t.representation.type!==pE.Indicator||Number.isNaN(g)?t.representation.type===pE.MiniChart&&t.representation.miniChart&&!t.isNull?Rl.jsx(RN,{height:cj(u,o),intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a,miniChartData:t.representation.miniChart,theme:c,isSnapshot:!!d.snapshotData,direction:f,downloadService:p}):Rl.jsx(kN,{forwardRef:e,isNumeric:t.isNumeric,lineClamp:o,isPagination:!n,children:m}):Rl.jsx(uj,{representation:t.representation,cellValue:g,paginationCellAlign:n?void 0:s})},pj=(e,t,r,n)=>({handleMouseDown:n=>{null==e||e(n);const o=n.target;if(t.isSelectable&&"A"!==o.tagName){const e=()=>{r({type:aI.SelectMultiEnd})};r({type:aI.SelectMouseDown,payload:{cell:t,mouseupOutsideCallback:e}})}},handleMouseOver:e=>{1===e.buttons&&r({type:aI.SelectMultiAdd,payload:{cell:t,evt:e,announce:n}})},handleMouseUp:e=>{0===e.button&&r({type:aI.SelectMouseUp,payload:{cell:t,evt:e,announce:n}})}}),fj=(e,t)=>{const{paginationNeeded:r,totalsPosition:n}=QT(KT,(e=>e.tableData)),{selectionsAPI:o,rootElement:i,keyboard:a,interactions:s,direction:l}=QT(KT,(e=>e.baseProps)),u=QT(KT,(e=>e.setFocusedCellCoord)),c=QT(KT,(e=>e.selectionDispatch)),d=!!s.active&&!!s.select,p=s=>{Uq({evt:s,rootElement:i,selectionsAPI:o,cell:e,selectionDispatch:c,isSelectionsEnabled:d,setFocusedCellCoord:u,announce:t,keyboard:a,paginationNeeded:r,totalsPosition:n,direction:l})},f=e=>{((e,t)=>{e.key===cS.Shift&&t({type:aI.SelectMultiEnd})})(e,c)},h=()=>{((e,t,r,n,o)=>{const{pageRowIdx:i,pageColIdx:a}=e,s=o.atTop?i+2:i+1;jq([s,a],t,r,n)})(e,i,u,a,n)};if(!d)return{onKeyDown:p,onKeyUp:f,onMouseDown:h};const{handleMouseDown:m,handleMouseOver:g,handleMouseUp:b}=pj(h,e,c,t);return{onKeyDown:p,onKeyUp:f,onMouseDown:m,onMouseUp:b,onMouseOver:g}},hj=(e,t)=>{const{colIdx:r,rows:n,api:o}=t;let i=iI.Inactive;return null!=o&&o.isModal()&&(i=r!==e.selectionColIdx?iI.Disabled:n.has(e.qElemNumber)?iI.Selected:iI.Possible),i},mj=(e,t,r)=>{if(!r.isNull)return e;const n={...e,...t.nullValues};return t.grid.zebraStripes.show?(t.grid.zebraStripes.overrideNullValueColor&&(n.color=e.color),t.grid.zebraStripes.overrideNullValueBackground&&(n.background=e.background),n):n},gj=(e,t,r)=>{const{color:n,background:o}=e.grid.zebraStripes[r];return{...t,...n?{color:n}:void 0,...o?{background:o}:void 0}},bj=(e,t,r)=>{if(t.grid.zebraStripes.show){const n=(r.rowIdx+1)%2==0;return gj(t,e,n?"even":"odd")}return e},vj=(e,t)=>{const{styleService:r}=QT(KT,(e=>e.baseProps)),n=QT(KT,(t=>hj(e,t.selectionState)));let o=t.isDim?r.dimension.values:r.measure.values;o=bj(o,r,e),o=mj(o,r,e);const i=qT(o,e.qAttrExps,t.qAttrExprInfoIDs),a=function(e,t,r){return t===iI.Selected?{...e,...r}:t===iI.Disabled?{...e,background:`${sT}, ${e.background}`}:e}(E((()=>e.isNull?o:qT(o,e.qAttrExps,t.qAttrExprInfoIDs)),[o,e.qAttrExps,e.isNull,t.qAttrExprInfoIDs]),n,r.selectedColors);return{cellStyle:{...a,borderColor:r.grid.border},representationStyle:i,cellSelectionState:n}},yj=HP(FL,{shouldForwardProp:e=>"lastRowBottomBorder"!==e})((({lastRowBottomBorder:e})=>({"& tr:last-child":{"& td, th":{borderBottomWidth:e}}}))),xj=HP(sM,{shouldForwardProp:e=>"hoverColors"!==e&&"hover"!==e&&"height"!==e})((({hover:e,hoverColors:t,height:r})=>({height:r,"&&:hover":{background:"none"},...e&&{"&&:hover":{"& td:not(.selected), th:not(.selected)":t}}}))),Sj=HP(WL,{shouldForwardProp:e=>"cellStyle"!==e})((({cellStyle:e,theme:t})=>({...pT,...e,padding:t.spacing(.5,1.5),verticalAlign:"top",width:"100%",height:"100%"}))),Cj=HP(WL,{shouldForwardProp:e=>!["atTop","headRowHeight","totalsStyle","direction"].includes(e)})((({totalsStyle:e,atTop:t,headRowHeight:r,theme:n})=>({...pT,...e,fontWeight:cT,position:"sticky",padding:n.spacing(.5,1.5),borderWidth:t?"0px 1px 1px 0px":"1px 1px 1px 0px",top:t?r:void 0,bottom:t?void 0:0,verticalAlign:t?"bottom":"top",zIndex:t?1:void 0}))),Ej=({cell:e,announce:t,column:r,columnIndex:n,intersectionObserverTaskScheduler:o,resizeObserverTaskScheduler:i})=>{const{interactions:a,direction:s}=QT(KT,(e=>e.baseProps)),{onKeyDown:l,onKeyUp:u,onMouseDown:c,onMouseUp:d,onMouseOver:p}=fj(e,t),{cellStyle:f,representationStyle:h,cellSelectionState:m}=vj(e,r);return Rl.jsx(Sj,{cellStyle:f,scope:0===n?"row":void 0,component:0===n?"th":void 0,align:e.align,tabIndex:-1,className:`sn-table-cell ${m} ${uS}`,title:a.passive?e.representation.text:void 0,onKeyDown:l,onKeyUp:u,onMouseDown:c,onMouseUp:d,onMouseOver:p,children:Rl.jsx(dj,{cell:e,style:h,intersectionObserverTaskScheduler:o,resizeObserverTaskScheduler:i,paginationCellAlign:FN(s,e.align)})})},wj=(e,{atTop:t,atBottom:r},n)=>({borderLeftColor:e.grid.border,borderRightColor:e.grid.border,borderTopColor:!n&&r?e.grid.divider:e.grid.border,borderBottomColor:n&&!t||!n&&t?e.grid.divider:e.grid.border}),Rj=()=>{const{columns:e,totalsPosition:t,rows:r}=QT(KT,(e=>e.tableData)),{rootElement:n,selectionsAPI:o,keyboard:i,styleService:a,interactions:s,direction:l}=QT(KT,(e=>e.baseProps)),u=QT(KT,(e=>e.headRowHeight)),c=QT(KT,(e=>e.setFocusedCellCoord)),d=!(null==o||!o.isModal()),p=!!s.active;return Rl.jsx(sM,{className:"sn-table-row sn-table-totals-row",children:e.map(((e,o)=>{const f=[t.atTop?1:r.length+1,o];return Rl.jsx(Cj,{totalsStyle:{...a.totalRow,...wj(a,t,!1)},headRowHeight:u,atTop:t.atTop,align:e.totalsTextAlign,className:`sn-table-cell ${uS}`,tabIndex:-1,title:s.passive?e.totalInfo:void 0,onKeyDown:e=>{(e=>{const{isSelectionMode:t,evt:r,isInteractionEnabled:n}=e;if(!t&&n)switch(r.key){case cS.C:Bq(r);break;case cS.Space:r.preventDefault();break;default:Gq(e)}else Hx(r)})({evt:e,rootElement:n,cellCoord:f,setFocusedCellCoord:c,isSelectionMode:d,isInteractionEnabled:p,direction:l})},onMouseDown:()=>{jq(f,n,c,i)},children:Rl.jsx(kN,{isNumeric:e.isTotalNumeric,isPagination:!0,children:e.totalInfo})},e.id)}))})};var Aj=T(Rj);const kj=({updateShouldRefocus:e,tableWrapperRef:t,announce:r})=>{var n;const{rows:o,columns:i,totalsPosition:a}=QT(KT,(e=>e.tableData)),{selectionsAPI:s,keyboard:l,layout:u,styleService:c}=QT(KT,(e=>e.baseProps)),d=QT(KT,(e=>e.selectionDispatch)),p=!(null===(n=_T(u))||void 0===n||null===(n=n.content)||void 0===n||!n.hoverEffect);rN({keyboard:l,selectionDispatch:d,selectionsAPI:s,updateShouldRefocus:e,tableWrapperRef:t});const f=(e=>{const t=_((t=>new IntersectionObserver((e=>{e.forEach((e=>{const r=t.get(e.target);null==r||r(e)}))}),{root:e.current})),[e]);return Qq(t)})(t),h=tN();return Rl.jsxs(yj,{lastRowBottomBorder:c.grid.lastRowBottomBorder,children:[a.atTop?Rl.jsx(Aj,{}):void 0,o.map(((e,t)=>Rl.jsx(xj,{hoverColors:c.grid.hoverColors,hover:p,tabIndex:-1,className:"sn-table-row sn-table-data-row",height:c.contentMinRowHeight,children:i.map(((t,n)=>{const{id:o}=t,i=e[n];return Rl.jsx(Ej,{columnIndex:n,cell:i,column:t,announce:r,intersectionObserverTaskScheduler:f,resizeObserverTaskScheduler:h},o)}))},`row-${t}`))),a.atBottom?Rl.jsx(Aj,{}):void 0]})};var Pj=T(kj);const Ij=(e,t)=>{var r;return!(null===(r=e.viewState)||void 0===r||!r.skipHeader)||!!t.hideHeader},Lj=({column:e,isLastColumn:t,onColumnResize:r,setIsAdjustingWidth:n})=>{const{pageColIdx:o,label:i}=e,{applyColumnWidths:a,interactions:s,translator:l,direction:u}=QT(KT,(e=>e.baseProps)),c=QT(KT,(e=>e.columnWidths)),d=QT(KT,(e=>e.setColumnWidths));if(!s.active)return null;return Rl.jsx(oO,{columnWidth:c[o],isLastColumn:t,keyValue:`adjuster-${o}`,updateWidthCallback:e=>{null==r||r();const t=[...c];t[o]=e,d(t)},confirmWidthCallback:t=>{a(t,e)},handleBlur:e=>{(e=>{Dq(e);const t=e.closest(".sn-table-cell");Oq(t)})(e.currentTarget)},setIsAdjustingWidth:n,accessibilityRelatedArgs:{translator:l,columnLabel:i},direction:u})},Mj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),_j=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),Dj=D(((e,t)=>Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Rl.jsx("path",{d:"M13 7H8zV4.982C13 2.23 10.761 0 8 0S3 2.23 3 4.982V7h.75H3h1.5V5.332C4.5 3.216 5.549 1.5 8 1.5s3.5 1.716 3.5 3.832V7h.75H3a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H3z"}),Rl.jsx("use",{fillRule:"evenodd"})]}))),Tj=HP("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((({direction:e,isPagination:t})=>({position:"absolute",left:t&&"rtl"===e?0:void 0,bottom:0}))),Oj=HP(hL,{shouldForwardProp:e=>!["textAlign","direction","isPagination"].includes(e)})((({textAlign:e,theme:t,direction:r,isPagination:n})=>({textAlign:e,height:"auto",padding:t.spacing(.5,1),display:"flex",alignItems:"flex-end",justifySelf:e,alignSelf:"center",flexDirection:"rtl"===r?jN(e,n):void 0})));HP("span")({border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",top:20,width:1});const qj=HP(hL,{shouldForwardProp:e=>"shouldShowMenuIcon"!==e&&"shouldShowLockIcon"!==e&&"alignment"!==e})((({shouldShowMenuIcon:e,shouldShowLockIcon:t,alignment:r})=>{const n=e?"24px":"";let o;switch(r){case"left":o={gridTemplateColumns:t?`20px 2fr ${n}`:`1fr ${n}`};break;case"center":{const r=e||t;o={gridTemplateColumns:r?"24px 2fr 24px":"1fr","& .sn-table-lock-icon":{gridColumn:1},"& .sn-table-head-label":{gridColumn:r?2:1},[`& .${aS}`]:{gridColumn:3}};break}case"right":o={gridTemplateColumns:t?`${n} 2fr 20px`:`${n} 1fr`,"& .sn-table-lock-icon":{gridColumn:t?3:"unset"},"& .sn-table-head-label":{gridColumn:e?2:"span 2"},[`& .${aS}`]:{gridColumn:1}}}return{width:"100%",display:"grid",gridAutoFlow:"dense",fontSize:"inherit",fontFamily:"inherit",alignItems:"end",overflow:"hidden",...o}})),Nj=HP(hL,{shouldForwardProp:e=>"rightAligned"!==e})((({rightAligned:e})=>({display:"flex",alignItems:"center",width:"20px",height:"24px",flexShrink:0,flexDirection:"inherit",justifyContent:e?"flex-start":"flex-end"})));HP(hL,{shouldForwardProp:e=>"isVisible"!==e&&"rightAligned"!==e})((({rightAligned:e})=>({...e?{marginRight:"auto"}:{marginLeft:"auto"},height:"24px",display:"flex"}))),HP(kL)((({theme:e})=>({borderRadius:"4px",margin:e.spacing(0,.5),padding:e.spacing(1,1.5),display:"flex",justifyContent:"space-between","&&:focus":{boxShadow:"rgb(23, 127, 230) 0px 0px 0px 2px"}}))),HP("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center"}))),HP(SL)((({theme:e})=>({marginRight:e.spacing(1.5),lineHeight:0}))),HP("div")((({theme:e})=>({height:"350px",boxSizing:"border-box",background:e.palette.common.white})));const jj=HP(WL,{shouldForwardProp:e=>"headerStyle"!==e&&"interactions"!==e&&"hoverBackground"!==e&&"background"!==e})((({headerStyle:e,interactions:t,hoverBackground:r,background:n})=>({...pT,...e,cursor:t.active?"pointer":"default",background:n,verticalAlign:"bottom","&&:focus-visible, &&:hover":{background:t.active?r:n}})));HP("div")({display:"flex",alignItems:"center"});const zj=HP("span",{shouldForwardProp:e=>"align"!==e&&"dir"!==e})((({align:e,dir:t})=>({minWidth:uT,display:"flex",paddingBottom:"2px",alignSelf:"end",..."right"===e||"rtl"===t&&"center"===e?{paddingRight:"8px"}:{paddingLeft:"8px"}}))),Fj=({column:e,isInteractionEnabled:t,open:r,setOpen:n,allColumnsIconVisibilityStatusRef:o,isPagination:i,forwardRef:a})=>{const{translator:s,changeSortOrder:l,interactions:u,embed:c,app:d,styleService:p,layout:f,direction:h}=QT(KT,(e=>e.baseProps)),m=QT(KT,(t=>t.columnWidths[e.pageColIdx])),g=QT(KT,(e=>e.baseProps.model)),b=M(null),v=M(null),y=(({styleService:e,column:t,columnWidth:r})=>{const{measureText:n}=Jx({fontSize:e.header.fontSize,fontFamily:e.header.fontFamily,fontWeight:cT});return _((()=>{let e=!1,o=!1,i=!1;const a=t.isLocked,s=t.isActivelySorted,l=r-25,u=a?20:0,c=s?20:0;let d=n(t.label);return a&&d+u<=l&&(i=!0,d+=u,s&&d+c<=l&&(o=!0,d+=c)),!a&&s&&d+c<=l&&(o=!0,d+=c),d+24<=l&&(e=!0,d+=24),{shouldShowMenuIcon:e,shouldShowSortIcon:o,shouldShowLockIcon:i}}),[t.isLocked,t.label,t.isActivelySorted,r,n])})({styleService:p,column:e,columnWidth:m}),x=y(),{StartIcon:S,EndIcon:C,LockIcon:E}=(({sortDirection:e,headTextAlign:t},{shouldShowSortIcon:r,shouldShowLockIcon:n},o)=>{const i="A"===e?Rl.jsx(Mj,{height:uT,"data-testid":"head-cell-sort-ascending-icon"}):Rl.jsx(_j,{height:uT,"data-testid":"head-cell-sort-descending-icon"}),a=r?Rl.jsx(zj,{align:t,dir:o,children:i}):void 0,s=n?Rl.jsx(Nj,{rightAligned:"right"===t,className:"sn-table-lock-icon",children:Rl.jsx(Dj,{height:uT,"data-testid":"head-cell-lock-icon"})}):void 0;return"right"===t?{StartIcon:a,LockIcon:s}:{EndIcon:a,LockIcon:s}})(e,x,h);o&&(o.current[e.pageColIdx]=x);return Rl.jsxs(qj,{shouldShowMenuIcon:x.shouldShowMenuIcon,shouldShowLockIcon:x.shouldShowLockIcon,alignment:zN(e,i,h),children:[E,Rl.jsxs(Oj,{className:"sn-table-head-label",textAlign:e.headTextAlign,direction:h,isPagination:i,children:[S,Rl.jsx(kN,{forwardRef:a,isPagination:i,isHeadCell:!0,children:e.label}),C]}),t?Rl.jsxs(Rl.Fragment,{children:[Rl.jsx(UO,{headerData:{...e,dimensionInfoIndex:e.colIdx},translator:s,anchorRef:b,menuAvailabilityFlags:{[GO.Sorting]:!0,[GO.Searching]:!0,[GO.Selections]:!0,[GO.AdjusterHeaderSize]:!0},open:r,setOpen:n,interactions:u,sortRelatedArgs:{sortFromMenu:(t,r)=>(t.stopPropagation(),l(e,r))},searchRelatedArgs:{embed:c,listboxRef:v},selectionRelatedArgs:{app:d,qStateName:f.qStateName},adjustHeaderSizeRelatedArgs:{focusColumnAdjuster:qq},shouldShowMenuIcon:x.shouldShowMenuIcon,model:g,direction:h,isPagination:i}),Rl.jsx(Tj,{ref:v,direction:h,isPagination:i}),Rl.jsx(Tj,{ref:b,direction:h})]}):null]})},$j=({isInteractionEnabled:e,columnsData:t})=>{const[r,n]=C(!1),{isAdjustingWidth:o,setIsAdjustingWidth:i}=(e=>{const[t,r]=C(!1);return tS((()=>{r(!1)}),e),{isAdjustingWidth:t,setIsAdjustingWidth:r}})([t]);return{open:r,setOpen:n,handleOpenMenu:t=>{!e||(e=>{var t;return null===(t=e.target)||void 0===t||null===(t=t.getAttribute("class"))||void 0===t?void 0:t.includes(dS)})(t)||o||n(!0)},setIsAdjustingWidth:i}},Hj=({column:e,columnIndex:t,columnsLength:r})=>{const{interactions:n,rootElement:o,keyboard:i,styleService:a,direction:s}=QT(KT,(e=>e.baseProps)),{columns:l,totalsPosition:u}=QT(KT,(e=>e.tableData)),c=QT(KT,(e=>e.columnWidths[t])),d=QT(KT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()})),p=QT(KT,(e=>e.setFocusedCellCoord)),f=QT(KT,(({focusedCellCoord:[e,r]})=>0===e&&r===t)),h=!!n.active&&!d,{open:m,setOpen:g,handleOpenMenu:b,setIsAdjustingWidth:v}=$j({isInteractionEnabled:h,columnsData:l}),y=e.isActivelySorted?sI[e.sortDirection]:void 0,x=m?lS:void 0,S=m?"true":void 0,C=t===r-1,E=[0,e.pageColIdx],w={width:c-(C?8:9),zIndex:l.length-t},R=f&&0===t&&!i.enabled&&h?0:-1;return Rl.jsxs(jj,{headerStyle:{...a.header,...wj(a,u,!0)},background:m?a.headerMenuActiveBackground:a.header.background,hoverBackground:a.headerMenuHoverBackground,interactions:n,style:w,align:e.headTextAlign,className:`sn-table-head-cell sn-table-cell ${uS}`,tabIndex:R,title:n.passive?e.label:void 0,onKeyDown:e=>{(e=>{const{isInteractionEnabled:t,evt:r,handleOpenMenu:n}=e;if(t)switch(r.key){case cS.C:Bq(r);break;case cS.Enter:case cS.Space:null==n||n(r);break;default:Gq(e)}else Hx(r)})({evt:e,rootElement:o,cellCoord:E,setFocusedCellCoord:p,isInteractionEnabled:h,handleOpenMenu:b,direction:s})},onMouseDown:e=>{(({evt:e,rootElement:t,cellCoord:r,setFocusedCellCoord:n,keyboard:o,isInteractionEnabled:i})=>{e.preventDefault(),i&&jq(r,t,n,o)})({evt:e,rootElement:o,cellCoord:E,setFocusedCellCoord:p,keyboard:i,isInteractionEnabled:h})},onClick:b,"aria-sort":y,"aria-controls":x,"aria-expanded":S,"aria-haspopup":"true",children:[Rl.jsx(Fj,{column:e,isInteractionEnabled:h,open:m,setOpen:g,isPagination:!0}),Rl.jsx(Lj,{column:e,isLastColumn:C,setIsAdjustingWidth:v})]},e.id)},Bj=()=>{const{columns:e}=QT(KT,(e=>e.tableData)),{styleService:t,viewService:r,layout:n}=QT(KT,(e=>e.baseProps)),o=QT(KT,(e=>e.setHeadRowHeight)),i=QT(KT,(e=>e.columnWidths)),a=M(null),s=Ij(r,n);return w((()=>{a.current&&o(a.current.getBoundingClientRect().height)}),[t.header.fontSize,i,o,s]),Rl.jsx(tM,{style:{visibility:s?"collapse":void 0},children:Rl.jsx(sM,{ref:a,className:"sn-table-row sn-table-head-row",children:e.map(((t,r)=>Rl.jsx(Hj,{column:t,columnIndex:r,columnsLength:e.length},t.id)))})})};var Gj=T(Bj);const Wj=e=>{var t,r;const{pageInfo:n,setPageInfo:o,footerContainer:i,announce:a}=e,{page:s,rowsPerPage:l}=n,{totalColumnCount:u,totalRowCount:c,totalPages:d,paginationNeeded:p,rows:f,columns:h}=QT(KT,(e=>e.tableData)),{rootElement:m,keyboard:g,translator:b,theme:v,interactions:y,styleService:x,viewService:S,layout:C,rect:E,direction:R}=QT(KT,(e=>e.baseProps)),A=QT(KT,(e=>e.setYScrollbarWidth)),k=QT(KT,(e=>e.showRightBorder)),P=QT(KT,(e=>e.selectionDispatch)),I=QT(KT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()})),L=M(!1),D=M(null),T=M(null),{yScrollbarWidth:O}=Yq(D),q=`${b.get("SNTable.Accessibility.RowsAndColumns",[String(f.length),String(h.length)])} ${b.get("SNTable.Accessibility.NavigationInstructions")}`,N=RR(C,S),j=N&&null!==(t=S.scrollLeft)&&void 0!==t?t:0,z=N&&null!==(r=S.rowPartialHeight)&&void 0!==r?r:0,F=_((()=>{L.current=m.getElementsByTagName("table")[0].contains(document.activeElement)}),[m]),$=_((e=>{o({...n,page:e}),a({keys:[["SNTable.Pagination.PageStatusReport",(e+1).toString(),d.toString()]],politeness:"assertive"})}),[n,o,d,a]),H=_((e=>{o({...n,page:0,rowsPerPage:e}),a({keys:[["SNTable.Pagination.RowsPerPageChange",e.toString()]],politeness:"assertive"})}),[a,n,o]);return Hq(D,R,S),((e,t)=>{const{keyboard:r}=QT(KT,(e=>e.baseProps));w((()=>{const n=e.current;if(!n)return;const o=e=>{zq(e,t,r)};return n.addEventListener("focusout",o),()=>{n.removeEventListener("focusout",o)}}),[e,t,r])})(T,L),(()=>{const{rootElement:e,keyboard:t}=QT(KT,(e=>e.baseProps)),r=QT(KT,(e=>e.focusedCellCoord));tS((()=>{const n=Mq(e,r);t.active?Oq(n):(null==n||n.blur(),Tq(e))}),[t.active,e])})(),$q(L,a,s),w((()=>{const e=D.current;e&&(e.scrollLeft=j,e.scrollTop=z)}),[n,c,j,z]),kq((()=>{A(O)}),[O]),kq((()=>{P({type:aI.UpdatePageRows,payload:{pageRows:f}})}),[f]),Fq(),Rl.jsxs(Rq,{ref:T,background:v.background,dir:R,onKeyDown:e=>{Vq({evt:e,totalRowCount:c,page:s,rowsPerPage:l,handleChangePage:$,updateShouldRefocus:F,keyboard:g,isSelectionMode:I})},"data-testid":"sn-table",children:[Rl.jsx(Zq,{}),Rl.jsx(Xq,{ref:D,className:"sn-table-container",fullHeight:!!i||!y.active||!p,interactions:y,tabIndex:-1,role:"application","data-testid":"table-container",children:Rl.jsxs(Jq,{stickyHeader:!0,"aria-label":q,borderRight:k?`1px solid ${x.grid.border}`:void 0,children:[Rl.jsx(Gj,{}),Rl.jsx(Pj,{...e,updateShouldRefocus:F,tableWrapperRef:T})]})}),Rl.jsx(Eq,{footerContainer:i,pageInfo:n,paginationNeeded:p,theme:v,totalRowCount:c,totalColumnCount:u,totalPages:d,keyboard:g,translator:b,interactions:y,rect:E,layout:C,handleChangePage:$,handleChangeRowsPerPage:H,isSelectionMode:I,direction:R})]})};var Vj=T(Wj),Uj=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Yj(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(n=e[r],o=t[r],!(n===o||Uj(n)&&Uj(o)))return!1;var n,o;return!0}function Kj(e,t){var r;void 0===t&&(t=Yj);var n,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&r===this&&t(a,o)||(n=e.apply(this,a),i=!0,r=this,o=a),n}}var Xj="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Jj(e){cancelAnimationFrame(e.id)}function Zj(e,t){var r=Xj();var n={id:requestAnimationFrame((function o(){Xj()-r>=t?e.call(null):n.id=requestAnimationFrame(o)}))};return n}var Qj=-1;function ez(e){if(void 0===e&&(e=!1),-1===Qj||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Qj=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Qj}var tz=null;function rz(e){if(void 0===e&&(e=!1),null===tz||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?tz="positive-descending":(t.scrollLeft=1,tz=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),tz}return tz}var nz=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function oz(e){var t,r=e.getColumnOffset,n=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,l=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,c=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=h(n.props,fo(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:fo(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=Kj((function(e,t,r,o,i,a,s,l){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:s,visibleRowStopIndex:l})})),n._callOnScroll=void 0,n._callOnScroll=Kj((function(e,t,r,o,i){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var o,a=n.props,s=a.columnWidth,l=a.direction,u=a.rowHeight,p=n._getItemStyleCache(m&&s,m&&l,m&&u),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=r(n.props,t,n._instanceProps),g="rtl"===l;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(n.props,e,n._instanceProps),height:c(n.props,e,n._instanceProps),width:i(n.props,t,n._instanceProps)}}return o},n._getItemStyleCache=void 0,n._getItemStyleCache=Kj((function(e,t,r){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,s=t.scrollHeight,l=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=n.props.direction,u=i;if("rtl"===t)switch(rz()){case"negative":u=-i;break;case"positive-descending":u=l-o-i}u=Math.max(0,Math.min(u,l-o));var c=Math.max(0,Math.min(a,s-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:u,scrollTop:c,verticalScrollDirection:e.scrollTop<a?"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&&Jj(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Zj(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}po(t,e),t.getDerivedStateFromProps=function(e,t){return iz(e,t),g(e),null};var b=t.prototype;return b.scrollTo=function(e){var t=e.scrollLeft,r=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==r&&(r=Math.max(0,r)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===r&&(r=e.scrollTop),e.scrollLeft===t&&e.scrollTop===r?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:r,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<r?"forward":"backward"}}),this._resetIsScrollingDebounced)},b.scrollToItem=function(e){var t=e.align,r=void 0===t?"auto":t,n=e.columnIndex,o=e.rowIndex,i=this.props,c=i.columnCount,d=i.height,p=i.rowCount,f=i.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,b=ez();void 0!==n&&(n=Math.max(0,Math.min(n,c-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var v=a(this.props,this._instanceProps),y=s(this.props,this._instanceProps)>f?b:0,x=v>d?b:0;this.scrollTo({scrollLeft:void 0!==n?l(this.props,n,r,m,this._instanceProps,x):m,scrollTop:void 0!==o?u(this.props,o,r,g,this._instanceProps,y):g})},b.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,r=e.initialScrollTop;if(null!=this._outerRef){var n=this._outerRef;"number"==typeof t&&(n.scrollLeft=t),"number"==typeof r&&(n.scrollTop=r)}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props.direction,t=this.state,r=t.scrollLeft,n=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(rz()){case"negative":o.scrollLeft=-r;break;case"positive-ascending":o.scrollLeft=r;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-r}else o.scrollLeft=Math.max(0,r);o.scrollTop=Math.max(0,n)}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Jj(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,r=e.className,n=e.columnCount,o=e.direction,i=e.height,l=e.innerRef,u=e.innerElementType,c=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?nz:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,b=e.style,v=e.useIsScrolling,y=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),C=S[0],E=S[1],w=this._getVerticalRangeToRender(),A=w[0],k=w[1],P=[];if(n>0&&g)for(var I=A;I<=k;I++)for(var L=C;L<=E;L++)P.push(R(t,{columnIndex:L,data:d,isScrolling:v?x:void 0,key:f({columnIndex:L,data:d,rowIndex:I}),rowIndex:I,style:this._getItemStyle(I,L)}));var M=a(this.props,this._instanceProps),_=s(this.props,this._instanceProps);return R(h||m||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:yt({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},R(u||c||"div",{children:P,ref:l,style:{height:M,pointerEvents:x?"none":void 0,width:_}}))},b._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,r=e.onItemsRendered,n=e.onScroll,o=e.rowCount;if("function"==typeof r&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],s=i[1],l=i[2],u=i[3],c=this._getVerticalRangeToRender(),d=c[0],p=c[1],f=c[2],h=c[3];this._callOnItemsRendered(a,s,d,p,l,u,f,h)}if("function"==typeof n){var m=this.state,g=m.horizontalScrollDirection,b=m.scrollLeft,v=m.scrollTop,y=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(b,v,g,x,y)}},b._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,s=e.rowCount,l=this.state,u=l.horizontalScrollDirection,c=l.isScrolling,d=l.scrollLeft,p=r||i||a||1;if(0===t||0===s)return[0,0,0,0];var f=n(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=c&&"backward"!==u?1:Math.max(1,p),g=c&&"forward"!==u?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},b._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanCount,n=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,s=a.isScrolling,l=a.verticalScrollDirection,u=a.scrollTop,c=n||o||r||1;if(0===t||0===i)return[0,0,0,0];var d=p(this.props,u,this._instanceProps),h=f(this.props,d,u,this._instanceProps),m=s&&"backward"!==l?1:Math.max(1,c),g=s&&"forward"!==l?1:Math.max(1,c);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(q),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var iz=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},az=function(e,t){var r=e.rowCount,n=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},sz=function(e,t){var r=e.columnCount,n=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},lz=function(e,t,r,n){var o,i,a;if("column"===e?(o=n.columnMetadataMap,i=t.columnWidth,a=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=t.rowHeight,a=n.lastMeasuredRowIndex),r>a){var s=0;if(a>=0){var l=o[a];s=l.offset+l.size}for(var u=a+1;u<=r;u++){var c=i(u);o[u]={offset:s,size:c},s+=c}"column"===e?n.lastMeasuredColumnIndex=r:n.lastMeasuredRowIndex=r}return o[r]},uz=function(e,t,r,n){var o,i;return"column"===e?(o=r.columnMetadataMap,i=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=r.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=n?cz(e,t,r,i,0,n):dz(e,t,r,Math.max(0,i),n)},cz=function(e,t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),s=lz(e,t,a,r).offset;if(s===i)return a;s<i?o=a+1:s>i&&(n=a-1)}return o>0?o-1:0},dz=function(e,t,r,n,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;n<i&&lz(e,t,n,r).offset<o;)n+=a,a*=2;return cz(e,t,r,Math.min(n,i-1),Math.floor(n/2),o)},pz=function(e,t,r,n,o,i,a){var s="column"===e?t.width:t.height,l=lz(e,t,r,i),u="column"===e?sz(t,i):az(t,i),c=Math.max(0,Math.min(u-s,l.offset)),d=Math.max(0,l.offset-s+a+l.size);switch("smart"===n&&(n=o>=d-s&&o<=c+s?"auto":"center"),n){case"start":return c;case"end":return d;case"center":return Math.round(d+(c-d)/2);default:return o>=d&&o<=c?o:d>c||o<d?d:c}},fz=oz({getColumnOffset:function(e,t,r){return lz("column",e,t,r).offset},getColumnStartIndexForOffset:function(e,t,r){return uz("column",e,r,t)},getColumnStopIndexForStartIndex:function(e,t,r,n){for(var o=e.columnCount,i=e.width,a=lz("column",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=lz("column",e,u,n).size;return u},getColumnWidth:function(e,t,r){return r.columnMetadataMap[t].size},getEstimatedTotalHeight:az,getEstimatedTotalWidth:sz,getOffsetForColumnAndAlignment:function(e,t,r,n,o,i){return pz("column",e,t,r,n,o,i)},getOffsetForRowAndAlignment:function(e,t,r,n,o,i){return pz("row",e,t,r,n,o,i)},getRowOffset:function(e,t,r){return lz("row",e,t,r).offset},getRowHeight:function(e,t,r){return r.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,r){return uz("row",e,r,t)},getRowStopIndexForStartIndex:function(e,t,r,n){for(var o=e.rowCount,i=e.height,a=lz("row",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=lz("row",e,u,n).size;return u},initInstanceProps:function(e,t){var r=e,n={columnMetadataMap:{},estimatedColumnWidth:r.estimatedColumnWidth||50,estimatedRowHeight:r.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:r})},t.resetAfterRowIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:r})},t.resetAfterIndices=function(e){var r=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof r&&(n.lastMeasuredColumnIndex=Math.min(n.lastMeasuredColumnIndex,r-1)),"number"==typeof o&&(n.lastMeasuredRowIndex=Math.min(n.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),hz=function(e,t){return e};function mz(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,l=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,c=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=l(n.props,fo(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:fo(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Kj((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Kj((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,a=i.direction,s=i.itemSize,l=i.layout,c=n._getItemStyleCache(u&&s,u&&l,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),p=o(n.props,e,n._instanceProps),f="horizontal"===a||"horizontal"===l,h="rtl"===a,m=f?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=Kj((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(rz()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,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&&Jj(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Zj(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}po(t,e),t.getDerivedStateFromProps=function(e,t){return gz(e,t),c(e),null};var d=t.prototype;return d.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)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,o=r.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var s=0;if(this._outerRef){var l=this._outerRef;s="vertical"===o?l.scrollWidth>l.clientWidth?ez():0:l.scrollHeight>l.clientHeight?ez():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,s))},d.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===n?o.scrollLeft=r:o.scrollTop=r}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,o=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(rz()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Jj(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,r=e.className,o=e.direction,i=e.height,a=e.innerRef,s=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?hz:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,b=e.useIsScrolling,v=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),E=C[0],w=C[1],A=[];if(u>0)for(var k=E;k<=w;k++)A.push(R(t,{data:c,key:p(k,c),index:k,isScrolling:b?y:void 0,style:this._getItemStyle(k)}));var P=n(this.props,this._instanceProps);return R(h||m||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:yt({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},R(s||l||"div",{children:A,ref:a,style:{height:x?"100%":P,pointerEvents:y?"none":void 0,width:x?P:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],o=e[3];this._callOnItemsRendered(t,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,l=n.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,l,this._instanceProps),c=s(this.props,u,l,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,r),p=o&&"forward"!==i?1:Math.max(1,r);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},t}(q),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var gz=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},bz=function(e,t,r){var n=e.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var s=o[i];a=s.offset+s.size}for(var l=i+1;l<=t;l++){var u=n(l);o[l]={offset:a,size:u},a+=u}r.lastMeasuredIndex=t}return o[t]},vz=function(e,t,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),a=bz(e,i,t).offset;if(a===o)return i;a<o?n=i+1:a>o&&(r=i-1)}return n>0?n-1:0},yz=function(e,t,r,n){for(var o=e.itemCount,i=1;r<o&&bz(e,r,t).offset<n;)r+=i,i*=2;return vz(e,t,Math.min(r,o-1),Math.floor(r/2),n)},xz=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},Sz=mz({getItemOffset:function(e,t,r){return bz(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:xz,getOffsetForIndexAndAlignment:function(e,t,r,n,o,i){var a=e.direction,s=e.height,l=e.layout,u=e.width,c="horizontal"===a||"horizontal"===l?u:s,d=bz(e,t,o),p=xz(e,o),f=Math.max(0,Math.min(p-c,d.offset)),h=Math.max(0,d.offset-c+d.size+i);switch("smart"===r&&(r=n>=h-c&&n<=f+c?"auto":"center"),r){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);default:return n>=h&&n<=f?n:n<h?h:f}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?n[o].offset:0)>=r?vz(e,t,o,0,r):yz(e,t,Math.max(0,o),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var o=e.direction,i=e.height,a=e.itemCount,s=e.layout,l=e.width,u="horizontal"===o||"horizontal"===s?l:i,c=bz(e,t,n),d=r+u,p=c.offset+c.size,f=t;f<a-1&&p<d;)f++,p+=bz(e,f,n).size;return f},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}});function Cz(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var Ez=["style"],wz=["style"];function Rz(e,t){var r=e.style,n=yr(e,Ez),o=t.style,i=yr(t,wz);return!Cz(r,o)&&!Cz(n,i)}const Az=({style:e})=>Rl.jsx("div",{className:"sn-table-cell",style:{...e,borderWidth:"0px 1px 1px 0px",boxSizing:"border-box"}});var kz=x.memo(Az,Rz);const Pz=e=>{var t;return null===(t=e.at(0))||void 0===t||null===(t=t.contentBoxSize.at(0))||void 0===t?void 0:t.blockSize},Iz=(e,t,r)=>{w((()=>{const r=e.current;if(!r)return()=>{};const n=new ResizeObserver(t);return n.observe(r),()=>{n.disconnect()}}),[e,t,r])},Lz=()=>{},Mz=e=>{e.preventDefault()};const _z=({columnIndex:e,rowIndex:t,style:r,data:n})=>{var o,i;const{rowsInPage:a,columns:s,isHoverEnabled:l,setMeasuredCellHeight:u,lineClamp:c,resizeObserverTaskScheduler:d}=n,p=QT(KT,(e=>e.hoverIndex===t)),f=QT(KT,(e=>e.setHoverIndex)),{interactions:h,styleService:m,direction:g}=QT(KT,(e=>e.baseProps)),b=QT(KT,(e=>e.showRightBorder)),v=null===(o=a[t])||void 0===o?void 0:o[e],{handleMouseDown:y,handleMouseOver:x,handleMouseUp:S,cellSelectionState:C}=function(e){const{interactions:t}=QT(KT,(e=>e.baseProps)),r=QT(KT,(e=>e.selectionDispatch)),n="object"==typeof e,o=QT(KT,(t=>n?hj(e,t.selectionState):iI.Inactive)),i=t.active&&t.select;if(n&&i){const{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i}=pj(Mz,e,r,Lz);return{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i,cellSelectionState:o}}return{cellSelectionState:o}}(v),E=((e,t,r,n)=>{const o=M(null),i=r&&!r.isNumeric,a=_((r=>{const o=Pz(r);o&&i&&n(o,e,t)}),[t,n,e,i]);return Iz(o,a),o})(t,e,v,u),w=null!==(i=s[e])&&void 0!==i&&i.isDim?m.dimension.values:m.measure.values;if("object"==typeof v){const n=((e,t,r,n,o,i)=>{let a=bj(o,i,e);a=mj(a,i,e);const s=!e.isNull&&t.qAttrExprInfoIDs.length?qT(a,e.qAttrExps,t.qAttrExprInfoIDs):a;return n===iI.Selected?{...s,...i.selectedColors}:n===iI.Disabled?{...s,color:r?null===(l=i.grid.hoverColors)||void 0===l?void 0:l.color:s.color,background:`${sT}, ${r?null===(u=i.grid.hoverColors)||void 0===u?void 0:u.background:s.background}`}:r?{...s,...i.grid.hoverColors}:s;var l,u})(v,s[e],l&&p,C,w,m),o={rowindex:t,columnindex:e};return Rl.jsx("div",{className:`sn-table-cell ${C} ${uS}`,style:{...r,...n,display:"flex",alignItems:"start",borderColor:m.grid.border,borderTop:"0px",borderBottomWidth:v.isLastRow?"0px":"1px",borderRightWidth:$N(g,v.isLastColumn,b),borderLeftWidth:HN(g,v.isLastColumn,b),justifyContent:NN(v,g),borderStyle:"solid",padding:"4px 12px",boxSizing:"border-box",cursor:"default",overflow:"hidden",textAlign:v.align},onMouseDown:y,onMouseUp:S,onMouseOver:x,onMouseEnter:l?()=>{f(t)}:void 0,onMouseLeave:l?()=>{f(-1)}:void 0,title:h.passive?v.representation.text:void 0,...o,children:Rl.jsx(dj,{forwardRef:m.contentStaticLineCount||1===c?void 0:E,cell:v,style:n,lineClamp:c,virtualizedCell:!0,resizeObserverTaskScheduler:d})})}return Rl.jsx(kz,{style:{...r,...w,borderColor:m.grid.border,borderWidth:"0px 1px 1px 0px",borderStyle:"solid",boxSizing:"border-box"}})};var Dz=T(_z,Rz);const Tz=e=>{const t=M(e);return t.current=e,t},Oz=({qLeft:e,qTop:t,qWidth:r,qHeight:n})=>`${e}-${t}-${r}-${n}`,qz=(e,t,r,n,o)=>{const i=e[r];if(!i)return!0;for(let e=t;e<t+n;e++){const t=i[e];if((null==t?void 0:t.rowIdx)!==o)return!0}return!1},Nz=(e,t,r,n)=>{const o=e.slice(r,n);return 0===o.length||o.some((e=>!e[t]))},jz=(e,t,r,n,o,i,a,s)=>{e.forEach((e=>{e.qMatrix.forEach(((l,u)=>{const c=e.qArea.qTop-t.page*t.rowsPerPage,{row:d,pageRowIdx:p}=((e,t,r,n,o,i,a,s,l,u)=>{var c;const{qSize:d}=a.qHyperCube,p=n.qTop+r,f=o+r,h=null!==(c=e[f])&&void 0!==c?c:[];return t.forEach(((e,t)=>{const r=t+n.qLeft;if(h.at(r))return;const{colIdx:o,isDim:c,isLocked:m,bodyTextAlign:g,selectionColIdx:b,qAttrExprInfoIndex:v,representation:y,conditionalColoring:x,qMiniChart:S}=i[r],C=gR(c,e,a),E=!c&&e.qIsNull,w=E?fw(C):pw(e);h[r]={id:uw(),...e,align:ER(w,g,u),rowIdx:p,colIdx:o,isSelectable:c&&!m,pageRowIdx:f,pageColIdx:r,selectionColIdx:b,isLastRow:p===d.qcy-1,isLastColumn:r===d.qcx-1,isNumeric:w,isNull:(!E||!w)&&mR(e,c),representation:hR({cell:e,representationProperties:y,attrExprInfoIndex:v,env:s,conditionalColoring:x,miniChartOnMeasure:S,getText:()=>E?C:e.qText,direction:u,enabledFeatures:{[pE.Image]:s.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[pE.Indicator]:!0,[pE.MiniChart]:!0}})},l(h[r],p,r)})),{row:h,pageRowIdx:f}})(r,l,u,e.qArea,c,n,o,i,a,s);r[p]=d}))}))},zz=({layout:e,model:t,theme:r,initialDataPages:n,pageInfo:o,rowCount:i,visibleRowCount:a,visibleColumnCount:s,columns:l,gridState:u,setEstimatedCellHeight:c})=>{const d=QT(KT,(e=>e.env)),{direction:p}=QT(KT,(e=>e.baseProps)),f=M([]),h=_(((t,r)=>{const n=Array.isArray(r)?r.slice(0,i):(e=>Array(e).fill(void 0))(i);return jz(t,o,n,l,e,d,c,p),f.current=n,n}),[i,o,l,e,d,c,p]),[m,g]=C((()=>h(null!=n?n:[])));tS((()=>{g(h(null!=n?n:[]))}),[n,p]);const b=((e,t)=>{const r=M(new Set),n=M(new Set),o=M(new Set),i=Tz(e),a=Tz(t),s=E((()=>({enqueue:e=>{const t=Oz(e);o.current.has(t)||(r.current.add(e),o.current.add(t),1===r.current.size&&setTimeout((async()=>{const e=Array.from(r.current.values());if(0!==e.length){r.current.clear(),n.current.add(e);try{const t=(e=>{const t=[];return e.forEach((e=>{if(t.length>0){const r=t[t.length-1];((e,t)=>e.qTop+e.qHeight===t.qTop&&e.qLeft===t.qLeft&&e.qWidth===t.qWidth)(r,e)?r.qHeight+=e.qHeight:((e,t)=>e.qLeft+e.qWidth===t.qLeft&&e.qTop===t.qTop&&e.qHeight===t.qHeight)(r,e)?r.qWidth+=e.qWidth:t.push({...e})}else t.push({...e})})),t})(e),r=await i.current(t);n.current.has(e)&&a.current(r)}catch(t){e.forEach((e=>{o.current.delete(Oz(e))})),console.error("Failed to fetch pages",t)}finally{n.current.delete(e)}}}),75))},clear:()=>{r.current.clear(),n.current.clear(),o.current.clear()}})),[i,a]);return s})((e=>t&&"getHyperCubeData"in t?t.getHyperCubeData("/qHyperCubeDef",e):Promise.resolve([])),(e=>{g((t=>h(e,t)))})),v=_(((e,t,r,n)=>{for(let o=e;o<e+r;o++)if(Nz(f.current,o,t,n)){const e={qLeft:o,qTop:t,qHeight:n,qWidth:1};b.enqueue(e)}}),[f,b]),y=_(((e,t,r,n)=>{for(let i=t;i<t+n;i++){const t=Math.max(0,i-o.page*o.rowsPerPage);if(qz(f.current,e,t,r,i)){const t={qLeft:e,qTop:i,qHeight:1,qWidth:r};b.enqueue(t)}}}),[f,b,o]);return w((()=>{const{qcx:t,qcy:r}=e.qHyperCube.qSize,n=u.current.overscanRowStartIndex,i=u.current.overscanColumnStartIndex,l=n+o.page*o.rowsPerPage,c=t-i,d=o.rowsPerPage-n,p=Math.min(100,c,t,s+5),f=Math.min(100,d,r,a+25);return y(i,l,p,f),()=>{b.clear()}}),[e,a,s,o,b,y,u,r]),{rowsInPage:m,loadRows:y,loadColumns:v}},Fz=e=>{let t=0;return e.forEach((e=>{e>t&&(t=e)})),t},$z=(e,t)=>void 0===e||Math.abs(e-t)>1e-4,Hz=({isSnapshot:e,isStaticNbrOfLines:t,lineClamp:r,setCellHeight:n})=>{const o=QT(KT,(e=>e.baseProps.styleService)),i=QT(KT,(e=>e.columnWidths)),{estimateLineCount:a}=Jx(o.dimension.values),s=GT(o.dimension.values.fontSize),l=e||t||1===r;return _(((e,t,o)=>{if(l||e.representation.type===pE.Image||e.isNumeric)return;const u=(e=>Math.max(0,e-24-1))(i[o]),c=e.representation.text?a({text:e.representation.text,maxWidth:u,isNumeric:!1}):1,d=Math.min(r,Math.max(1,c));n(d*s,t,o)}),[l,i,a,r,s,n])},Bz=({isStaticNbrOfLines:e,minRowHeight:t,state:r,rowCount:n,staticRowHeight:o,viewService:i})=>E((()=>{const{estimatedRowHeight:a,totalRowHeight:s}=e?{totalRowHeight:n*o,estimatedRowHeight:o}:(e=>{let t=0;e.forEach((e=>{t+=e}));const r=0===e.size?0:t/e.size;return{estimatedRowHeight:Math.ceil(r),totalRowHeight:t}})(r.rowHeights);return i.estimatedRowHeight=Math.max(a,t),Math.max(n*t,s)}),[e,t,n,r,o,i]),Gz=({rowCount:e,isSnapshot:t,viewService:r,gridRef:n,pageInfo:o})=>{const{styleService:i}=QT(KT,(e=>e.baseProps)),[a,s]=C({rowHeights:new Map,cellHeightsInGrid:new Map}),l=i.contentLineHeight,u=i.contentMinRowHeight,c=!!i.contentStaticLineCount,d=Math.max(8e6/e,u)-9,p=d+9,f=Math.max(1,Math.min(i.grid.contentLineClamp,Math.round(d/l))),h=(({lineClamp:e,lineHeight:t,isStaticNbrOfLines:r})=>r?t*e+8+1:void 0)({lineClamp:f,lineHeight:l,isStaticNbrOfLines:c});(({gridRef:e,setState:t,pageInfo:r})=>{var n,o;const{layout:i}=QT(KT,(e=>e.baseProps)),a=QT(KT,(e=>e.columnWidths)),s=null===(n=i.multiline)||void 0===n?void 0:n.wrapTextInCells,l=null===(o=i.nullValueRepresentation)||void 0===o?void 0:o.text;tS((()=>{var r;null===(r=e.current)||void 0===r||r.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1}),t({rowHeights:new Map,cellHeightsInGrid:new Map})}),[i.qHyperCube.qSize.qcx,i.qHyperCube.qSize.qcy,r.page,s,l]),tS((()=>{var t;null===(t=e.current)||void 0===t||t.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1})}),[a])})({gridRef:n,setState:s,pageInfo:o});const m=(({setState:e,maxCellHeight:t,minRowHeight:r,gridRef:n})=>_(((o,i,a)=>{N((()=>{e((e=>{var s,l;const u=Math.max(r,o+9),c=Math.min(t,u),d=null!==(s=e.cellHeightsInGrid.get(i))&&void 0!==s?s:e.cellHeightsInGrid.set(i,new Map).get(i);if(!$z(d.get(a),c))return e;const p={...e};return d.set(a,c),p.rowHeights.set(i,Fz(d)),null===(l=n.current)||void 0===l||l.resetAfterIndices({columnIndex:a,rowIndex:i,shouldForceUpdate:!1}),p}))}))}),[e,r,t,n]))({maxCellHeight:p,minRowHeight:u,setState:s,gridRef:n}),g=(({isSnapshot:e,isStaticNbrOfLines:t,lineClamp:r,setCellHeight:n})=>_(((o,i,a)=>{e||t||1===r||n(o,i,a)}),[e,t,r,n]))({isSnapshot:t,isStaticNbrOfLines:c,lineClamp:f,setCellHeight:m});return{setMeasuredCellHeight:g,setEstimatedCellHeight:Hz({isSnapshot:t,isStaticNbrOfLines:c,lineClamp:f,setCellHeight:m}),getRowHeight:_((e=>{var t;return c?h:null!==(t=a.rowHeights.get(e))&&void 0!==t?t:u}),[c,u,a.rowHeights,h]),totalRowHeight:Bz({isStaticNbrOfLines:c,minRowHeight:u,state:a,staticRowHeight:h,rowCount:e,viewService:r}),lineClamp:f}},Wz=(e,t)=>{O((()=>()=>{t(0)}),[e,t]);const r=_((e=>{const r=Pz(e);void 0!==r&&t(r)}),[t]);Iz(e,r)};var Vz;!function(e){e.Left="Left",e.Right="Right",e.Up="Up",e.Down="Down",e.None="None"}(Vz||(Vz={}));const Uz=({layout:e,loadRows:t,loadColumns:r,rowCount:n,pageInfo:o,gridState:i,viewService:a})=>_((({overscanColumnStartIndex:s,overscanColumnStopIndex:l,overscanRowStartIndex:u,overscanRowStopIndex:c,visibleColumnStartIndex:d,visibleColumnStopIndex:p,visibleRowStartIndex:f,visibleRowStopIndex:h})=>{const{verticalScrollDirection:m,horizontalScrollDirection:g}=(({overscanColumnStartIndex:e,overscanRowStartIndex:t},r,n)=>{let o=Vz.None,i=Vz.None;return o=n>t?Vz.Down:n<t?Vz.Up:Vz.None,i=r>e?Vz.Right:r<e?Vz.Left:Vz.None,{verticalScrollDirection:o,horizontalScrollDirection:i}})(i.current,s,u);if(i.current.overscanColumnStartIndex=s,i.current.overscanColumnStopIndex=l,i.current.overscanRowStartIndex=u,i.current.overscanRowStopIndex=c,u>n)return;const b=s,v=u+o.page*o.rowsPerPage,y=l-s+1,x=c-u+1;if(a.visibleLeft=d,a.visibleWidth=p-d+1,a.visibleTop=f+o.page*o.rowsPerPage,a.visibleHeight=h-f+1,a.page=o.page,a.rowsPerPage=o.rowsPerPage,m===Vz.Down){const e=x+25;t(b,v,y,u+e>n?n-u:e)}else if(m===Vz.Up){const e=x+25,r=o.page*o.rowsPerPage,n=Math.max(r,v-25);t(b,n,y,e)}if(g===Vz.Right){const t=e.qHyperCube.qSize.qcx-b,n=y+5,o=Math.min(t,n);r(b,v,o,x)}else if(g===Vz.Left){const t=Math.max(0,b-5),n=Math.min(e.qHyperCube.qSize.qcx,y+5);r(t,v,n,x)}}),[i,n,o.page,o.rowsPerPage,a,t,e.qHyperCube.qSize.qcx,r]),Yz={enabled:!1},Kz=()=>{},Xz={current:null};const Jz=(e,t,r,n,o)=>{const i=Math.min(t.rowsPerPage,e.qHyperCube.qSize.qcy-t.page*t.rowsPerPage),a=Math.min(i,Math.ceil(r.height/o)),s=E((()=>n.reduce(((e,t)=>e.width<r.width?{width:e.width+t,count:e.count+1}:e),{count:0,width:0})),[r,n]).count;return{rowCount:i,visibleRowCount:a,visibleColumnCount:s}},Zz=({columnIndex:e,data:t,rowIndex:r})=>{var n,o;const i=null===(n=t.rowsInPage[r])||void 0===n?void 0:n[e];return null!==(o=null==i?void 0:i.id)&&void 0!==o?o:`${r}-${e}`},Qz={overflow:"hidden",willChange:"auto"};var eF=T(D(((e,t)=>{var r;const{rect:n,columns:o,pageInfo:i,headerAndTotalsHeight:a,setInnerBodyHeight:s}=e,{layout:l,model:u,theme:c,viewService:d,styleService:p,direction:f}=QT(KT,(e=>e.baseProps)),h=QT(KT,(e=>e.columnWidths)),m=QT(KT,(e=>e.initialDataPages)),g=M(null),b=M(null),v=M({overscanColumnStartIndex:0,overscanRowStartIndex:0,overscanColumnStopIndex:0,overscanRowStopIndex:0}),y=M(0),x=!(null===(r=_T(l))||void 0===r||null===(r=r.content)||void 0===r||!r.hoverEffect),{rowCount:S,visibleRowCount:C,visibleColumnCount:R}=Jz(l,i,n,h,p.contentMinRowHeight),{setMeasuredCellHeight:A,setEstimatedCellHeight:k,getRowHeight:P,lineClamp:I,totalRowHeight:L}=Gz({rowCount:S,isSnapshot:!!l.snapshotData,viewService:d,gridRef:g,pageInfo:i}),{rowsInPage:_,loadRows:D,loadColumns:T}=zz({layout:l,model:u,theme:c,initialDataPages:m,pageInfo:i,rowCount:S,visibleRowCount:C,visibleColumnCount:R,columns:o,gridState:v,setEstimatedCellHeight:k}),q=Uz({layout:l,loadRows:D,loadColumns:T,rowCount:S,pageInfo:i,gridState:v,viewService:d}),N=tN(),z=E((()=>({rowsInPage:_,columns:o,isHoverEnabled:x,lineClamp:I,setMeasuredCellHeight:A,resizeObserverTaskScheduler:N})),[_,o,x,I,A,N]),F=((e,t,r)=>Math.min(e.height-t,r))(n,a,L);return O((()=>{var e;1===y.current&&(null===(e=g.current)||void 0===e||e.scrollToItem({rowIndex:S-1,align:"start"}))})),function(e){const{selectionsAPI:t}=QT(KT,(e=>e.baseProps)),r=QT(KT,(e=>e.selectionDispatch));w((()=>{r({type:aI.UpdatePageRows,payload:{pageRows:e}})}),[r,e]),rN({selectionsAPI:t,selectionDispatch:r,updateShouldRefocus:Kz,keyboard:Yz,tableWrapperRef:Xz})}(_),j(t,(()=>({interpolatedScrollTo:(e,t)=>{var r,n;const o=(null!==(r=null===(n=b.current)||void 0===n?void 0:n.clientHeight)&&void 0!==r?r:F)-F,i=Math.round(o*e);var a,s,l;(y.current=e,1===y.current)?(null===(a=g.current)||void 0===a||a.scrollToItem({rowIndex:S-1,align:"start"}),null===(s=g.current)||void 0===s||s.scrollTo({scrollLeft:t})):null===(l=g.current)||void 0===l||l.scrollTo({scrollTop:i,scrollLeft:t})}})),[b,F,S]),Wz(b,s),Rl.jsx(fz,{"data-key":"body",ref:g,innerRef:b,style:Qz,columnCount:l.qHyperCube.qSize.qcx,columnWidth:e=>h[e],height:F,rowCount:S,rowHeight:P,estimatedRowHeight:d.estimatedRowHeight,width:n.width,itemData:z,onItemsRendered:q,itemKey:Zz,className:"sn-table-body",direction:f,children:Dz})})));const tF=({width:e,height:t,children:r})=>Rl.jsx("div",{"data-key":"full-size-container",style:{display:"block",width:e,height:t},children:r}),rF=(e,t)=>{const r=M(null),n=QT(KT,(e=>e.columnWidths));O((()=>{r.current&&t(r.current.getBoundingClientRect().height+9,e)}),[t,r,e,n.length]);const o=_((r=>{const n=Pz(r);n&&t(n+9,e)}),[e,t]);return Iz(r,o),r},nF=HP("div",{shouldForwardProp:e=>"interactions"!==e&&"hoverBackground"!==e&&"background"!==e&&"applicableStyle"!==e})((({interactions:e,hoverBackground:t,background:r,applicableStyle:n})=>({...n,background:r,"&&:hover":{background:e.active?t:void 0}}))),oF=({index:e,style:t,data:r})=>{const{columns:n,columResizeHandler:o,allColumnsIconVisibilityStatusRef:i,setMeasuredCellHeight:a}=r,{interactions:s,styleService:l,direction:u}=QT(KT,(e=>e.baseProps)),c=QT(KT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()})),d=QT(KT,(e=>e.showRightBorder)),p=QT(KT,(e=>e.tableData.totalsPosition)),f=!!s.active&&!c,{open:h,setOpen:m,handleOpenMenu:g,setIsAdjustingWidth:b}=$j({isInteractionEnabled:f,columnsData:n}),v=rF(e,a),y=n[e],x=n.length-1===e;return Rl.jsxs(nF,{className:`sn-table-cell ${uS}`,title:s.passive?y.label:void 0,onClick:g,applicableStyle:{...l.header,...wj(l,p,!0)},style:{...t,cursor:"pointer",display:"flex",alignItems:"flex-end",borderStyle:"solid",borderRightWidth:$N(u,x,d),borderLeftWidth:HN(u,x,d),borderTopWidth:"0px",borderBottomWidth:"1px",padding:"4px",justifyContent:y.headTextAlign,boxSizing:"border-box",zIndex:n.length-e,flexDirection:"right"===y.headTextAlign?"row-reverse":"row",userSelect:"none"},interactions:s,hoverBackground:l.headerMenuHoverBackground,background:h?l.headerMenuActiveBackground:l.header.background,children:[Rl.jsx(Fj,{forwardRef:v,column:y,isInteractionEnabled:f,open:h,setOpen:m,allColumnsIconVisibilityStatusRef:i}),Rl.jsx(Lj,{column:y,isLastColumn:x,onColumnResize:o,setIsAdjustingWidth:b})]})},iF=e=>{const[t,r]=C(new Map);tS((()=>{r(new Map)}),[e.length]);const n=_(((e,t)=>{r((r=>$z(r.get(t),e)?new Map(r).set(t,e):r))}),[]);return{rowHeight:E((()=>Fz(t)),[t]),setMeasuredCellHeight:n}},aF=(e,t)=>{j(e,(()=>({scrollTo:e=>{var r;return null===(r=t.current)||void 0===r?void 0:r.scrollTo(e)}})),[t])},sF=(e,t,r,n,o)=>{tS((()=>{var t;null===(t=e.current)||void 0===t||t.resetAfterIndex(0,!1)}),[t,r,e,n,o])},lF={overflow:"hidden",boxSizing:"border-box",willChange:"auto"},uF=D(((e,t)=>{const{rect:r,columns:n,pageInfo:o,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setHeaderRowHeight:s}=e,l=M(null),u=M(null),{layout:c,theme:d,styleService:p,direction:f,viewService:h}=QT(KT,(e=>e.baseProps)),m=QT(KT,(e=>e.columnWidths)),{rowHeight:g,setMeasuredCellHeight:b}=iF(n),v=Ij(h,c);return aF(t,l),sF(l,c,o,m,d),Wz(u,s),Rl.jsx(Sz,{ref:l,outerRef:u,layout:"horizontal",style:{...lF,...v?{display:"none"}:void 0},itemCount:c.qHyperCube.qSize.qcx,itemSize:e=>m[e],height:Math.max(g+8,p.headerMinRowHeight),width:r.width,itemData:{columns:n,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setMeasuredCellHeight:b},direction:f,children:oF})}));var cF=T(uF);const dF=D(((e,t)=>{const{children:r,width:n,height:o,onScroll:i}=e,{interactions:a,direction:s}=QT(KT,(e=>e.baseProps));return Rl.jsx("div",{"data-testid":"scrollable-container",ref:t,style:{overflow:a.scroll?"auto":"hidden",width:n,height:o},onScroll:i,dir:s,children:r})})),pF=({children:e,rect:t})=>{const{direction:r}=QT(KT,(e=>e.baseProps));return Rl.jsx("div",{"data-testid":"sticky-container",style:{position:"sticky",top:"0px",left:"rtl"!==r?"0px":void 0,right:"rtl"===r?"0px":void 0,width:t.width,height:t.height},children:e})},fF=({index:e,style:t,data:r})=>{const{columns:n,totals:o,setMeasuredCellHeight:i}=r,{layout:a,interactions:s,styleService:l,direction:u}=QT(KT,(e=>e.baseProps)),c=QT(KT,(e=>e.showRightBorder)),d=rF(e,i),p=n[e].totalInfo,{totalsTextAlign:f,isTotalNumeric:h}=n[e],m=a.qHyperCube.qSize.qcx-1===e;return Rl.jsx("div",{className:`sn-table-cell ${uS}`,title:s.passive?p:void 0,style:{...t,...l.totalRow,...wj(l,o,!1),background:l.totalRow.background,display:"flex",alignItems:o.atTop?"end":"start",borderStyle:"solid",borderRightWidth:$N(u,m,c),borderLeftWidth:HN(u,m,c),borderTopWidth:o.atBottom?"1px":"0px",borderBottomWidth:o.atTop?"1px":"0px",padding:"4px 12px",justifyContent:f,textAlign:f,boxSizing:"border-box",cursor:"default"},children:Rl.jsx(kN,{forwardRef:h?void 0:d,isNumeric:h,children:p})})},hF=D(((e,t)=>{const{rect:r,pageInfo:n,totals:o,columns:i,setTotalsRowHeight:a}=e,s=M(null),l=M(null),{layout:u,theme:c,styleService:d,direction:p}=QT(KT,(e=>e.baseProps)),f=QT(KT,(e=>e.columnWidths)),{rowHeight:h,setMeasuredCellHeight:m}=iF(i);return aF(t,s),sF(s,u,n,f,c),Wz(l,a),Rl.jsx(Sz,{ref:s,outerRef:l,layout:"horizontal",style:lF,itemCount:u.qHyperCube.qSize.qcx,itemSize:e=>f[e],height:Math.max(h,d.totalRowMinHeight),width:r.width,itemData:{columns:i,totals:o,setMeasuredCellHeight:m},direction:p,children:fF})}));var mF=T(hF);const gF=(e,t,r,n,o)=>_((i=>{var a,s,l;const{scrollHeight:u,clientHeight:c,scrollTop:d}=i.currentTarget,p=((e,t)=>{const{scrollWidth:r,clientWidth:n,scrollLeft:o}=e,i=r-n;if("rtl"===t){if(o>i)return i;if(o<0)return Math.abs(o)}return o})(i.currentTarget,o),f=Math.max(0,Math.min(1,d/(u-c)));n.scrollTopRatio=f,n.scrollLeft=p,null===(a=r.current)||void 0===a||a.interpolatedScrollTo(Number.isNaN(f)?0:f,p),null===(s=e.current)||void 0===s||s.scrollTo(p),null===(l=t.current)||void 0===l||l.scrollTo(p)}),[n,r,e,t,o]),bF=e=>{const{pageInfo:t}=e,{totalsPosition:r,columns:n,paginationNeeded:o}=QT(KT,(e=>e.tableData)),{layout:i,theme:a,rect:s,viewService:l,direction:u}=QT(KT,(e=>e.baseProps)),c=QT(KT,(e=>e.columnWidths)),d=QT(KT,(e=>e.setYScrollbarWidth)),p=M(null),f=M(null),h=M(null),m=M(null),{xScrollbarWidth:g,yScrollbarWidth:b}=Yq(p),v=M([]),y=E((()=>((e,t)=>{const r=e.height-(t?41:0);return{width:e.width,height:r}})(s,o)),[s,o]),x=E((()=>((e,t,r)=>({width:e.width-r,height:e.height-t}))(y,g,b)),[y,g,b]),{rowCount:S}=Jz(i,t,x,c,0),{headerAndTotalsHeight:w,innerBodyHeight:R,setHeaderRowHeight:A,setTotalsRowHeight:k,setInnerBodyHeight:P}=(()=>{const[e,t]=C(0),[r,n]=C(0),[o,i]=C(0);return{headerAndTotalsHeight:e+r,innerBodyHeight:o,setHeaderRowHeight:t,setTotalsRowHeight:n,setInnerBodyHeight:i}})(),{width:I,height:L}=(({innerBodyHeight:e,headerAndTotalsHeight:t,rowCount:r,stickyContainerRect:n,columnWidths:o})=>{const{styleService:i}=QT(KT,(e=>e.baseProps)),a=e+t,s=r*i.contentMinRowHeight+t;let l=s;return s<n.height&&a>n.height&&(l=a),{width:o.reduce(((e,t)=>e+t),0),height:l}})({innerBodyHeight:R,headerAndTotalsHeight:w,rowCount:S,stickyContainerRect:x,columnWidths:c}),D=gF(f,h,m,l,u),T=_((()=>{p.current&&(p.current.scrollTop=0)}),[p]);Fq(),O((()=>{p.current&&(p.current.scrollLeft=0,p.current.scrollTop=0)}),[n.length]),O((()=>{p.current&&(p.current.scrollTop=0)}),[t,S,a]),kq((()=>{d(b)}),[b]);const q=Rl.jsx(mF,{rect:x,pageInfo:t,columns:n,ref:h,totals:r,setTotalsRowHeight:k},"totals");return Rl.jsx(dF,{ref:p,width:y.width,height:y.height,onScroll:D,children:Rl.jsx(tF,{width:I,height:L,children:Rl.jsxs(pF,{rect:x,children:[Rl.jsx(cF,{rect:x,pageInfo:t,columns:n,ref:f,columResizeHandler:T,allColumnsIconVisibilityStatusRef:v,setHeaderRowHeight:A}),r.atTop?q:null,Rl.jsx(eF,{ref:m,rect:x,pageInfo:t,columns:n,headerAndTotalsHeight:w,setInnerBodyHeight:P}),r.atBottom?q:null]})})})};var vF=T(bF);const yF=()=>{const{theme:e,keyboard:t,translator:r,interactions:n,rect:o,layout:i}=QT(KT,(e=>e.baseProps)),{paginationNeeded:a,totalRowCount:s,totalColumnCount:l,totalPages:u}=QT(KT,(e=>e.tableData)),c=QT(KT,(e=>e.pageInfo)),d=QT(KT,(e=>e.setPage));return Rl.jsxs(Rq,{"data-testid":"sn-table",background:e.background,children:[Rl.jsx(vF,{pageInfo:c}),Rl.jsx(Eq,{paginationNeeded:a,handleChangePage:e=>{d(e)},pageInfo:c,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:t,translator:r,theme:e,interactions:n,rect:o,layout:i})]})};var xF=T(yF);var SF={SNTable_Accessibility_Ascending:{id:"SNTable.Accessibility.Ascending",locale:{"de-DE":"Aufsteigend","en-US":"Ascending","es-ES":"Ascendente","fr-FR":"Croissant","it-IT":"Crescente","ja-JP":"昇順","ko-KR":"오름차순","nl-NL":"Oplopend","pl-PL":"Rosnąco","pt-BR":"Crescente","ru-RU":"По возрастанию","sv-SE":"Stigande","tr-TR":"Artan","zh-CN":"升序","zh-TW":"遞增"}},SNTable_Accessibility_ColumnOptions:{id:"SNTable.Accessibility.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбцов","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},SNTable_Accessibility_Descending:{id:"SNTable.Accessibility.Descending",locale:{"de-DE":"Absteigend","en-US":"Descending","es-ES":"Descendente","fr-FR":"Décroissant","it-IT":"Decrescente","ja-JP":"降順","ko-KR":"내림차순","nl-NL":"Aflopend","pl-PL":"Malejąco","pt-BR":"Decrescente","ru-RU":"По убыванию","sv-SE":"Fallande","tr-TR":"Azalan","zh-CN":"降序","zh-TW":"遞減"}},SNTable_Accessibility_NavigationInstructions:{id:"SNTable.Accessibility.NavigationInstructions",locale:{"de-DE":"Verwenden Sie die Pfeiltasten, um zwischen den Tabellenzellen zu navigieren, und die Tabulatortaste, um zu den Paginierungssteuerelementen zu wechseln. Drücken Sie die Leertaste in den Kopfzellen, um das Spaltenmenü zu öffnen, und drücken Sie die Leertaste in den Körperzellen, um eine Auswahl zu treffen. Duch die Auswahl wird der Seiteninhalt aktualisiert. Die vollständige Liste der Navigationssteuerungen finden Sie in der Dokumentation.","en-US":"Use arrow keys to navigate between table cells and tab to move to pagination controls. Press space on header cells to open the column menu, press space on body cells to make selections. Selections will cause content on the page to be updated. The full list of navigation controls can be found in the documentation.","es-ES":"Utilice las teclas de flecha para desplazarse entre las celdas de la tabla y la pestaña a fin de pasar a los controles de paginación. Pulse la barra espaciadora en las celdas del encabezado para abrir el menú de columnas; pulse la barra espaciadora en las celdas del cuerpo para realizar selecciones. Las selecciones harán que se actualice el contenido de la página. Encontrará la lista completa de controles de navegación en la documentación.","fr-FR":"Utilisez les touches fléchées pour naviguer parmi les cellules du tableau et la tabulation pour accéder aux commandes de pagination. Appuyez sur la touche Espace dans les cellules d'en-tête pour ouvrir le menu de la colonne. Appuyez sur Espace dans les cellules de corps pour effectuer une sélection. Les sélections actualiseront le contenu de la page. Vous pouvez consulter la liste complète des commandes de navigation dans la documentation.","it-IT":"Utilizzare i tasti freccia per navigare tra le celle della tabella e il tasto TAB per passare ai controlli di paginazione. Premere lo spazio nelle celle dell'intestazione per aprire il menu della colonna; premere lo spazio nelle celle del corpo per effettuare selezioni. Le selezioni determineranno l'aggiornamento del contenuto della pagina. È possibile trovare l'elenco completo dei controlli di navigazione nella documentazione.","ja-JP":"矢印キーで表のセル間を移動し、タブ キーでページネーション コントロールに移動します。ヘッダー セルでスペースを押すと列メニューが開き、ボディ セルでスペースを押すと選択ができます。選択によって、ページのコンテンツが更新されます。ナビゲーション コントロールの全リストは、ドキュメントをご覧ください。","ko-KR":"화살표 키를 사용하여 표 셀 사이를 탐색하고, 탭을 사용하여 페이지 번호 컨트롤로 이동하십시오. 헤더 셀에서 스페이스바를 눌러 열 메뉴를 열고, 본문 셀에서 스페이스바를 눌러 선택하십시오. 선택하면 페이지의 콘텐츠가 업데이트됩니다. 전체 탐색 컨트롤 목록은 설명서에서 확인할 수 있습니다.","nl-NL":"Gebruik de pijltjestoetsen om te navigeren tussen tabelcellen en de Tab-toets om naar besturingselementen voor paginering te gaan. Druk op de spatietoets in koptekstcellen om het kolommenu te openen, druk op de spatietoets in hoofdtekstcellen om selecties te maken. Door selecties te maken, wordt de inhoud op de pagina bijgewerkt. De volledige lijst met besturingselementen voor navigatie vindt u in de documentatie.","pl-PL":"Użyj klawiszy strzałek do poruszania się między komórkami tabeli oraz tabulatora do poruszania się po elementach sterujących stronami. Naciśnij klawisz spacji na komórkach nagłówka, aby otworzyć menu kolumny i naciśnij go na komórkach treści, aby dokonać wyborów. Wybory będą powodować aktualizację zawartości na stronie. Pełną listę nawigacyjnych elementów sterujących można znaleźć w dokumentacji.","pt-BR":"Use as teclas de seta para navegar entre as células da tabela e a tecla Tab para mover para os controles de paginação. Pressione espaço nas células do cabeçalho para abrir o menu da coluna, pressione espaço nas células do corpo para fazer seleções. As seleções farão com que o conteúdo da página seja atualizado. A lista completa de controles de navegação pode ser encontrada na documentação.","ru-RU":"Используйте клавиши со стрелками для перемещения между ячейками таблицы и клавишу табуляции для перехода к элементам управления разбивки на страницы. Нажмите пробел на ячейках заголовка, чтобы открыть меню столбца; нажмите пробел на ячейках тела, чтобы сделать выборки. Выборки приведут к обновлению содержимого страницы. Полный перечень элементов управления навигацией см. в документации.","sv-SE":"Använd piltangenterna för att navigera mellan tabellcellerna och tabbtangenten för att flytta till pagineringskontrollerna. Tryck på mellanslag på rubrikceller för att öppna kolumnmenyn och tryck på mellanslag på innehållsceller för att göra urval. Med urval kommer innehåll på sidan att uppdateras. Den fullständiga listan med navigeringsreglage.","tr-TR":"Tablo hücreleri arasında gezinmek için ok tuşlarını, sayfalandırma kontrollerine geçmek için sekmeyi kullanın. Sütun menüsünü açmak için başlık hücrelerinde boşluğa basın, seçim yapmak için gövde hücrelerinde boşluğa basın. Seçimler, sayfadaki içeriğin güncellenmesine neden olur. Navigasyon kontrollerinin tam listesi belgede bulunabilir.","zh-CN":"使用箭头键在表格单元格之间导航,使用 tab 键移动到分页控件。按标题单元格上的空间打开列菜单,按正文单元格上的空间进行选择。选择将导致页面上的内容更新。导航控件的完整列表可以在文档中找到。","zh-TW":"使用方向鍵以在表格儲存格之間導覽,並使用 Tab 以前往分頁控制。按下標頭儲存格的空白處可開啟欄功能表,按下正文儲存格的空白處可進行選取。選項將會造成更新頁面上的內容。導覽控制的完整清單可見於文件中。"}},SNTable_Accessibility_RowsAndColumns:{id:"SNTable.Accessibility.RowsAndColumns",locale:{"de-DE":"Es werden {0} Zeilen und {1} Spalten angezeigt.","en-US":"Showing {0} rows and {1} columns.","es-ES":"Mostrando {0} filas y {1} columnas.","fr-FR":"Affichage de {0} lignes et de {1} colonnes.","it-IT":"Visualizzazione di {0} righe e {1} colonne.","ja-JP":"{0} 行 {1} 列を表示しています。","ko-KR":"{0}개의 행과 {1}개의 열을 표시합니다.","nl-NL":"{0} rijen en {1} kolommen worden getoond.","pl-PL":"Wyświetlane wiersze: {0} i kolumny: {1}.","pt-BR":"Mostrando {0} linhas e {1} colunas.","ru-RU":"Показаны строки ({0}) и столбцы ({1}).","sv-SE":"Visar {0} rader och {1} kolumner.","tr-TR":"{0} satır ve {1} sütun gösteriliyor.","zh-CN":"正在显示 {0} 行,{1} 列。","zh-TW":"顯示 {0} 列和 {1} 欄。"}},SNTable_MenuItem_AdjustColumnSize:{id:"SNTable.MenuItem.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},SNTable_MenuItem_ClearSelections:{id:"SNTable.MenuItem.ClearSelections",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Selecties wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},SNTable_MenuItem_Search:{id:"SNTable.MenuItem.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},SNTable_MenuItem_SelectAll:{id:"SNTable.MenuItem.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},SNTable_MenuItem_SelectAlternative:{id:"SNTable.MenuItem.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},SNTable_MenuItem_SelectExcluded:{id:"SNTable.MenuItem.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},SNTable_MenuItem_SelectPossible:{id:"SNTable.MenuItem.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},SNTable_MenuItem_Selections:{id:"SNTable.MenuItem.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},SNTable_MenuItem_SortAscending:{id:"SNTable.MenuItem.SortAscending",locale:{"de-DE":"Sortierung in aufsteigender Reihenfolge","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Tri par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},SNTable_MenuItem_SortDescending:{id:"SNTable.MenuItem.SortDescending",locale:{"de-DE":"Sortierung in absteigender Reihenfolge","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Tri par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},SNTable_Pagination_DisplayedRowsLabel:{id:"SNTable.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{1}의 {0}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},SNTable_Pagination_FirstPage:{id:"SNTable.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},SNTable_Pagination_LastPage:{id:"SNTable.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},SNTable_Pagination_NextPage:{id:"SNTable.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},SNTable_Pagination_PageStatusReport:{id:"SNTable.Pagination.PageStatusReport",locale:{"de-DE":"Die Seite wurde geändert. Seite {0} von {1} wird angezeigt.","en-US":"Page has changed. Showing page {0} of {1}.","es-ES":"La página ha cambiado. Mostrando página {0} de {1}.","fr-FR":"La page a changé. Affichage de la page {0} sur {1}.","it-IT":"La pagina è cambiata. Visualizzazione pagina {0} di {1}.","ja-JP":"ページが変更されました。{1} ページ中の {0} ページ目を表示しています。","ko-KR":"페이지가 변경되었습니다. {1}의 {0} 페이지를 보여 줍니다.","nl-NL":"Pagina is gewijzigd. Pagina {0} van {1} wordt weergeven.","pl-PL":"Strona się zmieniła Wyświetlanie strony {0} z {1}.","pt-BR":"A página mudou. Mostrando página {0} de {1}.","ru-RU":"Страница изменилась. Показана страница {0} из {1}.","sv-SE":"Sidan har ändrats. Visar sida {0} av {1}.","tr-TR":"Sayfa değişti. Sayfa {0} / {1} gösteriliyor.","zh-CN":"页面已更改。显示页面 {0} / {1}。","zh-TW":"頁面已變更。顯示第 {0} 頁,共 {1} 頁。"}},SNTable_Pagination_PreviousPage:{id:"SNTable.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},SNTable_Pagination_RowsPerPage:{id:"SNTable.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},SNTable_Pagination_RowsPerPageChange:{id:"SNTable.Pagination.RowsPerPageChange",locale:{"de-DE":"Zeilen pro Seite wurden in {0} geändert. Jetzt wird die erste Seite angezeigt.","en-US":"Rows per page has changed to {0}. Now showing the first page.","es-ES":"El número de filas por página ha cambiado a {0}. Mostrando ahora la primera página.","fr-FR":"Le nombre de lignes par page a été remplacé par {0}. Affichage en cours de la première page.","it-IT":"Le righe per pagina sono cambiate a {0}. Viene ora mostrata la prima pagina.","ja-JP":"ページあたりの行数が {0} に変更されました。現在、最初のページを表示しています。","ko-KR":"페이지당 행 수가 {0}(으)로 변경되었습니다. 이제 첫 페이지를 보여 줍니다.","nl-NL":"Aantal rijen per pagina is gewijzigd naar {0}. De eerste pagina wordt nu weergegeven.","pl-PL":"Liczba wierszy na stronę została zmieniona na {0}. Wyświetlana jest pierwsza strona.","pt-BR":"Linhas por página mudou para {0}. Agora mostrando a primeira página.","ru-RU":"Количество строк на странице изменилось на {0}. Теперь отображается первая страница.","sv-SE":"Rader per sida har ändrats till {0}. Nu visas första sidan.","tr-TR":"Sayfa başına satır sayısı {0} olarak değiştirildi. Şimdi ilk sayfa gösteriliyor.","zh-CN":"每页行数已更改为 {0}。现在显示第一页。","zh-TW":"每頁列數已變更為 {0}。現在顯示第一頁。"}},SNTable_Pagination_SelectPage:{id:"SNTable.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}},SNTable_SelectionLabel_DeselectedValue:{id:"SNTable.SelectionLabel.DeselectedValue",locale:{"de-DE":"Die Werteauswahl ist aufgehoben.","en-US":"Value is deselected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur est désélectionnée.","it-IT":"Il valore è deselezionato.","ja-JP":"値が選択解除されました。","ko-KR":"값이 선택 취소되었습니다.","nl-NL":"Selectie van waarde opgeheven.","pl-PL":"Wartość nie jest zaznaczona.","pt-BR":"O valor está desmarcado.","ru-RU":"Выбор значения отменен.","sv-SE":"Val av värde har tagits bort.","tr-TR":"Değer seçimi iptal edildi.","zh-CN":"值已取消选择。","zh-TW":"值已取消選取。"}},SNTable_SelectionLabel_ExitedSelectionMode:{id:"SNTable.SelectionLabel.ExitedSelectionMode",locale:{"de-DE":"Die Werteauswahl ist aufgehoben. Auswahlmodus beendet.","en-US":"Value is deselected. Exited selection mode.","es-ES":"El valor no está seleccionado. Salió del modo de selección.","fr-FR":"La valeur est désélectionnée. Mode de sélection désactivé.","it-IT":"Il valore è deselezionato. Uscita dalla modalità selezione.","ja-JP":"値が選択解除されました。選択モードを終了しました。","ko-KR":"값이 선택 취소되었습니다. 선택 모드를 종료했습니다.","nl-NL":"Selectie van waarde opgeheven. Selectiemodus afgesloten.","pl-PL":"Wartość nie jest zaznaczona. Zakończono tryb wyboru.","pt-BR":"O valor está desmarcado. Modo de seleção encerrado.","ru-RU":"Выбор значения отменен. Выполнен выход из режима выборки.","sv-SE":"Val av värde har tagits bort. Lämnade urvalsläge.","tr-TR":"Değer seçimi iptal edildi. Seçim modundan çıkıldı.","zh-CN":"值已取消选择。已退出选择模式。","zh-TW":"值已取消選取。輸入的選取模式。"}},SNTable_SelectionLabel_NotSelectedValue:{id:"SNTable.SelectionLabel.NotSelectedValue",locale:{"de-DE":"Wert ist nicht ausgewählt.","en-US":"Value is not selected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur n'est pas sélectionnée.","it-IT":"Il valore non è selezionato.","ja-JP":"値が選択されていません。","ko-KR":"값이 선택되지 않았습니다.","nl-NL":"Waarde is niet geselecteerd.","pl-PL":"Wartość nie jest wybrana.","pt-BR":"O valor não está selecionado.","ru-RU":"Значение не выбрано.","sv-SE":"Värdet är inte valt.","tr-TR":"Değer seçilmedi.","zh-CN":"未选择值。","zh-TW":"未選取值。"}},SNTable_SelectionLabel_OneSelectedValue:{id:"SNTable.SelectionLabel.OneSelectedValue",locale:{"de-DE":"Aktuell ist ein Wert ausgewählt.","en-US":"Currently there is one selected value.","es-ES":"Actualmente hay un valor seleccionado.","fr-FR":"Actuellement, une valeur est sélectionnée.","it-IT":"Attualmente è presente un solo valore selezionato.","ja-JP":"現在、値が 1 つ選択されています。","ko-KR":"현재 하나의 값이 선택되었습니다.","nl-NL":"Er is momenteel één waarde geselecteerd.","pl-PL":"Aktualnie jest jedna wybrana wartość.","pt-BR":"Atualmente, há um valor selecionado.","ru-RU":"В настоящее время выбрано одно значение.","sv-SE":"Just nu är ett värde valt.","tr-TR":"Şu anda seçili bir değer var.","zh-CN":"当前有一个已选择的值。","zh-TW":"目前有一個選取的值。"}},SNTable_SelectionLabel_SelectedValue:{id:"SNTable.SelectionLabel.SelectedValue",locale:{"de-DE":"Wert ist ausgewählt.","en-US":"Value is selected.","es-ES":"El valor está seleccionado.","fr-FR":"La valeur est sélectionnée.","it-IT":"Il valore è selezionato.","ja-JP":"値が選択されました。","ko-KR":"값이 선택되었습니다.","nl-NL":"Waarde is geselecteerd.","pl-PL":"Wartość jest wybrana.","pt-BR":"O valor está selecionado.","ru-RU":"Значение выбрано.","sv-SE":"Värdet är valt.","tr-TR":"Değer seçildi.","zh-CN":"已选择值。","zh-TW":"已選取值。"}},SNTable_SelectionLabel_SelectedValues:{id:"SNTable.SelectionLabel.SelectedValues",locale:{"de-DE":"Aktuell sind {0} Werte ausgewählt.","en-US":"Currently there are {0} selected values.","es-ES":"Actualmente hay {0} valores seleccionados.","fr-FR":"Actuellement, {0} valeurs sont sélectionnées.","it-IT":"Attualmente sono presenti {0} valori selezionati.","ja-JP":"現在、値が {0} つ選択されています。","ko-KR":"현재 {0}개의 값이 선택되었습니다.","nl-NL":"Er zijn momenteel {0} geselecteerde waarden.","pl-PL":"Liczba aktualnie wybranych wartości: {0}.","pt-BR":"Atualmente, há {0} valores selecionados.","ru-RU":"В настоящее время выбраны значения: {0}.","sv-SE":"Just nu är {0} värden valda.","tr-TR":"Şu anda seçili {0} değer var.","zh-CN":"当前有 {0} 个已选择的值。","zh-TW":"目前有 {0} 個選取的值。"}},SNTable_SelectionLabel_SelectionsConfirmed:{id:"SNTable.SelectionLabel.SelectionsConfirmed",locale:{"de-DE":"Auswahl bestätigt.","en-US":"Selections confirmed.","es-ES":"Confirmadas las selecciones.","fr-FR":"Sélections confirmées.","it-IT":"Selezioni confermate.","ja-JP":"選択が確定されました。","ko-KR":"선택 내용이 확인되었습니다.","nl-NL":"Selecties bevestigd.","pl-PL":"Potwierdzono wybory.","pt-BR":"Seleções confirmadas.","ru-RU":"Выборки подтверждены.","sv-SE":"Valen har bekräftats.","tr-TR":"Seçimler onaylandı.","zh-CN":"选择已确认。","zh-TW":"選項已確認。"}},SNTable_SelectionLabel_selected:{id:"SNTable.SelectionLabel.selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбрано","sv-SE":"Urval","tr-TR":"Seçildi","zh-CN":"已选择","zh-TW":"已選取"}},SNTable_SortLabel_PressSpaceToSort:{id:"SNTable.SortLabel.PressSpaceToSort",locale:{"de-DE":"Drücken Sie die Leertaste, um nach dieser Spalte zu sortieren","en-US":"Press space to sort on this column","es-ES":"Pulse la barra espaciadora para ordenar en esta columna.","fr-FR":"Appuyez sur Espace pour trier en fonction de cette colonne.","it-IT":"Premere la barra spaziatrice per ordinare questa colonna","ja-JP":"スペース キーを押して、この列をソートします","ko-KR":"이 열을 정렬하려면 스페이스바를 누르십시오.","nl-NL":"Druk op de spatiebalk om sorteren in deze kolom in te schakelen","pl-PL":"Naciśnij spację, aby posortować według tej kolumny","pt-BR":"Pressione espaço para classificar por esta coluna","ru-RU":"Нажмите пробел, чтобы отсортировать по этому столбцу","sv-SE":"Tryck på Blanksteg om du vill sortera efter den här kolumnen","tr-TR":"Bu sütunda sıralama yapmak için boşluk tuşuna basın.","zh-CN":"按下空格键以在该列上排序。","zh-TW":"在此欄按下空格鍵以進行排序"}},SNTable_SortLabel_SortedAscending:{id:"SNTable.SortLabel.SortedAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortiert.","en-US":"Sorted in ascending order.","es-ES":"Ordenado por orden ascendente.","fr-FR":"Tri dans l'ordre croissant.","it-IT":"Ordinato in ordine crescente.","ja-JP":"昇順で並べ替えられます。","ko-KR":"오름차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in oplopende volgorde.","pl-PL":"Posortowane rosnąco.","pt-BR":"Classificado em ordem crescente.","ru-RU":"Сортировка в порядке возрастания.","sv-SE":"Sorterat i stigande ordning.","tr-TR":"Artan düzende sıralanmıştır.","zh-CN":"已按升序排列。","zh-TW":"已依遞增順序排序。"}},SNTable_SortLabel_SortedDescending:{id:"SNTable.SortLabel.SortedDescending",locale:{"de-DE":"In absteigender Reihenfolge sortiert.","en-US":"Sorted in descending order.","es-ES":"Ordenado por orden descendente.","fr-FR":"Tri dans l'ordre décroissant.","it-IT":"Ordinato in ordine decrescente.","ja-JP":"降順で並べ替えられます。","ko-KR":"내림차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in aflopende volgorde.","pl-PL":"Posortowane malejąco.","pt-BR":"Classificado em ordem decrescente.","ru-RU":"Сортировка в порядке убывания.","sv-SE":"Sorterat i fallande ordning.","tr-TR":"Azalan düzende sıralanmıştır.","zh-CN":"已按降序排列。","zh-TW":"已依遞減順序排序。"}}};const CF=(t,r)=>e((()=>(function(e){const t="SNTable.Accessibility.RowsAndColumns";e.get(t)===t&&Object.keys(SF).forEach((t=>{e.add(SF[t])}))}(r),((e,t)=>{let r;return({keys:n,politeness:o="polite"})=>{const i=n.map((e=>{if(Array.isArray(e)){const[r,...n]=e;return t.get(r,n)}return t.get(e)})).join(" "),a=e.querySelector(`.${lI.First}`),s=e.querySelector(`.${lI.Second}`);if(!a||!s)return void console.error("could not find aria-live elements, which means accessibility is not working properly");let l;r===lI.First?(l=s,r=lI.Second):(l=a,r=lI.First),l.innerHTML=l.innerHTML.endsWith(" ­")?i:`${i} ­`,l.setAttribute("aria-live",o)}})(t,r))),[t,r.language()]),EF={page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]},wF=e=>{const{app:r,model:i,rootElement:a,layout:s,translator:l,reactRoot:u,isFontLoaded:c,viewService:d,env:p}=e,{direction:f,footerContainer:h}=t(),m=AR(s,d),g=CF(a,l),[b,v]=n(((e,t)=>RR(e,t)?{page:t.page||EF.page,rowsPerPage:t.rowsPerPage||EF.rowsPerPage,rowsPerPageOptions:EF.rowsPerPageOptions}:EF)(s,d)),[y,x]=n(!0);y||x(!0);const[S,C]=Yx((async()=>m?async function(e,t,r,n,o,i,a,s){var l,u,c,d;const{page:p,rowsPerPage:f,rowsPerPageOptions:h}=r,m=t.qHyperCube.qSize.qcx,g=t.qHyperCube.qSize.qcy,b=Math.ceil(g/f),v=null!==(l=o.visibleTop)&&void 0!==l?l:p*f,y=null!==(u=o.visibleHeight)&&void 0!==u?u:Math.min(f,g-v);if(p>0&&v>=g)return n({...r,page:0}),null;if(y*m>bR)return n({...r,rowsPerPage:vR(m,h),page:0}),null;const x=g>10,S=yR(t,o),C=wR(t,a,s),E=!!t.snapshotData,w=await(async(e,t,r)=>{if(t.snapshotData)return t.qHyperCube.qDataPages;const n=t.qHyperCube.qDataPages.at(0),o=null==n?void 0:n.qArea;return n&&(null==o?void 0:o.qLeft)===r.qLeft&&o.qTop===r.qTop&&o.qWidth===r.qWidth&&o.qHeight>=r.qHeight?[{...n,qMatrix:n.qMatrix.slice(0,r.qHeight)}]:e&&"getHyperCubeData"in e?e.getHyperCubeData("/qHyperCubeDef",[r]):[]})(e,t,{qLeft:0,qTop:v,qHeight:y,qWidth:m});E||(o.qTop=v,o.qHeight=y,o.rowsPerPage=r.rowsPerPage,o.page=r.page);const R=null!==(c=null===(d=w.at(0))||void 0===d?void 0:d.qMatrix.map(((e,r)=>{const n=[];return C.forEach(((o,l)=>{const u=e[l],c=gR(o.isDim,u,t),d=!o.isDim&&u.qIsNull,p=d?fw(c):pw(u);n[l]={id:uw(),...u,align:ER(p,o.bodyTextAlign,s,a),rowIdx:r+v,colIdx:o.colIdx,pageRowIdx:r,pageColIdx:l,selectionColIdx:o.selectionColIdx,isSelectable:o.isDim&&!o.isLocked,isLastRow:r===y-1,isNumeric:p,isNull:(!d||!p)&&mR(u,o.isDim),representation:hR({cell:u,representationProperties:o.representation,attrExprInfoIndex:o.qAttrExprInfoIndex,env:i,conditionalColoring:o.conditionalColoring,miniChartOnMeasure:o.qMiniChart,getText:()=>d?c:u.qText,direction:s,enabledFeatures:{[pE.Image]:i.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[pE.Indicator]:!0,[pE.MiniChart]:!0}})}})),n})))&&void 0!==c?c:[];return{totalColumnCount:m,totalRowCount:g,totalPages:b,paginationNeeded:x,totalsPosition:S,columns:C,rows:R}}(i,s,b,v,d,p,y,f):null),[s,b,i,m,f]);o((()=>{m&&e.model&&e.changeSortOrder&&S&&c&&!C&&function(e,t){const{direction:r,...n}=e,o=eO(r);t.render(Rl.jsx($d,{stylisPlugins:"rtl"===r?[TI]:void 0,children:Rl.jsx(GP,{theme:o,children:Rl.jsx(ZT,{...e,children:Rl.jsx(Vj,{...n})})})}))}({...e,model:e.model,changeSortOrder:e.changeSortOrder,tableData:S,pageInfo:b,setPageInfo:v,direction:f,footerContainer:h,announce:g},u)}),[g,r,f,h,c,b,u,e,m,S,C])},RF=(t,r)=>e((()=>((e,t)=>{if(t)return async(r,n)=>{if(!("getEffectiveProperties"in t))return;const{isDim:o,colIdx:i,qReverseSort:a,sortDirection:s,isActivelySorted:l}=r,u=o?i:i-e,c=await t.getEffectiveProperties(),d=c.qHyperCubeDef.qInterColumnSortOrder,p=[],f=n!==s||l;if(!o){var h;const e=null===(h=c.qHyperCubeDef.qMeasures.at(u))||void 0===h?void 0:h.qSortBy;void 0===(null==e?void 0:e.qSortByNumeric)&&p.push({qPath:`/qHyperCubeDef/qMeasures/${u}/qSortBy`,qOp:"Replace",qValue:JSON.stringify({...e,qSortByNumeric:"A"===s?1:-1})})}l||(d.splice(d.indexOf(i),1),d.unshift(i),p.push({qPath:"/qHyperCubeDef/qInterColumnSortOrder",qOp:"Replace",qValue:`[${d.join(",")}]`})),f&&p.push({qPath:`/qHyperCubeDef/${o?"qDimensions":"qMeasures"}/${u}/qDef/qReverseSort`,qOp:"Replace",qValue:(!a).toString()}),t.applyPatches(p,!0)}})(t.qDimensionInfo.length,r)),[t.qDimensionInfo.length,r]);const AF=({model:e,layout:t,shouldRender:r,page:n})=>{const[o,i]=Yx((async()=>{if(r&&e)return(async(e,t,r)=>{const{qDataPages:n}=t.qHyperCube;if(0!==r||0===n.length){const n=r*Math.min(hT,t.qHyperCube.qSize.qcy);if(e&&"getHyperCubeData"in e)return e.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:n,qWidth:50,qHeight:100}])}return n})(e,t,n)}),[e,t,n]);return{initialDataPages:o,isLoading:i}},kF=t=>{const{layout:r,model:i,keyboard:a,interactions:s,reactRoot:l,isFontLoaded:u,viewService:c,direction:d}=t,p=!AR(r,c),[f,h]=n(!1);f&&h(!1);const m=e((()=>function(e,t,r,n,o){const i=wR(e,o,n),a=yR(e,r),s=e.qHyperCube.qSize.qcy,l=Math.min(hT,s),u=s>hT&&!!t.active;return{totalsPosition:a,columns:i,rows:[],totalRowCount:s,totalColumnCount:e.qHyperCube.qSize.qcx,totalPages:Math.ceil(s/l),paginationNeeded:u}}(r,s,c,d,f)),[r,s,c,d,f]),{pageInfo:g,setPage:b}=((t,r)=>{const[o,i]=n(0),a=Math.min(hT,t.qHyperCube.qSize.qcy),s=e((()=>({page:o,rowsPerPage:a,rowsPerPageOptions:[]})),[a,o]);if(r){const e=Math.floor(t.qHyperCube.qSize.qcy/hT);e<o&&i(e)}return{pageInfo:s,setPage:i}})(r,p),{initialDataPages:v,isLoading:y}=AF({model:i,layout:r,page:g.page,shouldRender:p});o((()=>{var e;p&&a.active&&(null===(e=a.blur)||void 0===e||e.call(a,!1))}),[a,p]),o((()=>{p&&t.model&&t.changeSortOrder&&v&&!y&&u&&function(e,t){const{direction:r}=e,n=eO(r);t.render(Rl.jsx(x.StrictMode,{children:Rl.jsx(GP,{theme:n,children:Rl.jsx(ZT,{...e,children:Rl.jsx(xF,{})})})}))}({...t,model:t.model,changeSortOrder:t.changeSortOrder,tableData:m,pageInfo:g,setPage:b,initialDataPages:v},l)}),[v,u,y,g,l,t,b,p,m])},PF={version:JSON.stringify("6.0.2"),qHyperCubeDef:{qDimensions:[],qMeasures:[],qColumnOrder:[],qInitialDataFetch:[{qWidth:50,qHeight:100}]},showTitles:!0,enableChartExploration:!1,title:"",subtitle:"",footnote:"",totals:{show:!0,position:"noTotals",label:"Totals"},usePagination:!1,components:[]};function IF(e,t){var r,n;const o=e.getElementsByClassName("sn-table-container")[0];if(!o)return{};const i=o.getBoundingClientRect(),a=e.getElementsByClassName("sn-table-head-row")[0],s=null!==(r=null==a?void 0:a.getBoundingClientRect())&&void 0!==r?r:{height:0},l=e.getElementsByClassName("sn-table-totals-row")[0],u=null!==(n=null==l?void 0:l.getBoundingClientRect())&&void 0!==n?n:{height:0},c=e.getElementsByClassName("sn-table-data-row"),d={top:i.y+s.height+(t.atTop?u.height:0),bottom:i.y+i.height-(t.atBottom?u.height:0)},p=((e,t)=>{if(!e)return-1;for(let r=0;r<e.length;r++)if(e[r].getBoundingClientRect().bottom>t.top)return r;return-1})(c,d),f=((e,t)=>{if(!e)return-1;for(let r=e.length-1;r>-1;r--){const n=e[r].getBoundingClientRect();if(t.bottom>n.top)return r}return-1})(c,d),h=((e,t,r)=>{if(!e||0===e.length||r<0)return 0;const n=e[r].getBoundingClientRect();return Math.max(t.top-n.top,0)})(c,d,p);return{visibleRowStartIndex:p,visibleRowEndIndex:f,rowPartialHeight:h}}const LF=(e,t)=>{if(t)for(let r=0;r<t.length;r++){const n=t[r].getAttribute("rowindex");if(n&&parseInt(n,10)===e)return t[r]}},MF=(e,t,r)=>{if(!e)return!1;const n=e.y+e.height/2;return n>=t&&n<=r};const _F=(e,t,r,n)=>{var o;if(e<0)return 0;const i=r.qHyperCube.qSize.qcy,a=n.rowsPerPage||EF.rowsPerPage,s=null!==(o=n.viewState)&&void 0!==o&&o.isMultiPage?0:3;return Math.min(i,a,e-t+1+s)},DF=(e,t,r)=>{if(t.viewState&&!t.viewState.isMultiPage)return t.viewState;const n=yR(e,t);if(AR(e,t)){const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1,rowPartialHeight:a}=IF(r,n);return{rowPartialHeight:a,scrollLeft:t.scrollLeft,visibleTop:t.qTop+o,visibleHeight:_F(i,o,e,t),rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}}const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1}=function(e,t){const r=e.querySelector(".sn-table-body"),n=null==r?void 0:r.getBoundingClientRect(),o=null==r?void 0:r.querySelectorAll(".sn-table-body .sn-table-cell");if(!o||!n)return{};const{scrollTopRatio:i=0,visibleTop:a=0,visibleHeight:s=0,page:l=0,rowsPerPage:u=0}=t,c=l*u,d=a-c,p=d+s-1,f=LF(d,o),h=null==f?void 0:f.getBoundingClientRect();if(!f||!h)return{};const m=n.y;if(1-i<.001)return{visibleRowStartIndex:d+(h.y>=m-4?0:1)+c,visibleRowEndIndex:p+c};const g=n.y+n.height,b=(MF(h,m,g)?d:d+1)+c;let v=p+c;const y=LF(p,o),x=null==y?void 0:y.getBoundingClientRect();return y&&x&&(MF(x,m,g)||(v=p-1+c)),{visibleRowStartIndex:b,visibleRowEndIndex:v}}(r,t);return{scrollLeft:t.scrollLeft,visibleLeft:t.visibleLeft,visibleWidth:t.visibleWidth,visibleTop:o,visibleHeight:_F(i,o,e,t),scrollTopRatio:t.scrollTopRatio,rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}},TF=e=>e.getStyle("","","object.straightTableV2.backgroundColor"),OF=e=>e.getStyle("object","straightTableV2","backgroundColor");function qF(r){return{qae:{properties:{initial:PF},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}}]},importProperties:e=>iE({...e}),exportProperties:QC,exploration:aE},ext:tw(r),component(){var n;const i=c(),y=(t=>{const r=e((()=>Zx(t)),[t]);return o((()=>()=>{r.unmount()}),[r]),r})(i),x=d(),S=p(),C=f(),E=(e=>{const t=a();return{...t,select:!!t.active&&!!t.select&&!e,active:!!t.active&&!e,scroll:!!t.active}})(!!x.snapshotData),w=h(),R=m(),A=g(),k=t(),{freeResize:P}=k,I=b(),L=e((()=>{var e;return null!==(e=x.snapshotData)&&void 0!==e&&e.content&&!P?{...I,...x.snapshotData.content.size}:I}),[I,P,null===(n=x.snapshotData)||void 0===n?void 0:n.content]),M=(r=>{const{viewState:n}=t();return e((()=>((e,t)=>{var r,n,o,i,a,s,l,u,c,d,p,f,h,m,g,b,v;return{qTop:0,qHeight:0,rowPartialHeight:null!==(r=null==t||null===(n=t.content)||void 0===n?void 0:n.rowPartialHeight)&&void 0!==r?r:0,visibleTop:null!==(o=null==t||null===(i=t.content)||void 0===i?void 0:i.visibleTop)&&void 0!==o?o:null==e?void 0:e.visibleTop,visibleHeight:null!==(a=null==t||null===(s=t.content)||void 0===s?void 0:s.visibleHeight)&&void 0!==a?a:null==e?void 0:e.visibleHeight,scrollLeft:null!==(l=null!==(u=null==t||null===(c=t.content)||void 0===c?void 0:c.scrollLeft)&&void 0!==u?u:null==e?void 0:e.scrollLeft)&&void 0!==l?l:0,scrollTopRatio:null!==(d=null==t||null===(p=t.content)||void 0===p?void 0:p.scrollTopRatio)&&void 0!==d?d:null==e?void 0:e.scrollTopRatio,rowsPerPage:null!==(f=null==t||null===(h=t.content)||void 0===h?void 0:h.rowsPerPage)&&void 0!==f?f:null==e?void 0:e.rowsPerPage,page:null!==(m=null==t||null===(g=t.content)||void 0===g?void 0:g.page)&&void 0!==m?m:null==e?void 0:e.page,viewState:e,estimatedRowHeight:null!==(b=null==t||null===(v=t.content)||void 0===v?void 0:v.estimatedRowHeight)&&void 0!==b?b:0}})(n,r.snapshotData)),[n,r.snapshotData,r.usePagination])})(x),_=v(),D=Ux(x,i,TF,OF),T=r.flags.isEnabled("CLIENT_IM_7150_TABLE_RTL")?k.direction:"ltr",O=RF(x.qHyperCube,C),q=rw(x.qHyperCube,C),N=((e,t,r)=>{const[,n,o]=Yx((async()=>{var t;const n=ae(r.flags),o=e.getStyle("","","fontFamily"),i=e.getStyle("object","label.name","fontFamily"),a=e.getStyle("object","label.value","fontFamily"),s=null!==(t=e.getStyle("","","fontFamilies"))&&void 0!==t?t:[];return Promise.all([...n,...s,o,i,a,eS].filter((e=>void 0!==e)).map((async e=>{await document.fonts.load(`600 12px ${e}`),await document.fonts.load(`12px ${e}`)})))}),[t,e,r]);return o?(console.warn("Failed to load fonts:",o),!0):!n})(D,x,r),j=bt(),z={app:S,layout:x,model:C,rect:L,theme:D,keyboard:A,translator:w,interactions:E,selectionsAPI:R,changeSortOrder:O,rootElement:i,embed:_,reactRoot:y,applyColumnWidths:q,isFontLoaded:N,downloadService:j,viewService:M,direction:T,env:r};null==s||s(((e,t)=>{const r=t.target,n=null==r?void 0:r.closest(`.${uS}`);null!=n&&n.title&&e.addItem({translation:"contextMenu.copyCellValue",icon:"lui-icon lui-icon--copy",tid:"copy-cell-context-item",select:async()=>{yS(n)}})})),(({layout:e,viewService:t,model:r,rootElement:n,contentRect:o})=>{l((async i=>{const a=i;if(!a.snapshotData||!r||a.snapshotData.content)return a;if("getHyperCubeData"in r){const{rowPartialHeight:i,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h}=DF(e,t,n);a.qHyperCube.qDataPages=await r.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:d,qWidth:e.qHyperCube.qSize.qcx,qHeight:p}]),a.snapshotData.content={rowPartialHeight:i,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h,size:{width:o.width,height:o.height},estimatedRowHeight:t.estimatedRowHeight}}return a})),u((()=>({getViewState:()=>DF(e,t,n)})),[e,t,n])})({layout:x,viewService:M,model:C,rootElement:i,contentRect:I}),kF(z),wF(z)}}}export{qF as default};
196
+ `),UL.rippleVisible,eI,550,(({theme:e})=>e.transitions.easing.easeInOut),UL.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),UL.child,UL.childLeaving,tI,550,(({theme:e})=>e.transitions.easing.easeInOut),UL.childPulsate,rI,(({theme:e})=>e.transitions.easing.easeInOut)),iI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=yr(r,YL),[s,l]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[s]);const d=y.useRef(!1),p=Ph(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;l((e=>[...e,Rl.jsx(oI,{classes:{ripple:Tf(o.ripple,UL.ripple),rippleVisible:Tf(o.rippleVisible,UL.rippleVisible),ripplePulsate:Tf(o.ripplePulsate,UL.ripplePulsate),child:Tf(o.child,UL.child),childLeaving:Tf(o.childLeaving,UL.childLeaving),childPulsate:Tf(o.childPulsate,UL.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},u.current)])),u.current+=1,c.current=a}),[o]),g=y.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(l.width/2),c=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-l.left),c=Math.round(r-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:r})}),[n,m,p]),b=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),v=y.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{v(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),c.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:b,start:g,stop:v})),[b,g,v]),Rl.jsx(nI,yt({className:Tf(UL.root,o.root,i),ref:h},a,{children:Rl.jsx(Ug,{component:null,exit:!0,children:s})}))}));function aI(e){return Nf("MuiButtonBase",e)}const sI=jf("MuiButtonBase",["root","disabled","focusVisible"]),lI=["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"],uI=$P("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"},[`&.${sI.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),cI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:b,onFocusVisible:v,onKeyDown:x,onKeyUp:S,onMouseDown:C,onMouseLeave:E,onMouseUp:w,onTouchEnd:R,onTouchMove:A,onTouchStart:k,tabIndex:P=0,TouchRippleProps:L,touchRippleRef:I,type:M}=r,_=yr(r,lI),D=y.useRef(null),T=y.useRef(null),O=wh(T,I),{isFocusVisibleRef:q,onFocus:N,onBlur:j,ref:z}=Nh(),[F,$]=y.useState(!1);l&&F&&$(!1),y.useImperativeHandle(n,(()=>({focusVisible:()=>{$(!0),D.current.focus()}})),[]);const[H,B]=y.useState(!1);y.useEffect((()=>{B(!0)}),[]);const G=H&&!u&&!l;function W(e,t,r=c){return Eh((n=>{t&&t(n);return!r&&T.current&&T.current[e](n),!0}))}y.useEffect((()=>{F&&d&&!u&&H&&T.current.pulsate()}),[u,d,F,H]);const V=W("start",C),U=W("stop",m),Y=W("stop",g),K=W("stop",w),X=W("stop",(e=>{F&&e.preventDefault(),E&&E(e)})),J=W("start",k),Z=W("stop",R),Q=W("stop",A),ee=W("stop",(e=>{j(e),!1===q.current&&$(!1),f&&f(e)}),!1),te=Eh((e=>{D.current||(D.current=e.currentTarget),N(e),!0===q.current&&($(!0),v&&v(e)),b&&b(e)})),re=()=>{const e=D.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ne=y.useRef(!1),oe=Eh((e=>{d&&!ne.current&&F&&T.current&&" "===e.key&&(ne.current=!0,T.current.stop(e,(()=>{T.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Eh((e=>{d&&" "===e.key&&T.current&&F&&!e.defaultPrevented&&(ne.current=!1,T.current.stop(e,(()=>{T.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(_.href||_.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===M?"button":M,se.disabled=l):(_.href||_.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=wh(t,z,D),ue=yt({},r,{centerRipple:o,component:s,disabled:l,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:P,focusVisible:F}),ce=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=zh({root:["root",t&&"disabled",r&&"focusVisible"]},aI,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return Rl.jsxs(uI,yt({as:ae,className:Tf(ce.root,a),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:U,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:K,onDragLeave:Y,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:P,type:M},se,_,{children:[i,G?Rl.jsx(iI,yt({ref:O,center:o},L)):null]}))})),dI=jf("MuiBox",["root"]),pI=gP(),fI=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=cp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(AA);return y.forwardRef((function(e,a){const s=DA(r),l=NA(e),{className:u,component:c="div"}=l,d=yr(l,zA);return Rl.jsx(i,yt({as:c,ref:a,className:Tf(u,o?o(n):n),theme:t&&s[t]||s},d))}))}({themeId:AR,defaultTheme:pI,defaultClassName:dI.root,generateClassName:_f.generate}),hI=jf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),mI=y.createContext({});function gI(e){return Nf("MuiListItemIcon",e)}const bI=jf("MuiListItemIcon",["root","alignItemsFlexStart"]),vI=["className"],yI=$P("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>yt({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),xI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=yr(r,vI),i=yt({},r,{alignItems:y.useContext(mI).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return zh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},gI,r)})(i);return Rl.jsx(yI,yt({className:Tf(a.root,n),ownerState:i,ref:t},o))})),SI=jf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function CI(e){return Nf("MuiMenuItem",e)}const EI=jf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),wI=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],RI=$P(cI,{shouldForwardProp:e=>FP(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>yt({},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"}},[`&.${EI.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ek(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${EI.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ek(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${EI.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ek(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})`:ek(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${EI.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${EI.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${hI.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${hI.inset}`]:{marginLeft:52},[`& .${SI.root}`]:{marginTop:0,marginBottom:0},[`& .${SI.inset}`]:{paddingLeft:36},[`& .${bI.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&yt({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${bI.root} svg`]:{fontSize:"1.25rem"}})))),AI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u="menuitem",tabIndex:c,className:d}=r,p=yr(r,wI),f=y.useContext(mI),h=y.useMemo((()=>({dense:i||f.dense||!1,disableGutters:s})),[f.dense,i,s]),m=y.useRef(null);uh((()=>{n&&m.current&&m.current.focus()}),[n]);const g=yt({},r,{dense:h.dense,divider:a,disableGutters:s}),b=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return yt({},a,zh({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},CI,a))})(r),v=wh(m,t);let x;return r.disabled||(x=void 0!==c?c:-1),Rl.jsx(mI.Provider,{value:h,children:Rl.jsx(RI,yt({ref:v,role:u,tabIndex:x,component:o,focusVisibleClassName:Tf(b.focusVisible,l),className:Tf(b.root,d)},p,{ownerState:g,classes:b}))})})),kI=y.createContext();function PI(e){return Nf("MuiTable",e)}jf("MuiTable",["root","stickyHeader"]);const LI=["className","component","padding","size","stickyHeader"],II=$P("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>yt({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":yt({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"}))),MI="table",_I=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTable"}),{className:n,component:o=MI,padding:i="normal",size:a="medium",stickyHeader:s=!1}=r,l=yr(r,LI),u=yt({},r,{component:o,padding:i,size:a,stickyHeader:s}),c=(e=>{const{classes:t,stickyHeader:r}=e;return zh({root:["root",r&&"stickyHeader"]},PI,t)})(u),d=y.useMemo((()=>({padding:i,size:a,stickyHeader:s})),[i,a,s]);return Rl.jsx(kI.Provider,{value:d,children:Rl.jsx(II,yt({as:o,role:o===MI?null:"table",ref:t,className:Tf(c.root,n),ownerState:u},l))})})),DI=y.createContext();function TI(e){return Nf("MuiTableBody",e)}jf("MuiTableBody",["root"]);const OI=["className","component"],qI=$P("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),NI={variant:"body"},jI="tbody",zI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTableBody"}),{className:n,component:o=jI}=r,i=yr(r,OI),a=yt({},r,{component:o}),s=(e=>{const{classes:t}=e;return zh({root:["root"]},TI,t)})(a);return Rl.jsx(DI.Provider,{value:NI,children:Rl.jsx(qI,yt({className:Tf(s.root,n),as:o,ref:t,role:o===jI?null:"rowgroup",ownerState:a},i))})}));function FI(e){return Nf("MuiTableCell",e)}const $I=jf("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),HI=["align","className","component","padding","scope","size","sortDirection","variant"],BI=$P("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Rp(r.size)}`],"normal"!==r.padding&&t[`padding${Rp(r.padding)}`],"inherit"!==r.align&&t[`align${Rp(r.align)}`],r.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>yt({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?nk(ek(e.palette.divider,1),.88):tk(ek(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${$I.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),GI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTableCell"}),{align:n="inherit",className:o,component:i,padding:a,scope:s,size:l,sortDirection:u,variant:c}=r,d=yr(r,HI),p=y.useContext(kI),f=y.useContext(DI),h=f&&"head"===f.variant;let m;m=i||(h?"th":"td");let g=s;"td"===m?g=void 0:!g&&h&&(g="col");const b=c||f&&f.variant,v=yt({},r,{align:n,component:m,padding:a||(p&&p.padding?p.padding:"normal"),size:l||(p&&p.size?p.size:"medium"),sortDirection:u,stickyHeader:"head"===b&&p&&p.stickyHeader,variant:b}),x=(e=>{const{classes:t,variant:r,align:n,padding:o,size:i,stickyHeader:a}=e;return zh({root:["root",r,a&&"stickyHeader","inherit"!==n&&`align${Rp(n)}`,"normal"!==o&&`padding${Rp(o)}`,`size${Rp(i)}`]},FI,t)})(v);let S=null;return u&&(S="asc"===u?"ascending":"descending"),Rl.jsx(BI,yt({as:m,ref:t,className:Tf(x.root,o),"aria-sort":S,scope:g,ownerState:v},d))}));function WI(e){return Nf("MuiTableContainer",e)}jf("MuiTableContainer",["root"]);const VI=["className","component"],UI=$P("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),YI=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,i=yr(r,VI),a=yt({},r,{component:o}),s=(e=>{const{classes:t}=e;return zh({root:["root"]},WI,t)})(a);return Rl.jsx(UI,yt({ref:t,as:o,className:Tf(s.root,n),ownerState:a},i))}));function KI(e){return Nf("MuiTableHead",e)}jf("MuiTableHead",["root"]);const XI=["className","component"],JI=$P("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),ZI={variant:"head"},QI="thead",eM=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTableHead"}),{className:n,component:o=QI}=r,i=yr(r,XI),a=yt({},r,{component:o}),s=(e=>{const{classes:t}=e;return zh({root:["root"]},KI,t)})(a);return Rl.jsx(DI.Provider,{value:ZI,children:Rl.jsx(JI,yt({as:o,className:Tf(s.root,n),ref:t,role:o===QI?null:"rowgroup",ownerState:a},i))})}));function tM(e){return Nf("MuiTableRow",e)}const rM=jf("MuiTableRow",["root","selected","hover","head","footer"]),nM=["className","component","hover","selected"],oM=$P("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${rM.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${rM.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ek(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ek(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),iM="tr",aM=y.forwardRef((function(e,t){const r=VL({props:e,name:"MuiTableRow"}),{className:n,component:o=iM,hover:i=!1,selected:a=!1}=r,s=yr(r,nM),l=y.useContext(DI),u=yt({},r,{component:o,hover:i,selected:a,head:l&&"head"===l.variant,footer:l&&"footer"===l.variant}),c=(e=>{const{classes:t,selected:r,hover:n,head:o,footer:i}=e;return zh({root:["root",r&&"selected",n&&"hover",o&&"head",i&&"footer"]},tM,t)})(u);return Rl.jsx(oM,yt({as:o,ref:t,className:Tf(c.root,n),role:o===iM?null:"row",ownerState:u},s))}));var sM='data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A';function lM(e){return Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Rl.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}var uM=function({fontSize:e="medium",children:t=null,className:r=""}={}){const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Rl.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})};function cM(e={}){return Rl.jsx(uM,{...e,children:Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Rl.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Rl.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function dM(e={}){return Rl.jsx(uM,{fontSize:"medium",...e,children:Rl.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Rl.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Rl.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function pM(e){return Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Rl.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function fM(e={}){return Rl.jsx(uM,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Rl.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Rl.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function hM(e={}){return Rl.jsx(uM,{fontSize:"medium",...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Rl.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function mM({className:e}){return Rl.jsx(uM,{fontSize:"small",className:e,children:Rl.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Rl.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Rl.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Rl.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function gM(e={}){return Rl.jsx(uM,{...e,children:Rl.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Rl.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Rl.jsx("rect",{stroke:OL.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}const bM={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:FL,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var vM=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:OL.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:OL.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Rl.jsx(lM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${OL.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`,borderRadius:FL,backgroundColor:OL.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${OL.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:OL.WHITE,color:OL.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:FL},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:OL.GREYSCALE_0_15,backgroundColor:OL.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:OL.GREEN_PALE},"&:active":{backgroundColor:OL.GREEN_DARK},"&.Mui-focusVisible":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${$A(OL.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:OL.BLUE_PALE},"&:active":{backgroundColor:OL.BLUE_DARK},"&.Mui-focusVisible":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${$A(OL.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:FL,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:OL.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:OL.GREYSCALE_0_15,backgroundColor:OL.GREYSCALE_100_60,"&:active":{backgroundColor:OL.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:OL.PURPLE,"&.Mui-focusVisible":{borderColor:OL.PURPLE,boxShadow:`0 0 0 3px ${$A(OL.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:OL.GREEN,"&.Mui-focusVisible":{borderColor:OL.GREEN,boxShadow:`0 0 0 3px ${$A(OL.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:OL.BLUE,"&.Mui-focusVisible":{borderColor:OL.BLUE,boxShadow:`0 0 0 3px ${$A(OL.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:OL.ORANGE,"&.Mui-focusVisible":{borderColor:OL.ORANGE,boxShadow:`0 0 0 3px ${$A(OL.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:OL.RED,"&.Mui-focusVisible":{borderColor:OL.RED,boxShadow:`0 0 0 3px ${$A(OL.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:OL.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:OL.PURPLE_PALE},"&:active":{backgroundColor:OL.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:OL.PURPLE_PALE,boxShadow:`0 0 0 3px ${$A(OL.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:OL.GREEN_PALE},"&:active":{backgroundColor:OL.GREEN_DARK},"&.Mui-focusVisible":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${$A(OL.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:OL.BLUE_PALE},"&:active":{backgroundColor:OL.BLUE_DARK},"&.Mui-focusVisible":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${$A(OL.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:OL.ORANGE_PALE},"&:active":{backgroundColor:OL.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:OL.ORANGE_PALE,boxShadow:`0 0 0 3px ${$A(OL.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:OL.RED_PALE},"&:active":{backgroundColor:OL.RED_DARK},"&.Mui-focusVisible":{borderColor:OL.RED_PALE,boxShadow:`0 0 0 3px ${$A(OL.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:OL.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:OL.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:FL,boxShadow:`inset 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Rl.jsx(pM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:qL,borderRadius:FL,color:OL.TEXT_PRIMARY,backgroundColor:OL.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${OL.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:OL.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:OL.GREYSCALE_0_05,color:OL.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:OL.GREEN,borderColor:OL.GREEN},"&.MuiChip-outlinedInfo":{color:OL.BLUE,borderColor:OL.BLUE},"&.MuiChip-outlinedWarning":{color:OL.ORANGE,borderColor:OL.ORANGE},"&.MuiChip-outlinedError":{color:OL.RED,borderColor:OL.RED}},outlined:{border:`solid 1px ${OL.GREYSCALE_0_15}`,backgroundColor:OL.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:FL,boxShadow:"none",backgroundColor:OL.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:OL.GREEN,borderColor:OL.GREEN},outlinedSecondary:{color:OL.BLUE,borderColor:OL.BLUE},label:{fontFamily:WL.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Rl.jsx(pM,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Rl.jsx(lM,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:FL},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:FL,fontSize:NL,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:OL.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${OL.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:OL.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:OL.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:OL.GREYSCALE_0_05}}},popupIndicator:{borderRadius:FL,border:`solid 1px ${OL.GREYSCALE_0_15}`,color:OL.GREYSCALE_0_60,marginRight:0,width:zL,height:zL},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${OL.GREYSCALE_0_15}`},clearIndicator:{borderRadius:FL,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:OL.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:NL}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:qL,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:OL.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:OL.GREYSCALE_25,fontSize:qL,fontFamily:WL.FONT_FAMILY,fontWeight:BL,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:OL.TEXT_PRIMARY},"&.Mui-error":{color:OL.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:OL.TEXT_SECONDARY,content:"'(optional)'",fontWeight:HL,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:OL.TEXT_SECONDARY,content:"'(required)'",fontWeight:HL,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:NL,lineHeight:"16px",backgroundColor:OL.WHITE,borderRadius:FL,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${OL.GREYSCALE_0_05}`,borderColor:OL.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${OL.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${OL.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${OL.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${OL.RED}`,boxShadow:`0px 0px 0px 1px ${OL.RED}, inset 0 2px 0 0 ${OL.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${OL.GREYSCALE_0_10}`,borderColor:OL.GREYSCALE_0_10,backgroundColor:OL.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:OL.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:OL.GREYSCALE_0_15,borderRadius:FL,boxShadow:`inset 0 2px 0 0 ${OL.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Rl.jsx(lM,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:OL.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:OL.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:OL.GREYSCALE_0_03},"&:active":{backgroundColor:OL.GREYSCALE_0_10},"&:focus":{backgroundColor:OL.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${OL.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${OL.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:OL.GREYSCALE_0_30,"&:hover":{backgroundColor:OL.GREYSCALE_0_0,borderColor:OL.GREYSCALE_0_15},"& ~svg":{color:OL.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${OL.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:FL}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:OL.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:NL,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:qL,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:qL,fontWeight:BL,color:OL.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:BL}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${OL.GREYSCALE_0_15}, 0px 0px 0px 1px ${OL.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Rl.jsx(hM,{}),checkedIcon:Rl.jsx(dM,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:OL.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${$A(OL.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${$A(OL.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:OL.GREYSCALE_0_20}},"&.Mui-disabled":{fill:OL.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Rl.jsx(gM,{}),checkedIcon:Rl.jsx(cM,{}),indeterminateIcon:Rl.jsx(fM,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:FL,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:OL.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:OL.GREYSCALE_0_55,color:OL.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:OL.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:OL.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:OL.GREYSCALE_0_55,"&:hover":{color:OL.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:OL.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:OL.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:NL,color:OL.TEXT_PRIMARY,lineHeight:"16px",fontWeight:BL},secondary:{fontSize:qL,color:OL.GREYSCALE_45,fontWeight:HL,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:NL,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:NL,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:OL.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:qL,borderBottom:`solid 1px ${OL.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:NL,color:OL.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:OL.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:OL.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:OL.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:`url('${sM}')`,fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:OL.RED}}},"&.Mui-focusVisible":{backgroundColor:OL.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:OL.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:OL.GREEN,height:"24px","&.Mui-disabled":{color:OL.GREYSCALE_0_15}},rail:{backgroundColor:OL.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${OL.GREYSCALE_0_05}`,borderRadius:FL,boxShadow:`inset 0px 0px 0px 1px ${OL.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${OL.GREYSCALE_0_05}`,borderRadius:FL},thumb:{height:"16px",width:"16px",borderRadius:FL,backgroundColor:OL.WHITE,boxShadow:`0px 1px 2px 0px ${OL.GREYSCALE_0_15}, 0px 0px 0px 1px ${OL.GREYSCALE_0_05}`,"&:hover":{borderRadius:FL,boxShadow:`0 2px 4px 0 ${OL.GREYSCALE_0_30}, 0 0 0 1px ${OL.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${OL.GREYSCALE_0_15}, 0 0 0 1px ${OL.GREYSCALE_0_06}, 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${OL.GREYSCALE_0_15}, 0 0 0 1px ${OL.GREYSCALE_0_06}, 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:OL.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:OL.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:OL.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:OL.GREYSCALE_0_15},markLabel:{color:OL.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:OL.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:OL.WHITE,color:OL.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:OL.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${$A(OL.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${$A(OL.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:OL.GREYSCALE_0_15,borderRadius:FL},thumb:{height:"16px",width:"16px",borderRadius:FL,backgroundColor:OL.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:NL,fontWeight:BL,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${OL.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`,backgroundColor:OL.GREYSCALE_0_03,borderRadius:FL},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:OL.GREYSCALE_25,"&.Mui-selected":{color:OL.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:NL,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:FL,"&:hover":{backgroundColor:OL.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${OL.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${OL.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:FL,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:OL.GREYSCALE_0_05},"&:hover":{backgroundColor:OL.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${OL.GREYSCALE_85}`,borderRight:`1px solid ${OL.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:BL,backgroundColor:OL.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:OL.GREYSCALE_98,borderBottom:`1px solid ${OL.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${OL.GREYSCALE_85}`,borderTop:`1px solid ${OL.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:OL.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:OL.GREYSCALE_0_05,"&:hover":{backgroundColor:OL.GREYSCALE_0_03}},"&&:hover":{backgroundColor:OL.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Rl.jsx(mM,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${OL.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:NL,borderRadius:FL,padding:"7px 16px",border:`1px solid ${OL.GREYSCALE_0_15}`,backgroundColor:OL.GREYSCALE_100_60,color:OL.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:OL.GREYSCALE_0_10,border:`1px solid ${OL.GREYSCALE_0_30}`},"&:hover":{backgroundColor:OL.GREYSCALE_0_03,border:`1px solid ${OL.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:OL.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`,border:`1px solid ${OL.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:OL.GREYSCALE_25,backgroundColor:OL.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:OL.GREYSCALE_0_10,border:`1px solid ${OL.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:qL,height:24,width:24,padding:7},sizeLarge:{fontSize:jL,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:NL,borderRadius:FL}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:OL.GREYSCALE_20},tooltip:{backgroundColor:OL.GREYSCALE_20,fontSize:qL,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...bM}:{}});var yM=()=>({mode:"light",primary:{ultraLight:OL.GREEN_ULTRA_LIGHT,light:OL.GREEN_PALE,main:OL.GREEN,dark:OL.GREEN_DARK,extraDark:OL.GREEN_EXTRA_DARK,contrastText:OL.WHITE},secondary:{ultraLight:OL.BLUE_ULTRA_LIGHT,light:OL.BLUE_PALE,main:OL.BLUE,dark:OL.BLUE_DARK,extraDark:OL.BLUE_EXTRA_DARK,contrastText:OL.WHITE},error:{ultraLight:OL.RED_ULTRA_LIGHT,light:OL.RED_PALE,main:OL.RED,dark:OL.RED_DARK,extraDark:OL.RED_EXTRA_DARK,contrastText:OL.WHITE},warning:{ultraLight:OL.ORANGE_ULTRA_LIGHT,light:OL.ORANGE_PALE,main:OL.ORANGE,dark:OL.ORANGE_DARK,extraDark:OL.ORANGE_EXTRA_DARK,contrastText:OL.WHITE},success:{ultraLight:OL.GREEN_ULTRA_LIGHT,light:OL.GREEN_PALE,main:OL.GREEN,dark:OL.GREEN_DARK,extraDark:OL.GREEN_EXTRA_DARK,contrastText:OL.WHITE},info:{ultraLight:OL.BLUE_ULTRA_LIGHT,light:OL.BLUE_PALE,main:OL.BLUE,dark:OL.BLUE_DARK,extraDark:OL.BLUE_EXTRA_DARK,contrastText:OL.WHITE},text:{primary:OL.TEXT_PRIMARY,secondary:OL.TEXT_SECONDARY,disabled:OL.GREYSCALE_0_30},action:{hover:OL.GREYSCALE_0_03,hoverOpacity:.03,selected:OL.GREYSCALE_0_05,selectedOpacity:.05,focus:OL.MISC_FOCUS_BORDER},amethyst:{ultraLight:OL.WHITE,main:OL.PURPLE,light:OL.PURPLE_PALE,dark:OL.PURPLE_DARK,extraDark:OL.GREYSCALE_0_0,contrastText:OL.WHITE},background:{paper:OL.WHITE,default:OL.GREYSCALE_95},divider:OL.GREYSCALE_0_15});var xM=e=>yM();var SM=(e,t=!1)=>{const r=((e,t)=>vM(t))(0,t);return{components:r,palette:xM(e),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:NL,fontWeightLight:$L,fontWeightRegular:HL,fontWeightMedium:BL,fontWeightBold:GL,htmlFontSize:NL,fontFamily:WL.FONT_FAMILY,button:{fontWeight:BL,fontSize:NL,textTransform:"none"},body1:{fontSize:jL,lineHeight:"24px"},body2:{fontSize:NL,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:zL,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:jL,fontWeight:BL,lineHeight:"16px"},h6:{fontSize:NL,fontWeight:BL,lineHeight:"16px"},caption:{color:OL.TEXT_SECONDARY},subtitle1:{fontSize:NL,color:OL.TEXT_SECONDARY},subtitle2:{fontSize:qL,color:OL.TEXT_SECONDARY}},shape:{borderRadius:FL}}},CM={},EM={exports:{}},wM={exports:{}};!function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(wM);var RM=wM.exports;!function(e){var t=RM.default;function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}e.exports=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var o=r(n);if(o&&o.has(e))return o.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(i,s,l):i[s]=e[s]}return i.default=e,o&&o.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports}(EM);var AM=EM.exports,kM={},PM=wt(gr);Object.defineProperty(kM,"__esModule",{value:!0}),kM.hexToRgb=MM,kM.rgbToHex=function(e){if(0===e.indexOf("#"))return e;var t=DM(e),r=t.values;return"#".concat(r.map((function(e){return function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}(e)})).join(""))},kM.hslToRgb=_M,kM.decomposeColor=DM,kM.recomposeColor=TM,kM.getContrastRatio=function(e,t){var r=OM(e),n=OM(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},kM.getLuminance=OM,kM.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return OM(e)>.5?NM(e,t):jM(e,t)},kM.fade=function(e,t){return qM(e,t)},kM.alpha=qM,kM.darken=NM,kM.lighten=jM;var LM=PM;function IM(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),r)}function MM(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map((function(e){return e+e}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function _M(e){var t=(e=DM(e)).values,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),TM({type:s,values:l})}function DM(e){if(e.type)return e;if("#"===e.charAt(0))return DM(MM(e));var t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error((0,LM.formatMuiErrorMessage)(3,e));var n=e.substring(t+1,e.length-1).split(",");return{type:r,values:n=n.map((function(e){return parseFloat(e)}))}}function TM(e){var t=e.type,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(t,"(").concat(r.join(", "),")")}function OM(e){var t="hsl"===(e=DM(e)).type?DM(_M(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function qM(e,t){return e=DM(e),t=IM(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,TM(e)}function NM(e,t){if(e=DM(e),t=IM(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]*=1-t;return TM(e)}function jM(e,t){if(e=DM(e),t=IM(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;return TM(e)}var zM,FM,$M,HM={},BM={exports:{}},GM={exports:{}},WM={exports:{}};function VM(){return zM||(zM=1,function(e){var t=RM.default;e.exports=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(WM)),WM.exports}function UM(){return FM||(FM=1,function(e){var t=RM.default,r=VM();e.exports=function(e){var n=r(e,"string");return"symbol"==t(n)?n:n+""},e.exports.__esModule=!0,e.exports.default=e.exports}(GM)),GM.exports}function YM(){return $M||($M=1,function(e){var t=UM();e.exports=function(e,r,n){return(r=t(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(BM)),BM.exports}var KM,XM={exports:{}};function JM(){return KM||(KM=1,function(e){var t=Zm();e.exports=function(e,r){if(null==e)return{};var n,o,i=t(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],r.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports}(XM)),XM.exports}var ZM,QM={};var e_,t_={};var r_,n_={},o_={};var i_,a_={};var s_,l_={};var u_,c_={};var d_,p_={};var f_,h_={};var m_,g_={};var b_,v_,y_={};function x_(){if(v_)return n_;v_=1;var e=nm;Object.defineProperty(n_,"__esModule",{value:!0}),n_.default=function(e){var g=e.primary,b=void 0===g?{light:a.default[300],main:a.default[500],dark:a.default[700]}:g,v=e.secondary,y=void 0===v?{light:s.default.A200,main:s.default.A400,dark:s.default.A700}:v,x=e.error,S=void 0===x?{light:l.default[300],main:l.default[500],dark:l.default[700]}:x,C=e.warning,E=void 0===C?{light:u.default[300],main:u.default[500],dark:u.default[700]}:C,w=e.info,R=void 0===w?{light:c.default[300],main:c.default[500],dark:c.default[700]}:w,A=e.success,k=void 0===A?{light:d.default[300],main:d.default[500],dark:d.default[700]}:A,P=e.type,L=void 0===P?"light":P,I=e.contrastThreshold,M=void 0===I?3:I,_=e.tonalOffset,D=void 0===_?.2:_,T=(0,r.default)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function O(e){return(0,p.getContrastRatio)(e,h.text.primary)>=M?h.text.primary:f.text.primary}var q=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,t.default)({},e)).main&&e[r]&&(e.main=e[r]),!e.main)throw new Error((0,n.formatMuiErrorMessage)(4,r));if("string"!=typeof e.main)throw new Error(_formatMuiErrorMessage(5,JSON.stringify(e.main)));return m(e,"light",o,D),m(e,"dark",i,D),e.contrastText||(e.contrastText=O(e.main)),e},N={dark:h,light:f},j=(0,n.deepmerge)((0,t.default)({common:o.default,type:L,primary:q(b),secondary:q(y,"A400","A200","A700"),error:q(S),warning:q(E),info:q(R),success:q(k),grey:i.default,contrastThreshold:M,getContrastText:O,augmentColor:q,tonalOffset:D},N[L]),T);return j},n_.dark=n_.light=void 0;var t=e(Km()),r=e(JM()),n=PM,o=e(function(){if(r_)return o_;r_=1,Object.defineProperty(o_,"__esModule",{value:!0}),o_.default=void 0;var e={black:"#000",white:"#fff"};return o_.default=e,o_}()),i=e(function(){if(i_)return a_;i_=1,Object.defineProperty(a_,"__esModule",{value:!0}),a_.default=void 0;var e={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};return a_.default=e,a_}()),a=e(function(){if(s_)return l_;s_=1,Object.defineProperty(l_,"__esModule",{value:!0}),l_.default=void 0;var e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};return l_.default=e,l_}()),s=e(function(){if(u_)return c_;u_=1,Object.defineProperty(c_,"__esModule",{value:!0}),c_.default=void 0;var e={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};return c_.default=e,c_}()),l=e(function(){if(d_)return p_;d_=1,Object.defineProperty(p_,"__esModule",{value:!0}),p_.default=void 0;var e={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};return p_.default=e,p_}()),u=e(function(){if(f_)return h_;f_=1,Object.defineProperty(h_,"__esModule",{value:!0}),h_.default=void 0;var e={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};return h_.default=e,h_}()),c=e(function(){if(m_)return g_;m_=1,Object.defineProperty(g_,"__esModule",{value:!0}),g_.default=void 0;var e={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};return g_.default=e,g_}()),d=e(function(){if(b_)return y_;b_=1,Object.defineProperty(y_,"__esModule",{value:!0}),y_.default=void 0;var e={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};return y_.default=e,y_}()),p=kM,f={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.default.white,default:i.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}};n_.light=f;var h={text:{primary:o.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:i.default[800],default:"#303030"},action:{active:o.default.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function m(e,t,r,n){var o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,p.lighten)(e.main,o):"dark"===t&&(e.dark=(0,p.darken)(e.main,i)))}return n_.dark=h,n_}var S_,C_={};var E_,w_={};var R_,A_={};var k_,P_={},L_=wt(ro);var I_,M_={};function __(){if(I_)return M_;I_=1;var e=nm;Object.defineProperty(M_,"__esModule",{value:!0}),M_.default=M_.duration=M_.easing=void 0;var t=e(JM()),r={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};M_.easing=r;var n={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}M_.duration=n;var i={easing:r,duration:n,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?n.standard:a,l=i.easing,u=void 0===l?r.easeInOut:l,c=i.delay,d=void 0===c?0:c;return(0,t.default)(i,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:o(s)," ").concat(u," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};return M_.default=i,M_}var D_,T_,O_={};function q_(){if(T_)return HM;T_=1;var e=nm;Object.defineProperty(HM,"__esModule",{value:!0}),HM.createMuiTheme=function(){return p.apply(void 0,arguments)},HM.default=void 0,e(YM());var t=e(JM()),r=PM,n=e(function(){if(ZM)return QM;ZM=1;var e=nm;Object.defineProperty(QM,"__esModule",{value:!0}),QM.default=function(e){var o=e.values,i=void 0===o?{xs:0,sm:600,md:960,lg:1280,xl:1920}:o,a=e.unit,s=void 0===a?"px":a,l=e.step,u=void 0===l?5:l,c=(0,r.default)(e,["values","unit","step"]);function d(e){var t="number"==typeof i[e]?i[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function p(e,t){var r=n.indexOf(t);return r===n.length-1?d(e):"@media (min-width:".concat("number"==typeof i[e]?i[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof i[n[r+1]]?i[n[r+1]]:t)-u/100).concat(s,")")}return(0,t.default)({keys:n,values:i,up:d,down:function(e){var t=n.indexOf(e)+1,r=i[n[t]];return t===n.length?d("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-u/100).concat(s,")")},between:p,only:function(e){return p(e,e)},width:function(e){return i[e]}},c)},QM.keys=void 0;var t=e(Km()),r=e(JM()),n=["xs","sm","md","lg","xl"];return QM.keys=n,QM}()),o=e(function(){if(e_)return t_;e_=1;var e=nm;Object.defineProperty(t_,"__esModule",{value:!0}),t_.default=function(e,n,o){var i;return(0,r.default)({gutters:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),(0,r.default)({paddingLeft:n(2),paddingRight:n(2)},o,(0,t.default)({},e.up("sm"),(0,r.default)({paddingLeft:n(3),paddingRight:n(3)},o[e.up("sm")])))},toolbar:(i={minHeight:56},(0,t.default)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,t.default)(i,e.up("sm"),{minHeight:64}),i)},o)};var t=e(YM()),r=e(Km());return t_}()),i=e(x_()),a=e(function(){if(S_)return C_;S_=1;var e=nm;Object.defineProperty(C_,"__esModule",{value:!0}),C_.default=function(e,l){var u="function"==typeof l?l(e):l,c=u.fontFamily,d=void 0===c?s:c,p=u.fontSize,f=void 0===p?14:p,h=u.fontWeightLight,m=void 0===h?300:h,g=u.fontWeightRegular,b=void 0===g?400:g,v=u.fontWeightMedium,y=void 0===v?500:v,x=u.fontWeightBold,S=void 0===x?700:x,C=u.htmlFontSize,E=void 0===C?16:C,w=u.allVariants,R=u.pxToRem,A=(0,r.default)(u,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),k=f/14,P=R||function(e){return"".concat(e/E*k,"rem")},L=function(e,r,n,i,a){return(0,t.default)({fontFamily:d,fontWeight:e,fontSize:P(r),lineHeight:n},d===s?{letterSpacing:"".concat(o(i/r),"em")}:{},a,w)},I={h1:L(m,96,1.167,-1.5),h2:L(m,60,1.2,-.5),h3:L(b,48,1.167,0),h4:L(b,34,1.235,.25),h5:L(b,24,1.334,0),h6:L(y,20,1.6,.15),subtitle1:L(b,16,1.75,.15),subtitle2:L(y,14,1.57,.1),body1:L(b,16,1.5,.15),body2:L(b,14,1.43,.15),button:L(y,14,1.75,.4,a),caption:L(b,12,1.66,.4),overline:L(b,12,2.66,1,a)};return(0,n.deepmerge)((0,t.default)({htmlFontSize:E,pxToRem:P,round:i,fontFamily:d,fontSize:f,fontWeightLight:m,fontWeightRegular:b,fontWeightMedium:y,fontWeightBold:S},I),A,{clone:!1})};var t=e(Km()),r=e(JM()),n=PM;function o(e){return Math.round(1e5*e)/1e5}function i(e){return o(e)}var a={textTransform:"uppercase"},s='"Roboto", "Helvetica", "Arial", sans-serif';return C_}()),s=e(function(){if(E_)return w_;function e(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}E_=1,Object.defineProperty(w_,"__esModule",{value:!0}),w_.default=void 0;var t=["none",e(0,2,1,-1,0,1,1,0,0,1,3,0),e(0,3,1,-2,0,2,2,0,0,1,5,0),e(0,3,3,-2,0,3,4,0,0,1,8,0),e(0,2,4,-1,0,4,5,0,0,1,10,0),e(0,3,5,-1,0,5,8,0,0,1,14,0),e(0,3,5,-1,0,6,10,0,0,1,18,0),e(0,4,5,-2,0,7,10,1,0,2,16,1),e(0,5,5,-3,0,8,10,1,0,3,14,2),e(0,5,6,-3,0,9,12,1,0,3,16,2),e(0,6,6,-3,0,10,14,1,0,4,18,3),e(0,6,7,-4,0,11,15,1,0,4,20,3),e(0,7,8,-4,0,12,17,2,0,5,22,4),e(0,7,8,-4,0,13,19,2,0,5,24,4),e(0,7,9,-4,0,14,21,2,0,5,26,4),e(0,8,9,-5,0,15,22,2,0,6,28,5),e(0,8,10,-5,0,16,24,2,0,6,30,5),e(0,8,11,-5,0,17,26,2,0,6,32,5),e(0,9,11,-5,0,18,28,2,0,7,34,6),e(0,9,12,-6,0,19,29,2,0,7,36,6),e(0,10,13,-6,0,20,31,3,0,8,38,7),e(0,10,13,-6,0,21,33,3,0,8,40,7),e(0,10,14,-6,0,22,35,3,0,8,42,7),e(0,11,14,-7,0,23,36,3,0,9,44,8),e(0,11,15,-7,0,24,38,3,0,9,46,8)];return w_.default=t,w_}()),l=e(function(){if(R_)return A_;R_=1,Object.defineProperty(A_,"__esModule",{value:!0}),A_.default=void 0;var e={borderRadius:4};return A_.default=e,A_}()),u=e(function(){if(k_)return P_;k_=1,Object.defineProperty(P_,"__esModule",{value:!0}),P_.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var r=(0,e.createUnarySpacing)({spacing:t}),n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?r(1):1===t.length?r(t[0]):t.map((function(e){if("string"==typeof e)return e;var t=r(e);return"number"==typeof t?"".concat(t,"px"):t})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n};var e=L_;return P_}()),c=e(__()),d=e(function(){if(D_)return O_;D_=1,Object.defineProperty(O_,"__esModule",{value:!0}),O_.default=void 0;var e={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};return O_.default=e,O_}());function p(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=e.breakpoints,f=void 0===p?{}:p,h=e.mixins,m=void 0===h?{}:h,g=e.palette,b=void 0===g?{}:g,v=e.spacing,y=e.typography,x=void 0===y?{}:y,S=(0,t.default)(e,["breakpoints","mixins","palette","spacing","typography"]),C=(0,i.default)(b),E=(0,n.default)(f),w=(0,u.default)(v),R=(0,r.deepmerge)({breakpoints:E,direction:"ltr",mixins:(0,o.default)(E,w,m),overrides:{},palette:C,props:{},shadows:s.default,typography:(0,a.default)(C,x),spacing:w,shape:l.default,transitions:c.default,zIndex:d.default},S),A=arguments.length,k=new Array(A>1?A-1:0),P=1;P<A;P++)k[P-1]=arguments[P];return R=k.reduce((function(e,t){return(0,r.deepmerge)(e,t)}),R)}var f=p;return HM.default=f,HM}var N_,j_={};var z_,F_={},$_=wt(rl);var H_,B_,G_={},W_={};function V_(){if(H_)return W_;H_=1;var e=nm;Object.defineProperty(W_,"__esModule",{value:!0}),W_.default=void 0;var t=(0,e(q_()).default)();return W_.default=t,W_}var U_,Y_,K_={},X_={};function J_(){if(Y_)return K_;Y_=1;var e=nm;Object.defineProperty(K_,"__esModule",{value:!0}),K_.default=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.breakpoints,a=void 0===i?["sm","md","lg"]:i,s=o.disableAlign,l=void 0!==s&&s,u=o.factor,c=void 0===u?2:u,d=o.variants,p=void 0===d?["h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","caption","button","overline"]:d,f=(0,t.default)({},e);f.typography=(0,t.default)({},f.typography);var h=f.typography,m=(0,n.convertLength)(h.htmlFontSize),g=a.map((function(e){return f.breakpoints.values[e]}));return p.forEach((function(e){var o=h[e],i=parseFloat(m(o.fontSize,"rem"));if(!(i<=1)){var a=i,s=1+(a-1)/c,u=o.lineHeight;if(!(0,n.isUnitless)(u)&&!l)throw new Error((0,r.formatMuiErrorMessage)(6));(0,n.isUnitless)(u)||(u=parseFloat(m(u,"rem"))/parseFloat(i));var d=null;l||(d=function(e){return(0,n.alignProperty)({size:e,grid:(0,n.fontGrid)({pixels:4,lineHeight:u,htmlFontSize:h.htmlFontSize})})}),h[e]=(0,t.default)({},o,(0,n.responsiveProperty)({cssProperty:"fontSize",min:s,max:a,unit:"rem",breakpoints:g,transform:d}))}})),f};var t=e(Km()),r=PM,n=function(){if(U_)return X_;U_=1;var e=nm;Object.defineProperty(X_,"__esModule",{value:!0}),X_.isUnitless=function(e){return String(parseFloat(e)).length===String(e).length},X_.getUnit=r,X_.toUnitless=n,X_.convertLength=function(e){return function(t,o){var i=r(t);if(i===o)return t;var a=n(t);if("px"!==i)if("em"===i)a=n(t)*n(e);else if("rem"===i)return a=n(t)*n(e),t;var s=a;if("px"!==o)if("em"===o)s=a/n(e);else{if("rem"!==o)return t;s=a/n(e)}return parseFloat(s.toFixed(5))+o}},X_.alignProperty=function(e){var t=e.size,r=e.grid,n=t-t%r,o=n+r;return t-n<o-t?n:o},X_.fontGrid=function(e){var t=e.lineHeight;return e.pixels/(t*e.htmlFontSize)},X_.responsiveProperty=function(e){var r=e.cssProperty,n=e.min,o=e.max,i=e.unit,a=void 0===i?"rem":i,s=e.breakpoints,l=void 0===s?[600,960,1280]:s,u=e.transform,c=void 0===u?null:u,d=(0,t.default)({},r,"".concat(n).concat(a)),p=(o-n)/l[l.length-1];return l.forEach((function(e){var o=n+p*e;null!==c&&(o=c(o)),d["@media (min-width:".concat(e,"px)")]=(0,t.default)({},r,"".concat(Math.round(1e4*o)/1e4).concat(a))})),d};var t=e(YM());function r(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function n(e){return parseFloat(e)}return X_}();return K_}var Z_,Q_={};var eD,tD={};var rD,nD={};var oD,iD={};!function(e){var t=nm,r=AM;Object.defineProperty(e,"__esModule",{value:!0});var n={createTheme:!0,createMuiTheme:!0,unstable_createMuiStrictModeTheme:!0,createStyles:!0,makeStyles:!0,responsiveFontSizes:!0,styled:!0,useTheme:!0,withStyles:!0,withTheme:!0,createGenerateClassName:!0,jssPreset:!0,ServerStyleSheets:!0,StylesProvider:!0,MuiThemeProvider:!0,ThemeProvider:!0};Object.defineProperty(e,"createTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"createMuiTheme",{enumerable:!0,get:function(){return i.createMuiTheme}}),Object.defineProperty(e,"unstable_createMuiStrictModeTheme",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"createStyles",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"makeStyles",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"responsiveFontSizes",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"styled",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"withStyles",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"withTheme",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createGenerateClassName",{enumerable:!0,get:function(){return m.createGenerateClassName}}),Object.defineProperty(e,"jssPreset",{enumerable:!0,get:function(){return m.jssPreset}}),Object.defineProperty(e,"ServerStyleSheets",{enumerable:!0,get:function(){return m.ServerStyleSheets}}),Object.defineProperty(e,"StylesProvider",{enumerable:!0,get:function(){return m.StylesProvider}}),Object.defineProperty(e,"MuiThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return m.ThemeProvider}});var o=kM;Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var i=r(q_()),a=t(function(){if(N_)return j_;N_=1;var e=nm;Object.defineProperty(j_,"__esModule",{value:!0}),j_.default=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.default.apply(void 0,[(0,t.deepmerge)({unstable_strictMode:!0},e)].concat(o))};var t=PM,r=e(q_());return j_}()),s=t(function(){if(z_)return F_;z_=1,Object.defineProperty(F_,"__esModule",{value:!0}),F_.default=function(t){return(0,e.createStyles)(t)};var e=$_;return F_}()),l=t(function(){if(B_)return G_;B_=1;var e=nm;Object.defineProperty(G_,"__esModule",{value:!0}),G_.default=void 0;var t=e(Km()),r=$_,n=e(V_()),o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.makeStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return G_.default=o,G_}()),u=t(J_()),c=t(function(){if(Z_)return Q_;Z_=1;var e=nm;Object.defineProperty(Q_,"__esModule",{value:!0}),Q_.default=void 0;var t=e(Km()),r=$_,n=e(V_()),o=function(e){var o=(0,r.styled)(e);return function(e,r){return o(e,(0,t.default)({defaultTheme:n.default},r))}};return Q_.default=o,Q_}()),d=__();Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var p=t(function(){if(eD)return tD;eD=1;var e=nm;Object.defineProperty(tD,"__esModule",{value:!0}),tD.default=function(){return(0,t.useTheme)()||r.default};var t=$_;e(x);var r=e(V_());return tD}()),f=t(function(){if(rD)return nD;rD=1;var e=nm;Object.defineProperty(nD,"__esModule",{value:!0}),nD.default=void 0;var t=e(Km()),r=$_,n=e(V_()),o=function(e,o){return(0,r.withStyles)(e,(0,t.default)({defaultTheme:n.default},o))};return nD.default=o,nD}()),h=t(function(){if(oD)return iD;oD=1;var e=nm;Object.defineProperty(iD,"__esModule",{value:!0}),iD.default=void 0;var t=$_,r=e(V_()),n=(0,t.withThemeCreator)({defaultTheme:r.default});return iD.default=n,iD}()),m=$_}(CM);var aD=Object.defineProperty,sD=(e,t)=>{for(var r in t)aD(e,r,{get:t[r],enumerable:!0})};sD({},{light:()=>lD});const lD={root:{backgroundColor:OL.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&$expanded":{margin:"0px"}}};sD({},{light:()=>uD});const uD={root:{backgroundColor:OL.WHITE}};sD({},{light:()=>cD});const cD={root:{padding:"0px 16px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${OL.GREYSCALE_0_15}`,"&$focused":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`,borderRadius:FL,backgroundColor:OL.GREYSCALE_0_03},"&$expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis"}};sD({},{light:()=>dD});const dD={root:{flex:"0 0 48px",flexDirection:"row",boxShadow:`inset 0 -1px 0 0 ${OL.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:OL.WHITE,color:OL.TEXT_PRIMARY}};sD({},{light:()=>pD});const pD={inputRoot:{boxSizing:"border-box",borderRadius:FL,"&&":{padding:0},"&&& input":{padding:"8px 4px"},"&&& $endAdornment":{right:4}},listbox:{paddingTop:0,paddingBottom:0},option:{fontSize:NL,height:"32px",'&[data-focus="true"]':{backgroundColor:OL.GREYSCALE_0_03}},endAdornment:{top:"auto",bottom:"4px",position:"absolute"},popupIndicator:{borderRadius:FL,border:`solid 1px ${OL.GREYSCALE_0_15}`,color:OL.GREYSCALE_0_60,marginRight:0,width:zL,height:zL,"& svg":{fontSize:"0.7em"},"& i":{lineHeight:"1 !important"}},paper:{marginTop:"5px",boxShadow:`0px 2px 4px 0px ${OL.GREYSCALE_0_15}`},clearIndicator:{"& svg":{fontSize:"0.5em",position:"absolute"},color:OL.GREYSCALE_25,width:jL,height:zL,borderRadius:FL,backgroundColor:"unset",marginRight:"4px","&&&&:hover":{backgroundColor:CM.alpha(OL.GREYSCALE_0,.05)}},popupIndicatorOpen:{backgroundColor:OL.GREYSCALE_0_10}};sD({},{light:()=>fD});const fD={badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}};sD({},{light:()=>hD});const hD={root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:FL,"& > $label > i:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:OL.GREYSCALE_0_10},"&$focusVisible":{boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:OL.GREYSCALE_0_15,backgroundColor:OL.GREYSCALE_100_60,"&:active":{backgroundColor:OL.GREYSCALE_0_10},"&$focusVisible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},containedPrimary:{"&:hover":{backgroundColor:OL.GREEN_PALE},"&:active":{backgroundColor:OL.GREEN_DARK},"&$focusVisible":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:OL.BLUE_PALE},"&:active":{backgroundColor:OL.BLUE_DARK},"&$focusVisible":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.BLUE_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > $label > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > $label > i:only-child":{marginLeft:"-10px",marginRight:"-10px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}};sD({},{light:()=>mD});const mD={root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:FL},groupedText:{padding:"8px 16px","&:active":{backgroundColor:OL.GREYSCALE_0_10},"&$focusVisible":{boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`}},groupedOutlined:{padding:"7px 16px",borderColor:OL.GREYSCALE_0_15,backgroundColor:OL.GREYSCALE_100_60,"&:active":{backgroundColor:OL.GREYSCALE_0_10},"&$focusVisible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:OL.GREEN_PALE},"&:active":{backgroundColor:OL.GREEN_DARK},"&$focusVisible":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:OL.BLUE_PALE},"&:active":{backgroundColor:OL.BLUE_DARK},"&$focusVisible":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.BLUE_PALE,.5)}`}}};sD({},{light:()=>gD});const gD={root:{height:"100%","& $focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:OL.GREYSCALE_0_03,"& $focusHighlight":{opacity:0}},"&:active":{backgroundColor:OL.GREYSCALE_95,boxShadow:"none"},"&$focusVisible":{borderRadius:FL,boxShadow:`inset 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`,"& $focusHighlight":{opacity:0}}}};sD({},{light:()=>bD});const bD={root:{borderWidth:1,"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:3},"&:not($disabled)":{"&:not($checked)":{"&:not($indeterminate)":{"& span":{color:OL.WHITE}}}},"&$disabled":{"& span":{pointerEvents:"auto",cursor:"not-allowed",color:OL.GREYSCALE_0_25}}},colorPrimary:{"&.sprout-focus-visible i":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible i":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.BLUE_PALE,.5)}`}}};sD({},{light:()=>vD});const vD={root:{height:"24px",fontSize:qL,borderRadius:FL,color:OL.TEXT_PRIMARY,backgroundColor:OL.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${OL.MISC_FOCUS_BORDER}`},"&$disabled":{backgroundColor:OL.GREYSCALE_0_05,color:OL.GREYSCALE_0_30,border:"none",opacity:1}},outlined:{border:`solid 1px ${OL.GREYSCALE_0_15}`,backgroundColor:OL.GREYSCALE_100_15,"$clickable&:active ":{boxSizing:"border-box",borderRadius:FL,boxShadow:"none",backgroundColor:OL.GREYSCALE_0_10},"& $deleteIconSmall":{height:13,color:"inherit"}},label:{fontFamily:WL.FONT_FAMILY,lineHeight:"16px"}};sD({},{light:()=>yD});const yD={root:{padding:"8px",backgroundColor:OL.GREYSCALE_98,borderTop:`1px ${OL.GREYSCALE_0_15} solid`}};sD({},{light:()=>xD});const xD={root:{padding:"24px"}};sD({},{light:()=>SD});const SD={root:{marginBottom:0}};sD({},{light:()=>CD});const CD={root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",height:"24px",padding:"12px 8px 12px 24px",fontSize:"16px",lineHeight:"24px",backgroundColor:OL.GREYSCALE_98,borderBottom:`1px ${OL.GREYSCALE_0_15} solid`}};sD({},{light:()=>ED});const ED={middle:{margin:"4px 8px"}};sD({},{light:()=>wD});const wD={root:{marginLeft:"-10px"},label:{fontSize:NL}};sD({},{light:()=>RD});const RD={root:{fontSize:qL,lineHeight:"16px",margin:"4px 0 0 0","&$error":{color:OL.RED}},contained:{marginLeft:0,marginRight:0}};sD({},{light:()=>AD});const AD={root:{color:OL.GREYSCALE_25,fontSize:qL,fontFamily:WL.FONT_FAMILY,fontWeight:BL,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&$focused":{color:OL.TEXT_PRIMARY},"&$error":{color:OL.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:OL.TEXT_SECONDARY,position:"absolute",content:"'(optional)'",fontWeight:HL,marginLeft:"4px"}}},asterisk:{visibility:"hidden",display:"inline-flex","&::after":{visibility:"visible",color:OL.TEXT_SECONDARY,position:"absolute",content:"'(required)'",fontWeight:HL,marginLeft:"4px"}}};sD({},{light:()=>kD});const kD={root:{padding:7,borderRadius:FL,border:"1px solid transparent","&.sprout-focus-visible":{borderColor:OL.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`},"&&&:hover":{backgroundColor:"transparent"}}};sD({},{light:()=>PD});const PD={root:{padding:"4px 8px",color:OL.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}};sD({},{light:()=>LD});const LD={input:{padding:"8px 12px",lineHeight:"16px"}};sD({},{light:()=>ID});const ID={outlined:{fontSize:`${qL}px`,fontWeight:BL,color:OL.GREYSCALE_25,"&$shrink":{transform:"translate(0px, -8px)",fontWeight:BL}}};sD({},{light:()=>MD});const MD={root:{color:OL.MISC_FOCUS_BORDER}};sD({},{light:()=>_D});const _D={padding:{paddingTop:"0px",paddingBottom:"0px"}};sD({},{light:()=>DD});const DD={root:{minHeight:"32px",fontSize:NL,"&$selected":{backgroundColor:"unset","&:not($disabled)":{"&::after":{content:`url('${sM}')`,fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:OL.RED}}}},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:OL.GREYSCALE_0_03},"&:active":{backgroundColor:OL.GREYSCALE_0_05}}};sD({},{light:()=>TD});const TD={root:{color:OL.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}};sD({},{light:()=>OD});const OD={root:{fontSize:"12px"},primary:{fontSize:NL,color:OL.TEXT_PRIMARY,lineHeight:"16px"},secondary:{fontSize:qL,fontWeight:$L,lineHeight:"16px",color:OL.TEXT_SECONDARY}};sD({},{light:()=>qD});const qD={root:{'&[role="option"]':{color:OL.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:qL,borderBottom:`solid 1px ${OL.GREYSCALE_0_15}`,pointerEvents:"none"}}};sD({},{light:()=>ND});const ND={list:{paddingTop:4,paddingBottom:4},paper:{marginTop:4,marginBottom:4,background:OL.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15)",borderRadius:"2px"}};sD({},{light:()=>jD});const jD={root:{fontSize:NL,height:"32px",'[class*="MuiListSubheader-root"] ~ &[role="option"]':{paddingLeft:"20px"},"& div i":{color:OL.GREYSCALE_25}}};sD({},{light:()=>zD});const zD={root:{fontSize:NL,lineHeight:"16px",backgroundColor:OL.WHITE,borderRadius:FL,"&:not($focused):not($error):not($disabled):hover $notchedOutline":{border:`solid 1px ${OL.GREYSCALE_0_05}`,borderColor:OL.GREYSCALE_0_30},"&$focused:not($error) $notchedOutline":{border:`solid 1px ${OL.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${OL.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${OL.GREYSCALE_0_05}`},"&$focused$error $notchedOutline":{border:`solid 1px ${OL.RED}`,boxShadow:`0px 0px 0px 1px ${OL.RED}, inset 0 2px 0 0 ${OL.GREYSCALE_0_05}`},"&$disabled":{backgroundColor:"transparent"},"&$disabled $notchedOutline":{border:`solid 1px ${OL.GREYSCALE_0_10}`,borderColor:OL.GREYSCALE_0_10,backgroundColor:OL.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:OL.TEXT_PRIMARY,padding:"8px 12px","&$disabled":{opacity:.45}},notchedOutline:{borderColor:OL.GREYSCALE_0_15,borderRadius:FL,boxShadow:`inset 0 2px 0 0 ${OL.GREYSCALE_0_05}`},multiline:{padding:"8px 12px"}};sD({},{light:()=>FD});const FD={day:{"&&&:hover":{backgroundColor:OL.GREYSCALE_0_03}},daySelected:{"&&&:hover":{backgroundColor:OL.GREEN}}};sD({},{light:()=>$D});const $D={paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${OL.GREYSCALE_0_15}, 0px 0px 0px 1px ${OL.GREYSCALE_0_05}`}};sD({},{light:()=>HD});const HD={root:{fill:OL.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${OL.MISC_FOCUS_BORDER}`},"&$checked":{"&$colorPrimary":{"&.sprout-focus-visible i":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.GREEN_PALE,.5)}`}},"&$colorSecondary":{"&.sprout-focus-visible i":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.BLUE_PALE,.5)}`}},"&$disabled":{color:OL.GREYSCALE_0_20}},"&$disabled":{fill:OL.GREYSCALE_0_20,stroke:"none"}}};sD({},{light:()=>BD});const BD={root:{height:"32px",zIndex:1,borderRadius:"3px !important","& em":{color:OL.TEXT_SECONDARY,WebkitFontSmoothing:"antialiased","&::after":{content:""}},"& ~svg":{position:"absolute",top:"unset",right:"12px"},"&[aria-expanded=true]":{backgroundColor:OL.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:OL.GREYSCALE_0_03},"&:active":{backgroundColor:OL.GREYSCALE_0_10},"&:focus":{backgroundColor:OL.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${OL.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${OL.MISC_FOCUS_BORDER}`},"&$disabled":{opacity:"unset",color:OL.GREYSCALE_0_30,"&:hover":{backgroundColor:OL.GREYSCALE_0_0,borderColor:OL.GREYSCALE_0_15},"& ~svg":{color:OL.GREYSCALE_0_30}}},selectMenu:{height:"14px"},outlined:{border:`solid 1px ${OL.GREYSCALE_0_15}`}};sD({},{light:()=>GD});const GD={root:{color:OL.GREEN,height:"24px","&$disabled":{color:OL.GREYSCALE_0_15}},rail:{backgroundColor:OL.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${OL.GREYSCALE_0_05}`,borderRadius:FL,boxShadow:`inset 0px 0px 0px 1px ${OL.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${OL.GREYSCALE_0_05}`,borderRadius:FL},thumb:{height:"16px",width:"16px",borderRadius:FL,backgroundColor:OL.WHITE,boxShadow:`0px 1px 2px 0px ${OL.GREYSCALE_0_15}, 0px 0px 0px 1px ${OL.GREYSCALE_0_05}`,"&:hover":{borderRadius:FL,boxShadow:`0 2px 4px 0 ${OL.GREYSCALE_0_30}, 0 0 0 1px ${OL.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${OL.GREYSCALE_0_15}, 0 0 0 1px ${OL.GREYSCALE_0_06}, 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`},"&$disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:OL.GREYSCALE_90},"& .bar":{height:"8px",width:"1px",backgroundColor:OL.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:OL.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:OL.GREYSCALE_0_15},markLabel:{color:OL.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:OL.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},active:{}};sD({},{light:()=>WD});const WD={root:{backgroundColor:OL.WHITE,color:OL.GREYSCALE_25}};sD({},{light:()=>VD});const VD={root:{padding:"10px",width:"60px",height:"40px"},switchBase:{padding:"11px","&$disabled":{"& $thumb":{backgroundColor:OL.GREYSCALE_100_50}},"&$checked + $track":{opacity:1},"&$disabled + $track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + $track":{borderColor:OL.GREEN_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + $track":{borderColor:OL.BLUE_PALE,boxShadow:`0 0 0 3px ${CM.alpha(OL.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:OL.GREYSCALE_0_15,borderRadius:FL},thumb:{height:"16px",width:"16px",borderRadius:FL,backgroundColor:OL.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& $thumb":{height:"12px",width:"12px"},"& $switchBase":{padding:"9px 11px"}}};sD({},{light:()=>UD});const UD={root:{fontSize:NL,fontWeight:BL,textTransform:"none",minWidth:"auto",boxSizing:"border-box","&:hover":{borderBottom:`2px solid ${OL.GREYSCALE_80}`,paddingBottom:"4px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${OL.MISC_FOCUS_BORDER}`,paddingTop:"4px",backgroundColor:OL.GREYSCALE_0_03,borderRadius:FL,minHeight:"44px",paddingBottom:"4px",border:"none"},"&$disabled":{opacity:.3}},textColorPrimary:{color:OL.GREYSCALE_25,"&$selected":{color:OL.GREYSCALE_25}},textColorInherit:{opacity:"unset"},fullWidth:{"&.sprout-focus-visible":{paddingRight:12,paddingLeft:12}},wrapper:{alignItems:"initial"},labelIcon:{minWidth:"40px",minHeight:"48px","&.sprout-focus-visible":{minHeight:"auto",height:"30px",marginTop:9,marginBottom:9,flexDirection:"column",paddingRight:"12px",paddingBottom:"2px"},"& $wrapper":{display:"block"}}};sD({},{light:()=>YD});const YD={root:{borderLeft:`1px solid ${OL.GREYSCALE_85}`}};sD({},{light:()=>KD});const KD={root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${OL.GREYSCALE_85}`,borderRight:`1px solid ${OL.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:BL,backgroundColor:OL.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&$head":{height:"31px"},"&$paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:OL.GREYSCALE_98,borderBottom:`1px solid ${OL.GREYSCALE_85}`}};sD({},{light:()=>XD});const XD={root:{borderBottom:`1px solid ${OL.GREYSCALE_85}`,borderTop:`1px solid ${OL.GREYSCALE_85}`}};sD({},{light:()=>JD});const JD={root:{backgroundColor:OL.GREYSCALE_98}};sD({},{light:()=>ZD});const ZD={hover:{"&$selected":{backgroundColor:OL.GREYSCALE_0_05,"&:hover":{backgroundColor:OL.GREYSCALE_0_03}},"&&:hover":{backgroundColor:OL.GREYSCALE_0_03}}};sD({},{light:()=>QD});const QD={root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&$active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}};sD({},{light:()=>eT});const eT={scroller:{height:"100%"},flexContainer:{height:"100%",marginLeft:2,marginRight:2},root:{fontSize:NL,fontWeight:"bold"},indicator:{height:2}};sD({},{light:()=>tT});const tT={root:{height:32,lineHeight:16,width:32,fontSize:NL,borderRadius:FL,padding:"7px 16px",border:`1px solid ${OL.GREYSCALE_0_15}`,backgroundColor:OL.GREYSCALE_100_60,color:OL.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:OL.GREYSCALE_0_10,border:`1px solid ${OL.GREYSCALE_0_30}`},"&:hover":{backgroundColor:OL.GREYSCALE_0_03,border:`1px solid ${OL.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:OL.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${OL.MISC_FOCUS_BORDER}`,border:`1px solid ${OL.MISC_FOCUS_BORDER}`,zIndex:2},"&$selected":{color:OL.GREYSCALE_25,backgroundColor:OL.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:OL.GREYSCALE_0_10,border:`1px solid ${OL.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:qL,height:24,width:24,padding:7},sizeLarge:{fontSize:jL,height:40,width:40,lineHeight:20}};sD({},{light:()=>rT});const rT={root:{height:"32px",lineHeight:"16px",fontSize:NL,borderRadius:FL}};sD({},{light:()=>nT});const nT={root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}};sD({},{light:()=>oT});const oT={arrow:{color:OL.GREYSCALE_20},tooltip:{backgroundColor:OL.GREYSCALE_20,fontSize:qL,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}},iT=(e="light",t=!1)=>SM(e,t),aT=(iT().palette.primary.light,oL.Selected,"repeating-linear-gradient(-45deg, rgba(200,200,200,0.08), rgba(200,200,200,0.08) 2px, rgba(200,200,200,0.3) 2.5px, rgba(200,200,200,0.08) 3px, rgba(200,200,200,0.08) 5px)"),sT=4/3,lT="12px",uT="600",cT="Source Sans Pro, sans-serif",dT={height:"auto",fontSize:lT,lineHeight:"unset",padding:"4px",borderStyle:"solid",borderWidth:"0px 1px 1px 0px",userSelect:"none",outline:"none","&:focus-visible":{boxShadow:"0 0 0 2px #177fe6 inset, 0 0 0 3px #fff inset"},"&:focus:not(:focus-visible)":{boxShadow:"none"},"&:last-child":{borderRightWidth:"0px"}},pT={"<i>":{fontStyle:"italic"},"<b>":{fontWeight:uT},"<u>":{textDecoration:"underline"},"<s>":{textDecoration:"line-through"}},fT=25e4,hT=(e,t,r)=>{if(!e.length)return[];const n=[],o=[];let i=t;if(e.forEach(((e,a)=>{var s;const{columnWidth:{type:l,pixels:u,percentage:c},label:d,qApprMaxGlyphCount:p,totalInfo:f}=e;let h=0;const m=()=>{n[a]=Math.min(pS.PixelsMax,Math.max(pS.PixelsMin,h)),i-=n[a]};switch(l){case fS.Pixels:h=(e=>void 0===e||Number.isNaN(+e)?pS.PixelsDefault:+e)(u),m();break;case fS.Percentage:h=(e=>void 0===e||Number.isNaN(+e)?pS.PercentageDefault:+e)(c)/100*t,m();break;case fS.FitToContent:(null===(s=e.representation)||void 0===s?void 0:s.type)===pE.Image?o.push(a):(h=r(d,f,p,e.isLocked,e.isActivelySorted,e.isDim),m());break;case fS.Auto:o.push(a);break;default:throw new Error(`${l} is not a valid column width type`)}})),o.length){const e=i/o.length;o.forEach((t=>{n[t]=Math.max(pS.AutoMinTable,e)}))}return n},mT=(e,t,r)=>{const n=r.size,o=n>=t.size;if(n){e({keys:[o?"SNTable.SelectionLabel.SelectedValue":"SNTable.SelectionLabel.DeselectedValue",1===n?"SNTable.SelectionLabel.OneSelectedValue":["SNTable.SelectionLabel.SelectedValues",n.toString()]]})}else e({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]})},gT=(e,t,r)=>{r&&t&&(t.classList.contains("selected")?e({keys:["SNTable.SelectionLabel.SelectedValue"]}):e({keys:["SNTable.SelectionLabel.NotSelectedValue"]}))},bT=e=>e.ctrlKey||e.metaKey,vT=e=>e.shiftKey&&bT(e),yT=e=>[cS.Left,cS.Right,cS.Up,cS.Down].includes(e),xT=e=>e.shiftKey&&yT(e.key),ST=e=>(e=>yT(e)||[cS.Home,cS.End,cS.PageUp,cS.PageDown].includes(e))(e.key)&&!vT(e),CT=(e,t)=>{const{api:r,rows:n,colIdx:o}=e,{cell:i,announce:a,evt:s}=t;let l=new Map;if(-1===o)null==r||r.begin(["/qHyperCubeDef"]);else{if(o!==i.selectionColIdx)return e;l=new Map(n)}return l=((e,t,r)=>{const{qElemNumber:n,rowIdx:o}=t;return r.ctrlKey||r.metaKey?(new Map).set(n,o):(e.has(n)?e.delete(n):e.set(n,o),new Map(e))})(l,i,s),mT(a,n,l),l.size?(null==r||r.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(l.values()),[i.selectionColIdx]]}),{...e,rows:l,colIdx:i.selectionColIdx}):(null==r||r.cancel(),{...e,rows:l,colIdx:-1})},ET=(e,t)=>{var r;const{api:n,rows:o,colIdx:i,pageRows:a,firstCell:s}=e,{cell:l,announce:u,evt:c}=t;if(!(s||"key"in c&&xT(c)))return e;-1===i&&(null==n||n.begin(["/qHyperCubeDef"]));const d=((e,t,r,n,o)=>{const i=new Map(t);if("key"in n&&xT(n)){i.set(r.qElemNumber,r.rowIdx);const t=n.key===cS.Down?1:-1,o=e[r.pageRowIdx+t][r.pageColIdx];return i.set(o.qElemNumber,r.rowIdx+t),i}if(!o)return t;const a=Math.min(o.pageRowIdx,r.pageRowIdx),s=Math.max(o.pageRowIdx,r.pageRowIdx);for(let t=a;t<=s;t++){const r=e[t][o.pageColIdx];i.set(r.qElemNumber,r.rowIdx)}return i})(a,o,l,c,s);return mT(u,o,d),{...e,rows:d,colIdx:null!==(r=null==s?void 0:s.selectionColIdx)&&void 0!==r?r:l.selectionColIdx,isSelectMultiValues:!0}},wT=e=>{const{api:t,rows:r,colIdx:n,isSelectMultiValues:o,mouseupOutsideCallback:i}=e;return i&&document.removeEventListener("mouseup",i),o&&(null==t||t.select({method:"selectHyperCubeCells",params:["/qHyperCubeDef",Array.from(r.values()),[n]]})),{...e,isSelectMultiValues:!1,firstCell:void 0,mouseupOutsideCallback:void 0}},RT=(e,t)=>{var r;switch(t.type){case iL.Select:return CT(e,t.payload);case iL.SelectMouseDown:return((e,{cell:t,mouseupOutsideCallback:r})=>!r||-1!==e.colIdx&&e.colIdx!==t.selectionColIdx?e:(document.addEventListener("mouseup",r),{...e,firstCell:t,mouseupOutsideCallback:r}))(e,t.payload);case iL.SelectMouseUp:return((e,t)=>wT(e.isSelectMultiValues||e.firstCell!==t.cell?e:CT(e,t)))(e,t.payload);case iL.SelectMultiAdd:return ET(e,t.payload);case iL.SelectMultiEnd:return wT(e);case iL.Reset:return null!==(r=e.api)&&void 0!==r&&r.isModal()?e:{...e,rows:new Map,colIdx:-1};case iL.Clear:return e.rows.size?{...e,rows:new Map}:e;case iL.UpdatePageRows:return{...e,pageRows:t.payload.pageRows};default:throw new Error("reducer called with invalid action type")}},AT=4/3,kT=e=>!(null==e||!e.color)||"number"==typeof(null==e?void 0:e.index)&&e.index>-1;function PT(e,t,r={index:-1}){const n=t.getColorPickerColor(r);return n&&"none"!==n?n:e}const LT=(e,t)=>e?{borderBottomColor:Tx.DARK_MODE_BORDER,borderRightColor:Tx.DARK_MODE_BORDER,borderLeftColor:Tx.DARK_MODE_BORDER,borderTopColor:Tx.DARK_MODE_BORDER}:{borderLeftColor:Tx.BORDER_MEDIUM,borderRightColor:Tx.BORDER_MEDIUM,borderTopColor:Tx.BORDER_HEAVY,borderBottomColor:t?Tx.BORDER_HEAVY:Tx.BORDER_LIGHT},IT=(e,t,r)=>{if(e&&t&&r){const n=(e=>parseInt(e,10)*AT+8+1)(e);return n*(t+2)<r.clientHeight-40?"1px":"0px"}return"0px"},MT=e=>{var t;return null===(t=e.components)||void 0===t?void 0:t.find((e=>"theme"===e.key))},_T=(e,t,r,n=!1)=>{const o=t.getStyle("object",`straightTableV2.${e}`,"fontFamily"),i=t.getStyle("object",`straightTableV2.${e}`,"color"),a=t.getStyle("object",`straightTableV2.${e}`,"fontSize"),s={fontFamily:o,color:kT(null==r?void 0:r.fontColor)?PT(Tx.TEXT,t,null==r?void 0:r.fontColor):i||Tx.TEXT,fontSize:(null==r?void 0:r.fontSize)&&`${r.fontSize}px`||a,padding:r&&"padding"in r?r.padding:void 0,...LT(t.background.isDark,n)};return Object.keys(s).forEach((e=>{const t=e;null==s[t]&&delete s[t]})),s};function DT(e,t,r){var n,o,i;const a=null===(n=MT(e))||void 0===n?void 0:n.header,s=_T("header",t,a,r);return s.background=(e=>{if(void 0===e)return;const t=ee(e);return t.setAlpha(1),t.getRGB()})(t.background.headerColor),s.hoverBackground=Nx(null!==(o=s.background)&&void 0!==o?o:Tx.WHITE,hS),s.activeBackground=Nx(null!==(i=s.background)&&void 0!==i?i:Tx.WHITE,mS),s}const TT=(e,t)=>{var r;const n=null!==(r=e.toLowerCase().match(/<[^>]+>/g))&&void 0!==r?r:[];return n.forEach((e=>(e=>e in pT)(e)&&Object.assign(t,pT[e]))),t};function OT(e,t,r){var n;const o={};let i={fontStyle:e.fontStyle,fontWeight:e.fontWeight,textDecoration:e.textDecoration};return null==t||null===(n=t.qValues)||void 0===n||n.forEach(((e,t)=>{const n=e.qText,a=n&&Fx(n);a&&"none"!==a&&(o[r[t]]=a),i=n?TT(n,i):i})),o.cellBackgroundColor&&!o.cellForegroundColor&&(o.cellForegroundColor=Ox(o.cellBackgroundColor)),{...e,...o,color:o.cellForegroundColor||e.color,background:o.cellBackgroundColor||e.background,fontStyle:i.fontStyle,fontWeight:i.fontWeight,textDecoration:i.textDecoration}}const qT=(e,t)=>{if(t){const r=e.getColorPickerColor(t);return"none"===r?"transparent":r}},NT=(e,t,r)=>{const{objectColorFromCSS:n,sheetColorFromCSS:o}=e.background,i=qT(e,null==t?void 0:t.background),a=e.getStyle("","",r);return{backgroundColor:i||n||a,backgroundFromStyling:i,sheetColorFromCSS:o}},jT=(e,t,r,n=Tx.WHITE)=>{var o;const{backgroundColor:i,backgroundFromStyling:a,sheetColorFromCSS:s}=NT(e,t,r);return null!==(o=Gx(a,i,s,n))&&void 0!==o?o:n},zT=e=>{switch(typeof e){case"string":return`${parseInt(e,10)}px`;case"number":return`${e}px`;default:return lT}},FT=e=>null!=e&&e.some((e=>"italic"===e))?"italic":"normal",$T=(e,t)=>void 0===e?t:e.some((e=>"bold"===e))?uT:"normal",HT=e=>!1===e?1:3,BT=e=>parseInt(null!=e?e:dT.fontSize,10)*sT,GT=e=>null!=e&&e.some((e=>"underline"===e))?"underline":"none",WT=(e,t,r,n,o)=>{var i,a,s,l,u,c,d,p,f,h,m,g,b,v,y,x,S,C,E,w,R,A,k,P,L,I,M,_,D,T,O,q,N,j,z,F,$,H,B,G,W,V,U,Y,K,X,J,Z,Q,ee,te,re,ne,oe,ie,ae,se,le,ue,ce,de,pe,fe,he,me,ge,be,ve,ye;const{header:xe,dimensionValues:Se,measureValues:Ce,totalValues:Ee,nullValues:we,grid:Re,content:Ae}=null!==(i=MT(t))&&void 0!==i?i:{},ke=!0===t.usePagination?Tx.WHITE:Tx.TRANSPARENT,Pe=jT(n,xe,"object.straightTableV2.dimension.label.name.backgroundColor",ke),Le=null!==(a=null!==(s=null===(l=o.viewState)||void 0===l?void 0:l.maxLineCount)&&void 0!==s?s:null==Ae?void 0:Ae.rowHeight)&&void 0!==a?a:n.getStyle("object.straightTableV2","grid","lineClamp"),Ie={header:{fontFamily:null!==(u=null!==(c=null!==(d=null==xe?void 0:xe.fontFamily)&&void 0!==d?d:n.getStyle("object.straightTableV2.dimension","label.name","fontFamily"))&&void 0!==c?c:r.head.fontFamily)&&void 0!==u?u:cT,fontSize:zT(null!==(p=null!==(f=null==xe?void 0:xe.fontSize)&&void 0!==f?f:n.getStyle("object.straightTableV2.dimension","label.name","fontSize"))&&void 0!==p?p:r.head.fontSize),fontStyle:FT(null==xe?void 0:xe.fontStyle),fontWeight:$T(null==xe?void 0:xe.fontStyle,uT),textDecoration:GT(null==xe?void 0:xe.fontStyle),color:null!==(h=null!==(m=null!==(g=qT(n,null==xe?void 0:xe.fontColor))&&void 0!==g?g:n.getStyle("object.straightTableV2.dimension","label.name","color"))&&void 0!==m?m:r.head.color)&&void 0!==h?h:Tx.TEXT,background:Pe},headerMenuHoverBackground:Nx(Pe,hS),headerMenuActiveBackground:Nx(Pe,mS),dimension:{values:{fontFamily:null!==(b=null!==(v=null!==(y=null==Se?void 0:Se.fontFamily)&&void 0!==y?y:n.getStyle("object.straightTableV2.dimension","label.value","fontFamily"))&&void 0!==v?v:r.body.fontFamily)&&void 0!==b?b:cT,fontSize:zT(null!==(x=null!==(S=null!==(C=null==Se?void 0:Se.fontSize)&&void 0!==C?C:null==Ae?void 0:Ae.fontSize)&&void 0!==S?S:n.getStyle("object.straightTableV2.dimension","label.value","fontSize"))&&void 0!==x?x:r.body.fontSize),fontStyle:FT(null==Se?void 0:Se.fontStyle),fontWeight:$T(null==Se?void 0:Se.fontStyle,"normal"),textDecoration:GT(null==Se?void 0:Se.fontStyle),color:null!==(E=null!==(w=null!==(R=null!==(A=qT(n,null==Se?void 0:Se.fontColor))&&void 0!==A?A:qT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==R?R:n.getStyle("object.straightTableV2.dimension","label.value","color"))&&void 0!==w?w:r.body.color)&&void 0!==E?E:Tx.TEXT,background:null!==(k=null!==(P=NT(n,Se,"object.straightTableV2.dimension.label.value.backgroundColor").backgroundColor)&&void 0!==P?P:r.body.background)&&void 0!==k?k:Tx.TRANSPARENT}},measure:{values:{fontFamily:null!==(L=null!==(I=null!==(M=null==Ce?void 0:Ce.fontFamily)&&void 0!==M?M:n.getStyle("object.straightTableV2.measure","label.value","fontFamily"))&&void 0!==I?I:r.body.fontFamily)&&void 0!==L?L:cT,fontSize:zT(null!==(_=null!==(D=null!==(T=null==Ce?void 0:Ce.fontSize)&&void 0!==T?T:null==Ae?void 0:Ae.fontSize)&&void 0!==D?D:n.getStyle("object.straightTableV2.measure","label.value","fontSize"))&&void 0!==_?_:r.body.fontSize),fontStyle:FT(null==Ce?void 0:Ce.fontStyle),fontWeight:$T(null==Ce?void 0:Ce.fontStyle,"normal"),textDecoration:GT(null==Ce?void 0:Ce.fontStyle),color:null!==(O=null!==(q=null!==(N=null!==(j=qT(n,null==Ce?void 0:Ce.fontColor))&&void 0!==j?j:qT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==N?N:n.getStyle("object.straightTableV2.measure","label.value","color"))&&void 0!==q?q:r.body.color)&&void 0!==O?O:Tx.TEXT,background:null!==(z=null!==(F=NT(n,Ce,"object.straightTableV2.measure.label.value.backgroundColor").backgroundColor)&&void 0!==F?F:r.body.background)&&void 0!==z?z:Tx.TRANSPARENT}},totalRow:{fontFamily:null!==($=null!==(H=null!==(B=null==Ee?void 0:Ee.fontFamily)&&void 0!==B?B:n.getStyle("object.straightTableV2.total","label.value","fontFamily"))&&void 0!==H?H:r.totals.fontFamily)&&void 0!==$?$:cT,fontSize:zT(null!==(G=null!==(W=null!==(V=null==Ee?void 0:Ee.fontSize)&&void 0!==V?V:null==Ae?void 0:Ae.fontSize)&&void 0!==W?W:n.getStyle("object.straightTableV2.total","label.value","fontSize"))&&void 0!==G?G:r.totals.fontSize),fontStyle:FT(null==Ee?void 0:Ee.fontStyle),fontWeight:$T(null==Ee?void 0:Ee.fontStyle,uT),textDecoration:GT(null==Ee?void 0:Ee.fontStyle),color:null!==(U=null!==(Y=null!==(K=null!==(X=qT(n,null==Ee?void 0:Ee.fontColor))&&void 0!==X?X:qT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==K?K:n.getStyle("object.straightTableV2.total","label.value","color"))&&void 0!==Y?Y:r.totals.color)&&void 0!==U?U:Tx.TEXT,background:jT(n,Ee,"object.straightTableV2.total.label.value.backgroundColor",ke)},nullValues:{fontStyle:FT(null==we?void 0:we.fontStyle),fontWeight:$T(null==we?void 0:we.fontStyle,"normal"),textDecoration:GT(null==we?void 0:we.fontStyle),color:null!==(J=null!==(Z=null!==(Q=null!==(ee=qT(n,null==we?void 0:we.fontColor))&&void 0!==ee?ee:qT(n,null==Ae?void 0:Ae.fontColor))&&void 0!==Q?Q:n.getStyle("object.straightTableV2.null","label.value","color"))&&void 0!==Z?Z:r.body.color)&&void 0!==J?J:Tx.TEXT,background:null!==(te=null!==(re=qT(n,null==we?void 0:we.background))&&void 0!==re?re:n.getStyle("","","object.straightTableV2.null.label.value.backgroundColor"))&&void 0!==te?te:Tx.NULL_VALUE_BACKGROUND},grid:{contentLineClamp:null!=Le?Le:HT(null===(ne=t.multiline)||void 0===ne?void 0:ne.wrapTextInCells),headerLineClamp:HT(null===(oe=t.multiline)||void 0===oe?void 0:oe.wrapTextInHeaders),border:null!==(ie=null!==(ae=qT(n,null==Re?void 0:Re.border))&&void 0!==ae?ae:n.getStyle("object.straightTableV2","grid","borderColor"))&&void 0!==ie?ie:n.background.isDark?Tx.DARK_MODE_BORDER:Tx.BORDER_MEDIUM,divider:null!==(se=null!==(le=qT(n,null==Re?void 0:Re.divider))&&void 0!==le?le:n.getStyle("object.straightTableV2.grid","","divider.borderColor"))&&void 0!==se?se:Tx.BORDER_HEAVY,hoverColors:{color:null!==(ue=null!==(ce=qT(n,null==Ae?void 0:Ae.hoverFontColor))&&void 0!==ce?ce:n.getStyle("object.straightTableV2","","grid.hover.color"))&&void 0!==ue?ue:null===(de=r.body.hoverColors)||void 0===de?void 0:de.color,background:null!==(pe=null!==(fe=qT(n,null==Ae?void 0:Ae.hoverColor))&&void 0!==fe?fe:n.getStyle("object.straightTableV2","","grid.hover.backgroundColor"))&&void 0!==pe?pe:null===(he=r.body.hoverColors)||void 0===he?void 0:he.background},zebraStripes:{show:!(null==Re||null===(me=Re.zebraStripes)||void 0===me||!me.show),odd:{color:qT(n,null==Re||null===(ge=Re.zebraStripes)||void 0===ge||null===(ge=ge.color)||void 0===ge?void 0:ge.odd),background:qT(n,null==Re||null===(be=Re.zebraStripes)||void 0===be||null===(be=be.background)||void 0===be?void 0:be.odd)},even:{color:qT(n,null==Re||null===(ve=Re.zebraStripes)||void 0===ve||null===(ve=ve.color)||void 0===ve?void 0:ve.even),background:qT(n,null==Re||null===(ye=Re.zebraStripes)||void 0===ye||null===(ye=ye.background)||void 0===ye?void 0:ye.even)},overrideNullValueBackground:void 0===qT(n,null==we?void 0:we.background),overrideNullValueColor:void 0===qT(n,null==we?void 0:we.fontColor)},lastRowBottomBorder:r.body.lastRowBottomBorder},selectedColors:qx(n),headerMinRowHeight:0,totalRowLineHeight:0,totalRowMinHeight:0,contentLineHeight:0,contentMinRowHeight:0,contentStaticLineCount:Le},{headerMinRowHeight:Me,totalRowLineHeight:_e,totalRowMinHeight:De,contentLineHeight:Te,contentMinRowHeight:Oe}=(e=>{const t=Math.max(BT(e.header.fontSize)+8,32),r=BT(e.totalRow.fontSize),n=Math.max(r+8+1,24),o=Math.max(BT(e.dimension.values.fontSize),BT(e.measure.values.fontSize)),i=(e.contentStaticLineCount||1)*o;return{headerMinRowHeight:t,totalRowLineHeight:r,totalRowMinHeight:n,contentLineHeight:o,contentMinRowHeight:Math.max(i+8+1,24)}})(Ie);return Ie.headerMinRowHeight=Me,Ie.totalRowLineHeight=_e,Ie.totalRowMinHeight=De,Ie.contentLineHeight=Te,Ie.contentMinRowHeight=Oe,Ie},VT=(e,t,r,n)=>{const o=E((()=>{const o=r.totalsPosition.atTop,i=function(e,t,r,n){var o;const i=null===(o=MT(e))||void 0===o?void 0:o.content,a=_T("content",t,i);a.background=t.background.color;const s=IT(a.fontSize,r,n),l=null==i?void 0:i.hoverColor,u=null==i?void 0:i.hoverFontColor,c=t.getStyle("object","","straightTableV2.content.hover.backgroundColor"),d=t.getStyle("object","","straightTableV2.content.hover.color"),p=kT(u)||!!d,f=kT(l)||!!c,h=p||f;let m;m=kT(l)?PT(Tx.HOVER,t,l):c||(p?"":Tx.HOVER);const g=h?PT(Ox(m),t,u):"";return{...a,lastRowBottomBorder:s,hoverColors:{background:m,color:g}}}(e,t,r.rows.length,n),a=DT(e,t,!o),s=function(e,t,r){var n;const o=null===(n=MT(e))||void 0===n?void 0:n.content,i=_T("content",t,o),{borderBottomColor:a,borderTopColor:s,background:l}=DT(e,t,r);return{...i,borderBottomColor:a,background:l,borderTopColor:s}}(e,t,o);return{body:i,head:a,totals:s}}),[e,t,r,n]);return o},UT=new Map;const YT=I({}),KT=function(e){const t=I([()=>{},new Set]);return UT.set(e,t),({children:r,value:n})=>{const o=M(n),i=M(new Set);w((()=>{o.current=n,i.current.forEach((e=>{e(n)}))}),[n]);const a=_((()=>o.current),[o]),s=E((()=>[a,i.current]),[a]);return Rl.jsx(e.Provider,{value:n,children:Rl.jsx(t.Provider,{value:s,children:r})})}}(YT),XT={rows:[],columns:[],totalsPosition:{}},JT=({app:e,children:t,tableData:r=XT,selectionsAPI:n,cellCoordMock:o,layout:i,model:a,translator:s,interactions:l,theme:u,keyboard:c,rootElement:d,embed:p,changeSortOrder:f,applyColumnWidths:h,setPage:m,pageInfo:g,initialDataPages:b,rect:v,viewService:y,downloadService:x,env:S,direction:w})=>{const[R,A]=C(0),[k,P]=C(o||TL),[I,M]=((e,t)=>{const[r,n]=L(RT,{pageRows:e,rows:new Map,colIdx:-1,api:t,isSelectMultiValues:!1});return[r,n]})(r.rows,n),[_,D]=C(-1),T=VT(i,u,r,d),O=((e,t,r,n,o)=>E((()=>WT(0,t,r,n,o)),[t,r,e,n,o]))(S,i,T,u,y),[q,N,j,z]=((e,t,r,n)=>{const o=t.atBottom||t.atTop,i=Jx({...n.header,fontWeight:uT},{maxNbrLinesOfText:3}).measureText,a=Jx({...n.totalRow,fontWeight:uT},{maxNbrLinesOfText:3}).measureText,{estimateWidth:s}=Jx(n.dimension.values,{maxNbrLinesOfText:3}),{estimateWidth:l}=Jx(n.measure.values,{maxNbrLinesOfText:3}),u=E((()=>(e,t,r,n,u,c)=>{let d=25;d+=28,n&&(d+=24),u&&(d+=20);const p=c?s:l;return Math.max(i(e)+d,o?a(t)+24+1:0,p(r))}),[s,l,i,a,o]),[c,d]=C(0),[p,f]=C((()=>hT(e,r,u)));tS((()=>{f(hT(e,r-c,u))}),[e,r,c,u]);const h=E((()=>((e,t,r)=>e.length>0&&e.reduce(((e,t)=>e+t))+t<r)(p,c,r)),[p,c,r]);return[p,f,d,h]})(r.columns,r.totalsPosition,v.width,O),F=E((()=>({app:e,selectionsAPI:n,layout:i,model:a,translator:s,interactions:l,theme:u,keyboard:c,rootElement:d,embed:p,changeSortOrder:f,applyColumnWidths:h,rect:v,viewService:y,styleService:O,direction:w,downloadService:x})),[e,n,i,a,s,l,u,c.active,d,p,f,h,v,y,O,w,x]);return Rl.jsx(KT,{value:{headRowHeight:R,setHeadRowHeight:A,focusedCellCoord:k,setFocusedCellCoord:P,selectionState:I,selectionDispatch:M,hoverIndex:_,setHoverIndex:D,columnWidths:q,setColumnWidths:N,baseProps:F,tableData:r,setYScrollbarWidth:j,setPage:m,pageInfo:g,initialDataPages:b,showRightBorder:z,env:S},children:t})};function ZT(e,t){const r=function(e){return UT.get(e)}(e),[n,o]=S(r),[,i]=L((e=>e+1),0),a=M(t),s=M(),l=n();if(void 0===l)throw new Error("You must call useContextSelector inside a valid context.");const u=E((()=>t(l)),[l,t]);return w((()=>{a.current=t,s.current=u}),[l,u,t]),w((()=>{const e=e=>{a.current(e)!==s.current&&i()};return o.add(e),()=>{o.delete(e)}}),[o]),u}function QT(e){var t;const r=iT();return null!==(t=r.components)&&void 0!==t&&null!==(t=t.MuiTable)&&void 0!==t&&t.styleOverrides&&(r.components.MuiTable.styleOverrides.root={}),gP({...r,direction:e})}const eO={width:"100%",height:"100%",color:"transparent",background:"transparent",borderColor:"transparent"},tO={border:0,boxShadow:"none",borderRadius:0,outline:0,width:0,height:0,background:"transparent",cursor:"pointer",visibility:"hidden"},rO=Rg("input",{shouldForwardProp:e=>"isLastColumn"!==e&&"hoverColor"!==e})((({isLastColumn:e,hoverColor:t,dir:r})=>({position:"absolute",display:"flex",height:"100%",top:0,marginLeft:"-4px",marginRight:"rtl"===r?"-4px":void 0,touchAction:"none",cursor:"col-resize",pointerEvents:"auto",width:(e?4:9)+"px",justifyContent:e?"flex-end":"center",outline:"none",appearance:"none",WebkitAppearance:"none",backgroundColor:"transparent","&::-webkit-slider-runnable-track":{...eO},"&::-moz-range-track":{...eO},"&::-ms-track":{...eO},"&::-webkit-slider-thumb":{appearance:"none",WebkitAppearance:"none",...tO},"&::-moz-range-thumb":{...tO},"&::-ms-thumb":{...tO},"&:hover:not(:focus, :active)":{"&::after":{backgroundColor:t||"#D9D9D9","@media (hover: none)":{backgroundColor:"none"}}},"&:focus-visible, &:active":{"&::after":{backgroundColor:"#177fe6",borderLeft:"1px solid #fff",borderRight:e?void 0:"1px solid #fff"}},"&::after":{content:'""',height:"100%",width:"3px",position:"absolute"}}))),nO=({columnWidth:e,keyValue:t,isLastColumn:r,isPivot:n,hoverColor:o,updateWidthCallback:i,confirmWidthCallback:a,handleBlur:s,setIsAdjustingWidth:l,isLeftColumn:u,accessibilityRelatedArgs:c,direction:d="ltr"})=>{const p=nS({translator:c.translator}),f=M({initWidth:e,columnWidth:e,initX:0}),h=r?0:1,m=n&&!u,g=()=>m?f.current.columnWidth-h:"100%",b={left:"rtl"!==d?g():void 0,right:"rtl"===d?g():void 0},v=t=>{f.current={initWidth:e,columnWidth:e,initX:null!=t?t:f.current.initX}};tS((()=>{m&&v()}),[e]);const y=e=>{const t=Math.max(e,pS.PixelsMin);f.current.columnWidth=t,i(t)},S=()=>{if(f.current.columnWidth!==f.current.initWidth){const e={type:fS.Pixels,pixels:f.current.columnWidth};a(e)}else null==l||l(!1)},C=e=>{const t="rtl"===d?f.current.initWidth+f.current.initX-e.clientX:f.current.initWidth+e.clientX-f.current.initX;y(t)},E=e=>{Hx(e),document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",E),S()},w=e=>{const t="rtl"===d?f.current.initWidth+-f.current.initX-e.touches[0].clientX:f.current.initWidth+e.touches[0].clientX-f.current.initX;y(t)},R=e=>{Hx(e),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",R),S()},A=!n&&s?e=>{if(e.key===cS.Left||e.key===cS.Right){Hx(e);const t=5,r=e.key===cS.Left?t:-t,n="rtl"===d?r:-r;y(f.current.columnWidth+n)}else e.key===cS.Space||e.key===cS.Enter?(Hx(e),s(e),S()):e.key===cS.Esc&&(Hx(e),s(e),y(f.current.initWidth))}:void 0,k=p.get("NebulaTableUtils.ColumnAdjuster.ColumnNameLabel",[String(c.columnLabel)]);return x.createElement(rO,{style:b,key:t,hoverColor:o,isLastColumn:r,className:dS,"data-testid":dS,onMouseDown:e=>{Hx(e),document.addEventListener("mousemove",C),document.addEventListener("mouseup",E),null==l||l(!0),v(e.clientX)},onDoubleClick:()=>{a({type:fS.FitToContent})},onTouchStart:e=>{1===e.touches.length&&(Hx(e),document.addEventListener("touchmove",w),document.addEventListener("touchend",R),null==l||l(!0),v(e.touches[0].clientX))},onKeyDown:A,onBlur:s,onFocus:()=>{v()},type:"range",tabIndex:-1,"aria-label":k,"aria-valuemin":pS.PixelsMin,"aria-valuemax":pS.PixelsMax,"aria-valuenow":Number(e.toFixed(1)),dir:d})},oO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M15 4H1V2h14zm0 10H1v-2h14zm0-5H1V7h14z"})})));function iO(){return iO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},iO.apply(null,arguments)}const aO=Rg(sv,{shouldForwardProp:e=>"rightAligned"!==e&&"shouldShowMenuIcon"!==e})((({rightAligned:e,shouldShowMenuIcon:t})=>({...e?{marginRight:"auto"}:{marginLeft:"auto"},height:24,display:t?"flex":"none",fontWeight:"bold",width:"100%",alignItems:"center",justifyContent:"center"}))),sO=Rg(oO,{shouldForwardProp:e=>"isInteractionsActive"!==e})((({isInteractionsActive:e})=>({minWidth:"unset",position:"relative",cursor:e?"pointer":"default"}))),lO=Rg(Hy)((({theme:e})=>({".MuiList-root":{padding:e.spacing(.5,0)}}))),uO=Rg(zv)((({theme:e})=>({"&.MuiDivider-root":{margin:e.spacing(.5)}}))),cO=Rg(Uy)((({theme:e})=>({fontSize:"12px",height:24,fontWeight:"bold",padding:`${e.spacing(.25,2)} !important`,marginBottom:e.spacing(.5)}))),dO=Rg(Uy,{shouldForwardProp:e=>"isSubMenu"!==e&&"isActive"!==e})((({theme:e,isSubMenu:t,isActive:r})=>({width:`calc(220px - ${e.spacing(1)} - ${t?10:0}px)`,maxHeight:32,borderRadius:`${e.spacing(.5)} !important`,margin:`${e.spacing(.25,.5)} !important`,padding:`${e.spacing(1,1.5)} !important`,display:"flex !important",justifyContent:"space-between !important","&&:focus":{boxShadow:"rgb(23, 127, 230) 0px 0px 0px 2px"},position:"relative !important",overflow:"hidden",boxSizing:"border-box !important",background:r?"rgba(0, 0, 0, 0.05)":"transparent"}))),pO=Rg("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((({theme:e,direction:t,isPagination:r})=>({position:"absolute",width:e.spacing(.5),height:16,left:0,right:r||"rtl"!==t?void 0:0,top:"50%",transform:"TranslateY(-50%)",borderRadius:"0 2px 2px 0",background:"#01873d"}))),fO=Rg("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center",maxWidth:"100%"}))),hO=Rg(Eb)((()=>({fontFamily:'"Source Sans Pro", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif',fontSize:"14px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),mO=Rg(my,{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((({theme:e,direction:t,isPagination:r})=>({width:16,minWidth:"unset !important",marginRight:r||"rtl"!==t?e.spacing(1.5):0,marginLeft:r||"rtl"!==t?void 0:e.spacing(1.5),lineHeight:0}))),gO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5z"})}))),bO=e=>{const t=e.nextElementSibling;var r;return t?"HR"===t.tagName?bO(t):t:null===(r=e.parentElement)||void 0===r||null===(r=r.children)||void 0===r?void 0:r[0]},vO=e=>{const t=e.previousElementSibling;if(!t){var r,n;const t=null===(r=e.parentElement)||void 0===r||null===(r=r.children)||void 0===r?void 0:r.length;return null===(n=e.parentElement)||void 0===n||null===(n=n.children)||void 0===n?void 0:n[t-1]}return"HR"===t.tagName?vO(t):t},yO=e=>{var t;const{key:r,currentTarget:n}=e,o=null!==(t=document.activeElement)&&void 0!==t?t:n;if(r===cS.Down||r===cS.Up){const t=e=>r===cS.Down?bO(e):vO(e);e.preventDefault(),e.stopPropagation();let n=t(o);for(;n;){if("true"!==n.ariaDisabled){n.focus();break}n=t(n)}}},xO=(e,t)=>e.map((e=>e.map((e=>({...e.groupHeading?{groupHeading:e.groupHeading}:{},items:e.items.map((({onClick:e,...r})=>({...r,...e?{onClick:async r=>{Object.entries(t).forEach((([,e])=>{e(!1)})),await e(r)}}:{}})))})))));let SO={};const CO=({autoFocus:e,id:t,onClick:r,itemTitle:n,icon:o,enabled:i,subMenus:a,isSubMenu:s,isActive:l,direction:u,isPagination:c})=>{const[d,p]=C(!1),f=M(null),h=_((e=>{e.stopPropagation(),p(!1)}),[p]);return x.createElement(x.Fragment,null,x.createElement(dO,{ref:a?f:null,key:t,"data-testid":`menu-item-${t}`,className:"nebula-table-utils-head-menu-item",onClick:async e=>{"keyup"!==e.type&&(r&&(await r(e),SO={}),null!=a&&a.length&&(p(!0),SO[n]=p))},disabled:!i,autoFocus:e,isSubMenu:!!s,isActive:!!l,onKeyDown:yO},l?x.createElement(pO,{direction:u,isPagination:c}):null,x.createElement(fO,null,x.createElement(mO,{direction:u,isPagination:c},x.createElement(o,null)),x.createElement(hO,{variant:"body2"},n)),null!=a&&a.length?x.createElement(gO,null):null),null!=a&&a.length?x.createElement(RO,{isSubMenu:!0,open:d,anchorEl:f.current,onClose:h,menuGroups:xO(a,SO),transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"top"},direction:u,isPagination:c}):null)},EO=({menuGroup:e,isSubMenu:t,direction:r,isPagination:n})=>e.map((e=>[[e.groupHeading&&x.createElement(cO,{key:e.groupHeading,disabled:!0,style:{opacity:1}},e.groupHeading),e.items.map((e=>x.createElement(CO,iO({key:e.id},e,{isSubMenu:t,direction:r,isPagination:n}))))].filter(Boolean)])),wO={appear:0,enter:0,exit:0},RO=({anchorEl:e,open:t,onClose:r,menuGroups:n,transformOrigin:o,anchorOrigin:i,isSubMenu:a,direction:s,isPagination:l})=>n.length?x.createElement(lO,iO({className:sS,open:t,anchorEl:e,onClose:r,transitionDuration:wO,MenuListProps:{id:lS}},i?{anchorOrigin:i}:{},o?{transformOrigin:o}:{},{dir:s}),(({itemGroups:e,isSubMenu:t,direction:r,isPagination:n})=>e.map(((o,i)=>[EO({menuGroup:o,isSubMenu:t,direction:r,isPagination:n}),i<e.length-1?x.createElement(uO,{"data-testid":"group-divider",variant:"middle"}):void 0])))({itemGroups:n,isSubMenu:a,direction:s,isPagination:l})):null,AO=(e,t)=>e.some((e=>t[e]>0)),kO={canSelectAll:!1,canClearSelections:!1,canSelectPossible:!1,canSelectAlternative:!1,canSelectExcluded:!1},PO=({open:e,qStateName:t="$",headerData:r,app:n})=>{const[o,i]=C(null),[a,s]=C(kO);return tS((()=>{e||(s(kO),i(null))}),[e]),w((()=>{if(null==n||!n.createSessionObject||!r.isDim||!e)return()=>{};let o,a=!1;const l=()=>{o&&n.destroySessionObject(o)};return(async()=>{try{var e,u,c;const d=((e,t)=>({qInfo:{qType:"tableListbox"},qListObjectDef:Boolean(t.qLibraryId)?{qLibraryId:t.qLibraryId,qStateName:e}:{qDef:{qFieldDefs:[t.fieldId]},qStateName:e}}))(t,r),p=await n.createSessionObject(d),f=await p.getLayout(),{qStateCounts:h}=null!==(e=null===(u=f.qListObject)||void 0===u?void 0:u.qDimensionInfo)&&void 0!==e?e:{};o=null===(c=f.qInfo)||void 0===c?void 0:c.qId,a?l():(i(p),h&&s((e=>({canSelectAll:AO(["qOption","qAlternative","qExcluded","qDeselected"],e),canClearSelections:AO(["qSelected"],e),canSelectPossible:AO(["qOption"],e),canSelectAlternative:AO(["qAlternative"],e),canSelectExcluded:AO(["qAlternative","qExcluded"],e)}))(h)))}catch(e){console.error(e)}})(),()=>{a=!0,l()}}),[e,n,r,t]),{fieldInstance:o,selectionActionsEnabledStatus:a}},LO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),IO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m0-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m-1-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M9.166 6.166c1.555-1.555 4.113-1.555 5.668 0s1.555 4.113 0 5.668-4.113 1.555-5.668 0-1.555-4.063 0-5.668m4.966 1.555a.56.56 0 0 0 0-.803.56.56 0 0 0-.803 0l-1.304 1.305-1.304-1.305a.522.522 0 0 0-.803 0 .524.524 0 0 0 0 .803l1.305 1.304-1.305 1.304c-.25.2-.25.552 0 .803.251.25.602.25.803 0l1.304-1.304 1.304 1.304c.2.25.552.25.803 0 .2-.201.25-.602 0-.803l-1.304-1.304z"})}))),MO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3.914 8h8.207L10.5 6.379l.707-.708L14.036 8.5l-2.829 2.828-.707-.707L12.12 9H3.914l1.621 1.621-.707.707L2 8.5l2.828-2.828.707.707zM15 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zm0 13V2h-2v3h-1V2H4v3H3V2H1v12h2v-2h1v2h8v-2h1v2z"})}))),_O=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),DO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M.5 4.774v6.452a2 2 0 0 0 1.154 1.813l5.5 2.566a2 2 0 0 0 1.692 0l5.5-2.566a2 2 0 0 0 1.154-1.813V4.774a2 2 0 0 0-1.154-1.813L8.846.395a2 2 0 0 0-1.692 0l-5.5 2.566A2 2 0 0 0 .5 4.774m1 0v-.032l6 2.428v7.493l-5.423-2.53a1 1 0 0 1-.577-.907zm.545-.89.032-.016 5.5-2.567a1 1 0 0 1 .846 0l5.5 2.567.032.015L8 6.293zm12.454.858v6.484a1 1 0 0 1-.576.906L8.5 14.663V7.17z"})}))),TO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8z"})}))),OO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 15c-3.848 0-7-3.152-7-7s3.152-7 7-7 7 3.152 7 7-3.152 7-7 7m0 1c4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8 3.6 8 8 8m4-7.5H4v-1h8zM8.5 4v8h-1V4z"})}))),qO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7"})}))),NO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})}))),jO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3 4v1H1v10h10v-2h1v2a1 1 0 0 1-.883.993L11 16H1a1 1 0 0 1-.993-.883L0 15V5a1 1 0 0 1 .883-.993L1 4zm12-4a1 1 0 0 1 .993.883L16 1v10a1 1 0 0 1-.883.993L15 12H5a1 1 0 0 1-.993-.883L4 11V1a1 1 0 0 1 .883-.993L5 0zm0 1H5v10h10zm-2.36 2.653.72.694L9.143 8.72 6.64 6.125l.72-.694L9.143 7.28z"})}))),zO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8l8-8zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),FO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 3h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),$O=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M6 15.5a.5.5 0 0 1 .5-.5h3a.5.5 0 1 1 0 1h-3a.5.5 0 0 1-.5-.5m-5-2v1a.5.5 0 0 0 .5.5h1a.5.5 0 1 1 0 1H1a1 1 0 0 1-1-1v-1.5a.5.5 0 1 1 1 0m14 0a.5.5 0 1 1 1 0V15a1 1 0 0 1-1 1h-1.5a.5.5 0 1 1 0-1h1a.5.5 0 0 0 .5-.5zm-14-7v3a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 1 0m15 0v3a.5.5 0 1 1-1 0v-3a.5.5 0 1 1 1 0m-16-4V1a1 1 0 0 1 1-1h1.5a.5.5 0 0 1 0 1h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 1-1 0m6-2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 6 .5m9 2v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 1 1 0-1H15a1 1 0 0 1 1 1v1.5a.5.5 0 1 1-1 0M4 4v8h8V4zm0-1h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1"})}))),HO=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M1 1.5a.5.5 0 0 1 .5-.5H3V0H1.5A1.5 1.5 0 0 0 0 1.5V3h1zM14.5 1a.5.5 0 0 1 .5.5V3h1V1.5A1.5 1.5 0 0 0 14.5 0H13v1zM1 14.5a.5.5 0 0 0 .5.5H3v1H1.5A1.5 1.5 0 0 1 0 14.5V13h1zm14 0a.5.5 0 0 1-.5.5H13v1h1.5a1.5 1.5 0 0 0 1.5-1.5V13h-1zM6 0h4v1H6zM0 6h1v4H0zm15 0h1v4h-1zm-9 9h4v1H6z"})})));let BO=function(e){return e.Sorting="sorting",e.Searching="searching",e.Selections="selections",e.AdjusterHeaderSize="adjustHeaderSize",e}({});const GO="/qListObjectDef",WO=({headerData:e,translator:t,menuAvailabilityFlags:r,setOpen:n,sortFromMenu:o,interactions:i,embedListbox:a,fieldInstance:s,selectionActionsEnabledStatus:l,anchorRef:u,focusColumnAdjuster:c,setActiveFieldCallback:d,expandOrCollapseArgs:p})=>{const f=[];if(r[BO.Sorting]){const{isActivelySorted:r,sortDirection:i}=e,{ascendingEnabled:a,descendingEnabled:s}=(({isActivelySorted:e,sortDirection:t,isPivot:r,isSortedByFirstMeasure:n})=>{let o=!r&&!e||"D"===t,i=!r&&!e||"A"===t;return n&&(o=!1,i=!1),{ascendingEnabled:o,descendingEnabled:i}})(e);f.push([{groupHeading:t.get("NebulaTableUtils.MenuGroupLabel.Sorting"),items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortAscending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"A")),n(!1)},icon:LO,enabled:a,isActive:!!r&&"A"===i,autoFocus:a},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SortDescending"),onClick:async e=>{e.stopPropagation(),await(null==o?void 0:o(e,"D")),n(!1)},icon:_O,enabled:s,isActive:!!r&&"D"===i,autoFocus:!a&&s}]}])}if(e.isCyclic&&d){const t=[];t.push([{items:[{id:1,itemTitle:e.groupDimensionLabels[e.groupDimensionPos].label,enabled:!0,icon:qO,subMenus:[[{items:e.groupDimensionLabels.map((({label:t,enabled:r},o)=>({id:o+1,itemTitle:t,onClick:async e=>{e.stopPropagation(),n(!1),d(o)},enabled:r,icon:DO,isActive:e.groupDimensionPos===o})))}]]}]}]),t.length>0&&f.push(...t)}if(e.isDim&&null!=i&&i.select){const e=[];r[BO.Searching]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Search"),onClick:e=>{e.stopPropagation(),n(!1),a()},icon:NO,enabled:!0}]}]),r[BO.Selections]&&e.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Selections"),icon:HO,enabled:!!s,subMenus:[[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAll"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectAll(GO))},icon:jO,enabled:l.canSelectAll},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectPossible"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectPossible(GO))},icon:$O,enabled:l.canSelectPossible},{id:3,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectAlternative"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectAlternative(GO))},icon:zO,enabled:l.canSelectAlternative},{id:4,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.SelectExcluded"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.selectListObjectExcluded(GO))},icon:FO,enabled:l.canSelectExcluded}]}],[{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.ClearSelections"),onClick:async e=>{e.stopPropagation(),n(!1),await(null==s?void 0:s.clearSelections(GO))},icon:IO,enabled:l.canClearSelections}]}]]}]}]),p&&f.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Expand"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),n(!1),await p.expandCallback()},icon:OO,enabled:!0},{id:2,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.Collapse"),onClick:async e=>{e.stopPropagation(),e.preventDefault(),n(!1),await p.collapseCallback()},icon:TO,enabled:!0}]}]),e.length>0&&f.push(...e)}return r[BO.AdjusterHeaderSize]&&f.push([{items:[{id:1,itemTitle:t.get("NebulaTableUtils.MenuItemLabel.AdjustColumnSize"),onClick:e=>{e.stopPropagation(),e.preventDefault(),n(!1),null==c||c(u)},icon:MO,enabled:!0}]}]),f},VO=({open:e,setOpen:t,anchorRef:r,headerData:n,translator:o,interactions:i,menuAvailabilityFlags:a,shouldShowMenuIcon:s=!0,sortRelatedArgs:l,searchRelatedArgs:u,selectionRelatedArgs:c,adjustHeaderSizeRelatedArgs:d,expandOrCollapseArgs:p,model:f,direction:h="ltr",isPagination:m})=>{var g;const b=nS({translator:o}),{qLibraryId:v,fieldId:y,headTextAlign:S}=n,C=null==c?void 0:c.app,{fieldInstance:E,selectionActionsEnabledStatus:w}=PO({open:e,headerData:n,app:C,qStateName:null==c?void 0:c.qStateName});let R=null;if(f&&"setActiveField"in f&&void 0!==n.dimensionInfoIndex){const e=n.dimensionInfoIndex;R=async t=>{try{await f.setActiveField("/qHyperCubeDef",e,t)}catch(e){console.error(e)}}}const A=_((()=>{const e=v?{qLibraryId:v,type:"dimension"}:y;if(null!=u&&u.embed){const{embed:t,listboxRef:r}=u;t.__DO_NOT_USE__.popover(r.current,e,{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"rtl"===h?"right":"left"},sortCriteria:u.sortCriteria,stateName:null==c?void 0:c.qStateName,direction:h})}}),[v,y,u,null==c?void 0:c.qStateName,h]),k=_((e=>{e.stopPropagation(),t(!1)}),[t]);return i.active?x.createElement(aO,{rightAligned:"right"===S,shouldShowMenuIcon:s,className:aS},s?x.createElement(sO,{height:oS,className:iS,"data-testid":iS,isInteractionsActive:null!==(g=i.active)&&void 0!==g&&g},x.createElement(oO,null)):null,x.createElement(RO,{open:e,anchorEl:r.current,onClose:k,menuGroups:WO({headerData:n,translator:b,menuAvailabilityFlags:a,setOpen:t,...l,embedListbox:A,interactions:i,fieldInstance:E,selectionActionsEnabledStatus:w,anchorRef:r,focusColumnAdjuster:null==d?void 0:d.focusColumnAdjuster,setActiveFieldCallback:R,expandOrCollapseArgs:p}),direction:h,isPagination:m})):null},UO=e=>e.isDark?{background:e.color,borderColor:Tx.DARK_MODE_BORDER,color:Tx.DARK_MODE_TEXT,disabledColor:Tx.DARK_MODE_DISABLED,iconColor:Tx.DARK_MODE_TEXT}:{background:e.color,borderColor:Tx.BORDER_MEDIUM,color:Tx.TEXT,disabledColor:Tx.DISABLED},YO=Rg(sv,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({height:40,display:"flex",justifyContent:"flex-end",alignItems:"center",padding:t.spacing(0,1,0,1),color:e.color,background:e.background,borderTop:`1px solid ${e.borderColor}`}))),KO=Rg(kx,{shouldForwardProp:e=>"footerStyle"!==e})((({footerStyle:e,theme:t})=>({background:"inherit",marginRight:t.spacing(1),color:e.color,"& .MuiNativeSelect-icon, .MuiNativeSelect-select":{color:e.iconColor}}))),XO=Rg(bv,{shouldForwardProp:e=>"disabledCondition"!==e&&"footerStyle"!==e})((({disabledCondition:e,footerStyle:t,theme:r})=>({color:e?t.disabledColor:t.color,cursor:e?"default":"pointer",marginLeft:r.spacing(1)}))),JO=Rg(Eb)((({theme:e})=>({color:"inherit",margin:e.spacing(0,1,0,1)}))),ZO=({children:e,footerContainer:t,interactions:r,theme:n,paginationNeeded:o=!0})=>{const i=E((()=>UO(n.background)),[n]);if(!r.active)return null;const a=o?x.createElement(YO,{footerStyle:i},e):null;return t?F.createPortal(e,t):a},QO=I({}),eq=()=>S(QO),tq=({children:e,direction:t,pageInfo:r,handleChangeRowsPerPage:n,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:c,translator:d,theme:p,interactions:f,rect:h,layout:m})=>{const g=(e=>!e.enabled||e.active)(c)?0:-1,b=E((()=>UO(p.background)),[p]),v=o?o.getBoundingClientRect().width:h.width,y=nS({translator:d}),S=E((()=>({direction:t,pageInfo:r,handleChangeRowsPerPage:n,footerContainer:o,isSelectionMode:i,handleChangePage:a,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:c,translator:y,theme:p,interactions:f,rect:h,layout:m,footerStyle:b,tabIndex:g,width:v})),[t,r,n,o,i,a,s,l,u,c,y,p,f,h,m,b,g,v]);return x.createElement(QO.Provider,{value:S},e)};let rq=function(e){return e.FirstPage="FirstPage",e.LastPage="LastPage",e.NextPage="NextPage",e.PreviousPage="PreviousPage",e}({}),nq=function(e){return e[e.DisplayedRowsLabel=250]="DisplayedRowsLabel",e[e.FirstPage=350]="FirstPage",e[e.LastPage=350]="LastPage",e[e.RowsPerPage=550]="RowsPerPage",e[e.SelectPage=700]="SelectPage",e}({});const oq=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"})}))),iq=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m12 2 1.5 1.5L9 8l4.5 4.5L12 14 6 8zM4 2v12H2V2z"})}))),aq=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m3.5 2 6 6-6 6L2 12.5 6.5 8 2 3.5zM14 2v12h-2V2z"})}))),sq={FirstPage:iq,PreviousPage:oq,NextPage:gO,LastPage:aq,FirstPageRTL:aq,PreviousPageRTL:gO,NextPageRTL:oq,LastPageRTL:iq},lq=({disabledCondition:e,pageNumber:t,type:r})=>{const{direction:n,footerStyle:o,handleChangePage:i,translator:a,interactions:s,tabIndex:l}=eq(),u=r.concat("rtl"===n?"RTL":""),c=sq[u];return{styledProps:{footerStyle:o,disabledCondition:e,size:"small","data-testid":"pagination-action-icon-button","aria-disabled":e,"aria-label":a.get(`NebulaTableUtils.Pagination.${r}`),title:s.passive?a.get(`NebulaTableUtils.Pagination.${r}`):void 0,tabIndex:l,onClick:e?void 0:()=>{i(t)}},IconComponent:c}},uq=()=>{const{pageInfo:e,width:t,interactions:r}=eq(),n=0===e.page,{IconComponent:o,styledProps:i}=lq({type:rq.FirstPage,disabledCondition:n,pageNumber:0});return t<=nq.FirstPage?null:x.createElement(XO,iO({},i,{disabled:!r.active}),x.createElement(o,{height:oS}))},cq=(e,t,r=!1)=>{r&&e.key===cS.Tab&&!e.shiftKey&&(Hx(e),$x(e.target,t,!1))},dq=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=eq(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=lq({type:rq.LastPage,disabledCondition:a,pageNumber:r-1}),u=t.enabled?e=>{cq(e,t,n)}:void 0;return o<=nq.LastPage?null:x.createElement(XO,iO({},l,{onKeyDown:u,disabled:!i.active}),x.createElement(s,{height:oS}))},pq=()=>{const{pageInfo:e,keyboard:t,totalPages:r,isSelectionMode:n,width:o,interactions:i}=eq(),a=e.page>=r-1,{IconComponent:s,styledProps:l}=lq({type:rq.NextPage,disabledCondition:a,pageNumber:e.page+1}),u=!(o>nq.FirstPage&&o>nq.LastPage)&&t.enabled?e=>{cq(e,t,n)}:void 0;return x.createElement(XO,iO({},l,{onKeyDown:u,disabled:!i.active}),x.createElement(s,{height:oS}))},fq=()=>{const{pageInfo:e,interactions:t}=eq(),r=0===e.page,{IconComponent:n,styledProps:o}=lq({type:rq.PreviousPage,disabledCondition:r,pageNumber:e.page-1});return x.createElement(XO,iO({},o,{disabled:!t.active}),x.createElement(n,{height:oS}))},hq=()=>{const{translator:e,width:t,pageInfo:r,totalRowCount:n}=eq(),{page:o,rowsPerPage:i}=r;if(t<=nq.DisplayedRowsLabel)return null;const a=e.get("NebulaTableUtils.Pagination.DisplayedRowsLabel",[`${o*i+1} - ${Math.min((o+1)*i,n)}`,n.toString()]);return x.createElement(JO,{variant:"caption",dir:"ltr"},a)},mq=({name:e,value:t,options:r,handleChange:n})=>{const{layout:o,footerStyle:i,translator:a,tabIndex:s,interactions:l}=eq(),u=o.qInfo.qId,c=a.get(`NebulaTableUtils.Pagination.${e}`),d=`${e}-dropdown`,p=`${d}-label-${u}`,f={tabIndex:s,id:`${d}-${u}`,"data-testid":d,"aria-labelledby":p};return x.createElement(x.Fragment,null,x.createElement(JO,{variant:"caption",id:p},c,":"),x.createElement(KO,{footerStyle:i,size:"small",native:!0,value:t,onChange:n,inputProps:f,disabled:!l.active},r))},gq=()=>{var e;const{pageInfo:t,isSelectionMode:r,totalColumnCount:n,width:o,handleChangeRowsPerPage:i}=eq();if(!(!(null===(e=t.rowsPerPageOptions)||void 0===e||!e.length)&&!r&&o>nq.RowsPerPage&&n<=100)||void 0===t.rowsPerPageOptions)return null;const a=x.createElement(x.Fragment,null,t.rowsPerPageOptions.map((e=>x.createElement("option",{key:e,value:e},e))));return x.createElement(mq,{name:"RowsPerPage",value:t.rowsPerPage,options:a,handleChange:e=>{null==i||i(+e.target.value)}})},bq=1e3,vq="…",yq=({totalPages:e,page:t})=>{const r=Math.min(e,bq),n=r<e&&t>500,o=n?Math.min(500+t,e):r,i=n?Math.max(0,o-bq):0,a=Array.from(Array(r).keys()).map((e=>{const t=e+i;return x.createElement("option",{key:t,value:t},t+1)}));return i>0&&a.unshift(x.createElement("option",{key:"startMoreOptions",value:vq,disabled:!0},vq)),o<e-1&&a.push(x.createElement("option",{key:"endMoreOptions",value:vq,disabled:!0},vq)),x.createElement(x.Fragment,null,a)},xq=()=>{const{pageInfo:e,width:t,totalPages:r,handleChangePage:n}=eq(),{page:o}=e;if(t<=nq.SelectPage)return null;const i=x.createElement(yq,{totalPages:r,page:o});return x.createElement(mq,{name:"SelectPage",value:o,options:i,handleChange:e=>{n(+e.target.value)}})};var Sq=T((e=>x.createElement(tq,e,x.createElement(gq,null),x.createElement(xq,null),x.createElement(hq,null),x.createElement(uq,null),x.createElement(fq,null),x.createElement(pq,null),x.createElement(dq,null))));const Cq=e=>x.createElement(ZO,e,x.createElement(Sq,e)),Eq={lineHeight:"calc(4/3)",fontSize:"inherit",textOverflow:"ellipsis",overflow:"hidden"},wq=$P(fI,{shouldForwardProp:e=>"background"!==e})((({background:e})=>({height:"100%",background:e.color}))),Rq=$P("span",{shouldForwardProp:e=>"lineClamp"!==e&&"isHeadCell"!==e&&"isPagination"!==e&&"isNumeric"!==e})((({lineClamp:e,isHeadCell:t=!1,isPagination:r=!1,isNumeric:n=!1})=>n||1===e&&!t?{...Eq,whiteSpace:"nowrap",display:r?"block":void 0}:{...Eq,wordBreak:"break-word",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",whiteSpace:"pre-line"}));function Aq(e,t){const r=M(!1);w((()=>{r.current?e():r.current=!0}),t)}const kq=({colIdx:e,rowIdx:t,firstColIdx:r,lastColIdx:n})=>(e>r?e--:t>r&&(t--,e=n),[t,e]),Pq=({colIdx:e,rowIdx:t,firstColIdx:r,lastColIdx:n,lastRowIdx:o})=>(e<n?e++:t<o&&(t++,e=r),[t,e]),Lq=e=>e.atTop?2:1,Iq=(e,t)=>{var r;return null===(r=e.getElementsByClassName("sn-table-row")[t[0]])||void 0===r?void 0:r.getElementsByClassName("sn-table-cell")[t[1]]},Mq=e=>null==e?void 0:e.setAttribute("tabIndex","0"),_q=e=>null==e?void 0:e.setAttribute("tabIndex","-1"),Dq=e=>{e.querySelectorAll("td[tabindex='0'], th[tabindex='0']").forEach(_q)},Tq=e=>{null==e||e.focus(),Mq(e)},Oq=e=>{setTimeout((()=>{var t;const r=null===(t=e.current)||void 0===t||null===(t=t.closest(".sn-table-cell"))||void 0===t?void 0:t.querySelector(`.${dS}`);Tq(r)}),0)},qq=({evt:e,rootElement:t,cellCoord:r,setFocusedCellCoord:n,allowedRows:o,direction:i})=>{Dq(t);const a=((e,t,r,n,o={top:0,bottom:0})=>{const i=o.top>0,a=o.top,s=t.getElementsByClassName("sn-table-row").length-1-o.bottom,l=t.getElementsByClassName("sn-table-head-cell").length-1;let[u,c]=r;switch(e.key){case cS.Down:u<s&&u++;break;case cS.Up:u>a&&u--;break;case cS.Right:if(i)break;[u,c]="rtl"===n?kq({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0}):Pq({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0});break;case cS.Left:if(i)break;[u,c]="rtl"===n?Pq({colIdx:c,rowIdx:u,lastColIdx:l,lastRowIdx:s,firstColIdx:0}):kq({colIdx:c,rowIdx:u,lastColIdx:l,firstColIdx:0});break;case cS.Home:(bT(e)||i)&&(u=a),i||(c=0);break;case cS.End:(bT(e)||i)&&(u=s),i||(c=l);break;case cS.PageDown:u=Math.min(s,u+10);break;case cS.PageUp:u=Math.max(a,u-10)}return[u,c]})(e,t,r,i,o),s=Iq(t,a);return Tq(s),((e,t)=>{const r=t.getElementsByClassName("sn-table-container")[0];if(null==r||!r.scrollTo)return;const[n,o]=e;if(n<2)r.scrollTo({top:0,behavior:"auto"});else{const e=t.getElementsByClassName("sn-table-head-cell")[0],i=t.getElementsByClassName("sn-table-row")[n].getElementsByClassName("sn-table-cell")[o];if(!i||!e)return;if(i.offsetTop-e.offsetHeight<r.scrollTop){const t=r.scrollTop-i.offsetHeight-e.offsetHeight;r.scrollTo({top:Math.max(0,t),behavior:"auto"})}}})(a,t),n(a),{nextCell:s,nextCellCoord:a}},Nq=(e,t,r,n)=>{var o;(Dq(t),r(e),n.enabled&&!n.active)?null===(o=n.focus)||void 0===o||o.call(n):Tq(Iq(t,e))},jq=(e,t,r)=>{const n=e.currentTarget,o=e.relatedTarget,i=!(null==n||!n.contains(o)),a=null==o?void 0:o.closest(`.${sS}`);var s;!r.enabled||i||a||t.current||!n||((e=>{const t=e.querySelector(`.${sL.First}`),r=e.querySelector(`.${sL.Second}`);t&&r&&(t.innerHTML="",r.innerHTML="")})(n),null===(s=r.blur)||void 0===s||s.call(r,!1))},zq=()=>{const{downloadService:e}=ZT(YT,(e=>e.baseProps));w((()=>{e.isDownloadedAsPDForImage&&e.notifyIsDoneRendering()}))},Fq=(e,t,r)=>{const{rootElement:n,keyboard:o}=ZT(YT,(e=>e.baseProps)),{totalColumnCount:i,totalRowCount:a,rows:s,totalsPosition:l}=ZT(YT,(e=>e.tableData)),u=ZT(YT,(e=>e.focusedCellCoord)),c=ZT(YT,(e=>e.setFocusedCellCoord)),d=ZT(YT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()}));Aq((()=>{const r=((e,t,r=!1)=>{const n=[Lq(t),e[1]];return r?n:TL})(u,l,d);(({resetCellCoord:e,rootElement:t,shouldRefocus:r,isSelectionMode:n,setFocusedCellCoord:o,keyboard:i,announce:a})=>{if(Dq(t),o(e),!(e=>!e.enabled||e.active)(i))return;const s=Iq(t,e);var l;r.current?(Tq(s),r.current=!1):Mq(s),n&&(a({keys:[null!==(l=null==s?void 0:s.textContent)&&void 0!==l?l:""]}),gT(a,s,n))})({resetCellCoord:r,rootElement:n,shouldRefocus:e,setFocusedCellCoord:c,isSelectionMode:d,keyboard:o,announce:t})}),[s.length,a,i,r])},$q=(e,t,r)=>{w((()=>{const n=e.current;if(!n)return;const o=e=>{((e,t,r)=>{if(0===e.deltaX)return;e.stopPropagation();const n=r.scrollWidth-r.offsetWidth;let{scrollLeft:o}=r,i=o+e.deltaX;t&&(i=n+i),n>0&&(i<0||i>n+1)&&(e.preventDefault(),o=t?Math.min(0,Math.min(n,i)):Math.max(0,Math.min(n,i)))})(e,"rtl"===t,n)},i=e=>{var t;r.scrollLeft=(null===(t=e.currentTarget)||void 0===t?void 0:t.scrollLeft)||0};return n.addEventListener("wheel",o),n.addEventListener("scroll",i),()=>{n.removeEventListener("wheel",o),n.removeEventListener("scroll",i)}}),[e,t,r])},Hq=e=>{Hx(e),bT(e)&&yS(e.currentTarget)},Bq=e=>{ST(e.evt)&&(Hx(e.evt),qq(e))},Gq=e=>{const{evt:t,totalsPosition:r,cell:n,isSelectionMode:o}=e;if(!ST(t))return;Hx(t);const i=((e,t)=>[e.pageRowIdx+Lq(t),e.pageColIdx])(n,r),a=((e,t)=>({top:e?Lq(t):0,bottom:e&&t.atBottom?1:0}))(o,r),{nextCell:s,nextCellCoord:l}=qq({...e,cellCoord:i,allowedRows:a});l[0]!==i[0]&&(({evt:e,isSelectionsEnabled:t,cell:r,selectionDispatch:n,announce:o,isSelectionMode:i,nextCell:a})=>{e.shiftKey&&t&&r.isSelectable?n({type:iL.SelectMultiAdd,payload:{cell:r,evt:e,announce:o}}):gT(o,a,i)})({...e,nextCell:s})},Wq=e=>{const{evt:t}=e;vT(t)?(({evt:e,totalRowCount:t,rowsPerPage:r,page:n,updateShouldRefocus:o,handleChangePage:i})=>{Hx(e);const a=Math.ceil(t/r)-1;e.key===cS.Right&&n<a?(o(),i(n+1)):e.key===cS.Left&&n>0&&(o(),i(n-1))})(e):t.key===cS.Esc?(({evt:e,keyboard:t,isSelectionMode:r})=>{var n;t.enabled&&!r&&(Hx(e),null===(n=t.blur)||void 0===n||n.call(t,!0))})(e):yT(t.key)&&Hx(t)},Vq=e=>{const{evt:t,selectionsAPI:r}=e;if(t.currentTarget.classList.contains(oL.Disabled))return void Hx(t);const n={...e,isSelectionMode:!(null==r||!r.isModal())};switch(t.key){case cS.Space:(({evt:e,cell:t,isSelectionsEnabled:r,selectionDispatch:n,announce:o})=>{Hx(e),t.isSelectable&&r&&n({type:iL.Select,payload:{cell:t,evt:e,announce:o}})})(n);break;case cS.Enter:(({isSelectionMode:e,selectionsAPI:t,evt:r,announce:n})=>{Hx(r),e&&(null==t||t.confirm(),n({keys:["SNTable.SelectionLabel.SelectionsConfirmed"]}))})(n);break;case cS.Esc:(({isSelectionMode:e,selectionsAPI:t,evt:r,announce:n})=>{e&&(Hx(r),null==t||t.cancel(),n({keys:["SNTable.SelectionLabel.ExitedSelectionMode"]}))})(n);break;case cS.C:Hq(t);break;case cS.Tab:(({evt:e,keyboard:t,isSelectionMode:r,paginationNeeded:n})=>{const o=e.shiftKey||!n;t.enabled&&r&&o&&(Hx(e),$x(e.currentTarget,t,e.shiftKey))})(n);break;default:Gq(n)}},Uq=e=>{const{layout:t,rect:r,theme:n}=ZT(YT,(e=>e.baseProps)),[o,i]=C(0),[a,s]=C(0);return O((()=>{if(e.current){const{offsetWidth:t=0,offsetHeight:r=0,clientWidth:n=0,clientHeight:o=0}=e.current,a=r-o;s(t-n),i(a)}}),[e,t,r,n]),{xScrollbarWidth:o,yScrollbarWidth:a}},Yq=$P("div")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}),Kq=$P(YI,{shouldForwardProp:e=>"fullHeight"!==e&&"interactions"!==e})((({fullHeight:e,interactions:t})=>({height:e?"100%":"calc(100% - 41px)",overflow:t.scroll?"auto":"hidden",border:"none"}))),Xq=$P(_I,{shouldForwardProp:e=>"borderRight"!==e})((({borderRight:e})=>({tableLayout:"fixed",width:"min-content",borderRight:e}))),Jq=()=>Rl.jsxs(Rl.Fragment,{children:[Rl.jsx(Yq,{className:sL.First,"data-testid":sL.First,"aria-live":"polite","aria-atomic":"true"}),Rl.jsx(Yq,{className:sL.Second,"data-testid":sL.Second,"aria-live":"polite","aria-atomic":"true"})]}),Zq=e=>{const t=M(new Map),r=M(null);w((()=>{r.current=e(t.current),t.current.forEach(((e,t)=>{var n;null===(n=r.current)||void 0===n||n.observe(t)}));const n=t.current,o=r.current;return()=>{o.disconnect(),n.clear()}}),[e,r,t]);const n=_(((e,n)=>{var o;t.current.set(e,n),null===(o=r.current)||void 0===o||o.observe(e)}),[t,r]),o=_((e=>{var n;t.current.delete(e),null===(n=r.current)||void 0===n||n.unobserve(e)}),[r,t]);return E((()=>({addTask:n,removeTask:o})),[n,o])},Qq=e=>new ResizeObserver((t=>{t.forEach((t=>{const r=e.get(t.target);null==r||r(t)}))})),eN=()=>Zq(Qq),tN=({selectionsAPI:e,selectionDispatch:t,updateShouldRefocus:r,keyboard:n,tableWrapperRef:o})=>{w((()=>{const i=()=>{t({type:iL.Reset})},a=()=>{t({type:iL.Clear})},s=()=>{var e;if(null!==(e=o.current)&&void 0!==e&&e.contains(document.activeElement))r();else if(n.enabled){var t;null===(t=n.blur)||void 0===t||t.call(n,!0)}i()};return null==e||e.on("deactivated",i),null==e||e.on("canceled",i),null==e||e.on("confirmed",s),null==e||e.on("cleared",a),()=>{null==e||e.removeListener("deactivated",i),null==e||e.removeListener("canceled",i),null==e||e.removeListener("confirmed",s),null==e||e.removeListener("cleared",a)}}),[e,n,t,r,o])},rN=e=>{e.stopPropagation()},nN=({href:e,text:t,interactions:r,color:n})=>x.createElement(iy,(({href:e,text:t,interactions:r,color:n})=>({href:e,title:t,rel:"noreferrer",target:"_blank",underline:"hover",onClick:rN,style:{pointerEvents:r.active?"auto":"none",color:null!=n?n:void 0,opacity:r.active&&r.passive||n?void 0:.4}}))({href:e,text:t,interactions:r,color:n}),t);var oN,iN;const aN=null!==(oN=window.requestIdleCallback)&&void 0!==oN?oN:e=>setTimeout((()=>{e({})}),0),sN=null!==(iN=window.cancelIdleCallback)&&void 0!==iN?iN:e=>{clearTimeout(e)},lN="qDimensionInfo/0",uN="qMeasureInfo/0",cN="x",dN="y",pN=e=>({key:"bars",type:"box",data:{extract:{field:lN,props:{start:0,end:{field:uN}}}},settings:{major:{scale:cN},minor:{scale:dN},box:{maxWidthPx:8,fill:{fn:e}}}}),fN=e=>({key:"p",type:"point",data:{extract:{field:lN,props:{y:{field:uN}}}},settings:{x:{scale:cN},y:{scale:dN},shape:"circle",size:1,opacity:1,sizeLimits:{minPx:4,maxPx:4},fill:{fn:e}},preferredSize:{edgeBleed:{left:2,right:2,top:2,bottom:2}}}),hN=({qNum:e})=>void 0===e?0:Math.sign(e),mN=(e,t)=>{const{primary:r,nil:n,others:o}=e.getDataColorSpecials(),i=zx(e,null==t?void 0:t.negative,r),a=zx(e,null==t?void 0:t.positive,r);return{key:"pos-neg",type:"box",data:{extract:{field:lN,props:{start:0,end:{field:uN,value:hN}}}},settings:{major:{scale:cN},minor:{scale:dN},box:{maxWidthPx:8,fill:{fn:e=>-2===e.datum.value?n:-3===e.datum.value?o:0===e.datum.end.value?"#DDDDDD":Math.sign(e.datum.end.value)<0?i:a}}}}},gN=(e,{type:t,showDots:r,colors:n,colorMin:o,colorMax:i})=>{const a=((e,t,r,n)=>{const{primary:o,nil:i,others:a}=e.getDataColorSpecials(),s=zx(e,null==t?void 0:t.main,o),l=zx(e,null==t?void 0:t.max,s),u=zx(e,null==t?void 0:t.min,s),c=zx(e,null==t?void 0:t.first,s),d=zx(e,null==t?void 0:t.last,s);return e=>{const t=dN in e.datum?dN:"end";return-2===e.datum.value?i:-3===e.datum.value?a:e.datum[t].value>=n?l:e.datum[t].value<=r?u:e.data.items.at(0)===e.datum?c:e.data.items.at(-1)===e.datum?d:s}})(e,n,o,i);switch(t){case"bars":return[pN(a)];case"dots":return[fN(a)];case"sparkline":{const t=(e=>({key:"lines",type:"line",data:{extract:{field:lN,props:{v:{field:uN}}}},settings:{coordinates:{major:{scale:cN},minor:{scale:dN,ref:"v"}},layers:{line:{strokeWidth:1,stroke:e}}}}))(zx(e,null==n?void 0:n.main,e.getDataColorSpecials().primary));return r?[t,fN(a)]:[t]}case"posNeg":return[mN(e,n)];default:return[]}},bN=e=>({qDimensionInfo:[{qFallbackTitle:"",qCardinal:1}],qMeasureInfo:[{qFallbackTitle:""}],qDataPages:[{qArea:{qTop:0,qLeft:0,qHeight:e.length,qWidth:2},qMatrix:e}],qEffectiveInterColumnSortOrder:[0,1],qSize:{qcx:2,qcy:e.length},qMode:"S"}),vN=(e,t,r,n)=>({y:{data:{field:uN},invert:!0,min:"posNeg"===e?-1:t,max:"posNeg"===e?1:r},x:{data:{extract:{field:lN}},paddingInner:.3,paddingOuter:0,invert:"rtl"===n,align:"rtl"===n?1:0,maxPxStep:12}}),yN=H();yN.use($),yN.renderer.prio(["canvas"]);const xN={resolve:()=>{},promise:{}},SN=({chart:e,element:t,requestId:r,theme:n,isSnapshot:o,direction:i,miniChartData:a,downloadService:s})=>{const{resolveChartPromise:l,addChartPromiseToQueue:u}=(e=>{const t=M(e.isDownloadedAsPDForImage?ht():xN);return{addChartPromiseToQueue:_((()=>{e.waitForPromise(t.current.promise)}),[e]),resolveChartPromise:t.current.resolve}})(s);return{renderChartWithRequestIdleCallback:_((()=>{if(null===t.current||null!==e.current)return;u();r.current=aN((()=>{t.current&&(e.current=(({element:e,theme:t,isSnapshot:r,miniChartData:n,onChartRendered:o,direction:i})=>{const{type:a,qMatrix:s,minY:l,maxY:u}=n;return yN.chart({element:e,data:{type:"q",key:"qHyperCube",data:bN(s)},settings:{scales:vN(a,l,u,i),components:gN(t,n),strategy:r?{size:{width:e.offsetWidth,height:e.offsetHeight}}:void 0},mounted:()=>{o()}})})({element:t.current,theme:n,isSnapshot:o,miniChartData:a,direction:i,onChartRendered:l}))}),{timeout:2e3})}),[t,e,u,r,n,o,a,i,l]),safeCancelIdleCallback:_((()=>{null!==r.current&&sN(r.current),r.current=null,l()}),[r,l])}},CN=e=>{const t=M(null),r=M(!1);return _((n=>{var o,i;const a=null!==(o=null===(i=n.contentBoxSize.at(0))||void 0===i?void 0:i.inlineSize)&&void 0!==o?o:0;(e=>{e.current&&(sN(e.current),e.current=null)})(t),r.current?0!==a?null!==e.current&&(t.current=aN((()=>{var t;null===(t=e.current)||void 0===t||t.update()}),{timeout:2e3})):r.current=!1:r.current=!0}),[e])},EN=({intersectionObserverTaskScheduler:e,resizeObserverTaskScheduler:t,theme:r,isSnapshot:n,miniChartData:o,downloadService:i,direction:a})=>{const s=M(null),l=M(null),u=M(null),{renderChartWithRequestIdleCallback:c,safeCancelIdleCallback:d}=SN({element:s,chart:l,requestId:u,theme:r,isSnapshot:n,direction:a,miniChartData:o,downloadService:i});return(({element:e,intersectionObserverTaskScheduler:t,safeCancelIdleCallback:r,renderChartWithRequestIdleCallback:n,chart:o})=>{const i=_((e=>{e.isIntersecting?n():r()}),[n,r]);w((()=>{if(!e.current||!t)return()=>{};const n=e.current;return t.addTask(n,i),()=>{var e;t.removeTask(n),r(),null===(e=o.current)||void 0===e||e.destroy(),o.current=null}}),[o,e,t,r,i])})({element:s,intersectionObserverTaskScheduler:e,safeCancelIdleCallback:d,renderChartWithRequestIdleCallback:c,chart:l}),(({renderChartWithRequestIdleCallback:e,safeCancelIdleCallback:t,chart:r,intersectionObserverTaskScheduler:n})=>{w((()=>n?()=>{}:(e(),()=>{var e;t(),null===(e=r.current)||void 0===e||e.destroy(),r.current=null})),[n,t,e,r])})({intersectionObserverTaskScheduler:e,safeCancelIdleCallback:d,renderChartWithRequestIdleCallback:c,chart:l}),(({element:e,chart:t,resizeObserverTaskScheduler:r})=>{const n=CN(t);w((()=>{const t=e.current;return t?(r.addTask(t,n),()=>{r.removeTask(t)}):()=>{}}),[e,n,r])})({element:s,chart:l,resizeObserverTaskScheduler:t}),s},wN=({height:e,intersectionObserverTaskScheduler:t,resizeObserverTaskScheduler:r,theme:n,isSnapshot:o,miniChartData:i,downloadService:a,direction:s})=>{const l=EN({intersectionObserverTaskScheduler:t,resizeObserverTaskScheduler:r,theme:n,isSnapshot:o,miniChartData:i,downloadService:a,direction:s});return x.createElement("div",{"data-testid":"picasso-container",ref:l,style:{position:"relative",width:"100%",height:e,overflow:"hidden"}})},RN="cell-text",AN=({children:e,forwardRef:t,isNumeric:r=!1,isPagination:n=!1,isHeadCell:o=!1,lineClamp:i})=>{const{styleService:a}=ZT(YT,(e=>e.baseProps));return o?Rl.jsx(Rq,{"data-testid":RN,ref:t,className:"sn-table-cell-text",lineClamp:a.grid.headerLineClamp,isPagination:n,isHeadCell:!0,style:{direction:r?"ltr":void 0},children:e}):Rl.jsx(Rq,{"data-testid":RN,ref:t,className:"sn-table-cell-text",isNumeric:r,lineClamp:null!=i?i:a.grid.contentLineClamp,isPagination:n,style:{direction:r?"ltr":void 0},children:e})},kN=(e,t)=>e.max===e.min?.5:(t-e.min)/(e.max-e.min),PN=(e,t,r)=>{const n=e.paletteColors?e.paletteColors[t]:e.localPaletteColors[t];return r.getColorPickerColor(n)},LN=(e,t)=>{const r=(e=>e.map((e=>{var t;return null!==(t=e.value)&&void 0!==t?t:e})).sort(((e,t)=>e-t)))(e),n=r.some((e=>!cw(e)));return 0===r.length||n?(e=>{const t=0===e?0:.5*e;return{min:e-t,max:e+t}})(t):1===r.length?((e,t)=>{const r=e[0]-t;if(0===r||!cw(r)){const e=0===t?.5:Math.abs(.5*t);return{min:t-e,max:t+e}}return r>0?{min:t-.5*Math.abs(t),max:e[0]+2*r}:{min:e[0]+2*r,max:t+.5*Math.abs(t)}})(r,t):((e,t)=>{let r=e[e.length-1]-e[0];return r=r>0?r:1,{min:Math.min(t,e[0])-r/2,max:Math.max(t,e[e.length-1])+r/2}})(r,t)},IN=(e,t,r)=>{const n={previousColor:(o=e.localPaletteColors)[(i=t)-(i>0?1:0)],nextColor:o[i+(i<o.length-1?1:0)]};var o,i;const a=((e,t)=>{const r=e.limits&&e.limits.concat().sort(((e,t)=>e.value-t.value));return{lowerLimit:r&&t>0?r[t-1]:{value:0,gradient:!1},upperLimit:r&&r[t]?r[t]:{value:1,gradient:!1}}})(e,t),s=((e,t,r,n,o)=>{const{upperLimit:i,lowerLimit:a}=e,{previousColor:s,nextColor:l}=t,u=n===i.value?1:(n-a.value)/(i.value-a.value);return a.gradient&&i.gradient?n-a.value<i.value-n?{color:s.color,t:.5-u}:{color:l.color,t:u-.5}:a.gradient?{color:s.color,t:1-(.5+u/2)}:i.gradient?{color:l.color,t:u/2}:{color:o.localPaletteColors[r].color,t:n}})(a,n,t,r,e);return s&&ee(e.localPaletteColors[t].color).blend(ee(s.color),s.t)},MN=(e,t,r)=>{const n=((e,t)=>{const{limits:r}=e;return r&&(e.limits=r.sort(((e,t)=>e.value-t.value)),e.limits=r.map((e=>({...e,value:kN(t,e.value)})))),e})({...e},t),o=n.paletteColors||n.localPaletteColors;return o&&(n.localPaletteColors=o.concat().map(((e,t)=>({color:PN(n,t,r)})))),n},_N=(e,t,r,n)=>{const o=MN(e,r,n),{localPaletteColors:i}=o;if(t<=0)return i[0].color;if(t>=1)return i[i.length-1].color;const a=((e,t)=>{let r="",n=0;const{limits:o,localPaletteColors:i}=e;for(let a=0;a<i.length;a++){const i=o&&o[a]?o[a].value:1;if(t>=n&&t<i){r=IN(e,a,t);break}n=i}return r})(o,t);return a},DN=(e,t)=>{const{limits:r}=e.segments;if(!r)return;const n=((e,t)=>{const{min:r,max:n}=LN(e,t),o=Math.abs(t);return{min:null!=r?r:t-o,max:null!=n?n:t+o}})(r,t),o=((e,t,r)=>{const{limits:n,paletteColors:o,localPaletteColors:i}=e.segments;if(!n||!cw(t))return 0;let a=r&&cw(r)?Math.min(r,t):0;const s=n.sort(((e,t)=>e.value-t.value)),l=o||i;for(let e=0;e<l.length;e++){if(e===l.length-1||t<s[e].value&&t>=a)return e;a=s[e].value}return 0})(e,t,n.min);return{limitRange:n,limitPaletteColorIndex:o}},TN=(e,t,r,n)=>{const o=e.indicatorConditionalColoring;if(!o)return;const i=DN(o,t),a=((e,t,r,n)=>{const{segments:o}=e;if(!o||!r)return;const{limits:i}=o;if(null==i||!i.length||!((e,t)=>{var r,n,o;return!(!e||0===e.length||!(null!==(r=null===(n=e[t])||void 0===n?void 0:n.gradient)&&void 0!==r?r:null===(o=e[t-1])||void 0===o?void 0:o.gradient))})(i,r.limitPaletteColorIndex))return PN(o,r.limitPaletteColorIndex,n);const a=kN(r.limitRange,t);return _N(o,a,r.limitRange,n)})(o,t,i,n),s=o.segments.paletteColors[(null==i?void 0:i.limitPaletteColorIndex)||0].icon,{indicator:l}=e;let u=(null==l?void 0:l.position)||"right";return"rtl"===r&&(u="right"===u?"left":"right"),{color:a,iconKey:s,position:u}},ON=(e,t)=>{var r,n,o,i;return"rtl"===e&&"center"!==(null===(r=t.resolvedImagePosition)||void 0===r?void 0:r.horizontal)?(null===(o=t.resolvedImagePosition)||void 0===o?void 0:o.horizontal)&&(e=>"flex-start"===e?"flex-end":"flex-start")(null===(i=t.resolvedImagePosition)||void 0===i?void 0:i.horizontal):null===(n=t.resolvedImagePosition)||void 0===n?void 0:n.horizontal},qN=(e,t)=>e.representation.type===pE.Image&&"fitHeight"===e.representation.imageSize?ON(t,e.representation):e.align,NN=(e,t)=>t||"right"!==e&&"left"!==e?t||"center"!==e?void 0:"row":"row-reverse",jN=(e,t,r)=>{if(!t&&"rtl"===r){if("left"===e.headTextAlign)return"right";if("right"===e.headTextAlign)return"left"}return e.headTextAlign},zN=(e,t)=>"rtl"===e&&"center"!==t?"right"===t?"left":"right":t,FN=(e,t,r)=>"rtl"===e||t&&!r?"0px":"1px",$N=(e,t,r)=>"rtl"===e?t&&!r?"0px":"1px":"0px",HN=e=>{let t="center",r="center";return"flex-start"===(null==e?void 0:e.vertical)?t="top":"flex-end"===(null==e?void 0:e.vertical)&&(t="bottom"),"flex-start"===(null==e?void 0:e.horizontal)?r="left":"flex-end"===(null==e?void 0:e.horizontal)&&(r="right"),`${r} ${t}`},BN=e=>{switch(e){case"alwaysFit":return"contain";case"fill":return"fill";case"fitHeight":case"fitWidth":return"cover";case"originalSize":return"none";default:return}},GN=({representation:e,textStyle:t,maxImageHeight:r,wrapInContainer:n})=>{const{direction:o}=ZT(YT,(e=>e.baseProps)),{url:i,text:a,imageSize:s,resolvedImagePosition:l}=e,u="fitHeight"===s,c=Rl.jsx("img",{src:i,alt:a,style:{...t,width:u?"auto":"100%",height:"100%",maxHeight:r,objectFit:BN(s),objectPosition:HN(l),overflow:"hidden"}});return n?Rl.jsx("div",{"data-key":"image-horizontal-container",style:{width:"100%",height:u?r:"100%",overflow:"hidden",display:"flex",justifyContent:u?ON(o,e):void 0},children:c}):c},WN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9 7V2H7v5H2v2h5v5h2V9h5V7z"})}))),VN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),UN=D(((e,t)=>Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Rl.jsx("path",{d:"M3 9v6.5a.5.5 0 1 1-1 0V.5a.5.5 0 0 1 1 0V1q2.441.639 3.667.639c1.225 0 1.774-.995 3.87-1.196q1.972-.19 3.297.47A.3.3 0 0 1 14 1.18v7.344a.3.3 0 0 1-.417.277q-1.338-.565-3.045-.416c-1.98.172-2.083 1.107-3.871 1.253Q4.879 9.785 3 9"}),Rl.jsx("use",{fillRule:"evenodd"})]}))),YN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M13.9 7.4c-1 1.3-.6 1.5-1.5 4.1-.5 1.8-1.2 2.9-1.7 3.6q-.45.6-.9.9H4.2c-1 0-1.6-.5-1.9-1-.2-.3-.3-.6-.3-1V4.2c0-.4.3-.7.7-.7s.7.3.7.7v3.6l.9-.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v5.1l1.1-.2V.7C6.7.3 7 0 7.4 0s.7.3.7.7v5.9l1.1.1V1.6c0-.4.3-.7.7-.7s.7.3.7.7v7.7s.1 0 .1-.2l.6-1.4c1.1-2.1 3.1-1.1 2.6-.3"})}))),KN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M5 13h6v1.5c0 .3-.2.5-.5.5H10v.5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5V15h-.5c-.3 0-.5-.2-.5-.5zm0-1c0-2-3-3-3-7 0-3 3-5 6-5s6 2 6 5c0 4-3 4-3 7H5m-.5-7c.3 0 .5-.2.5-.5s.2-.7.5-1 .6-.5 1-.5c.3 0 .5-.2.5-.5S6.8 2 6.5 2c-.6 0-1.2.3-1.7.8S4 3.9 4 4.5c0 .3.2.5.5.5"})}))),XN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8m4.5 9c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6h-9c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7z"})}))),JN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M2 7h12v2H2z"})}))),ZN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9 7h7a7.004 7.004 0 0 0-7-7zm1-5.917A6.005 6.005 0 0 1 14.917 6H10zM14 9H7V2a7.002 7.002 0 0 0 0 14 7 7 0 0 0 7-7m-8 1h6.917A6.002 6.002 0 0 1 1 9a6 6 0 0 1 5-5.917z"})}))),QN=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M9 9h3.5c.25 0 .5-.3.5-.6v-.8c0-.3-.25-.6-.5-.6H9V3.5c0-.25-.3-.5-.6-.5h-.7c-.4 0-.7.25-.7.5V7H3.5c-.25 0-.5.3-.5.6v.7c0 .4.25.7.5.7H7v3.5c0 .25.3.5.6.5h.8c.3 0 .6-.25.6-.5zM8 0c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8"})}))),ej=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m8.418 1.007.042.08 1.788 4.217 4.571.388a.5.5 0 0 1 .348.811l-.063.065-3.472 3.008 1.043 4.47a.5.5 0 0 1-.664.581l-.081-.04L8 12.217l-3.93 2.372a.5.5 0 0 1-.757-.453l.012-.089 1.043-4.47L.896 6.568a.5.5 0 0 1 .196-.86l.089-.016 4.571-.388L7.54 1.086a.5.5 0 0 1 .878-.08Z"})}))),tj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1"})}))),rj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})}))),nj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M2.4 4h11.2a.2.2 0 0 1 .16.32l-5.6 7.467a.2.2 0 0 1-.32 0L2.24 4.32A.2.2 0 0 1 2.4 4"})}))),oj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M11 2.4v11.2a.2.2 0 0 1-.32.16l-7.467-5.6a.2.2 0 0 1 0-.32l7.467-5.6a.2.2 0 0 1 .32.16"})}))),ij=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M4 13.6V2.4a.2.2 0 0 1 .32-.16l7.467 5.6a.2.2 0 0 1 0 .32l-7.467 5.6A.2.2 0 0 1 4 13.6"})}))),aj={m:rj,"ï":ej,R:D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M13.6 11H2.4a.2.2 0 0 1-.16-.32l5.6-7.467a.2.2 0 0 1 .32 0l5.6 7.467a.2.2 0 0 1-.16.32"})}))),S:nj,T:oj,U:ij,P:QN,Q:XN,"è":D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M14.98 15H1.04c-1.002 0-1.303-.7-.802-1.5l6.82-11.9c.5-.8 1.303-.8 1.804 0l6.92 11.9c.501.8.1 1.5-.803 1.5M8.5 5h-1c-.3 0-.5.2-.5.5V9c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5V5.5c0-.3-.2-.5-.5-.5m-1 6c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5z"})}))),"¢":YN,"©":UN,"23F4":KN,2013:tj,"&":ZN,add:WN,"minus-2":JN,dot:VN},sj=({size:e,iconKey:t,color:r,pvStyle:n})=>{const o=t&&aj[t];return o&&x.createElement("div",{"data-testid":"representation-indicator-icon",style:{color:r,height:e,...n}},x.createElement(o,{style:{height:e}}))},lj=({representation:e,cellValue:t,paginationCellAlign:r})=>{const{styleService:n,theme:o,direction:i}=ZT(YT,(e=>e.baseProps)),{text:a,indicator:s}=e,{showTextValues:l,applySegmentColors:u}=null!=s?s:{},c=TN(e,t,i,o),d=(e=>parseInt(e||lT,10))(n.measure.values.fontSize),{color:p,iconKey:f,position:h}=c||{};return l?Rl.jsxs("div",{"data-key":"representation-indicator",style:{display:"flex",justifyContent:null!=r?r:"flex-end",alignItems:"center",gap:"2px",overflow:"hidden",color:u?p:void 0},children:["left"===h&&sj({size:d,iconKey:f,color:p}),Rl.jsx(AN,{isNumeric:!0,children:a}),"right"===h&&sj({size:d,iconKey:f,color:p})]}):sj({size:d,iconKey:f,color:p})},uj=(e,t)=>e.contentStaticLineCount?e.contentLineHeight*(null!=t?t:e.grid.contentLineClamp):e.contentLineHeight,cj=({forwardRef:e,cell:t,style:r,virtualizedCell:n,lineClamp:o,intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a,paginationCellAlign:s})=>{const{interactions:l,styleService:u,theme:c,layout:d,downloadService:p,direction:f}=ZT(YT,(e=>e.baseProps)),h=ZT(YT,(e=>{var t;return null===(t=e.selectionState.api)||void 0===t?void 0:t.isActive()}));let m=t.representation.text;if(t.representation.type!==pE.Link||h||(m=Rl.jsx(nN,{href:t.representation.url,text:t.representation.text,interactions:l,color:r.cellForegroundColor})),t.representation.type===pE.Image)return Rl.jsx(GN,{representation:t.representation,textStyle:r,maxImageHeight:uj(u,o),wrapInContainer:!n});const g="string"==typeof(b=t.qIsNull?t.representation.text:t.qNum)&&b.length>0||"number"==typeof b?+b:NaN;var b;return t.representation.type!==pE.Indicator||Number.isNaN(g)?t.representation.type===pE.MiniChart&&t.representation.miniChart&&!t.isNull?Rl.jsx(wN,{height:uj(u,o),intersectionObserverTaskScheduler:i,resizeObserverTaskScheduler:a,miniChartData:t.representation.miniChart,theme:c,isSnapshot:!!d.snapshotData,direction:f,downloadService:p}):Rl.jsx(AN,{forwardRef:e,isNumeric:t.isNumeric,lineClamp:o,isPagination:!n,children:m}):Rl.jsx(lj,{representation:t.representation,cellValue:g,paginationCellAlign:n?void 0:s})},dj=(e,t,r,n)=>({handleMouseDown:n=>{null==e||e(n);const o=n.target;if(t.isSelectable&&"A"!==o.tagName){const e=()=>{r({type:iL.SelectMultiEnd})};r({type:iL.SelectMouseDown,payload:{cell:t,mouseupOutsideCallback:e}})}},handleMouseOver:e=>{1===e.buttons&&r({type:iL.SelectMultiAdd,payload:{cell:t,evt:e,announce:n}})},handleMouseUp:e=>{0===e.button&&r({type:iL.SelectMouseUp,payload:{cell:t,evt:e,announce:n}})}}),pj=(e,t)=>{const{paginationNeeded:r,totalsPosition:n}=ZT(YT,(e=>e.tableData)),{selectionsAPI:o,rootElement:i,keyboard:a,interactions:s,direction:l}=ZT(YT,(e=>e.baseProps)),u=ZT(YT,(e=>e.setFocusedCellCoord)),c=ZT(YT,(e=>e.selectionDispatch)),d=!!s.active&&!!s.select,p=s=>{Vq({evt:s,rootElement:i,selectionsAPI:o,cell:e,selectionDispatch:c,isSelectionsEnabled:d,setFocusedCellCoord:u,announce:t,keyboard:a,paginationNeeded:r,totalsPosition:n,direction:l})},f=e=>{((e,t)=>{e.key===cS.Shift&&t({type:iL.SelectMultiEnd})})(e,c)},h=()=>{((e,t,r,n,o)=>{const{pageRowIdx:i,pageColIdx:a}=e,s=o.atTop?i+2:i+1;Nq([s,a],t,r,n)})(e,i,u,a,n)};if(!d)return{onKeyDown:p,onKeyUp:f,onMouseDown:h};const{handleMouseDown:m,handleMouseOver:g,handleMouseUp:b}=dj(h,e,c,t);return{onKeyDown:p,onKeyUp:f,onMouseDown:m,onMouseUp:b,onMouseOver:g}},fj=(e,t)=>{const{colIdx:r,rows:n,api:o}=t;let i=oL.Inactive;return null!=o&&o.isModal()&&(i=r!==e.selectionColIdx?oL.Disabled:n.has(e.qElemNumber)?oL.Selected:oL.Possible),i},hj=(e,t,r)=>{if(!r.isNull)return e;const n={...e,...t.nullValues};return t.grid.zebraStripes.show?(t.grid.zebraStripes.overrideNullValueColor&&(n.color=e.color),t.grid.zebraStripes.overrideNullValueBackground&&(n.background=e.background),n):n},mj=(e,t,r)=>{const{color:n,background:o}=e.grid.zebraStripes[r];return{...t,...n?{color:n}:void 0,...o?{background:o}:void 0}},gj=(e,t,r)=>{if(t.grid.zebraStripes.show){const n=(r.rowIdx+1)%2==0;return mj(t,e,n?"even":"odd")}return e},bj=(e,t)=>{const{styleService:r}=ZT(YT,(e=>e.baseProps)),n=ZT(YT,(t=>fj(e,t.selectionState)));let o=t.isDim?r.dimension.values:r.measure.values;o=gj(o,r,e),o=hj(o,r,e);const i=OT(o,e.qAttrExps,t.qAttrExprInfoIDs),a=function(e,t,r){return t===oL.Selected?{...e,...r}:t===oL.Disabled?{...e,background:`${aT}, ${e.background}`}:e}(E((()=>e.isNull?o:OT(o,e.qAttrExps,t.qAttrExprInfoIDs)),[o,e.qAttrExps,e.isNull,t.qAttrExprInfoIDs]),n,r.selectedColors);return{cellStyle:{...a,borderColor:r.grid.border},representationStyle:i,cellSelectionState:n}},vj=$P(zI,{shouldForwardProp:e=>"lastRowBottomBorder"!==e})((({lastRowBottomBorder:e})=>({"& tr:last-child":{"& td, th":{borderBottomWidth:e}}}))),yj=$P(aM,{shouldForwardProp:e=>"hoverColors"!==e&&"hover"!==e&&"height"!==e})((({hover:e,hoverColors:t,height:r})=>({height:r,"&&:hover":{background:"none"},...e&&{"&&:hover":{"& td:not(.selected), th:not(.selected)":t}}}))),xj=$P(GI,{shouldForwardProp:e=>"cellStyle"!==e})((({cellStyle:e,theme:t})=>({...dT,...e,padding:t.spacing(.5,1.5),verticalAlign:"top",width:"100%",height:"100%"}))),Sj=$P(GI,{shouldForwardProp:e=>!["atTop","headRowHeight","totalsStyle","direction"].includes(e)})((({totalsStyle:e,atTop:t,headRowHeight:r,theme:n})=>({...dT,...e,fontWeight:uT,position:"sticky",padding:n.spacing(.5,1.5),borderWidth:t?"0px 1px 1px 0px":"1px 1px 1px 0px",top:t?r:void 0,bottom:t?void 0:0,verticalAlign:t?"bottom":"top",zIndex:t?1:void 0}))),Cj=({cell:e,announce:t,column:r,columnIndex:n,intersectionObserverTaskScheduler:o,resizeObserverTaskScheduler:i})=>{const{interactions:a,direction:s}=ZT(YT,(e=>e.baseProps)),{onKeyDown:l,onKeyUp:u,onMouseDown:c,onMouseUp:d,onMouseOver:p}=pj(e,t),{cellStyle:f,representationStyle:h,cellSelectionState:m}=bj(e,r);return Rl.jsx(xj,{cellStyle:f,scope:0===n?"row":void 0,component:0===n?"th":void 0,align:e.align,tabIndex:-1,className:`sn-table-cell ${m} ${uS}`,title:a.passive?e.representation.text:void 0,onKeyDown:l,onKeyUp:u,onMouseDown:c,onMouseUp:d,onMouseOver:p,children:Rl.jsx(cj,{cell:e,style:h,intersectionObserverTaskScheduler:o,resizeObserverTaskScheduler:i,paginationCellAlign:zN(s,e.align)})})},Ej=(e,{atTop:t,atBottom:r},n)=>({borderLeftColor:e.grid.border,borderRightColor:e.grid.border,borderTopColor:!n&&r?e.grid.divider:e.grid.border,borderBottomColor:n&&!t||!n&&t?e.grid.divider:e.grid.border}),wj=()=>{const{columns:e,totalsPosition:t,rows:r}=ZT(YT,(e=>e.tableData)),{rootElement:n,selectionsAPI:o,keyboard:i,styleService:a,interactions:s,direction:l}=ZT(YT,(e=>e.baseProps)),u=ZT(YT,(e=>e.headRowHeight)),c=ZT(YT,(e=>e.setFocusedCellCoord)),d=!(null==o||!o.isModal()),p=!!s.active;return Rl.jsx(aM,{className:"sn-table-row sn-table-totals-row",children:e.map(((e,o)=>{const f=[t.atTop?1:r.length+1,o];return Rl.jsx(Sj,{totalsStyle:{...a.totalRow,...Ej(a,t,!1)},headRowHeight:u,atTop:t.atTop,align:e.totalsTextAlign,className:`sn-table-cell ${uS}`,tabIndex:-1,title:s.passive?e.totalInfo:void 0,onKeyDown:e=>{(e=>{const{isSelectionMode:t,evt:r,isInteractionEnabled:n}=e;if(!t&&n)switch(r.key){case cS.C:Hq(r);break;case cS.Space:r.preventDefault();break;default:Bq(e)}else Hx(r)})({evt:e,rootElement:n,cellCoord:f,setFocusedCellCoord:c,isSelectionMode:d,isInteractionEnabled:p,direction:l})},onMouseDown:()=>{Nq(f,n,c,i)},children:Rl.jsx(AN,{isNumeric:e.isTotalNumeric,isPagination:!0,children:e.totalInfo})},e.id)}))})};var Rj=T(wj);const Aj=({updateShouldRefocus:e,tableWrapperRef:t,announce:r})=>{var n;const{rows:o,columns:i,totalsPosition:a}=ZT(YT,(e=>e.tableData)),{selectionsAPI:s,keyboard:l,layout:u,styleService:c}=ZT(YT,(e=>e.baseProps)),d=ZT(YT,(e=>e.selectionDispatch)),p=!(null===(n=MT(u))||void 0===n||null===(n=n.content)||void 0===n||!n.hoverEffect);tN({keyboard:l,selectionDispatch:d,selectionsAPI:s,updateShouldRefocus:e,tableWrapperRef:t});const f=(e=>{const t=_((t=>new IntersectionObserver((e=>{e.forEach((e=>{const r=t.get(e.target);null==r||r(e)}))}),{root:e.current})),[e]);return Zq(t)})(t),h=eN();return Rl.jsxs(vj,{lastRowBottomBorder:c.grid.lastRowBottomBorder,children:[a.atTop?Rl.jsx(Rj,{}):void 0,o.map(((e,t)=>Rl.jsx(yj,{hoverColors:c.grid.hoverColors,hover:p,tabIndex:-1,className:"sn-table-row sn-table-data-row",height:c.contentMinRowHeight,children:i.map(((t,n)=>{const{id:o}=t,i=e[n];return Rl.jsx(Cj,{columnIndex:n,cell:i,column:t,announce:r,intersectionObserverTaskScheduler:f,resizeObserverTaskScheduler:h},o)}))},`row-${t}`))),a.atBottom?Rl.jsx(Rj,{}):void 0]})};var kj=T(Aj);const Pj=(e,t)=>{var r;return!(null===(r=e.viewState)||void 0===r||!r.skipHeader)||!!t.hideHeader},Lj=({column:e,isLastColumn:t,onColumnResize:r,setIsAdjustingWidth:n})=>{const{pageColIdx:o,label:i}=e,{applyColumnWidths:a,interactions:s,translator:l,direction:u}=ZT(YT,(e=>e.baseProps)),c=ZT(YT,(e=>e.columnWidths)),d=ZT(YT,(e=>e.setColumnWidths));if(!s.active)return null;return Rl.jsx(nO,{columnWidth:c[o],isLastColumn:t,keyValue:`adjuster-${o}`,updateWidthCallback:e=>{null==r||r();const t=[...c];t[o]=e,d(t)},confirmWidthCallback:t=>{a(t,e)},handleBlur:e=>{(e=>{_q(e);const t=e.closest(".sn-table-cell");Tq(t)})(e.currentTarget)},setIsAdjustingWidth:n,accessibilityRelatedArgs:{translator:l,columnLabel:i},direction:u})},Ij=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3.5 1.793 6.207 4.5l-.707.707-1.5-1.5V14H3V3.707l-1.5 1.5L.793 4.5zM8 4h5v1H8zm0 3h6v1H8zm0 3h7v1H8z"})}))),Mj=D(((e,t)=>Rl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:Rl.jsx("path",{d:"M3 2h1v10.293l1.5-1.5.707.707L3.5 14.207.793 11.5l.707-.707 1.5 1.5zm12 2H8v1h7zM8 7h6v1H8zm5 3H8v1h5z"})}))),_j=D(((e,t)=>Rl.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:[Rl.jsx("path",{d:"M13 7H8zV4.982C13 2.23 10.761 0 8 0S3 2.23 3 4.982V7h.75H3h1.5V5.332C4.5 3.216 5.549 1.5 8 1.5s3.5 1.716 3.5 3.832V7h.75H3a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H3z"}),Rl.jsx("use",{fillRule:"evenodd"})]}))),Dj=$P("div",{shouldForwardProp:e=>!["direction","isPagination"].includes(e)})((({direction:e,isPagination:t})=>({position:"absolute",left:t&&"rtl"===e?0:void 0,bottom:0}))),Tj=$P(fI,{shouldForwardProp:e=>!["textAlign","direction","isPagination"].includes(e)})((({textAlign:e,theme:t,direction:r,isPagination:n})=>({textAlign:e,height:"auto",padding:t.spacing(.5,1),display:"flex",alignItems:"flex-end",justifySelf:e,alignSelf:"center",flexDirection:"rtl"===r?NN(e,n):void 0})));$P("span")({border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",top:20,width:1});const Oj=$P(fI,{shouldForwardProp:e=>"shouldShowMenuIcon"!==e&&"shouldShowLockIcon"!==e&&"alignment"!==e})((({shouldShowMenuIcon:e,shouldShowLockIcon:t,alignment:r})=>{const n=e?"24px":"";let o;switch(r){case"left":o={gridTemplateColumns:t?`20px 2fr ${n}`:`1fr ${n}`};break;case"center":{const r=e||t;o={gridTemplateColumns:r?"24px 2fr 24px":"1fr","& .sn-table-lock-icon":{gridColumn:1},"& .sn-table-head-label":{gridColumn:r?2:1},[`& .${aS}`]:{gridColumn:3}};break}case"right":o={gridTemplateColumns:t?`${n} 2fr 20px`:`${n} 1fr`,"& .sn-table-lock-icon":{gridColumn:t?3:"unset"},"& .sn-table-head-label":{gridColumn:e?2:"span 2"},[`& .${aS}`]:{gridColumn:1}}}return{width:"100%",display:"grid",gridAutoFlow:"dense",fontSize:"inherit",fontFamily:"inherit",alignItems:"end",overflow:"hidden",...o}})),qj=$P(fI,{shouldForwardProp:e=>"rightAligned"!==e})((({rightAligned:e})=>({display:"flex",alignItems:"center",width:"20px",height:"24px",flexShrink:0,flexDirection:"inherit",justifyContent:e?"flex-start":"flex-end"})));$P(fI,{shouldForwardProp:e=>"isVisible"!==e&&"rightAligned"!==e})((({rightAligned:e})=>({...e?{marginRight:"auto"}:{marginLeft:"auto"},height:"24px",display:"flex"}))),$P(AI)((({theme:e})=>({borderRadius:"4px",margin:e.spacing(0,.5),padding:e.spacing(1,1.5),display:"flex",justifyContent:"space-between","&&:focus":{boxShadow:"rgb(23, 127, 230) 0px 0px 0px 2px"}}))),$P("div")((()=>({display:"flex",justifyContent:"space-between",alignItems:"center"}))),$P(xI)((({theme:e})=>({marginRight:e.spacing(1.5),lineHeight:0}))),$P("div")((({theme:e})=>({height:"350px",boxSizing:"border-box",background:e.palette.common.white})));const Nj=$P(GI,{shouldForwardProp:e=>"headerStyle"!==e&&"interactions"!==e&&"hoverBackground"!==e&&"background"!==e})((({headerStyle:e,interactions:t,hoverBackground:r,background:n})=>({...dT,...e,cursor:t.active?"pointer":"default",background:n,verticalAlign:"bottom","&&:focus-visible, &&:hover":{background:t.active?r:n}})));$P("div")({display:"flex",alignItems:"center"});const jj=$P("span",{shouldForwardProp:e=>"align"!==e&&"dir"!==e})((({align:e,dir:t})=>({minWidth:lT,display:"flex",paddingBottom:"2px",alignSelf:"end",..."right"===e||"rtl"===t&&"center"===e?{paddingRight:"8px"}:{paddingLeft:"8px"}}))),zj=({column:e,isInteractionEnabled:t,open:r,setOpen:n,allColumnsIconVisibilityStatusRef:o,isPagination:i,forwardRef:a})=>{const{translator:s,changeSortOrder:l,interactions:u,embed:c,app:d,styleService:p,layout:f,direction:h}=ZT(YT,(e=>e.baseProps)),m=ZT(YT,(t=>t.columnWidths[e.pageColIdx])),g=ZT(YT,(e=>e.baseProps.model)),b=M(null),v=M(null),y=(({styleService:e,column:t,columnWidth:r})=>{const{measureText:n}=Jx({fontSize:e.header.fontSize,fontFamily:e.header.fontFamily,fontWeight:uT});return _((()=>{let e=!1,o=!1,i=!1;const a=t.isLocked,s=t.isActivelySorted,l=r-25,u=a?20:0,c=s?20:0;let d=n(t.label);return a&&d+u<=l&&(i=!0,d+=u,s&&d+c<=l&&(o=!0,d+=c)),!a&&s&&d+c<=l&&(o=!0,d+=c),d+24<=l&&(e=!0,d+=24),{shouldShowMenuIcon:e,shouldShowSortIcon:o,shouldShowLockIcon:i}}),[t.isLocked,t.label,t.isActivelySorted,r,n])})({styleService:p,column:e,columnWidth:m}),x=y(),{StartIcon:S,EndIcon:C,LockIcon:E}=(({sortDirection:e,headTextAlign:t},{shouldShowSortIcon:r,shouldShowLockIcon:n},o)=>{const i="A"===e?Rl.jsx(Ij,{height:lT,"data-testid":"head-cell-sort-ascending-icon"}):Rl.jsx(Mj,{height:lT,"data-testid":"head-cell-sort-descending-icon"}),a=r?Rl.jsx(jj,{align:t,dir:o,children:i}):void 0,s=n?Rl.jsx(qj,{rightAligned:"right"===t,className:"sn-table-lock-icon",children:Rl.jsx(_j,{height:lT,"data-testid":"head-cell-lock-icon"})}):void 0;return"right"===t?{StartIcon:a,LockIcon:s}:{EndIcon:a,LockIcon:s}})(e,x,h);o&&(o.current[e.pageColIdx]=x);return Rl.jsxs(Oj,{shouldShowMenuIcon:x.shouldShowMenuIcon,shouldShowLockIcon:x.shouldShowLockIcon,alignment:jN(e,i,h),children:[E,Rl.jsxs(Tj,{className:"sn-table-head-label",textAlign:e.headTextAlign,direction:h,isPagination:i,children:[S,Rl.jsx(AN,{forwardRef:a,isPagination:i,isHeadCell:!0,children:e.label}),C]}),t?Rl.jsxs(Rl.Fragment,{children:[Rl.jsx(VO,{headerData:{...e,dimensionInfoIndex:e.colIdx},translator:s,anchorRef:b,menuAvailabilityFlags:{[BO.Sorting]:!0,[BO.Searching]:!0,[BO.Selections]:!0,[BO.AdjusterHeaderSize]:!0},open:r,setOpen:n,interactions:u,sortRelatedArgs:{sortFromMenu:(t,r)=>(t.stopPropagation(),l(e,r))},searchRelatedArgs:{embed:c,listboxRef:v},selectionRelatedArgs:{app:d,qStateName:f.qStateName},adjustHeaderSizeRelatedArgs:{focusColumnAdjuster:Oq},shouldShowMenuIcon:x.shouldShowMenuIcon,model:g,direction:h,isPagination:i}),Rl.jsx(Dj,{ref:v,direction:h,isPagination:i}),Rl.jsx(Dj,{ref:b,direction:h})]}):null]})},Fj=({isInteractionEnabled:e,columnsData:t})=>{const[r,n]=C(!1),{isAdjustingWidth:o,setIsAdjustingWidth:i}=(e=>{const[t,r]=C(!1);return tS((()=>{r(!1)}),e),{isAdjustingWidth:t,setIsAdjustingWidth:r}})([t]);return{open:r,setOpen:n,handleOpenMenu:t=>{!e||(e=>{var t;return null===(t=e.target)||void 0===t||null===(t=t.getAttribute("class"))||void 0===t?void 0:t.includes(dS)})(t)||o||n(!0)},setIsAdjustingWidth:i}},$j=({column:e,columnIndex:t,columnsLength:r})=>{const{interactions:n,rootElement:o,keyboard:i,styleService:a,direction:s}=ZT(YT,(e=>e.baseProps)),{columns:l,totalsPosition:u}=ZT(YT,(e=>e.tableData)),c=ZT(YT,(e=>e.columnWidths[t])),d=ZT(YT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()})),p=ZT(YT,(e=>e.setFocusedCellCoord)),f=ZT(YT,(({focusedCellCoord:[e,r]})=>0===e&&r===t)),h=!!n.active&&!d,{open:m,setOpen:g,handleOpenMenu:b,setIsAdjustingWidth:v}=Fj({isInteractionEnabled:h,columnsData:l}),y=e.isActivelySorted?aL[e.sortDirection]:void 0,x=m?lS:void 0,S=m?"true":void 0,C=t===r-1,E=[0,e.pageColIdx],w={width:c-(C?8:9),zIndex:l.length-t},R=f&&0===t&&!i.enabled&&h?0:-1;return Rl.jsxs(Nj,{headerStyle:{...a.header,...Ej(a,u,!0)},background:m?a.headerMenuActiveBackground:a.header.background,hoverBackground:a.headerMenuHoverBackground,interactions:n,style:w,align:e.headTextAlign,className:`sn-table-head-cell sn-table-cell ${uS}`,tabIndex:R,title:n.passive?e.label:void 0,onKeyDown:e=>{(e=>{const{isInteractionEnabled:t,evt:r,handleOpenMenu:n}=e;if(t)switch(r.key){case cS.C:Hq(r);break;case cS.Enter:case cS.Space:null==n||n(r);break;default:Bq(e)}else Hx(r)})({evt:e,rootElement:o,cellCoord:E,setFocusedCellCoord:p,isInteractionEnabled:h,handleOpenMenu:b,direction:s})},onMouseDown:e=>{(({evt:e,rootElement:t,cellCoord:r,setFocusedCellCoord:n,keyboard:o,isInteractionEnabled:i})=>{e.preventDefault(),i&&Nq(r,t,n,o)})({evt:e,rootElement:o,cellCoord:E,setFocusedCellCoord:p,keyboard:i,isInteractionEnabled:h})},onClick:b,"aria-sort":y,"aria-controls":x,"aria-expanded":S,"aria-haspopup":"true",children:[Rl.jsx(zj,{column:e,isInteractionEnabled:h,open:m,setOpen:g,isPagination:!0}),Rl.jsx(Lj,{column:e,isLastColumn:C,setIsAdjustingWidth:v})]},e.id)},Hj=()=>{const{columns:e}=ZT(YT,(e=>e.tableData)),{styleService:t,viewService:r,layout:n}=ZT(YT,(e=>e.baseProps)),o=ZT(YT,(e=>e.setHeadRowHeight)),i=ZT(YT,(e=>e.columnWidths)),a=M(null),s=Pj(r,n);return w((()=>{a.current&&o(a.current.getBoundingClientRect().height)}),[t.header.fontSize,i,o,s]),Rl.jsx(eM,{style:{visibility:s?"collapse":void 0},children:Rl.jsx(aM,{ref:a,className:"sn-table-row sn-table-head-row",children:e.map(((t,r)=>Rl.jsx($j,{column:t,columnIndex:r,columnsLength:e.length},t.id)))})})};var Bj=T(Hj);const Gj=e=>{var t,r;const{pageInfo:n,setPageInfo:o,footerContainer:i,announce:a}=e,{page:s,rowsPerPage:l}=n,{totalColumnCount:u,totalRowCount:c,totalPages:d,paginationNeeded:p,rows:f,columns:h}=ZT(YT,(e=>e.tableData)),{rootElement:m,keyboard:g,translator:b,theme:v,interactions:y,styleService:x,viewService:S,layout:C,rect:E,direction:R}=ZT(YT,(e=>e.baseProps)),A=ZT(YT,(e=>e.setYScrollbarWidth)),k=ZT(YT,(e=>e.showRightBorder)),P=ZT(YT,(e=>e.selectionDispatch)),L=ZT(YT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()})),I=M(!1),D=M(null),T=M(null),{yScrollbarWidth:O}=Uq(D),q=`${b.get("SNTable.Accessibility.RowsAndColumns",[String(f.length),String(h.length)])} ${b.get("SNTable.Accessibility.NavigationInstructions")}`,N=wR(C,S),j=N&&null!==(t=S.scrollLeft)&&void 0!==t?t:0,z=N&&null!==(r=S.rowPartialHeight)&&void 0!==r?r:0,F=_((()=>{I.current=m.getElementsByTagName("table")[0].contains(document.activeElement)}),[m]),$=_((e=>{o({...n,page:e}),a({keys:[["SNTable.Pagination.PageStatusReport",(e+1).toString(),d.toString()]],politeness:"assertive"})}),[n,o,d,a]),H=_((e=>{o({...n,page:0,rowsPerPage:e}),a({keys:[["SNTable.Pagination.RowsPerPageChange",e.toString()]],politeness:"assertive"})}),[a,n,o]);return $q(D,R,S),((e,t)=>{const{keyboard:r}=ZT(YT,(e=>e.baseProps));w((()=>{const n=e.current;if(!n)return;const o=e=>{jq(e,t,r)};return n.addEventListener("focusout",o),()=>{n.removeEventListener("focusout",o)}}),[e,t,r])})(T,I),(()=>{const{rootElement:e,keyboard:t}=ZT(YT,(e=>e.baseProps)),r=ZT(YT,(e=>e.focusedCellCoord));tS((()=>{const n=Iq(e,r);t.active?Tq(n):(null==n||n.blur(),Dq(e))}),[t.active,e])})(),Fq(I,a,s),w((()=>{const e=D.current;e&&(e.scrollLeft=j,e.scrollTop=z)}),[n,c,j,z]),Aq((()=>{A(O)}),[O]),Aq((()=>{P({type:iL.UpdatePageRows,payload:{pageRows:f}})}),[f]),zq(),Rl.jsxs(wq,{ref:T,background:v.background,dir:R,onKeyDown:e=>{Wq({evt:e,totalRowCount:c,page:s,rowsPerPage:l,handleChangePage:$,updateShouldRefocus:F,keyboard:g,isSelectionMode:L})},"data-testid":"sn-table",children:[Rl.jsx(Jq,{}),Rl.jsx(Kq,{ref:D,className:"sn-table-container",fullHeight:!!i||!y.active||!p,interactions:y,tabIndex:-1,role:"application","data-testid":"table-container",children:Rl.jsxs(Xq,{stickyHeader:!0,"aria-label":q,borderRight:k?`1px solid ${x.grid.border}`:void 0,children:[Rl.jsx(Bj,{}),Rl.jsx(kj,{...e,updateShouldRefocus:F,tableWrapperRef:T})]})}),Rl.jsx(Cq,{footerContainer:i,pageInfo:n,paginationNeeded:p,theme:v,totalRowCount:c,totalColumnCount:u,totalPages:d,keyboard:g,translator:b,interactions:y,rect:E,layout:C,handleChangePage:$,handleChangeRowsPerPage:H,isSelectionMode:L,direction:R})]})};var Wj=T(Gj),Vj=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Uj(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(n=e[r],o=t[r],!(n===o||Vj(n)&&Vj(o)))return!1;var n,o;return!0}function Yj(e,t){var r;void 0===t&&(t=Uj);var n,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&r===this&&t(a,o)||(n=e.apply(this,a),i=!0,r=this,o=a),n}}var Kj="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Xj(e){cancelAnimationFrame(e.id)}function Jj(e,t){var r=Kj();var n={id:requestAnimationFrame((function o(){Kj()-r>=t?e.call(null):n.id=requestAnimationFrame(o)}))};return n}var Zj=-1;function Qj(e){if(void 0===e&&(e=!1),-1===Zj||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Zj=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Zj}var ez=null;function tz(e){if(void 0===e&&(e=!1),null===ez||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ez="positive-descending":(t.scrollLeft=1,ez=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),ez}return ez}var rz=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function nz(e){var t,r=e.getColumnOffset,n=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,s=e.getEstimatedTotalWidth,l=e.getOffsetForColumnAndAlignment,u=e.getOffsetForRowAndAlignment,c=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=h(n.props,fo(n)),n._resetIsScrollingTimeoutId=null,n._outerRef=void 0,n.state={instance:fo(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=Yj((function(e,t,r,o,i,a,s,l){return n.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:r,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:s,visibleRowStopIndex:l})})),n._callOnScroll=void 0,n._callOnScroll=Yj((function(e,t,r,o,i){return n.props.onScroll({horizontalScrollDirection:r,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),n._getItemStyle=void 0,n._getItemStyle=function(e,t){var o,a=n.props,s=a.columnWidth,l=a.direction,u=a.rowHeight,p=n._getItemStyleCache(m&&s,m&&l,m&&u),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=r(n.props,t,n._instanceProps),g="rtl"===l;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(n.props,e,n._instanceProps),height:c(n.props,e,n._instanceProps),width:i(n.props,t,n._instanceProps)}}return o},n._getItemStyleCache=void 0,n._getItemStyleCache=Yj((function(e,t,r){return{}})),n._onScroll=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,s=t.scrollHeight,l=t.scrollWidth;n.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=n.props.direction,u=i;if("rtl"===t)switch(tz()){case"negative":u=-i;break;case"positive-descending":u=l-o-i}u=Math.max(0,Math.min(u,l-o));var c=Math.max(0,Math.min(a,s-r));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:u,scrollTop:c,verticalScrollDirection:e.scrollTop<a?"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&&Xj(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Jj(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1)}))},n}po(t,e),t.getDerivedStateFromProps=function(e,t){return oz(e,t),g(e),null};var b=t.prototype;return b.scrollTo=function(e){var t=e.scrollLeft,r=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==r&&(r=Math.max(0,r)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===r&&(r=e.scrollTop),e.scrollLeft===t&&e.scrollTop===r?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:r,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<r?"forward":"backward"}}),this._resetIsScrollingDebounced)},b.scrollToItem=function(e){var t=e.align,r=void 0===t?"auto":t,n=e.columnIndex,o=e.rowIndex,i=this.props,c=i.columnCount,d=i.height,p=i.rowCount,f=i.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,b=Qj();void 0!==n&&(n=Math.max(0,Math.min(n,c-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var v=a(this.props,this._instanceProps),y=s(this.props,this._instanceProps)>f?b:0,x=v>d?b:0;this.scrollTo({scrollLeft:void 0!==n?l(this.props,n,r,m,this._instanceProps,x):m,scrollTop:void 0!==o?u(this.props,o,r,g,this._instanceProps,y):g})},b.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,r=e.initialScrollTop;if(null!=this._outerRef){var n=this._outerRef;"number"==typeof t&&(n.scrollLeft=t),"number"==typeof r&&(n.scrollTop=r)}this._callPropsCallbacks()},b.componentDidUpdate=function(){var e=this.props.direction,t=this.state,r=t.scrollLeft,n=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(tz()){case"negative":o.scrollLeft=-r;break;case"positive-ascending":o.scrollLeft=r;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-r}else o.scrollLeft=Math.max(0,r);o.scrollTop=Math.max(0,n)}this._callPropsCallbacks()},b.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Xj(this._resetIsScrollingTimeoutId)},b.render=function(){var e=this.props,t=e.children,r=e.className,n=e.columnCount,o=e.direction,i=e.height,l=e.innerRef,u=e.innerElementType,c=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?rz:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,b=e.style,v=e.useIsScrolling,y=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),C=S[0],E=S[1],w=this._getVerticalRangeToRender(),A=w[0],k=w[1],P=[];if(n>0&&g)for(var L=A;L<=k;L++)for(var I=C;I<=E;I++)P.push(R(t,{columnIndex:I,data:d,isScrolling:v?x:void 0,key:f({columnIndex:I,data:d,rowIndex:L}),rowIndex:L,style:this._getItemStyle(L,I)}));var M=a(this.props,this._instanceProps),_=s(this.props,this._instanceProps);return R(h||m||"div",{className:r,onScroll:this._onScroll,ref:this._outerRefSetter,style:yt({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},b)},R(u||c||"div",{children:P,ref:l,style:{height:M,pointerEvents:x?"none":void 0,width:_}}))},b._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,r=e.onItemsRendered,n=e.onScroll,o=e.rowCount;if("function"==typeof r&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],s=i[1],l=i[2],u=i[3],c=this._getVerticalRangeToRender(),d=c[0],p=c[1],f=c[2],h=c[3];this._callOnItemsRendered(a,s,d,p,l,u,f,h)}if("function"==typeof n){var m=this.state,g=m.horizontalScrollDirection,b=m.scrollLeft,v=m.scrollTop,y=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(b,v,g,x,y)}},b._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,s=e.rowCount,l=this.state,u=l.horizontalScrollDirection,c=l.isScrolling,d=l.scrollLeft,p=r||i||a||1;if(0===t||0===s)return[0,0,0,0];var f=n(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=c&&"backward"!==u?1:Math.max(1,p),g=c&&"forward"!==u?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},b._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,r=e.overscanCount,n=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,s=a.isScrolling,l=a.verticalScrollDirection,u=a.scrollTop,c=n||o||r||1;if(0===t||0===i)return[0,0,0,0];var d=p(this.props,u,this._instanceProps),h=f(this.props,d,u,this._instanceProps),m=s&&"backward"!==l?1:Math.max(1,c),g=s&&"forward"!==l?1:Math.max(1,c);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(q),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var oz=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},iz=function(e,t){var r=e.rowCount,n=t.rowMetadataMap,o=t.estimatedRowHeight,i=t.lastMeasuredRowIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},az=function(e,t){var r=e.columnCount,n=t.columnMetadataMap,o=t.estimatedColumnWidth,i=t.lastMeasuredColumnIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},sz=function(e,t,r,n){var o,i,a;if("column"===e?(o=n.columnMetadataMap,i=t.columnWidth,a=n.lastMeasuredColumnIndex):(o=n.rowMetadataMap,i=t.rowHeight,a=n.lastMeasuredRowIndex),r>a){var s=0;if(a>=0){var l=o[a];s=l.offset+l.size}for(var u=a+1;u<=r;u++){var c=i(u);o[u]={offset:s,size:c},s+=c}"column"===e?n.lastMeasuredColumnIndex=r:n.lastMeasuredRowIndex=r}return o[r]},lz=function(e,t,r,n){var o,i;return"column"===e?(o=r.columnMetadataMap,i=r.lastMeasuredColumnIndex):(o=r.rowMetadataMap,i=r.lastMeasuredRowIndex),(i>0?o[i].offset:0)>=n?uz(e,t,r,i,0,n):cz(e,t,r,Math.max(0,i),n)},uz=function(e,t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),s=sz(e,t,a,r).offset;if(s===i)return a;s<i?o=a+1:s>i&&(n=a-1)}return o>0?o-1:0},cz=function(e,t,r,n,o){for(var i="column"===e?t.columnCount:t.rowCount,a=1;n<i&&sz(e,t,n,r).offset<o;)n+=a,a*=2;return uz(e,t,r,Math.min(n,i-1),Math.floor(n/2),o)},dz=function(e,t,r,n,o,i,a){var s="column"===e?t.width:t.height,l=sz(e,t,r,i),u="column"===e?az(t,i):iz(t,i),c=Math.max(0,Math.min(u-s,l.offset)),d=Math.max(0,l.offset-s+a+l.size);switch("smart"===n&&(n=o>=d-s&&o<=c+s?"auto":"center"),n){case"start":return c;case"end":return d;case"center":return Math.round(d+(c-d)/2);default:return o>=d&&o<=c?o:d>c||o<d?d:c}},pz=nz({getColumnOffset:function(e,t,r){return sz("column",e,t,r).offset},getColumnStartIndexForOffset:function(e,t,r){return lz("column",e,r,t)},getColumnStopIndexForStartIndex:function(e,t,r,n){for(var o=e.columnCount,i=e.width,a=sz("column",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=sz("column",e,u,n).size;return u},getColumnWidth:function(e,t,r){return r.columnMetadataMap[t].size},getEstimatedTotalHeight:iz,getEstimatedTotalWidth:az,getOffsetForColumnAndAlignment:function(e,t,r,n,o,i){return dz("column",e,t,r,n,o,i)},getOffsetForRowAndAlignment:function(e,t,r,n,o,i){return dz("row",e,t,r,n,o,i)},getRowOffset:function(e,t,r){return sz("row",e,t,r).offset},getRowHeight:function(e,t,r){return r.rowMetadataMap[t].size},getRowStartIndexForOffset:function(e,t,r){return lz("row",e,r,t)},getRowStopIndexForStartIndex:function(e,t,r,n){for(var o=e.rowCount,i=e.height,a=sz("row",e,t,n),s=r+i,l=a.offset+a.size,u=t;u<o-1&&l<s;)u++,l+=sz("row",e,u,n).size;return u},initInstanceProps:function(e,t){var r=e,n={columnMetadataMap:{},estimatedColumnWidth:r.estimatedColumnWidth||50,estimatedRowHeight:r.estimatedRowHeight||50,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return t.resetAfterColumnIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({columnIndex:e,shouldForceUpdate:r})},t.resetAfterRowIndex=function(e,r){void 0===r&&(r=!0),t.resetAfterIndices({rowIndex:e,shouldForceUpdate:r})},t.resetAfterIndices=function(e){var r=e.columnIndex,o=e.rowIndex,i=e.shouldForceUpdate,a=void 0===i||i;"number"==typeof r&&(n.lastMeasuredColumnIndex=Math.min(n.lastMeasuredColumnIndex,r-1)),"number"==typeof o&&(n.lastMeasuredRowIndex=Math.min(n.lastMeasuredRowIndex,o-1)),t._getItemStyleCache(-1),a&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.columnWidth,e.rowHeight}}),fz=function(e,t){return e};function hz(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,l=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,c=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=l(n.props,fo(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:fo(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Yj((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Yj((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,a=i.direction,s=i.itemSize,l=i.layout,c=n._getItemStyleCache(u&&s,u&&l,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),p=o(n.props,e,n._instanceProps),f="horizontal"===a||"horizontal"===l,h="rtl"===a,m=f?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=Yj((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(tz()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<a?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,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&&Xj(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=Jj(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}po(t,e),t.getDerivedStateFromProps=function(e,t){return mz(e,t),c(e),null};var d=t.prototype;return d.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)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,o=r.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var s=0;if(this._outerRef){var l=this._outerRef;s="vertical"===o?l.scrollWidth>l.clientWidth?Qj():0:l.scrollHeight>l.clientHeight?Qj():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,s))},d.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===n?o.scrollLeft=r:o.scrollTop=r}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,o=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(tz()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Xj(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,r=e.className,o=e.direction,i=e.height,a=e.innerRef,s=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?fz:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,b=e.useIsScrolling,v=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),E=C[0],w=C[1],A=[];if(u>0)for(var k=E;k<=w;k++)A.push(R(t,{data:c,key:p(k,c),index:k,isScrolling:b?y:void 0,style:this._getItemStyle(k)}));var P=n(this.props,this._instanceProps);return R(h||m||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:yt({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},R(s||l||"div",{children:A,ref:a,style:{height:x?"100%":P,pointerEvents:y?"none":void 0,width:x?P:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],o=e[3];this._callOnItemsRendered(t,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,l=n.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,l,this._instanceProps),c=s(this.props,u,l,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,r),p=o&&"forward"!==i?1:Math.max(1,r);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},t}(q),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var mz=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},gz=function(e,t,r){var n=e.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var s=o[i];a=s.offset+s.size}for(var l=i+1;l<=t;l++){var u=n(l);o[l]={offset:a,size:u},a+=u}r.lastMeasuredIndex=t}return o[t]},bz=function(e,t,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),a=gz(e,i,t).offset;if(a===o)return i;a<o?n=i+1:a>o&&(r=i-1)}return n>0?n-1:0},vz=function(e,t,r,n){for(var o=e.itemCount,i=1;r<o&&gz(e,r,t).offset<n;)r+=i,i*=2;return bz(e,t,Math.min(r,o-1),Math.floor(r/2),n)},yz=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=r&&(i=r-1),i>=0){var s=n[i];a=s.offset+s.size}return a+(r-i-1)*o},xz=hz({getItemOffset:function(e,t,r){return gz(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:yz,getOffsetForIndexAndAlignment:function(e,t,r,n,o,i){var a=e.direction,s=e.height,l=e.layout,u=e.width,c="horizontal"===a||"horizontal"===l?u:s,d=gz(e,t,o),p=yz(e,o),f=Math.max(0,Math.min(p-c,d.offset)),h=Math.max(0,d.offset-c+d.size+i);switch("smart"===r&&(r=n>=h-c&&n<=f+c?"auto":"center"),r){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);default:return n>=h&&n<=f?n:n<h?h:f}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?n[o].offset:0)>=r?bz(e,t,o,0,r):vz(e,t,Math.max(0,o),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var o=e.direction,i=e.height,a=e.itemCount,s=e.layout,l=e.width,u="horizontal"===o||"horizontal"===s?l:i,c=gz(e,t,n),d=r+u,p=c.offset+c.size,f=t;f<a-1&&p<d;)f++,p+=gz(e,f,n).size;return f},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}});function Sz(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var Cz=["style"],Ez=["style"];function wz(e,t){var r=e.style,n=yr(e,Cz),o=t.style,i=yr(t,Ez);return!Sz(r,o)&&!Sz(n,i)}const Rz=({style:e})=>Rl.jsx("div",{className:"sn-table-cell",style:{...e,borderWidth:"0px 1px 1px 0px",boxSizing:"border-box"}});var Az=x.memo(Rz,wz);const kz=e=>{var t;return null===(t=e.at(0))||void 0===t||null===(t=t.contentBoxSize.at(0))||void 0===t?void 0:t.blockSize},Pz=(e,t,r)=>{w((()=>{const r=e.current;if(!r)return()=>{};const n=new ResizeObserver(t);return n.observe(r),()=>{n.disconnect()}}),[e,t,r])},Lz=()=>{},Iz=e=>{e.preventDefault()};const Mz=({columnIndex:e,rowIndex:t,style:r,data:n})=>{var o,i;const{rowsInPage:a,columns:s,isHoverEnabled:l,setMeasuredCellHeight:u,lineClamp:c,resizeObserverTaskScheduler:d}=n,p=ZT(YT,(e=>e.hoverIndex===t)),f=ZT(YT,(e=>e.setHoverIndex)),{interactions:h,styleService:m,direction:g}=ZT(YT,(e=>e.baseProps)),b=ZT(YT,(e=>e.showRightBorder)),v=null===(o=a[t])||void 0===o?void 0:o[e],{handleMouseDown:y,handleMouseOver:x,handleMouseUp:S,cellSelectionState:C}=function(e){const{interactions:t}=ZT(YT,(e=>e.baseProps)),r=ZT(YT,(e=>e.selectionDispatch)),n="object"==typeof e,o=ZT(YT,(t=>n?fj(e,t.selectionState):oL.Inactive)),i=t.active&&t.select;if(n&&i){const{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i}=dj(Iz,e,r,Lz);return{handleMouseDown:t,handleMouseOver:n,handleMouseUp:i,cellSelectionState:o}}return{cellSelectionState:o}}(v),E=((e,t,r,n)=>{const o=M(null),i=r&&!r.isNumeric,a=_((r=>{const o=kz(r);o&&i&&n(o,e,t)}),[t,n,e,i]);return Pz(o,a),o})(t,e,v,u),w=null!==(i=s[e])&&void 0!==i&&i.isDim?m.dimension.values:m.measure.values;if("object"==typeof v){const n=((e,t,r,n,o,i)=>{let a=gj(o,i,e);a=hj(a,i,e);const s=!e.isNull&&t.qAttrExprInfoIDs.length?OT(a,e.qAttrExps,t.qAttrExprInfoIDs):a;return n===oL.Selected?{...s,...i.selectedColors}:n===oL.Disabled?{...s,color:r?null===(l=i.grid.hoverColors)||void 0===l?void 0:l.color:s.color,background:`${aT}, ${r?null===(u=i.grid.hoverColors)||void 0===u?void 0:u.background:s.background}`}:r?{...s,...i.grid.hoverColors}:s;var l,u})(v,s[e],l&&p,C,w,m),o={rowindex:t,columnindex:e};return Rl.jsx("div",{className:`sn-table-cell ${C} ${uS}`,style:{...r,...n,display:"flex",alignItems:"start",borderColor:m.grid.border,borderTop:"0px",borderBottomWidth:v.isLastRow?"0px":"1px",borderRightWidth:FN(g,v.isLastColumn,b),borderLeftWidth:$N(g,v.isLastColumn,b),justifyContent:qN(v,g),borderStyle:"solid",padding:"4px 12px",boxSizing:"border-box",cursor:"default",overflow:"hidden",textAlign:v.align},onMouseDown:y,onMouseUp:S,onMouseOver:x,onMouseEnter:l?()=>{f(t)}:void 0,onMouseLeave:l?()=>{f(-1)}:void 0,title:h.passive?v.representation.text:void 0,...o,children:Rl.jsx(cj,{forwardRef:m.contentStaticLineCount||1===c?void 0:E,cell:v,style:n,lineClamp:c,virtualizedCell:!0,resizeObserverTaskScheduler:d})})}return Rl.jsx(Az,{style:{...r,...w,borderColor:m.grid.border,borderWidth:"0px 1px 1px 0px",borderStyle:"solid",boxSizing:"border-box"}})};var _z=T(Mz,wz);const Dz=e=>{const t=M(e);return t.current=e,t},Tz=({qLeft:e,qTop:t,qWidth:r,qHeight:n})=>`${e}-${t}-${r}-${n}`,Oz=(e,t,r,n,o)=>{const i=e[r];if(!i)return!0;for(let e=t;e<t+n;e++){const t=i[e];if((null==t?void 0:t.rowIdx)!==o)return!0}return!1},qz=(e,t,r,n)=>{const o=e.slice(r,n);return 0===o.length||o.some((e=>!e[t]))},Nz=(e,t,r,n,o,i,a,s)=>{e.forEach((e=>{e.qMatrix.forEach(((l,u)=>{const c=e.qArea.qTop-t.page*t.rowsPerPage,{row:d,pageRowIdx:p}=((e,t,r,n,o,i,a,s,l,u)=>{var c;const{qSize:d}=a.qHyperCube,p=n.qTop+r,f=o+r,h=null!==(c=e[f])&&void 0!==c?c:[];return t.forEach(((e,t)=>{const r=t+n.qLeft;if(h.at(r))return;const{colIdx:o,isDim:c,isLocked:m,bodyTextAlign:g,selectionColIdx:b,qAttrExprInfoIndex:v,representation:y,conditionalColoring:x,qMiniChart:S}=i[r],C=mR(c,e,a),E=!c&&e.qIsNull,w=E?pw(C):dw(e);h[r]={id:lw(),...e,align:CR(w,g,u),rowIdx:p,colIdx:o,isSelectable:c&&!m,pageRowIdx:f,pageColIdx:r,selectionColIdx:b,isLastRow:p===d.qcy-1,isLastColumn:r===d.qcx-1,isNumeric:w,isNull:(!E||!w)&&hR(e,c),representation:fR({cell:e,representationProperties:y,attrExprInfoIndex:v,env:s,conditionalColoring:x,miniChartOnMeasure:S,getText:()=>E?C:e.qText,direction:u,enabledFeatures:{[pE.Image]:s.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[pE.Indicator]:!0,[pE.MiniChart]:!0}})},l(h[r],p,r)})),{row:h,pageRowIdx:f}})(r,l,u,e.qArea,c,n,o,i,a,s);r[p]=d}))}))},jz=({layout:e,model:t,theme:r,initialDataPages:n,pageInfo:o,rowCount:i,visibleRowCount:a,visibleColumnCount:s,columns:l,gridState:u,setEstimatedCellHeight:c})=>{const d=ZT(YT,(e=>e.env)),{direction:p}=ZT(YT,(e=>e.baseProps)),f=M([]),h=_(((t,r)=>{const n=Array.isArray(r)?r.slice(0,i):(e=>Array(e).fill(void 0))(i);return Nz(t,o,n,l,e,d,c,p),f.current=n,n}),[i,o,l,e,d,c,p]),[m,g]=C((()=>h(null!=n?n:[])));tS((()=>{g(h(null!=n?n:[]))}),[n,p]);const b=((e,t)=>{const r=M(new Set),n=M(new Set),o=M(new Set),i=Dz(e),a=Dz(t),s=E((()=>({enqueue:e=>{const t=Tz(e);o.current.has(t)||(r.current.add(e),o.current.add(t),1===r.current.size&&setTimeout((async()=>{const e=Array.from(r.current.values());if(0!==e.length){r.current.clear(),n.current.add(e);try{const t=(e=>{const t=[];return e.forEach((e=>{if(t.length>0){const r=t[t.length-1];((e,t)=>e.qTop+e.qHeight===t.qTop&&e.qLeft===t.qLeft&&e.qWidth===t.qWidth)(r,e)?r.qHeight+=e.qHeight:((e,t)=>e.qLeft+e.qWidth===t.qLeft&&e.qTop===t.qTop&&e.qHeight===t.qHeight)(r,e)?r.qWidth+=e.qWidth:t.push({...e})}else t.push({...e})})),t})(e),r=await i.current(t);n.current.has(e)&&a.current(r)}catch(t){e.forEach((e=>{o.current.delete(Tz(e))})),console.error("Failed to fetch pages",t)}finally{n.current.delete(e)}}}),75))},clear:()=>{r.current.clear(),n.current.clear(),o.current.clear()}})),[i,a]);return s})((e=>t&&"getHyperCubeData"in t?t.getHyperCubeData("/qHyperCubeDef",e):Promise.resolve([])),(e=>{g((t=>h(e,t)))})),v=_(((e,t,r,n)=>{for(let o=e;o<e+r;o++)if(qz(f.current,o,t,n)){const e={qLeft:o,qTop:t,qHeight:n,qWidth:1};b.enqueue(e)}}),[f,b]),y=_(((e,t,r,n)=>{for(let i=t;i<t+n;i++){const t=Math.max(0,i-o.page*o.rowsPerPage);if(Oz(f.current,e,t,r,i)){const t={qLeft:e,qTop:i,qHeight:1,qWidth:r};b.enqueue(t)}}}),[f,b,o]);return w((()=>{const{qcx:t,qcy:r}=e.qHyperCube.qSize,n=u.current.overscanRowStartIndex,i=u.current.overscanColumnStartIndex,l=n+o.page*o.rowsPerPage,c=t-i,d=o.rowsPerPage-n,p=Math.min(100,c,t,s+5),f=Math.min(100,d,r,a+25);return y(i,l,p,f),()=>{b.clear()}}),[e,a,s,o,b,y,u,r]),{rowsInPage:m,loadRows:y,loadColumns:v}},zz=e=>{let t=0;return e.forEach((e=>{e>t&&(t=e)})),t},Fz=(e,t)=>void 0===e||Math.abs(e-t)>1e-4,$z=({isSnapshot:e,isStaticNbrOfLines:t,lineClamp:r,setCellHeight:n})=>{const o=ZT(YT,(e=>e.baseProps.styleService)),i=ZT(YT,(e=>e.columnWidths)),{estimateLineCount:a}=Jx(o.dimension.values),s=BT(o.dimension.values.fontSize),l=e||t||1===r;return _(((e,t,o)=>{if(l||e.representation.type===pE.Image||e.isNumeric)return;const u=(e=>Math.max(0,e-24-1))(i[o]),c=e.representation.text?a({text:e.representation.text,maxWidth:u,isNumeric:!1}):1,d=Math.min(r,Math.max(1,c));n(d*s,t,o)}),[l,i,a,r,s,n])},Hz=({isStaticNbrOfLines:e,minRowHeight:t,state:r,rowCount:n,staticRowHeight:o,viewService:i})=>E((()=>{const{estimatedRowHeight:a,totalRowHeight:s}=e?{totalRowHeight:n*o,estimatedRowHeight:o}:(e=>{let t=0;e.forEach((e=>{t+=e}));const r=0===e.size?0:t/e.size;return{estimatedRowHeight:Math.ceil(r),totalRowHeight:t}})(r.rowHeights);return i.estimatedRowHeight=Math.max(a,t),Math.max(n*t,s)}),[e,t,n,r,o,i]),Bz=({rowCount:e,isSnapshot:t,viewService:r,gridRef:n,pageInfo:o})=>{const{styleService:i}=ZT(YT,(e=>e.baseProps)),[a,s]=C({rowHeights:new Map,cellHeightsInGrid:new Map}),l=i.contentLineHeight,u=i.contentMinRowHeight,c=!!i.contentStaticLineCount,d=Math.max(8e6/e,u)-9,p=d+9,f=Math.max(1,Math.min(i.grid.contentLineClamp,Math.round(d/l))),h=(({lineClamp:e,lineHeight:t,isStaticNbrOfLines:r})=>r?t*e+8+1:void 0)({lineClamp:f,lineHeight:l,isStaticNbrOfLines:c});(({gridRef:e,setState:t,pageInfo:r})=>{var n,o;const{layout:i}=ZT(YT,(e=>e.baseProps)),a=ZT(YT,(e=>e.columnWidths)),s=null===(n=i.multiline)||void 0===n?void 0:n.wrapTextInCells,l=null===(o=i.nullValueRepresentation)||void 0===o?void 0:o.text;tS((()=>{var r;null===(r=e.current)||void 0===r||r.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1}),t({rowHeights:new Map,cellHeightsInGrid:new Map})}),[i.qHyperCube.qSize.qcx,i.qHyperCube.qSize.qcy,r.page,s,l]),tS((()=>{var t;null===(t=e.current)||void 0===t||t.resetAfterIndices({columnIndex:0,rowIndex:0,shouldForceUpdate:!1})}),[a])})({gridRef:n,setState:s,pageInfo:o});const m=(({setState:e,maxCellHeight:t,minRowHeight:r,gridRef:n})=>_(((o,i,a)=>{N((()=>{e((e=>{var s,l;const u=Math.max(r,o+9),c=Math.min(t,u),d=null!==(s=e.cellHeightsInGrid.get(i))&&void 0!==s?s:e.cellHeightsInGrid.set(i,new Map).get(i);if(!Fz(d.get(a),c))return e;const p={...e};return d.set(a,c),p.rowHeights.set(i,zz(d)),null===(l=n.current)||void 0===l||l.resetAfterIndices({columnIndex:a,rowIndex:i,shouldForceUpdate:!1}),p}))}))}),[e,r,t,n]))({maxCellHeight:p,minRowHeight:u,setState:s,gridRef:n}),g=(({isSnapshot:e,isStaticNbrOfLines:t,lineClamp:r,setCellHeight:n})=>_(((o,i,a)=>{e||t||1===r||n(o,i,a)}),[e,t,r,n]))({isSnapshot:t,isStaticNbrOfLines:c,lineClamp:f,setCellHeight:m});return{setMeasuredCellHeight:g,setEstimatedCellHeight:$z({isSnapshot:t,isStaticNbrOfLines:c,lineClamp:f,setCellHeight:m}),getRowHeight:_((e=>{var t;return c?h:null!==(t=a.rowHeights.get(e))&&void 0!==t?t:u}),[c,u,a.rowHeights,h]),totalRowHeight:Hz({isStaticNbrOfLines:c,minRowHeight:u,state:a,staticRowHeight:h,rowCount:e,viewService:r}),lineClamp:f}},Gz=(e,t)=>{O((()=>()=>{t(0)}),[e,t]);const r=_((e=>{const r=kz(e);void 0!==r&&t(r)}),[t]);Pz(e,r)};var Wz;!function(e){e.Left="Left",e.Right="Right",e.Up="Up",e.Down="Down",e.None="None"}(Wz||(Wz={}));const Vz=({layout:e,loadRows:t,loadColumns:r,rowCount:n,pageInfo:o,gridState:i,viewService:a})=>_((({overscanColumnStartIndex:s,overscanColumnStopIndex:l,overscanRowStartIndex:u,overscanRowStopIndex:c,visibleColumnStartIndex:d,visibleColumnStopIndex:p,visibleRowStartIndex:f,visibleRowStopIndex:h})=>{const{verticalScrollDirection:m,horizontalScrollDirection:g}=(({overscanColumnStartIndex:e,overscanRowStartIndex:t},r,n)=>{let o=Wz.None,i=Wz.None;return o=n>t?Wz.Down:n<t?Wz.Up:Wz.None,i=r>e?Wz.Right:r<e?Wz.Left:Wz.None,{verticalScrollDirection:o,horizontalScrollDirection:i}})(i.current,s,u);if(i.current.overscanColumnStartIndex=s,i.current.overscanColumnStopIndex=l,i.current.overscanRowStartIndex=u,i.current.overscanRowStopIndex=c,u>n)return;const b=s,v=u+o.page*o.rowsPerPage,y=l-s+1,x=c-u+1;if(a.visibleLeft=d,a.visibleWidth=p-d+1,a.visibleTop=f+o.page*o.rowsPerPage,a.visibleHeight=h-f+1,a.page=o.page,a.rowsPerPage=o.rowsPerPage,m===Wz.Down){const e=x+25;t(b,v,y,u+e>n?n-u:e)}else if(m===Wz.Up){const e=x+25,r=o.page*o.rowsPerPage,n=Math.max(r,v-25);t(b,n,y,e)}if(g===Wz.Right){const t=e.qHyperCube.qSize.qcx-b,n=y+5,o=Math.min(t,n);r(b,v,o,x)}else if(g===Wz.Left){const t=Math.max(0,b-5),n=Math.min(e.qHyperCube.qSize.qcx,y+5);r(t,v,n,x)}}),[i,n,o.page,o.rowsPerPage,a,t,e.qHyperCube.qSize.qcx,r]),Uz={enabled:!1},Yz=()=>{},Kz={current:null};const Xz=(e,t,r,n,o)=>{const i=Math.min(t.rowsPerPage,e.qHyperCube.qSize.qcy-t.page*t.rowsPerPage),a=Math.min(i,Math.ceil(r.height/o)),s=E((()=>n.reduce(((e,t)=>e.width<r.width?{width:e.width+t,count:e.count+1}:e),{count:0,width:0})),[r,n]).count;return{rowCount:i,visibleRowCount:a,visibleColumnCount:s}},Jz=({columnIndex:e,data:t,rowIndex:r})=>{var n,o;const i=null===(n=t.rowsInPage[r])||void 0===n?void 0:n[e];return null!==(o=null==i?void 0:i.id)&&void 0!==o?o:`${r}-${e}`},Zz={overflow:"hidden",willChange:"auto"};var Qz=T(D(((e,t)=>{var r;const{rect:n,columns:o,pageInfo:i,headerAndTotalsHeight:a,setInnerBodyHeight:s}=e,{layout:l,model:u,theme:c,viewService:d,styleService:p,direction:f}=ZT(YT,(e=>e.baseProps)),h=ZT(YT,(e=>e.columnWidths)),m=ZT(YT,(e=>e.initialDataPages)),g=M(null),b=M(null),v=M({overscanColumnStartIndex:0,overscanRowStartIndex:0,overscanColumnStopIndex:0,overscanRowStopIndex:0}),y=M(0),x=!(null===(r=MT(l))||void 0===r||null===(r=r.content)||void 0===r||!r.hoverEffect),{rowCount:S,visibleRowCount:C,visibleColumnCount:R}=Xz(l,i,n,h,p.contentMinRowHeight),{setMeasuredCellHeight:A,setEstimatedCellHeight:k,getRowHeight:P,lineClamp:L,totalRowHeight:I}=Bz({rowCount:S,isSnapshot:!!l.snapshotData,viewService:d,gridRef:g,pageInfo:i}),{rowsInPage:_,loadRows:D,loadColumns:T}=jz({layout:l,model:u,theme:c,initialDataPages:m,pageInfo:i,rowCount:S,visibleRowCount:C,visibleColumnCount:R,columns:o,gridState:v,setEstimatedCellHeight:k}),q=Vz({layout:l,loadRows:D,loadColumns:T,rowCount:S,pageInfo:i,gridState:v,viewService:d}),N=eN(),z=E((()=>({rowsInPage:_,columns:o,isHoverEnabled:x,lineClamp:L,setMeasuredCellHeight:A,resizeObserverTaskScheduler:N})),[_,o,x,L,A,N]),F=((e,t,r)=>Math.min(e.height-t,r))(n,a,I);return O((()=>{var e;1===y.current&&(null===(e=g.current)||void 0===e||e.scrollToItem({rowIndex:S-1,align:"start"}))})),function(e){const{selectionsAPI:t}=ZT(YT,(e=>e.baseProps)),r=ZT(YT,(e=>e.selectionDispatch));w((()=>{r({type:iL.UpdatePageRows,payload:{pageRows:e}})}),[r,e]),tN({selectionsAPI:t,selectionDispatch:r,updateShouldRefocus:Yz,keyboard:Uz,tableWrapperRef:Kz})}(_),j(t,(()=>({interpolatedScrollTo:(e,t)=>{var r,n;const o=(null!==(r=null===(n=b.current)||void 0===n?void 0:n.clientHeight)&&void 0!==r?r:F)-F,i=Math.round(o*e);var a,s,l;(y.current=e,1===y.current)?(null===(a=g.current)||void 0===a||a.scrollToItem({rowIndex:S-1,align:"start"}),null===(s=g.current)||void 0===s||s.scrollTo({scrollLeft:t})):null===(l=g.current)||void 0===l||l.scrollTo({scrollTop:i,scrollLeft:t})}})),[b,F,S]),Gz(b,s),Rl.jsx(pz,{"data-key":"body",ref:g,innerRef:b,style:Zz,columnCount:l.qHyperCube.qSize.qcx,columnWidth:e=>h[e],height:F,rowCount:S,rowHeight:P,estimatedRowHeight:d.estimatedRowHeight,width:n.width,itemData:z,onItemsRendered:q,itemKey:Jz,className:"sn-table-body",direction:f,children:_z})})));const eF=({width:e,height:t,children:r})=>Rl.jsx("div",{"data-key":"full-size-container",style:{display:"block",width:e,height:t},children:r}),tF=(e,t)=>{const r=M(null),n=ZT(YT,(e=>e.columnWidths));O((()=>{r.current&&t(r.current.getBoundingClientRect().height+9,e)}),[t,r,e,n.length]);const o=_((r=>{const n=kz(r);n&&t(n+9,e)}),[e,t]);return Pz(r,o),r},rF=$P("div",{shouldForwardProp:e=>"interactions"!==e&&"hoverBackground"!==e&&"background"!==e&&"applicableStyle"!==e})((({interactions:e,hoverBackground:t,background:r,applicableStyle:n})=>({...n,background:r,"&&:hover":{background:e.active?t:void 0}}))),nF=({index:e,style:t,data:r})=>{const{columns:n,columResizeHandler:o,allColumnsIconVisibilityStatusRef:i,setMeasuredCellHeight:a}=r,{interactions:s,styleService:l,direction:u}=ZT(YT,(e=>e.baseProps)),c=ZT(YT,(e=>{var t;return null===(t=e.baseProps.selectionsAPI)||void 0===t?void 0:t.isModal()})),d=ZT(YT,(e=>e.showRightBorder)),p=ZT(YT,(e=>e.tableData.totalsPosition)),f=!!s.active&&!c,{open:h,setOpen:m,handleOpenMenu:g,setIsAdjustingWidth:b}=Fj({isInteractionEnabled:f,columnsData:n}),v=tF(e,a),y=n[e],x=n.length-1===e;return Rl.jsxs(rF,{className:`sn-table-cell ${uS}`,title:s.passive?y.label:void 0,onClick:g,applicableStyle:{...l.header,...Ej(l,p,!0)},style:{...t,cursor:"pointer",display:"flex",alignItems:"flex-end",borderStyle:"solid",borderRightWidth:FN(u,x,d),borderLeftWidth:$N(u,x,d),borderTopWidth:"0px",borderBottomWidth:"1px",padding:"4px",justifyContent:y.headTextAlign,boxSizing:"border-box",zIndex:n.length-e,flexDirection:"right"===y.headTextAlign?"row-reverse":"row",userSelect:"none"},interactions:s,hoverBackground:l.headerMenuHoverBackground,background:h?l.headerMenuActiveBackground:l.header.background,children:[Rl.jsx(zj,{forwardRef:v,column:y,isInteractionEnabled:f,open:h,setOpen:m,allColumnsIconVisibilityStatusRef:i}),Rl.jsx(Lj,{column:y,isLastColumn:x,onColumnResize:o,setIsAdjustingWidth:b})]})},oF=e=>{const[t,r]=C(new Map);tS((()=>{r(new Map)}),[e.length]);const n=_(((e,t)=>{r((r=>Fz(r.get(t),e)?new Map(r).set(t,e):r))}),[]);return{rowHeight:E((()=>zz(t)),[t]),setMeasuredCellHeight:n}},iF=(e,t)=>{j(e,(()=>({scrollTo:e=>{var r;return null===(r=t.current)||void 0===r?void 0:r.scrollTo(e)}})),[t])},aF=(e,t,r,n,o)=>{tS((()=>{var t;null===(t=e.current)||void 0===t||t.resetAfterIndex(0,!1)}),[t,r,e,n,o])},sF={overflow:"hidden",boxSizing:"border-box",willChange:"auto"},lF=D(((e,t)=>{const{rect:r,columns:n,pageInfo:o,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setHeaderRowHeight:s}=e,l=M(null),u=M(null),{layout:c,theme:d,styleService:p,direction:f,viewService:h}=ZT(YT,(e=>e.baseProps)),m=ZT(YT,(e=>e.columnWidths)),{rowHeight:g,setMeasuredCellHeight:b}=oF(n),v=Pj(h,c);return iF(t,l),aF(l,c,o,m,d),Gz(u,s),Rl.jsx(xz,{ref:l,outerRef:u,layout:"horizontal",style:{...sF,...v?{display:"none"}:void 0},itemCount:c.qHyperCube.qSize.qcx,itemSize:e=>m[e],height:Math.max(g+8,p.headerMinRowHeight),width:r.width,itemData:{columns:n,columResizeHandler:i,allColumnsIconVisibilityStatusRef:a,setMeasuredCellHeight:b},direction:f,children:nF})}));var uF=T(lF);const cF=D(((e,t)=>{const{children:r,width:n,height:o,onScroll:i}=e,{interactions:a,direction:s}=ZT(YT,(e=>e.baseProps));return Rl.jsx("div",{"data-testid":"scrollable-container",ref:t,style:{overflow:a.scroll?"auto":"hidden",width:n,height:o},onScroll:i,dir:s,children:r})})),dF=({children:e,rect:t})=>{const{direction:r}=ZT(YT,(e=>e.baseProps));return Rl.jsx("div",{"data-testid":"sticky-container",style:{position:"sticky",top:"0px",left:"rtl"!==r?"0px":void 0,right:"rtl"===r?"0px":void 0,width:t.width,height:t.height},children:e})},pF=({index:e,style:t,data:r})=>{const{columns:n,totals:o,setMeasuredCellHeight:i}=r,{layout:a,interactions:s,styleService:l,direction:u}=ZT(YT,(e=>e.baseProps)),c=ZT(YT,(e=>e.showRightBorder)),d=tF(e,i),p=n[e].totalInfo,{totalsTextAlign:f,isTotalNumeric:h}=n[e],m=a.qHyperCube.qSize.qcx-1===e;return Rl.jsx("div",{className:`sn-table-cell ${uS}`,title:s.passive?p:void 0,style:{...t,...l.totalRow,...Ej(l,o,!1),background:l.totalRow.background,display:"flex",alignItems:o.atTop?"end":"start",borderStyle:"solid",borderRightWidth:FN(u,m,c),borderLeftWidth:$N(u,m,c),borderTopWidth:o.atBottom?"1px":"0px",borderBottomWidth:o.atTop?"1px":"0px",padding:"4px 12px",justifyContent:f,textAlign:f,boxSizing:"border-box",cursor:"default"},children:Rl.jsx(AN,{forwardRef:h?void 0:d,isNumeric:h,children:p})})},fF=D(((e,t)=>{const{rect:r,pageInfo:n,totals:o,columns:i,setTotalsRowHeight:a}=e,s=M(null),l=M(null),{layout:u,theme:c,styleService:d,direction:p}=ZT(YT,(e=>e.baseProps)),f=ZT(YT,(e=>e.columnWidths)),{rowHeight:h,setMeasuredCellHeight:m}=oF(i);return iF(t,s),aF(s,u,n,f,c),Gz(l,a),Rl.jsx(xz,{ref:s,outerRef:l,layout:"horizontal",style:sF,itemCount:u.qHyperCube.qSize.qcx,itemSize:e=>f[e],height:Math.max(h,d.totalRowMinHeight),width:r.width,itemData:{columns:i,totals:o,setMeasuredCellHeight:m},direction:p,children:pF})}));var hF=T(fF);const mF=(e,t,r,n,o)=>_((i=>{var a,s,l;const{scrollHeight:u,clientHeight:c,scrollTop:d}=i.currentTarget,p=((e,t)=>{const{scrollWidth:r,clientWidth:n,scrollLeft:o}=e,i=r-n;if("rtl"===t){if(o>i)return i;if(o<0)return Math.abs(o)}return o})(i.currentTarget,o),f=Math.max(0,Math.min(1,d/(u-c)));n.scrollTopRatio=f,n.scrollLeft=p,null===(a=r.current)||void 0===a||a.interpolatedScrollTo(Number.isNaN(f)?0:f,p),null===(s=e.current)||void 0===s||s.scrollTo(p),null===(l=t.current)||void 0===l||l.scrollTo(p)}),[n,r,e,t,o]),gF=e=>{const{pageInfo:t}=e,{totalsPosition:r,columns:n,paginationNeeded:o}=ZT(YT,(e=>e.tableData)),{layout:i,theme:a,rect:s,viewService:l,direction:u}=ZT(YT,(e=>e.baseProps)),c=ZT(YT,(e=>e.columnWidths)),d=ZT(YT,(e=>e.setYScrollbarWidth)),p=M(null),f=M(null),h=M(null),m=M(null),{xScrollbarWidth:g,yScrollbarWidth:b}=Uq(p),v=M([]),y=E((()=>((e,t)=>{const r=e.height-(t?41:0);return{width:e.width,height:r}})(s,o)),[s,o]),x=E((()=>((e,t,r)=>({width:e.width-r,height:e.height-t}))(y,g,b)),[y,g,b]),{rowCount:S}=Xz(i,t,x,c,0),{headerAndTotalsHeight:w,innerBodyHeight:R,setHeaderRowHeight:A,setTotalsRowHeight:k,setInnerBodyHeight:P}=(()=>{const[e,t]=C(0),[r,n]=C(0),[o,i]=C(0);return{headerAndTotalsHeight:e+r,innerBodyHeight:o,setHeaderRowHeight:t,setTotalsRowHeight:n,setInnerBodyHeight:i}})(),{width:L,height:I}=(({innerBodyHeight:e,headerAndTotalsHeight:t,rowCount:r,stickyContainerRect:n,columnWidths:o})=>{const{styleService:i}=ZT(YT,(e=>e.baseProps)),a=e+t,s=r*i.contentMinRowHeight+t;let l=s;return s<n.height&&a>n.height&&(l=a),{width:o.reduce(((e,t)=>e+t),0),height:l}})({innerBodyHeight:R,headerAndTotalsHeight:w,rowCount:S,stickyContainerRect:x,columnWidths:c}),D=mF(f,h,m,l,u),T=_((()=>{p.current&&(p.current.scrollTop=0)}),[p]);zq(),O((()=>{p.current&&(p.current.scrollLeft=0,p.current.scrollTop=0)}),[n.length]),O((()=>{p.current&&(p.current.scrollTop=0)}),[t,S,a]),Aq((()=>{d(b)}),[b]);const q=Rl.jsx(hF,{rect:x,pageInfo:t,columns:n,ref:h,totals:r,setTotalsRowHeight:k},"totals");return Rl.jsx(cF,{ref:p,width:y.width,height:y.height,onScroll:D,children:Rl.jsx(eF,{width:L,height:I,children:Rl.jsxs(dF,{rect:x,children:[Rl.jsx(uF,{rect:x,pageInfo:t,columns:n,ref:f,columResizeHandler:T,allColumnsIconVisibilityStatusRef:v,setHeaderRowHeight:A}),r.atTop?q:null,Rl.jsx(Qz,{ref:m,rect:x,pageInfo:t,columns:n,headerAndTotalsHeight:w,setInnerBodyHeight:P}),r.atBottom?q:null]})})})};var bF=T(gF);const vF=()=>{const{theme:e,keyboard:t,translator:r,interactions:n,rect:o,layout:i}=ZT(YT,(e=>e.baseProps)),{paginationNeeded:a,totalRowCount:s,totalColumnCount:l,totalPages:u}=ZT(YT,(e=>e.tableData)),c=ZT(YT,(e=>e.pageInfo)),d=ZT(YT,(e=>e.setPage));return Rl.jsxs(wq,{"data-testid":"sn-table",background:e.background,children:[Rl.jsx(bF,{pageInfo:c}),Rl.jsx(Cq,{paginationNeeded:a,handleChangePage:e=>{d(e)},pageInfo:c,totalRowCount:s,totalColumnCount:l,totalPages:u,keyboard:t,translator:r,theme:e,interactions:n,rect:o,layout:i})]})};var yF=T(vF);var xF={SNTable_Accessibility_Ascending:{id:"SNTable.Accessibility.Ascending",locale:{"de-DE":"Aufsteigend","en-US":"Ascending","es-ES":"Ascendente","fr-FR":"Croissant","it-IT":"Crescente","ja-JP":"昇順","ko-KR":"오름차순","nl-NL":"Oplopend","pl-PL":"Rosnąco","pt-BR":"Crescente","ru-RU":"По возрастанию","sv-SE":"Stigande","tr-TR":"Artan","zh-CN":"升序","zh-TW":"遞增"}},SNTable_Accessibility_ColumnOptions:{id:"SNTable.Accessibility.ColumnOptions",locale:{"de-DE":"Spaltenoptionen","en-US":"Column options","es-ES":"Opciones de columna","fr-FR":"Options de colonne","it-IT":"Opzioni colonna","ja-JP":"列オプション","ko-KR":"열 옵션","nl-NL":"Kolomopties","pl-PL":"Opcje kolumny","pt-BR":"Opções da coluna","ru-RU":"Параметры столбцов","sv-SE":"Alternativ för kolumn","tr-TR":"Sütun seçenekleri","zh-CN":"列选项","zh-TW":"欄選項"}},SNTable_Accessibility_Descending:{id:"SNTable.Accessibility.Descending",locale:{"de-DE":"Absteigend","en-US":"Descending","es-ES":"Descendente","fr-FR":"Décroissant","it-IT":"Decrescente","ja-JP":"降順","ko-KR":"내림차순","nl-NL":"Aflopend","pl-PL":"Malejąco","pt-BR":"Decrescente","ru-RU":"По убыванию","sv-SE":"Fallande","tr-TR":"Azalan","zh-CN":"降序","zh-TW":"遞減"}},SNTable_Accessibility_NavigationInstructions:{id:"SNTable.Accessibility.NavigationInstructions",locale:{"de-DE":"Verwenden Sie die Pfeiltasten, um zwischen den Tabellenzellen zu navigieren, und die Tabulatortaste, um zu den Paginierungssteuerelementen zu wechseln. Drücken Sie die Leertaste in den Kopfzellen, um das Spaltenmenü zu öffnen, und drücken Sie die Leertaste in den Körperzellen, um eine Auswahl zu treffen. Duch die Auswahl wird der Seiteninhalt aktualisiert. Die vollständige Liste der Navigationssteuerungen finden Sie in der Dokumentation.","en-US":"Use arrow keys to navigate between table cells and tab to move to pagination controls. Press space on header cells to open the column menu, press space on body cells to make selections. Selections will cause content on the page to be updated. The full list of navigation controls can be found in the documentation.","es-ES":"Utilice las teclas de flecha para desplazarse entre las celdas de la tabla y la pestaña a fin de pasar a los controles de paginación. Pulse la barra espaciadora en las celdas del encabezado para abrir el menú de columnas; pulse la barra espaciadora en las celdas del cuerpo para realizar selecciones. Las selecciones harán que se actualice el contenido de la página. Encontrará la lista completa de controles de navegación en la documentación.","fr-FR":"Utilisez les touches fléchées pour naviguer parmi les cellules du tableau et la tabulation pour accéder aux commandes de pagination. Appuyez sur la touche Espace dans les cellules d'en-tête pour ouvrir le menu de la colonne. Appuyez sur Espace dans les cellules de corps pour effectuer une sélection. Les sélections actualiseront le contenu de la page. Vous pouvez consulter la liste complète des commandes de navigation dans la documentation.","it-IT":"Utilizzare i tasti freccia per navigare tra le celle della tabella e il tasto TAB per passare ai controlli di paginazione. Premere lo spazio nelle celle dell'intestazione per aprire il menu della colonna; premere lo spazio nelle celle del corpo per effettuare selezioni. Le selezioni determineranno l'aggiornamento del contenuto della pagina. È possibile trovare l'elenco completo dei controlli di navigazione nella documentazione.","ja-JP":"矢印キーで表のセル間を移動し、タブ キーでページネーション コントロールに移動します。ヘッダー セルでスペースを押すと列メニューが開き、ボディ セルでスペースを押すと選択ができます。選択によって、ページのコンテンツが更新されます。ナビゲーション コントロールの全リストは、ドキュメントをご覧ください。","ko-KR":"화살표 키를 사용하여 표 셀 사이를 탐색하고, 탭을 사용하여 페이지 번호 컨트롤로 이동하십시오. 헤더 셀에서 스페이스바를 눌러 열 메뉴를 열고, 본문 셀에서 스페이스바를 눌러 선택하십시오. 선택하면 페이지의 콘텐츠가 업데이트됩니다. 전체 탐색 컨트롤 목록은 설명서에서 확인할 수 있습니다.","nl-NL":"Gebruik de pijltjestoetsen om te navigeren tussen tabelcellen en de Tab-toets om naar besturingselementen voor paginering te gaan. Druk op de spatietoets in koptekstcellen om het kolommenu te openen, druk op de spatietoets in hoofdtekstcellen om selecties te maken. Door selecties te maken, wordt de inhoud op de pagina bijgewerkt. De volledige lijst met besturingselementen voor navigatie vindt u in de documentatie.","pl-PL":"Użyj klawiszy strzałek do poruszania się między komórkami tabeli oraz tabulatora do poruszania się po elementach sterujących stronami. Naciśnij klawisz spacji na komórkach nagłówka, aby otworzyć menu kolumny i naciśnij go na komórkach treści, aby dokonać wyborów. Wybory będą powodować aktualizację zawartości na stronie. Pełną listę nawigacyjnych elementów sterujących można znaleźć w dokumentacji.","pt-BR":"Use as teclas de seta para navegar entre as células da tabela e a tecla Tab para mover para os controles de paginação. Pressione espaço nas células do cabeçalho para abrir o menu da coluna, pressione espaço nas células do corpo para fazer seleções. As seleções farão com que o conteúdo da página seja atualizado. A lista completa de controles de navegação pode ser encontrada na documentação.","ru-RU":"Используйте клавиши со стрелками для перемещения между ячейками таблицы и клавишу табуляции для перехода к элементам управления разбивки на страницы. Нажмите пробел на ячейках заголовка, чтобы открыть меню столбца; нажмите пробел на ячейках тела, чтобы сделать выборки. Выборки приведут к обновлению содержимого страницы. Полный перечень элементов управления навигацией см. в документации.","sv-SE":"Använd piltangenterna för att navigera mellan tabellcellerna och tabbtangenten för att flytta till pagineringskontrollerna. Tryck på mellanslag på rubrikceller för att öppna kolumnmenyn och tryck på mellanslag på innehållsceller för att göra urval. Med urval kommer innehåll på sidan att uppdateras. Den fullständiga listan med navigeringsreglage.","tr-TR":"Tablo hücreleri arasında gezinmek için ok tuşlarını, sayfalandırma kontrollerine geçmek için sekmeyi kullanın. Sütun menüsünü açmak için başlık hücrelerinde boşluğa basın, seçim yapmak için gövde hücrelerinde boşluğa basın. Seçimler, sayfadaki içeriğin güncellenmesine neden olur. Navigasyon kontrollerinin tam listesi belgede bulunabilir.","zh-CN":"使用箭头键在表格单元格之间导航,使用 tab 键移动到分页控件。按标题单元格上的空间打开列菜单,按正文单元格上的空间进行选择。选择将导致页面上的内容更新。导航控件的完整列表可以在文档中找到。","zh-TW":"使用方向鍵以在表格儲存格之間導覽,並使用 Tab 以前往分頁控制。按下標頭儲存格的空白處可開啟欄功能表,按下正文儲存格的空白處可進行選取。選項將會造成更新頁面上的內容。導覽控制的完整清單可見於文件中。"}},SNTable_Accessibility_RowsAndColumns:{id:"SNTable.Accessibility.RowsAndColumns",locale:{"de-DE":"Es werden {0} Zeilen und {1} Spalten angezeigt.","en-US":"Showing {0} rows and {1} columns.","es-ES":"Mostrando {0} filas y {1} columnas.","fr-FR":"Affichage de {0} lignes et de {1} colonnes.","it-IT":"Visualizzazione di {0} righe e {1} colonne.","ja-JP":"{0} 行 {1} 列を表示しています。","ko-KR":"{0}개의 행과 {1}개의 열을 표시합니다.","nl-NL":"{0} rijen en {1} kolommen worden getoond.","pl-PL":"Wyświetlane wiersze: {0} i kolumny: {1}.","pt-BR":"Mostrando {0} linhas e {1} colunas.","ru-RU":"Показаны строки ({0}) и столбцы ({1}).","sv-SE":"Visar {0} rader och {1} kolumner.","tr-TR":"{0} satır ve {1} sütun gösteriliyor.","zh-CN":"正在显示 {0} 行,{1} 列。","zh-TW":"顯示 {0} 列和 {1} 欄。"}},SNTable_MenuItem_AdjustColumnSize:{id:"SNTable.MenuItem.AdjustColumnSize",locale:{"de-DE":"Spaltengröße anpassen","en-US":"Adjust column size","es-ES":"Ajustar el tamaño de columna","fr-FR":"Ajuster la taille de colonne","it-IT":"Regola dimensioni colonna","ja-JP":"列サイズを調整","ko-KR":"열 크기 조정","nl-NL":"Kolomgrootte aanpassen","pl-PL":"Dostosuj rozmiar kolumny","pt-BR":"Ajustar tamanho da coluna","ru-RU":"Настроить размер столбца","sv-SE":"Justera kolumnens storlek","tr-TR":"Sütun boyutunu ayarla","zh-CN":"调节列大小","zh-TW":"調整欄大小"}},SNTable_MenuItem_ClearSelections:{id:"SNTable.MenuItem.ClearSelections",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selections","es-ES":"Borrar selecciones","fr-FR":"Effacer les sélections","it-IT":"Cancella selezioni","ja-JP":"選択をクリア","ko-KR":"선택 지우기","nl-NL":"Selecties wissen","pl-PL":"Wyczyść wybory","pt-BR":"Limpar seleções","ru-RU":"Очистить выбранные","sv-SE":"Radera urval","tr-TR":"Seçimleri temizle","zh-CN":"清除选择项","zh-TW":"清除選項"}},SNTable_MenuItem_Search:{id:"SNTable.MenuItem.Search",locale:{"de-DE":"Suchen","en-US":"Search","es-ES":"Buscar","fr-FR":"Rechercher","it-IT":"Cerca","ja-JP":"検索","ko-KR":"검색","nl-NL":"Zoeken","pl-PL":"Wyszukaj","pt-BR":"Pesquisar","ru-RU":"Поиск","sv-SE":"Sök","tr-TR":"Ara","zh-CN":"搜索","zh-TW":"搜尋"}},SNTable_MenuItem_SelectAll:{id:"SNTable.MenuItem.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutti","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar tudo","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},SNTable_MenuItem_SelectAlternative:{id:"SNTable.MenuItem.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替項目を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},SNTable_MenuItem_SelectExcluded:{id:"SNTable.MenuItem.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外項目を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluídos","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},SNTable_MenuItem_SelectPossible:{id:"SNTable.MenuItem.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込項目を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possíveis","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olası olanı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},SNTable_MenuItem_Selections:{id:"SNTable.MenuItem.Selections",locale:{"de-DE":"Auswahlen","en-US":"Selections","es-ES":"Selecciones","fr-FR":"Sélections","it-IT":"Selezioni","ja-JP":"選択","ko-KR":"선택","nl-NL":"Selecties","pl-PL":"Wybory","pt-BR":"Seleções","ru-RU":"Выборки","sv-SE":"Urval","tr-TR":"Seçimler","zh-CN":"选择项","zh-TW":"選項"}},SNTable_MenuItem_SortAscending:{id:"SNTable.MenuItem.SortAscending",locale:{"de-DE":"Sortierung in aufsteigender Reihenfolge","en-US":"Sort ascending","es-ES":"Orden ascendente","fr-FR":"Tri par ordre croissant","it-IT":"Ordinamento crescente","ja-JP":"昇順でソート","ko-KR":"오름차순으로 정렬","nl-NL":"Oplopend sorteren","pl-PL":"Sortuj rosnąco","pt-BR":"Classificar em ordem crescente","ru-RU":"Сортировка по возрастанию","sv-SE":"Sortera stigande","tr-TR":"Artan sıralama","zh-CN":"升序排序","zh-TW":"以遞增方式排序"}},SNTable_MenuItem_SortDescending:{id:"SNTable.MenuItem.SortDescending",locale:{"de-DE":"Sortierung in absteigender Reihenfolge","en-US":"Sort descending","es-ES":"Orden descendente","fr-FR":"Tri par ordre décroissant","it-IT":"Ordinamento decrescente","ja-JP":"降順でソート","ko-KR":"내림차순으로 정렬","nl-NL":"Aflopend sorteren","pl-PL":"Sortuj malejąco","pt-BR":"Classificar em ordem decrescente","ru-RU":"Сортировка по убыванию","sv-SE":"Sortera fallande","tr-TR":"Azalan sıralama","zh-CN":"降序排序","zh-TW":"以遞減方式排序"}},SNTable_Pagination_DisplayedRowsLabel:{id:"SNTable.Pagination.DisplayedRowsLabel",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0} / {1}","ko-KR":"{1}의 {0}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0} / {1}","zh-TW":"{0} / {1}"}},SNTable_Pagination_FirstPage:{id:"SNTable.Pagination.FirstPage",locale:{"de-DE":"Zur ersten Seite","en-US":"Go to the first page","es-ES":"Ir a la primera página","fr-FR":"Accéder à la première page","it-IT":"Vai alla prima pagina","ja-JP":"最初のページに移動","ko-KR":"첫 페이지로 이동","nl-NL":"Ga naar de eerste pagina","pl-PL":"Przejdź do pierwszej strony","pt-BR":"Ir para a primeira página","ru-RU":"Перейти к первой странице","sv-SE":"Gå till första sidan","tr-TR":"İlk sayfaya git","zh-CN":"转到第一页","zh-TW":"移至第一頁"}},SNTable_Pagination_LastPage:{id:"SNTable.Pagination.LastPage",locale:{"de-DE":"Zur letzten Seite","en-US":"Go to the last page","es-ES":"Ir a la última página","fr-FR":"Accéder à la dernière page","it-IT":"Vai all'ultima pagina","ja-JP":"最後のページに移動","ko-KR":"마지막 페이지로 이동","nl-NL":"Ga naar de laatste pagina","pl-PL":"Przejdź do ostatniej strony","pt-BR":"Ir para a última página","ru-RU":"Перейти к последней странице","sv-SE":"Gå till sista sidan","tr-TR":"Son sayfaya git","zh-CN":"转到最后一页","zh-TW":"移至最後一頁"}},SNTable_Pagination_NextPage:{id:"SNTable.Pagination.NextPage",locale:{"de-DE":"Zur nächsten Seite","en-US":"Go to the next page","es-ES":"Ir a la página siguiente","fr-FR":"Accéder à la page suivante","it-IT":"Vai alla pagina successiva","ja-JP":"次のページに移動","ko-KR":"다음 페이지로 이동","nl-NL":"Ga naar de volgende pagina","pl-PL":"Przejdź do następnej strony","pt-BR":"Ir para a próxima página","ru-RU":"Перейти к следующей странице","sv-SE":"Gå till nästa sida","tr-TR":"Sonraki sayfaya git","zh-CN":"转到下一页","zh-TW":"移至下一頁"}},SNTable_Pagination_PageStatusReport:{id:"SNTable.Pagination.PageStatusReport",locale:{"de-DE":"Die Seite wurde geändert. Seite {0} von {1} wird angezeigt.","en-US":"Page has changed. Showing page {0} of {1}.","es-ES":"La página ha cambiado. Mostrando página {0} de {1}.","fr-FR":"La page a changé. Affichage de la page {0} sur {1}.","it-IT":"La pagina è cambiata. Visualizzazione pagina {0} di {1}.","ja-JP":"ページが変更されました。{1} ページ中の {0} ページ目を表示しています。","ko-KR":"페이지가 변경되었습니다. {1}의 {0} 페이지를 보여 줍니다.","nl-NL":"Pagina is gewijzigd. Pagina {0} van {1} wordt weergeven.","pl-PL":"Strona się zmieniła Wyświetlanie strony {0} z {1}.","pt-BR":"A página mudou. Mostrando página {0} de {1}.","ru-RU":"Страница изменилась. Показана страница {0} из {1}.","sv-SE":"Sidan har ändrats. Visar sida {0} av {1}.","tr-TR":"Sayfa değişti. Sayfa {0} / {1} gösteriliyor.","zh-CN":"页面已更改。显示页面 {0} / {1}。","zh-TW":"頁面已變更。顯示第 {0} 頁,共 {1} 頁。"}},SNTable_Pagination_PreviousPage:{id:"SNTable.Pagination.PreviousPage",locale:{"de-DE":"Zur vorherigen Seite","en-US":"Go to the previous page","es-ES":"Ir a la página anterior","fr-FR":"Accéder à la page précédente","it-IT":"Vai alla pagina precedente","ja-JP":"前のページに移動","ko-KR":"이전 페이지로 이동","nl-NL":"Ga naar de vorige pagina","pl-PL":"Przejdź do poprzedniej strony","pt-BR":"Ir para a página anterior","ru-RU":"Перейти к предыдущей странице","sv-SE":"Gå till föregående sida","tr-TR":"Önceki sayfaya git","zh-CN":"转到前一页","zh-TW":"移至上一頁"}},SNTable_Pagination_RowsPerPage:{id:"SNTable.Pagination.RowsPerPage",locale:{"de-DE":"Zeilen pro Seite","en-US":"Rows per page","es-ES":"Filas por página","fr-FR":"Lignes par page","it-IT":"Righe per pagina","ja-JP":"ページあたりの行数","ko-KR":"페이지별 행 수","nl-NL":"Rijen per pagina","pl-PL":"Wierszy na stronę","pt-BR":"Linhas por página","ru-RU":"Строк на странице","sv-SE":"Rader per sida","tr-TR":"Sayfa başına satır sayısı","zh-CN":"每页行数","zh-TW":"每頁列數"}},SNTable_Pagination_RowsPerPageChange:{id:"SNTable.Pagination.RowsPerPageChange",locale:{"de-DE":"Zeilen pro Seite wurden in {0} geändert. Jetzt wird die erste Seite angezeigt.","en-US":"Rows per page has changed to {0}. Now showing the first page.","es-ES":"El número de filas por página ha cambiado a {0}. Mostrando ahora la primera página.","fr-FR":"Le nombre de lignes par page a été remplacé par {0}. Affichage en cours de la première page.","it-IT":"Le righe per pagina sono cambiate a {0}. Viene ora mostrata la prima pagina.","ja-JP":"ページあたりの行数が {0} に変更されました。現在、最初のページを表示しています。","ko-KR":"페이지당 행 수가 {0}(으)로 변경되었습니다. 이제 첫 페이지를 보여 줍니다.","nl-NL":"Aantal rijen per pagina is gewijzigd naar {0}. De eerste pagina wordt nu weergegeven.","pl-PL":"Liczba wierszy na stronę została zmieniona na {0}. Wyświetlana jest pierwsza strona.","pt-BR":"Linhas por página mudou para {0}. Agora mostrando a primeira página.","ru-RU":"Количество строк на странице изменилось на {0}. Теперь отображается первая страница.","sv-SE":"Rader per sida har ändrats till {0}. Nu visas första sidan.","tr-TR":"Sayfa başına satır sayısı {0} olarak değiştirildi. Şimdi ilk sayfa gösteriliyor.","zh-CN":"每页行数已更改为 {0}。现在显示第一页。","zh-TW":"每頁列數已變更為 {0}。現在顯示第一頁。"}},SNTable_Pagination_SelectPage:{id:"SNTable.Pagination.SelectPage",locale:{"de-DE":"Seite auswählen","en-US":"Select page","es-ES":"Seleccionar página","fr-FR":"Sélectionner une page","it-IT":"Seleziona pagina","ja-JP":"ページを選択","ko-KR":"페이지 선택","nl-NL":"Pagina selecteren","pl-PL":"Wybierz stronę","pt-BR":"Selecionar página","ru-RU":"Выберите страницу","sv-SE":"Välj sida","tr-TR":"Sayfa seç","zh-CN":"选择页面","zh-TW":"選取頁面"}},SNTable_SelectionLabel_DeselectedValue:{id:"SNTable.SelectionLabel.DeselectedValue",locale:{"de-DE":"Die Werteauswahl ist aufgehoben.","en-US":"Value is deselected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur est désélectionnée.","it-IT":"Il valore è deselezionato.","ja-JP":"値が選択解除されました。","ko-KR":"값이 선택 취소되었습니다.","nl-NL":"Selectie van waarde opgeheven.","pl-PL":"Wartość nie jest zaznaczona.","pt-BR":"O valor está desmarcado.","ru-RU":"Выбор значения отменен.","sv-SE":"Val av värde har tagits bort.","tr-TR":"Değer seçimi iptal edildi.","zh-CN":"值已取消选择。","zh-TW":"值已取消選取。"}},SNTable_SelectionLabel_ExitedSelectionMode:{id:"SNTable.SelectionLabel.ExitedSelectionMode",locale:{"de-DE":"Die Werteauswahl ist aufgehoben. Auswahlmodus beendet.","en-US":"Value is deselected. Exited selection mode.","es-ES":"El valor no está seleccionado. Salió del modo de selección.","fr-FR":"La valeur est désélectionnée. Mode de sélection désactivé.","it-IT":"Il valore è deselezionato. Uscita dalla modalità selezione.","ja-JP":"値が選択解除されました。選択モードを終了しました。","ko-KR":"값이 선택 취소되었습니다. 선택 모드를 종료했습니다.","nl-NL":"Selectie van waarde opgeheven. Selectiemodus afgesloten.","pl-PL":"Wartość nie jest zaznaczona. Zakończono tryb wyboru.","pt-BR":"O valor está desmarcado. Modo de seleção encerrado.","ru-RU":"Выбор значения отменен. Выполнен выход из режима выборки.","sv-SE":"Val av värde har tagits bort. Lämnade urvalsläge.","tr-TR":"Değer seçimi iptal edildi. Seçim modundan çıkıldı.","zh-CN":"值已取消选择。已退出选择模式。","zh-TW":"值已取消選取。輸入的選取模式。"}},SNTable_SelectionLabel_NotSelectedValue:{id:"SNTable.SelectionLabel.NotSelectedValue",locale:{"de-DE":"Wert ist nicht ausgewählt.","en-US":"Value is not selected.","es-ES":"El valor no está seleccionado.","fr-FR":"La valeur n'est pas sélectionnée.","it-IT":"Il valore non è selezionato.","ja-JP":"値が選択されていません。","ko-KR":"값이 선택되지 않았습니다.","nl-NL":"Waarde is niet geselecteerd.","pl-PL":"Wartość nie jest wybrana.","pt-BR":"O valor não está selecionado.","ru-RU":"Значение не выбрано.","sv-SE":"Värdet är inte valt.","tr-TR":"Değer seçilmedi.","zh-CN":"未选择值。","zh-TW":"未選取值。"}},SNTable_SelectionLabel_OneSelectedValue:{id:"SNTable.SelectionLabel.OneSelectedValue",locale:{"de-DE":"Aktuell ist ein Wert ausgewählt.","en-US":"Currently there is one selected value.","es-ES":"Actualmente hay un valor seleccionado.","fr-FR":"Actuellement, une valeur est sélectionnée.","it-IT":"Attualmente è presente un solo valore selezionato.","ja-JP":"現在、値が 1 つ選択されています。","ko-KR":"현재 하나의 값이 선택되었습니다.","nl-NL":"Er is momenteel één waarde geselecteerd.","pl-PL":"Aktualnie jest jedna wybrana wartość.","pt-BR":"Atualmente, há um valor selecionado.","ru-RU":"В настоящее время выбрано одно значение.","sv-SE":"Just nu är ett värde valt.","tr-TR":"Şu anda seçili bir değer var.","zh-CN":"当前有一个已选择的值。","zh-TW":"目前有一個選取的值。"}},SNTable_SelectionLabel_SelectedValue:{id:"SNTable.SelectionLabel.SelectedValue",locale:{"de-DE":"Wert ist ausgewählt.","en-US":"Value is selected.","es-ES":"El valor está seleccionado.","fr-FR":"La valeur est sélectionnée.","it-IT":"Il valore è selezionato.","ja-JP":"値が選択されました。","ko-KR":"값이 선택되었습니다.","nl-NL":"Waarde is geselecteerd.","pl-PL":"Wartość jest wybrana.","pt-BR":"O valor está selecionado.","ru-RU":"Значение выбрано.","sv-SE":"Värdet är valt.","tr-TR":"Değer seçildi.","zh-CN":"已选择值。","zh-TW":"已選取值。"}},SNTable_SelectionLabel_SelectedValues:{id:"SNTable.SelectionLabel.SelectedValues",locale:{"de-DE":"Aktuell sind {0} Werte ausgewählt.","en-US":"Currently there are {0} selected values.","es-ES":"Actualmente hay {0} valores seleccionados.","fr-FR":"Actuellement, {0} valeurs sont sélectionnées.","it-IT":"Attualmente sono presenti {0} valori selezionati.","ja-JP":"現在、値が {0} つ選択されています。","ko-KR":"현재 {0}개의 값이 선택되었습니다.","nl-NL":"Er zijn momenteel {0} geselecteerde waarden.","pl-PL":"Liczba aktualnie wybranych wartości: {0}.","pt-BR":"Atualmente, há {0} valores selecionados.","ru-RU":"В настоящее время выбраны значения: {0}.","sv-SE":"Just nu är {0} värden valda.","tr-TR":"Şu anda seçili {0} değer var.","zh-CN":"当前有 {0} 个已选择的值。","zh-TW":"目前有 {0} 個選取的值。"}},SNTable_SelectionLabel_SelectionsConfirmed:{id:"SNTable.SelectionLabel.SelectionsConfirmed",locale:{"de-DE":"Auswahl bestätigt.","en-US":"Selections confirmed.","es-ES":"Confirmadas las selecciones.","fr-FR":"Sélections confirmées.","it-IT":"Selezioni confermate.","ja-JP":"選択が確定されました。","ko-KR":"선택 내용이 확인되었습니다.","nl-NL":"Selecties bevestigd.","pl-PL":"Potwierdzono wybory.","pt-BR":"Seleções confirmadas.","ru-RU":"Выборки подтверждены.","sv-SE":"Valen har bekräftats.","tr-TR":"Seçimler onaylandı.","zh-CN":"选择已确认。","zh-TW":"選項已確認。"}},SNTable_SelectionLabel_selected:{id:"SNTable.SelectionLabel.selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбрано","sv-SE":"Urval","tr-TR":"Seçildi","zh-CN":"已选择","zh-TW":"已選取"}},SNTable_SortLabel_PressSpaceToSort:{id:"SNTable.SortLabel.PressSpaceToSort",locale:{"de-DE":"Drücken Sie die Leertaste, um nach dieser Spalte zu sortieren","en-US":"Press space to sort on this column","es-ES":"Pulse la barra espaciadora para ordenar en esta columna.","fr-FR":"Appuyez sur Espace pour trier en fonction de cette colonne.","it-IT":"Premere la barra spaziatrice per ordinare questa colonna","ja-JP":"スペース キーを押して、この列をソートします","ko-KR":"이 열을 정렬하려면 스페이스바를 누르십시오.","nl-NL":"Druk op de spatiebalk om sorteren in deze kolom in te schakelen","pl-PL":"Naciśnij spację, aby posortować według tej kolumny","pt-BR":"Pressione espaço para classificar por esta coluna","ru-RU":"Нажмите пробел, чтобы отсортировать по этому столбцу","sv-SE":"Tryck på Blanksteg om du vill sortera efter den här kolumnen","tr-TR":"Bu sütunda sıralama yapmak için boşluk tuşuna basın.","zh-CN":"按下空格键以在该列上排序。","zh-TW":"在此欄按下空格鍵以進行排序"}},SNTable_SortLabel_SortedAscending:{id:"SNTable.SortLabel.SortedAscending",locale:{"de-DE":"In aufsteigender Reihenfolge sortiert.","en-US":"Sorted in ascending order.","es-ES":"Ordenado por orden ascendente.","fr-FR":"Tri dans l'ordre croissant.","it-IT":"Ordinato in ordine crescente.","ja-JP":"昇順で並べ替えられます。","ko-KR":"오름차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in oplopende volgorde.","pl-PL":"Posortowane rosnąco.","pt-BR":"Classificado em ordem crescente.","ru-RU":"Сортировка в порядке возрастания.","sv-SE":"Sorterat i stigande ordning.","tr-TR":"Artan düzende sıralanmıştır.","zh-CN":"已按升序排列。","zh-TW":"已依遞增順序排序。"}},SNTable_SortLabel_SortedDescending:{id:"SNTable.SortLabel.SortedDescending",locale:{"de-DE":"In absteigender Reihenfolge sortiert.","en-US":"Sorted in descending order.","es-ES":"Ordenado por orden descendente.","fr-FR":"Tri dans l'ordre décroissant.","it-IT":"Ordinato in ordine decrescente.","ja-JP":"降順で並べ替えられます。","ko-KR":"내림차순으로 정렬되었습니다.","nl-NL":"Gesorteerd in aflopende volgorde.","pl-PL":"Posortowane malejąco.","pt-BR":"Classificado em ordem decrescente.","ru-RU":"Сортировка в порядке убывания.","sv-SE":"Sorterat i fallande ordning.","tr-TR":"Azalan düzende sıralanmıştır.","zh-CN":"已按降序排列。","zh-TW":"已依遞減順序排序。"}}};const SF=(t,r)=>e((()=>(function(e){const t="SNTable.Accessibility.RowsAndColumns";e.get(t)===t&&Object.keys(xF).forEach((t=>{e.add(xF[t])}))}(r),((e,t)=>{let r;return({keys:n,politeness:o="polite"})=>{const i=n.map((e=>{if(Array.isArray(e)){const[r,...n]=e;return t.get(r,n)}return t.get(e)})).join(" "),a=e.querySelector(`.${sL.First}`),s=e.querySelector(`.${sL.Second}`);if(!a||!s)return void console.error("could not find aria-live elements, which means accessibility is not working properly");let l;r===sL.First?(l=s,r=sL.Second):(l=a,r=sL.First),l.innerHTML=l.innerHTML.endsWith(" ­")?i:`${i} ­`,l.setAttribute("aria-live",o)}})(t,r))),[t,r.language()]),CF={page:0,rowsPerPage:100,rowsPerPageOptions:[10,25,100]},EF=e=>{const{app:r,model:i,rootElement:a,layout:s,translator:l,reactRoot:u,isFontLoaded:c,viewService:d,env:p}=e,{direction:f,footerContainer:h}=t(),m=RR(s,d),g=SF(a,l),[b,v]=n(((e,t)=>wR(e,t)?{page:t.page||CF.page,rowsPerPage:t.rowsPerPage||CF.rowsPerPage,rowsPerPageOptions:CF.rowsPerPageOptions}:CF)(s,d)),[y,x]=n(!0);y||x(!0);const[S,C]=Yx((async()=>m?async function(e,t,r,n,o,i,a,s){var l,u,c,d;const{page:p,rowsPerPage:f,rowsPerPageOptions:h}=r,m=t.qHyperCube.qSize.qcx,g=t.qHyperCube.qSize.qcy,b=Math.ceil(g/f),v=null!==(l=o.visibleTop)&&void 0!==l?l:p*f,y=null!==(u=o.visibleHeight)&&void 0!==u?u:Math.min(f,g-v);if(p>0&&v>=g)return n({...r,page:0}),null;if(y*m>gR)return n({...r,rowsPerPage:bR(m,h),page:0}),null;const x=g>10,S=vR(t,o),C=ER(t,a,s),E=!!t.snapshotData,w=await(async(e,t,r)=>{if(t.snapshotData)return t.qHyperCube.qDataPages;const n=t.qHyperCube.qDataPages.at(0),o=null==n?void 0:n.qArea;return n&&(null==o?void 0:o.qLeft)===r.qLeft&&o.qTop===r.qTop&&o.qWidth===r.qWidth&&o.qHeight>=r.qHeight?[{...n,qMatrix:n.qMatrix.slice(0,r.qHeight)}]:e&&"getHyperCubeData"in e?e.getHyperCubeData("/qHyperCubeDef",[r]):[]})(e,t,{qLeft:0,qTop:v,qHeight:y,qWidth:m});E||(o.qTop=v,o.qHeight=y,o.rowsPerPage=r.rowsPerPage,o.page=r.page);const R=null!==(c=null===(d=w.at(0))||void 0===d?void 0:d.qMatrix.map(((e,r)=>{const n=[];return C.forEach(((o,l)=>{const u=e[l],c=mR(o.isDim,u,t),d=!o.isDim&&u.qIsNull,p=d?pw(c):dw(u);n[l]={id:lw(),...u,align:CR(p,o.bodyTextAlign,s,a),rowIdx:r+v,colIdx:o.colIdx,pageRowIdx:r,pageColIdx:l,selectionColIdx:o.selectionColIdx,isSelectable:o.isDim&&!o.isLocked,isLastRow:r===y-1,isNumeric:p,isNull:(!d||!p)&&hR(u,o.isDim),representation:fR({cell:u,representationProperties:o.representation,attrExprInfoIndex:o.qAttrExprInfoIndex,env:i,conditionalColoring:o.conditionalColoring,miniChartOnMeasure:o.qMiniChart,getText:()=>d?c:u.qText,direction:s,enabledFeatures:{[pE.Image]:i.flags.isEnabled("CLIENT_IM_5715_LINKS_AND_IMAGES"),[pE.Indicator]:!0,[pE.MiniChart]:!0}})}})),n})))&&void 0!==c?c:[];return{totalColumnCount:m,totalRowCount:g,totalPages:b,paginationNeeded:x,totalsPosition:S,columns:C,rows:R}}(i,s,b,v,d,p,y,f):null),[s,b,i,m,f]);o((()=>{m&&e.model&&e.changeSortOrder&&S&&c&&!C&&function(e,t){const{direction:r,...n}=e,o=QT(r);t.render(Rl.jsx($d,{stylisPlugins:"rtl"===r?[DL]:void 0,children:Rl.jsx(BP,{theme:o,children:Rl.jsx(JT,{...e,children:Rl.jsx(Wj,{...n})})})}))}({...e,model:e.model,changeSortOrder:e.changeSortOrder,tableData:S,pageInfo:b,setPageInfo:v,direction:f,footerContainer:h,announce:g},u)}),[g,r,f,h,c,b,u,e,m,S,C])},wF=(t,r)=>e((()=>((e,t)=>{if(t)return async(r,n)=>{if(!("getEffectiveProperties"in t))return;const{isDim:o,colIdx:i,qReverseSort:a,sortDirection:s,isActivelySorted:l}=r,u=o?i:i-e,c=await t.getEffectiveProperties(),d=c.qHyperCubeDef.qInterColumnSortOrder,p=[],f=n!==s||l;if(!o){var h;const e=null===(h=c.qHyperCubeDef.qMeasures.at(u))||void 0===h?void 0:h.qSortBy;void 0===(null==e?void 0:e.qSortByNumeric)&&p.push({qPath:`/qHyperCubeDef/qMeasures/${u}/qSortBy`,qOp:"Replace",qValue:JSON.stringify({...e,qSortByNumeric:"A"===s?1:-1})})}l||(d.splice(d.indexOf(i),1),d.unshift(i),p.push({qPath:"/qHyperCubeDef/qInterColumnSortOrder",qOp:"Replace",qValue:`[${d.join(",")}]`})),f&&p.push({qPath:`/qHyperCubeDef/${o?"qDimensions":"qMeasures"}/${u}/qDef/qReverseSort`,qOp:"Replace",qValue:(!a).toString()}),t.applyPatches(p,!0)}})(t.qDimensionInfo.length,r)),[t.qDimensionInfo.length,r]);const RF=({model:e,layout:t,shouldRender:r,page:n})=>{const[o,i]=Yx((async()=>{if(r&&e)return(async(e,t,r)=>{const{qDataPages:n}=t.qHyperCube;if(0!==r||0===n.length){const n=r*Math.min(fT,t.qHyperCube.qSize.qcy);if(e&&"getHyperCubeData"in e)return e.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:n,qWidth:50,qHeight:100}])}return[...n]})(e,t,n)}),[e,t,n]);return{initialDataPages:o,isLoading:i}},AF=t=>{const{layout:r,model:i,keyboard:a,interactions:s,reactRoot:l,isFontLoaded:u,viewService:c,direction:d}=t,p=!RR(r,c),[f,h]=n(!1);f&&h(!1);const m=e((()=>function(e,t,r,n,o){const i=ER(e,o,n),a=vR(e,r),s=e.qHyperCube.qSize.qcy,l=Math.min(fT,s),u=s>fT&&!!t.active;return{totalsPosition:a,columns:i,rows:[],totalRowCount:s,totalColumnCount:e.qHyperCube.qSize.qcx,totalPages:Math.ceil(s/l),paginationNeeded:u}}(r,s,c,d,f)),[r,s,c,d,f]),{pageInfo:g,setPage:b}=((t,r)=>{const[o,i]=n(0),a=Math.min(fT,t.qHyperCube.qSize.qcy),s=e((()=>({page:o,rowsPerPage:a,rowsPerPageOptions:[]})),[a,o]);if(r){const e=Math.floor(t.qHyperCube.qSize.qcy/fT);e<o&&i(e)}return{pageInfo:s,setPage:i}})(r,p),{initialDataPages:v,isLoading:y}=RF({model:i,layout:r,page:g.page,shouldRender:p});o((()=>{var e;p&&a.active&&(null===(e=a.blur)||void 0===e||e.call(a,!1))}),[a,p]),o((()=>{p&&t.model&&t.changeSortOrder&&v&&!y&&u&&function(e,t){const{direction:r}=e,n=QT(r);t.render(Rl.jsx(x.StrictMode,{children:Rl.jsx(BP,{theme:n,children:Rl.jsx(JT,{...e,children:Rl.jsx(yF,{})})})}))}({...t,model:t.model,changeSortOrder:t.changeSortOrder,tableData:m,pageInfo:g,setPage:b,initialDataPages:v},l)}),[v,u,y,g,l,t,b,p,m])},kF={version:JSON.stringify("6.0.3"),qHyperCubeDef:{qDimensions:[],qMeasures:[],qColumnOrder:[],qInitialDataFetch:[{qWidth:50,qHeight:100}]},showTitles:!0,enableChartExploration:!1,title:"",subtitle:"",footnote:"",totals:{show:!0,position:"noTotals",label:"Totals"},usePagination:!1,components:[]};function PF(e,t){var r,n;const o=e.getElementsByClassName("sn-table-container")[0];if(!o)return{};const i=o.getBoundingClientRect(),a=e.getElementsByClassName("sn-table-head-row")[0],s=null!==(r=null==a?void 0:a.getBoundingClientRect())&&void 0!==r?r:{height:0},l=e.getElementsByClassName("sn-table-totals-row")[0],u=null!==(n=null==l?void 0:l.getBoundingClientRect())&&void 0!==n?n:{height:0},c=e.getElementsByClassName("sn-table-data-row"),d={top:i.y+s.height+(t.atTop?u.height:0),bottom:i.y+i.height-(t.atBottom?u.height:0)},p=((e,t)=>{if(!e)return-1;for(let r=0;r<e.length;r++)if(e[r].getBoundingClientRect().bottom>t.top)return r;return-1})(c,d),f=((e,t)=>{if(!e)return-1;for(let r=e.length-1;r>-1;r--){const n=e[r].getBoundingClientRect();if(t.bottom>n.top)return r}return-1})(c,d),h=((e,t,r)=>{if(!e||0===e.length||r<0)return 0;const n=e[r].getBoundingClientRect();return Math.max(t.top-n.top,0)})(c,d,p);return{visibleRowStartIndex:p,visibleRowEndIndex:f,rowPartialHeight:h}}const LF=(e,t)=>{if(t)for(let r=0;r<t.length;r++){const n=t[r].getAttribute("rowindex");if(n&&parseInt(n,10)===e)return t[r]}},IF=(e,t,r)=>{if(!e)return!1;const n=e.y+e.height/2;return n>=t&&n<=r};const MF=(e,t,r,n)=>{var o;if(e<0)return 0;const i=r.qHyperCube.qSize.qcy,a=n.rowsPerPage||CF.rowsPerPage,s=null!==(o=n.viewState)&&void 0!==o&&o.isMultiPage?0:3;return Math.min(i,a,e-t+1+s)},_F=(e,t,r)=>{if(t.viewState&&!t.viewState.isMultiPage)return t.viewState;const n=vR(e,t);if(RR(e,t)){const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1,rowPartialHeight:a}=PF(r,n);return{rowPartialHeight:a,scrollLeft:t.scrollLeft,visibleTop:t.qTop+o,visibleHeight:MF(i,o,e,t),rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}}const{visibleRowStartIndex:o=-1,visibleRowEndIndex:i=-1}=function(e,t){const r=e.querySelector(".sn-table-body"),n=null==r?void 0:r.getBoundingClientRect(),o=null==r?void 0:r.querySelectorAll(".sn-table-body .sn-table-cell");if(!o||!n)return{};const{scrollTopRatio:i=0,visibleTop:a=0,visibleHeight:s=0,page:l=0,rowsPerPage:u=0}=t,c=l*u,d=a-c,p=d+s-1,f=LF(d,o),h=null==f?void 0:f.getBoundingClientRect();if(!f||!h)return{};const m=n.y;if(1-i<.001)return{visibleRowStartIndex:d+(h.y>=m-4?0:1)+c,visibleRowEndIndex:p+c};const g=n.y+n.height,b=(IF(h,m,g)?d:d+1)+c;let v=p+c;const y=LF(p,o),x=null==y?void 0:y.getBoundingClientRect();return y&&x&&(IF(x,m,g)||(v=p-1+c)),{visibleRowStartIndex:b,visibleRowEndIndex:v}}(r,t);return{scrollLeft:t.scrollLeft,visibleLeft:t.visibleLeft,visibleWidth:t.visibleWidth,visibleTop:o,visibleHeight:MF(i,o,e,t),scrollTopRatio:t.scrollTopRatio,rowsPerPage:t.rowsPerPage,page:t.page,totalsPosition:n}},DF=e=>e.getStyle("","","object.straightTableV2.backgroundColor"),TF=e=>e.getStyle("object","straightTableV2","backgroundColor");function OF(r){return{qae:{properties:{initial:kF},data:{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:1e3},measures:{min:0,max:1e3}}]},importProperties:e=>iE({...e}),exportProperties:QC,exploration:aE},ext:ew(r),component(){var n;const i=c(),y=(t=>{const r=e((()=>Zx(t)),[t]);return o((()=>()=>{r.unmount()}),[r]),r})(i),x=d(),S=p(),C=f(),E=(e=>{const t=a();return{...t,select:!!t.active&&!!t.select&&!e,active:!!t.active&&!e,scroll:!!t.active}})(!!x.snapshotData),w=h(),R=m(),A=g(),k=t(),{freeResize:P}=k,L=b(),I=e((()=>{var e;return null!==(e=x.snapshotData)&&void 0!==e&&e.content&&!P?{...L,...x.snapshotData.content.size}:L}),[L,P,null===(n=x.snapshotData)||void 0===n?void 0:n.content]),M=(r=>{const{viewState:n}=t();return e((()=>((e,t)=>{var r,n,o,i,a,s,l,u,c,d,p,f,h,m,g,b,v;return{qTop:0,qHeight:0,rowPartialHeight:null!==(r=null==t||null===(n=t.content)||void 0===n?void 0:n.rowPartialHeight)&&void 0!==r?r:0,visibleTop:null!==(o=null==t||null===(i=t.content)||void 0===i?void 0:i.visibleTop)&&void 0!==o?o:null==e?void 0:e.visibleTop,visibleHeight:null!==(a=null==t||null===(s=t.content)||void 0===s?void 0:s.visibleHeight)&&void 0!==a?a:null==e?void 0:e.visibleHeight,scrollLeft:null!==(l=null!==(u=null==t||null===(c=t.content)||void 0===c?void 0:c.scrollLeft)&&void 0!==u?u:null==e?void 0:e.scrollLeft)&&void 0!==l?l:0,scrollTopRatio:null!==(d=null==t||null===(p=t.content)||void 0===p?void 0:p.scrollTopRatio)&&void 0!==d?d:null==e?void 0:e.scrollTopRatio,rowsPerPage:null!==(f=null==t||null===(h=t.content)||void 0===h?void 0:h.rowsPerPage)&&void 0!==f?f:null==e?void 0:e.rowsPerPage,page:null!==(m=null==t||null===(g=t.content)||void 0===g?void 0:g.page)&&void 0!==m?m:null==e?void 0:e.page,viewState:e,estimatedRowHeight:null!==(b=null==t||null===(v=t.content)||void 0===v?void 0:v.estimatedRowHeight)&&void 0!==b?b:0}})(n,r.snapshotData)),[n,r.snapshotData,r.usePagination])})(x),_=v(),D=Ux(x,i,DF,TF),T=r.flags.isEnabled("CLIENT_IM_7150_TABLE_RTL")?k.direction:"ltr",O=wF(x.qHyperCube,C),q=tw(x.qHyperCube,C),N=((e,t,r)=>{const[,n,o]=Yx((async()=>{var t;const n=ae(r.flags),o=e.getStyle("","","fontFamily"),i=e.getStyle("object","label.name","fontFamily"),a=e.getStyle("object","label.value","fontFamily"),s=null!==(t=e.getStyle("","","fontFamilies"))&&void 0!==t?t:[];return Promise.all([...n,...s,o,i,a,eS].filter((e=>void 0!==e)).map((async e=>{await document.fonts.load(`600 12px ${e}`),await document.fonts.load(`12px ${e}`)})))}),[t,e,r]);return o?(console.warn("Failed to load fonts:",o),!0):!n})(D,x,r),j=bt(),z={app:S,layout:x,model:C,rect:I,theme:D,keyboard:A,translator:w,interactions:E,selectionsAPI:R,changeSortOrder:O,rootElement:i,embed:_,reactRoot:y,applyColumnWidths:q,isFontLoaded:N,downloadService:j,viewService:M,direction:T,env:r};null==s||s(((e,t)=>{const r=t.target,n=null==r?void 0:r.closest(`.${uS}`);null!=n&&n.title&&e.addItem({translation:"contextMenu.copyCellValue",icon:"lui-icon lui-icon--copy",tid:"copy-cell-context-item",id:"copy-cell-context-item",select:async()=>{yS(n)}})})),(({layout:e,viewService:t,model:r,rootElement:n,contentRect:o})=>{l((async i=>{const a=i;if(!a.snapshotData||!r||a.snapshotData.content)return a;if("getHyperCubeData"in r){const{rowPartialHeight:i,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h}=_F(e,t,n);a.qHyperCube.qDataPages=await r.getHyperCubeData("/qHyperCubeDef",[{qLeft:0,qTop:d,qWidth:e.qHyperCube.qSize.qcx,qHeight:p}]),a.snapshotData.content={rowPartialHeight:i,scrollLeft:s,scrollTopRatio:l,visibleLeft:u,visibleWidth:c,visibleTop:d,visibleHeight:p,rowsPerPage:f,page:h,size:{width:o.width,height:o.height},estimatedRowHeight:t.estimatedRowHeight}}return a})),u((()=>({getViewState:()=>_F(e,t,n)})),[e,t,n])})({layout:x,viewService:M,model:C,rootElement:i,contentRect:L}),AF(z),EF(z)}}}export{OF as default};