@sisense/sdk-ui 2.4.1 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/ai.cjs +1 -1
  2. package/dist/ai.js +4 -4
  3. package/dist/analytics-composer.cjs +82 -82
  4. package/dist/analytics-composer.js +1911 -1911
  5. package/dist/{derive-chart-family-woVAnbRi.js → derive-chart-family-BPYK8evJ.js} +11015 -10951
  6. package/dist/{derive-chart-family-Cqw-HJq1.cjs → derive-chart-family-yUBZXP4x.cjs} +146 -146
  7. package/dist/dimensions-BgPl9ZS9.cjs +1 -0
  8. package/dist/dimensions-DuHaCozA.js +203 -0
  9. package/dist/index.cjs +17 -17
  10. package/dist/index.js +7207 -6831
  11. package/dist/index.umd.js +296 -296
  12. package/dist/packages/sdk-ui/src/analytics-composer/common/utils.d.ts +18 -0
  13. package/dist/packages/sdk-ui/src/api/types/dashboard-dto.d.ts +4 -0
  14. package/dist/packages/sdk-ui/src/app/client-application.d.ts +27 -8
  15. package/dist/packages/sdk-ui/src/chart/advanced-chart.d.ts +1 -1
  16. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +4 -0
  17. package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +8 -0
  18. package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +8 -1
  19. package/dist/packages/sdk-ui/src/common/components/modal/index.d.ts +1 -1
  20. package/dist/packages/sdk-ui/src/common/components/modal/modal-context.d.ts +0 -6
  21. package/dist/packages/sdk-ui/src/common/hooks/use-modal.d.ts +14 -0
  22. package/dist/packages/sdk-ui/src/common/icons/jtd-jumpable-icon.d.ts +1 -0
  23. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/components/resizable-columns.d.ts +7 -3
  24. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/const.d.ts +2 -2
  25. package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/helpers.d.ts +6 -0
  26. package/dist/packages/sdk-ui/src/dashboard/components/jtd-dashboard.d.ts +3 -2
  27. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +5 -0
  28. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +129 -0
  29. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +46 -0
  30. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-menu.d.ts +47 -0
  31. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-types.d.ts +93 -0
  32. package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-widget-transforms.d.ts +48 -0
  33. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +1 -92
  34. package/dist/packages/sdk-ui/src/dashboard/types.d.ts +26 -19
  35. package/dist/packages/sdk-ui/src/dynamic-size-container/dynamic-size-container.d.ts +2 -1
  36. package/dist/packages/sdk-ui/src/filters/components/filter-editor-popover/sections/utils.d.ts +8 -0
  37. package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -0
  38. package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +18 -2
  39. package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +2 -2
  40. package/dist/packages/sdk-ui/src/props.d.ts +10 -0
  41. package/dist/packages/sdk-ui/src/sisense-chart/sisense-chart.d.ts +1 -1
  42. package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +4 -0
  43. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +1 -0
  44. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +2 -0
  45. package/dist/packages/sdk-ui/src/utils/parseISOWithTimezoneCheck.d.ts +9 -0
  46. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +9 -9
  47. package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +26 -0
  48. package/dist/{use-common-filters-Br-CoziA.js → use-common-filters-B1RKY2KD.js} +4512 -4440
  49. package/dist/{use-common-filters-CCXbao1t.cjs → use-common-filters-CRgYdKcV.cjs} +78 -78
  50. package/dist/{widget-composer-DheWJukc.cjs → widget-composer-B2r2a9Oh.cjs} +7 -7
  51. package/dist/{widget-composer-BCNu5BzM.js → widget-composer-I9gUFBZt.js} +121 -102
  52. package/package.json +7 -7
  53. package/dist/dimensions-BHdLQaOB.js +0 -200
  54. package/dist/dimensions-oGJ_aWd5.cjs +0 -1
@@ -1,8 +1,8 @@
1
- "use strict";var M1=Object.defineProperty,O1=Object.defineProperties;var k1=Object.getOwnPropertyDescriptors;var ui=Object.getOwnPropertySymbols;var ed=Object.prototype.hasOwnProperty,td=Object.prototype.propertyIsEnumerable;var Bt=Math.pow,xs=(e,t,r)=>t in e?M1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,w=(e,t)=>{for(var r in t||(t={}))ed.call(t,r)&&xs(e,r,t[r]);if(ui)for(var r of ui(t))td.call(t,r)&&xs(e,r,t[r]);return e},$=(e,t)=>O1(e,k1(t));var di=e=>typeof e=="symbol"?e:e+"",te=(e,t)=>{var r={};for(var n in e)ed.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ui)for(var n of ui(e))t.indexOf(n)<0&&td.call(e,n)&&(r[n]=e[n]);return r};var Vn=(e,t,r)=>(xs(e,typeof t!="symbol"?t+"":t,r),r);var _t=(e,t,r)=>new Promise((n,o)=>{var i=l=>{try{s(r.next(l))}catch(c){o(c)}},a=l=>{try{s(r.throw(l))}catch(c){o(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);s((r=r.apply(e,t)).next())});const f=require("./derive-chart-family-Cqw-HJq1.cjs"),S=require("react"),Z=require("react/jsx-runtime"),bt=require("react-dom");function Mh(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Mh(S),A1=Mh(bt);function I1(e){let{i18n:t,defaultNS:r,children:n}=e;const o=S.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return S.createElement(f.I18nContext.Provider,{value:o},n)}function yr(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const ut={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function Tc(e){return[f.customFormula(ut.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),f.customFormula(ut.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),f.customFormula(ut.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function P1(e){return[...Tc(e),f.customFormula(ut.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),f.customFormula(ut.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),f.customFormula(ut.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function D1(e){return[...Tc(e),f.customFormula(ut.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),f.customFormula(ut.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function $1(e){return[...Tc(e),f.customFormula(ut.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),f.customFormula(ut.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),f.customFormula(ut.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const N1=f.withComposeCodeForAnalytics(e=>{const t=f.cloneDeep(e),r=f.customFormula(ut.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=f.customFormula(ut.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:e});return t.name=`${t.name} (Outliers)`,t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t},"boxWhiskerIqrOutliers"),L1=f.withComposeCodeForAnalytics(e=>{const t=f.cloneDeep(e),r=f.customFormula(ut.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=f.customFormula(ut.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:e});return t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t},"boxWhiskerStdDevOutliers");function xo(e){return!!e&&"operator"in e&&(e.operator==="AND"||e.operator==="OR")&&!!e.right&&!!e.left}function Oh(e=[],t=[]){if(!xo(e)&&!xo(t))return At(e,t);const{filters:r,relations:n}=Co(e),o=Sc(t),i=At(r,o),a=po(r,n,i);return fo(i,a)}function Co(e){if(!e)return{filters:[],relations:null};if(f.isArray(e))return{filters:e,relations:null};const t=new Set;function r(o){if(kh(o))return t.add(o),{instanceid:o.config.guid};if(xo(o)){const i=r(o.left),a=r(o.right);return{left:i,right:a,operator:o.operator}}throw new ha}const n=r(e);return{filters:Array.from(t),relations:n}}function Sc(e){return e?Co(e).filters:[]}function fo(e,t){if(!t||Rc(t))return e;const r=n(t);return kh(r)?[r]:r;function n(o){if(fa(o))return e.find(i=>i.config.guid===o.instanceid);if(pa(o))return(o.operator==="AND"?f.logic.and:f.logic.or)(n(o.left),n(o.right));throw new ha}}function Rc(e){return!!e&&"instanceid"in e}function po(e,t,r){if(t===null)return null;const n=j1(e,r);return n.length===0?t:n.reduce((o,i)=>{switch(i.type){case"add":return B1(i.payload,o);case"remove":return al(i.payload,o)}},t)}function rd(e,t){return e.config.guid===t.config.guid}function F1(e,t,r){if(!e)return null;return o(e);function o(i){if(fa(i))return i.instanceid===t.config.guid?{instanceid:r.config.guid}:i;if(pa(i))return{left:o(i.left),right:o(i.right),operator:i.operator};throw new ha}}function j1(e,t){const r=[],n=[...e],o=[...t];return n.forEach(i=>{o.some(s=>rd(i,s))||r.push({type:"remove",payload:i})}),o.forEach(i=>{n.some(s=>rd(i,s))||r.push({type:"add",payload:i})}),r}function B1(e,t){return t?{left:t,right:{instanceid:e.config.guid},operator:"AND"}:{instanceid:e.config.guid}}function al(e,t){if(!t)return null;if(Rc(t))return t.instanceid===e.config.guid?null:t;const r=al(e,t.left),n=al(e,t.right);return r===null&&n?n:n===null&&r?r:r===null&&n===null?null:{left:r,right:n,operator:t.operator}}function H1(e,t){if(!e)return null;function r(n){if(z1(n))return{instanceid:n.instanceId};if(W1(n))return r(n.value);if(V1(n))return{operator:n.operator,left:r(n.left),right:r(n.right)};if(U1(n)){const o=t.find(i=>{if(!f.isCascadingFilter(i))return!1;const a=i.filters.map(s=>s.config.guid);return n.levels.every(s=>a.includes(s.instanceId))});if(o)return{instanceid:o.config.guid};throw new Error("Broken filter relations model. Cascading filter not found.")}throw new Error("Broken filter relations model. Unknown node type.")}return r(e)}function z1(e){return"instanceId"in e}function W1(e){return"value"in e}function V1(e){return"operator"in e}function U1(e){return"levels"in e&&f.isArray(e.levels)}function fa(e){return"instanceid"in e}function pa(e){return"operator"in e}function kh(e){return"config"in e&&"guid"in e.config}function G1(e,t){if(!e)return;function r(n){if(fa(n)){const o=t.find(i=>i.config.guid===n.instanceid);return o&&f.isCascadingFilter(o)?{type:"CascadingIdentifier",levels:o.filters.map(a=>({type:"Identifier",instanceId:a.config.guid}))}:{type:"Identifier",instanceId:n.instanceid}}else{if(pa(n))return{type:"LogicalExpression",operator:n.operator,left:r(n.left),right:r(n.right)};throw new Error("Unknown node type in filter relations rules.")}}return r(e)}function Y1(e,t){return e.find(r=>r.config.guid===t)}class ha extends Error{constructor(){super("Broken filter relations. Unknown node type.")}}function q1(e){return e.nodeType==="openBracket"}function X1(e){return e.nodeType==="closeBracket"}function K1(e){return e.nodeType==="attribute"}function Q1(e){return e.nodeType==="operator"}function Eo(e){if(f.isCascadingFilter(e))return e.filters.map(Eo).join("-");const{attribute:t}=e,r=e.jaql().jaql,n=t.expression||r.dim,o=t.granularity||((r==null?void 0:r.datatype)==="datetime"?f.DimensionalLevelAttribute.translateJaqlToGranularity(r):"");return`${n}${o}`}function At(e=[],t=[]){const r=[...e];return t.forEach(n=>{const o=r.findIndex(a=>Eo(n)===Eo(a));o!==-1?r[o]=n:r.push(n)}),r}function Z1(e){if(!e)return e;const t=f.cloneDeep(e);function r(n){if("instanceId"in n)return{instanceid:n.instanceId};if("value"in n)return r(n.value);if("operator"in n){const o={operator:n.operator};return"left"in n&&(o.left=r(n.left)),"right"in n&&(o.right=r(n.right)),o}return n}return r(t)}function J1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sl(e,t){return sl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},sl(e,t)}const to={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function Ah(e,t,r){const n={chart:{textColor:e.dashboards.widgetTextColor,backgroundColor:e.dashboards.widgetBackgroundColor,secondaryTextColor:e.dashboards.widgetSecondaryTextColor,animation:{init:{duration:"auto"},redraw:{duration:"auto"}}},typography:{fontFamily:e.typography.fontFamily,primaryTextColor:e.typography.primaryTextColor,secondaryTextColor:e.typography.secondaryTextColor,fontsLoader:{fonts:ey(e.typography.fontFamily,r,e.typography.customFontSelected)}},palette:{variantColors:t.colors},general:{brandColor:e.general.brandColor,backgroundColor:e.general.backgroundColor,primaryButtonTextColor:e.general.primaryButtonTextColor,primaryButtonHoverColor:e.general.primaryButtonHoverColor,popover:f.getDefaultThemeSettings().general.popover,buttons:{cancel:{backgroundColor:{default:e.general.secondaryButtonBaseColor,hover:e.general.secondaryButtonHoverColor,focus:e.general.secondaryButtonHoverColor},textColor:e.general.secondaryButtonTextColor}}},widget:{spaceAround:to[e.dashboards.widgetSpacing],cornerRadius:to[e.dashboards.widgetCornerRadius],shadow:to[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:to[e.dashboards.widgetTitleAlignment],titleFontSize:f.DEFAULT_TITLE_FONT_SIZE,dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:f.DEFAULT_DIVIDER_WIDTH,dividerLineColor:f.DEFAULT_DIVIDER_COLOR,borderWidth:f.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:f.DEFAULT_DASHBOARD_BORDER_COLOR,toolbar:{primaryTextColor:e.dashboards.toolbarTextColor,secondaryTextColor:e.dashboards.toolbarSecondaryTextColor,backgroundColor:e.dashboards.toolbarBackgroundColor}},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor,borderWidth:f.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:f.DEFAULT_FILTER_PANEL_BORDER_COLOR}}};return f.merge.withOptions({mergeArrays:!1},f.getDefaultThemeSettings(),n)}function Ih(e){return e.dashboards.colorPaletteName}function ey(e,t,r){const i=r?"fonts/":"resources/base/fonts/";return[{fontFamily:e,fontWeight:"normal",fontStyle:"normal",src:[{url:`${t}${i}${e}-Regular.eot`},{local:`${e}-Regular`},{url:`${t}${i}${e}-Regular.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-Regular.ttf`,format:"truetype"}]},{fontFamily:e,fontWeight:600,fontStyle:"normal",src:[{url:`${t}${i}${e}-SemiBold.eot`},{local:`${e}-SemiBold`},{url:`${t}${i}${e}-SemiBold.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-SemiBold.ttf`,format:"truetype"}]},{fontFamily:e,fontWeight:"bold",fontStyle:"normal",src:[{url:`${t}${i}${e}-Bold.eot`},{local:`${e}-Bold`},{url:`${t}${i}${e}-Bold.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-Bold.ttf`,format:"truetype"}]}]}function Ph(e,t){return _t(this,null,function*(){const r=yield ty(e,t);if(!r)throw new f.TranslatableError("errors.themeNotFound",{themeOid:e});const n=Ih(r),o=yield Dh(n,t);return Ah(r,o,t.url)})}function ty(e,t){return _t(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new f.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function Dh(e,t){return _t(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new f.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const ry={sdkComponentInit:{internal:!0,external:!0},sdkHookInit:{internal:!0,external:!0},sdkError:{internal:!0,external:!1},sdkCliExec:{internal:!0,external:!1},sdkAngularServiceMethodExecuted:{internal:!0,external:!0}},nd="composesdk",$h=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:nd,eventType:"product",direct:!0},t);return n&&(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="test")?(console.debug("DEBUG: event payload to send",o),Promise.resolve()):r.post("api/activities/",[o],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(i=>{console.error(`unable to log action=${e}, category=${nd}`,i)})},od=(e,t,r,n,o)=>{const i=ry[`${e}`];return i.internal&&$h(e,t,r,o),i.external&&n&&n(w({action:e},t)),Promise.resolve()},_c=()=>{var i,a;const{tracking:e,app:t}=f.useSisenseContext(),r=(a=(i=t==null?void 0:t.httpClient)==null?void 0:i.auth)==null?void 0:a.type,n=S.useCallback((s,l={},c=!1)=>t?od(s,$(w({},l),{authType:r}),t.httpClient,e.onTrackingEvent,c):Promise.resolve(),[e,t,r]),o=S.useCallback((s,l=!1)=>{if(!t)return Promise.resolve();const{packageName:c,packageVersion:d,component:p,error:h}=s;let m="";return typeof h=="string"?m=h:h instanceof Error&&(m=h.message||h.toString()),od("sdkError",$(w({},{packageName:c,packageVersion:d,component:p,error:m}),{authType:r}),t.httpClient,e.onTrackingEvent,l)},[e,t,r]);return{trackEvent:n,trackError:o}},ny="sdkComponentInit",Nh=S.createContext(!1),oy=({skipNested:e=!0,children:t})=>f.jsx(Nh.Provider,{value:e,children:t}),iy=(e,t)=>{const{tracking:r,app:n}=f.useSisenseContext(),{trackEvent:o}=_c(),i=S.useContext(Nh),a=S.useRef(!1);S.useEffect(()=>{if(!r||!n)return;if(!a.current&&!i){const l={packageName:r.packageName,packageVersion:"2.4.1",componentName:e,attributesUsed:Object.entries(t).filter(([,c])=>!!c).map(([c])=>c).join(", ")};o(ny,l,!r.enabled).finally(()=>a.current=!0)}},[e,t,r,i,o,n])};var ay="[object Boolean]";function Lh(e){return e===!0||e===!1||f.isObjectLike(e)&&f.baseGetTag(e)==ay}const qu=class qu extends S.Component{constructor(t){super(t),this.postponedErrors=[],this.handler=t.handler,this.componentName=t.componentName}componentDidMount(){var t;this.context.isInitialized&&(this.httpClient=(t=this.context.app)==null?void 0:t.httpClient)}componentDidCatch(t){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(t):this.postponedErrors.push(t)),t}sendErrorTracking(t){try{this.handler({packageName:"sdk-ui",packageVersion:"2.4.1",component:this.componentName,error:t})}catch(r){console.log("Failed to send tracking error event: ",r)}}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(t=>this.sendErrorTracking(t)),this.postponedErrors=[],this.props.children}};qu.contextType=f.SisenseContext;let ll=qu;const sy=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=_c();return Lh(r)&&r||f.isFunction(r)&&r(a)?f.jsx(o,w({},a)):(iy(e,a),f.jsx(oy,{skipNested:!n,children:f.jsx(ll,{componentName:e,handler:s,children:f.jsx(o,w({},a))})}))}},ly="_container_1wquj_1",cy="_card_1wquj_11",uy="_text_1wquj_19",Cs={container:ly,card:cy,text:uy};function Fh({color:e="#FFCB05"}){return f.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:f.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:f.jsxs("g",{children:[f.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),f.jsx("path",{d:"M24.5,39.054 L24.5,35.054 L28.5,35.054 L28.5,39.054 L24.5,39.054 Z M28.5,31.0536 L24.5,31.0536 L23.5,13.0536 L29.5,13.0536 L28.5,31.0536 Z",fill:"#FFFFFF"})]})})})}const jh=({error:e=new f.TranslatableError("errors.componentRenderError")})=>{var h,m,v,g,y,b;const{themeSettings:t}=f.useThemeContext(),{app:r}=f.useSisenseContext(),{t:n}=f.useTranslation(),[o,i]=S.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},l=f.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:f.jsx(Fh,{color:(h=t==null?void 0:t.general)==null?void 0:h.brandColor})}),c=e instanceof f.AbstractTranslatableError?n(e.key,w({},e.interpolationOptions)):n(e instanceof Error?e.message:e),d=n("errorBoxText",{errorMessage:c,interpolation:{escapeValue:!1}}),p=(v=(m=r==null?void 0:r.settings)==null?void 0:m.errorBoundaryConfig)==null?void 0:v.alwaysShowErrorText;return f.jsx("div",{onMouseEnter:p?void 0:a,onMouseLeave:p?void 0:s,className:Cs.container,"aria-label":"error-box",children:f.jsxs("div",{className:Cs.card,style:{backgroundColor:((g=t==null?void 0:t.general)==null?void 0:g.backgroundColor)||"rgba(255,255,255,0.5)"},children:[l,(p||o)&&f.jsx("div",{className:Cs.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||f.DEFAULT_TEXT_COLOR,fontFamily:((b=t==null?void 0:t.typography)==null?void 0:b.fontFamily)||"inherit"},children:d})]})})};let Bh=class extends S.Component{constructor(t){super(t),this.showErrorBox=!0,this.onError=t.onError,this.isContainerComponent=t.isContainerComponent||!1,this.state={error:null,customErrorUI:null}}static getDerivedStateFromError(t){return{error:t,customErrorUI:null}}componentDidCatch(t){const r=t instanceof Error?t:new Error(t);if(this.onError){const n=this.onError(r);if(n!==void 0&&S.isValidElement(n)){this.setState({error:t,customErrorUI:n});return}}this.setState({error:t})}componentDidUpdate(t,r){if(r.error!==null&&dy(t.resetKeys,this.props.resetKeys)&&this.setState({error:null,customErrorUI:null}),this.props.error&&!t.error&&!r.error&&!this.state.error&&this.onError){const n=this.props.error instanceof Error?this.props.error:new Error(String(this.props.error)),o=this.onError(n);o!==void 0&&S.isValidElement(o)&&this.setState({customErrorUI:o})}}render(){const{error:t,customErrorUI:r}=this.state,{shouldRenderChildrenWithProvidedError:n,showErrorBox:o,error:i,children:a}=this.props,s=t||i;return!s||i&&!t&&n?a:o?r||f.jsx(jh,{error:s}):null}};function dy(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!f.isEqual(r,t[n]))}const Hh=({componentName:e})=>t=>function(n){const o=f.useSisenseContext(),i=a=>{var s,l;return(l=(s=o.errorBoundary).onError)==null?void 0:l.call(s,a,{componentName:e,componentProps:n})};return f.jsx(Bh,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:f.jsx(t,w({},n))})};function zh(){var e,t;return(t=(e=document.head.querySelector('meta[property="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}const id=zh(),Mc=({color:e})=>{const t={backgroundColor:e||"#333333",float:"left",width:"10px",height:"10px",marginRight:"7px",WebkitAnimation:"loading-dots-animation 1.8s infinite ease-in-out",animation:"loading-dots-animation 1.8s infinite ease-in-out",borderRadius:"50%",opacity:.75},r=$(w({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=$(w({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=$(w({},t),{marginRight:"unset"}),i={"0%, 80%, 100%":{WebkitTransform:"scale(0) rotate(0deg)",transform:"scale(0) rotate(0deg)"},"40%":{WebkitTransform:"scale(1) rotate(0.02deg)",transform:"scale(1) rotate(0.02deg)"}};return f.jsxs("div",{children:[f.jsx("style",$(w({},id&&{nonce:id}),{children:`
1
+ "use strict";var O1=Object.defineProperty,k1=Object.defineProperties;var A1=Object.getOwnPropertyDescriptors;var ui=Object.getOwnPropertySymbols;var rd=Object.prototype.hasOwnProperty,nd=Object.prototype.propertyIsEnumerable;var Bt=Math.pow,Es=(e,t,r)=>t in e?O1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,w=(e,t)=>{for(var r in t||(t={}))rd.call(t,r)&&Es(e,r,t[r]);if(ui)for(var r of ui(t))nd.call(t,r)&&Es(e,r,t[r]);return e},$=(e,t)=>k1(e,A1(t));var di=e=>typeof e=="symbol"?e:e+"",te=(e,t)=>{var r={};for(var n in e)rd.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ui)for(var n of ui(e))t.indexOf(n)<0&&nd.call(e,n)&&(r[n]=e[n]);return r};var Vn=(e,t,r)=>(Es(e,typeof t!="symbol"?t+"":t,r),r);var _t=(e,t,r)=>new Promise((n,o)=>{var i=l=>{try{s(r.next(l))}catch(c){o(c)}},a=l=>{try{s(r.throw(l))}catch(c){o(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);s((r=r.apply(e,t)).next())});const f=require("./derive-chart-family-yUBZXP4x.cjs"),S=require("react"),Z=require("react/jsx-runtime"),bt=require("react-dom");function kh(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=kh(S),I1=kh(bt);function P1(e){let{i18n:t,defaultNS:r,children:n}=e;const o=S.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return S.createElement(f.I18nContext.Provider,{value:o},n)}function yr(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const ut={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function Rc(e){return[f.customFormula(ut.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),f.customFormula(ut.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),f.customFormula(ut.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function D1(e){return[...Rc(e),f.customFormula(ut.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),f.customFormula(ut.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),f.customFormula(ut.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function $1(e){return[...Rc(e),f.customFormula(ut.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),f.customFormula(ut.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function N1(e){return[...Rc(e),f.customFormula(ut.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),f.customFormula(ut.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),f.customFormula(ut.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const L1=f.withComposeCodeForAnalytics(e=>{const t=f.cloneDeep(e),r=f.customFormula(ut.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=f.customFormula(ut.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_IQR([Attr]), all([Attr]))",{Attr:e});return t.name=`${t.name} (Outliers)`,t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t},"boxWhiskerIqrOutliers"),F1=f.withComposeCodeForAnalytics(e=>{const t=f.cloneDeep(e),r=f.customFormula(ut.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=f.customFormula(ut.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:e});return t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t},"boxWhiskerStdDevOutliers");function xo(e){return!!e&&"operator"in e&&(e.operator==="AND"||e.operator==="OR")&&!!e.right&&!!e.left}function Ah(e=[],t=[]){if(!xo(e)&&!xo(t))return At(e,t);const{filters:r,relations:n}=Co(e),o=_c(t),i=At(r,o),a=po(r,n,i);return fo(i,a)}function Co(e){if(!e)return{filters:[],relations:null};if(f.isArray(e))return{filters:e,relations:null};const t=new Set;function r(o){if(Ih(o))return t.add(o),{instanceid:o.config.guid};if(xo(o)){const i=r(o.left),a=r(o.right);return{left:i,right:a,operator:o.operator}}throw new ga}const n=r(e);return{filters:Array.from(t),relations:n}}function _c(e){return e?Co(e).filters:[]}function fo(e,t){if(!t||Mc(t))return e;const r=n(t);return Ih(r)?[r]:r;function n(o){if(pa(o))return e.find(i=>i.config.guid===o.instanceid);if(ha(o))return(o.operator==="AND"?f.logic.and:f.logic.or)(n(o.left),n(o.right));throw new ga}}function Mc(e){return!!e&&"instanceid"in e}function po(e,t,r){if(t===null)return null;const n=B1(e,r);return n.length===0?t:n.reduce((o,i)=>{switch(i.type){case"add":return H1(i.payload,o);case"remove":return ll(i.payload,o)}},t)}function od(e,t){return e.config.guid===t.config.guid}function j1(e,t,r){if(!e)return null;return o(e);function o(i){if(pa(i))return i.instanceid===t.config.guid?{instanceid:r.config.guid}:i;if(ha(i))return{left:o(i.left),right:o(i.right),operator:i.operator};throw new ga}}function B1(e,t){const r=[],n=[...e],o=[...t];return n.forEach(i=>{o.some(s=>od(i,s))||r.push({type:"remove",payload:i})}),o.forEach(i=>{n.some(s=>od(i,s))||r.push({type:"add",payload:i})}),r}function H1(e,t){return t?{left:t,right:{instanceid:e.config.guid},operator:"AND"}:{instanceid:e.config.guid}}function ll(e,t){if(!t)return null;if(Mc(t))return t.instanceid===e.config.guid?null:t;const r=ll(e,t.left),n=ll(e,t.right);return r===null&&n?n:n===null&&r?r:r===null&&n===null?null:{left:r,right:n,operator:t.operator}}function z1(e,t){if(!e)return null;function r(n){if(W1(n))return{instanceid:n.instanceId};if(V1(n))return r(n.value);if(U1(n))return{operator:n.operator,left:r(n.left),right:r(n.right)};if(G1(n)){const o=t.find(i=>{if(!f.isCascadingFilter(i))return!1;const a=i.filters.map(s=>s.config.guid);return n.levels.every(s=>a.includes(s.instanceId))});if(o)return{instanceid:o.config.guid};throw new Error("Broken filter relations model. Cascading filter not found.")}throw new Error("Broken filter relations model. Unknown node type.")}return r(e)}function W1(e){return"instanceId"in e}function V1(e){return"value"in e}function U1(e){return"operator"in e}function G1(e){return"levels"in e&&f.isArray(e.levels)}function pa(e){return"instanceid"in e}function ha(e){return"operator"in e}function Ih(e){return"config"in e&&"guid"in e.config}function Y1(e,t){if(!e)return;function r(n){if(pa(n)){const o=t.find(i=>i.config.guid===n.instanceid);return o&&f.isCascadingFilter(o)?{type:"CascadingIdentifier",levels:o.filters.map(a=>({type:"Identifier",instanceId:a.config.guid}))}:{type:"Identifier",instanceId:n.instanceid}}else{if(ha(n))return{type:"LogicalExpression",operator:n.operator,left:r(n.left),right:r(n.right)};throw new Error("Unknown node type in filter relations rules.")}}return r(e)}function q1(e,t){return e.find(r=>r.config.guid===t)}class ga extends Error{constructor(){super("Broken filter relations. Unknown node type.")}}function X1(e){return e.nodeType==="openBracket"}function K1(e){return e.nodeType==="closeBracket"}function Q1(e){return e.nodeType==="attribute"}function Z1(e){return e.nodeType==="operator"}function Eo(e){if(f.isCascadingFilter(e))return e.filters.map(Eo).join("-");const{attribute:t}=e,r=e.jaql().jaql,n=t.expression||r.dim,o=t.granularity||((r==null?void 0:r.datatype)==="datetime"?f.DimensionalLevelAttribute.translateJaqlToGranularity(r):"");return`${n}${o}`}function At(e=[],t=[]){const r=[...e];return t.forEach(n=>{const o=r.findIndex(a=>Eo(n)===Eo(a));o!==-1?r[o]=n:r.push(n)}),r}function J1(e){if(!e)return e;const t=f.cloneDeep(e);function r(n){if("instanceId"in n)return{instanceid:n.instanceId};if("value"in n)return r(n.value);if("operator"in n){const o={operator:n.operator};return"left"in n&&(o.left=r(n.left)),"right"in n&&(o.right=r(n.right)),o}return n}return r(t)}function ey(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cl(e,t){return cl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},cl(e,t)}const to={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function Ph(e,t,r){const n={chart:{textColor:e.dashboards.widgetTextColor,backgroundColor:e.dashboards.widgetBackgroundColor,secondaryTextColor:e.dashboards.widgetSecondaryTextColor,animation:{init:{duration:"auto"},redraw:{duration:"auto"}}},typography:{fontFamily:e.typography.fontFamily,primaryTextColor:e.typography.primaryTextColor,secondaryTextColor:e.typography.secondaryTextColor,fontsLoader:{fonts:ty(e.typography.fontFamily,r,e.typography.customFontSelected)}},palette:{variantColors:t.colors},general:{brandColor:e.general.brandColor,backgroundColor:e.general.backgroundColor,primaryButtonTextColor:e.general.primaryButtonTextColor,primaryButtonHoverColor:e.general.primaryButtonHoverColor,popover:f.getDefaultThemeSettings().general.popover,buttons:{cancel:{backgroundColor:{default:e.general.secondaryButtonBaseColor,hover:e.general.secondaryButtonHoverColor,focus:e.general.secondaryButtonHoverColor},textColor:e.general.secondaryButtonTextColor}}},widget:{spaceAround:to[e.dashboards.widgetSpacing],cornerRadius:to[e.dashboards.widgetCornerRadius],shadow:to[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:to[e.dashboards.widgetTitleAlignment],titleFontSize:f.DEFAULT_TITLE_FONT_SIZE,dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:f.DEFAULT_DIVIDER_WIDTH,dividerLineColor:f.DEFAULT_DIVIDER_COLOR,borderWidth:f.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:f.DEFAULT_DASHBOARD_BORDER_COLOR,toolbar:{primaryTextColor:e.dashboards.toolbarTextColor,secondaryTextColor:e.dashboards.toolbarSecondaryTextColor,backgroundColor:e.dashboards.toolbarBackgroundColor}},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor,borderWidth:f.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:f.DEFAULT_FILTER_PANEL_BORDER_COLOR}}};return f.merge.withOptions({mergeArrays:!1},f.getDefaultThemeSettings(),n)}function Dh(e){return e.dashboards.colorPaletteName}function ty(e,t,r){const i=r?"fonts/":"resources/base/fonts/";return[{fontFamily:e,fontWeight:"normal",fontStyle:"normal",src:[{url:`${t}${i}${e}-Regular.eot`},{local:`${e}-Regular`},{url:`${t}${i}${e}-Regular.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-Regular.ttf`,format:"truetype"}]},{fontFamily:e,fontWeight:600,fontStyle:"normal",src:[{url:`${t}${i}${e}-SemiBold.eot`},{local:`${e}-SemiBold`},{url:`${t}${i}${e}-SemiBold.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-SemiBold.ttf`,format:"truetype"}]},{fontFamily:e,fontWeight:"bold",fontStyle:"normal",src:[{url:`${t}${i}${e}-Bold.eot`},{local:`${e}-Bold`},{url:`${t}${i}${e}-Bold.eot?#iefix`,format:"embedded-opentype"},{url:`${t}${i}${e}-Bold.ttf`,format:"truetype"}]}]}function $h(e,t){return _t(this,null,function*(){const r=yield ry(e,t);if(!r)throw new f.TranslatableError("errors.themeNotFound",{themeOid:e});const n=Dh(r),o=yield Nh(n,t);return Ph(r,o,t.url)})}function ry(e,t){return _t(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new f.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function Nh(e,t){return _t(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new f.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const ny={sdkComponentInit:{internal:!0,external:!0},sdkHookInit:{internal:!0,external:!0},sdkError:{internal:!0,external:!1},sdkCliExec:{internal:!0,external:!1},sdkAngularServiceMethodExecuted:{internal:!0,external:!0}},id="composesdk",Lh=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:id,eventType:"product",direct:!0},t);return n&&(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="test")?(console.debug("DEBUG: event payload to send",o),Promise.resolve()):r.post("api/activities/",[o],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(i=>{console.error(`unable to log action=${e}, category=${id}`,i)})},ad=(e,t,r,n,o)=>{const i=ny[`${e}`];return i.internal&&Lh(e,t,r,o),i.external&&n&&n(w({action:e},t)),Promise.resolve()},Oc=()=>{var i,a;const{tracking:e,app:t}=f.useSisenseContext(),r=(a=(i=t==null?void 0:t.httpClient)==null?void 0:i.auth)==null?void 0:a.type,n=S.useCallback((s,l={},c=!1)=>t?ad(s,$(w({},l),{authType:r}),t.httpClient,e.onTrackingEvent,c):Promise.resolve(),[e,t,r]),o=S.useCallback((s,l=!1)=>{if(!t)return Promise.resolve();const{packageName:c,packageVersion:d,component:p,error:h}=s;let m="";return typeof h=="string"?m=h:h instanceof Error&&(m=h.message||h.toString()),ad("sdkError",$(w({},{packageName:c,packageVersion:d,component:p,error:m}),{authType:r}),t.httpClient,e.onTrackingEvent,l)},[e,t,r]);return{trackEvent:n,trackError:o}},oy="sdkComponentInit",Fh=S.createContext(!1),iy=({skipNested:e=!0,children:t})=>f.jsx(Fh.Provider,{value:e,children:t}),ay=(e,t)=>{const{tracking:r,app:n}=f.useSisenseContext(),{trackEvent:o}=Oc(),i=S.useContext(Fh),a=S.useRef(!1);S.useEffect(()=>{if(!r||!n)return;if(!a.current&&!i){const l={packageName:r.packageName,packageVersion:"2.6.0",componentName:e,attributesUsed:Object.entries(t).filter(([,c])=>!!c).map(([c])=>c).join(", ")};o(oy,l,!r.enabled).finally(()=>a.current=!0)}},[e,t,r,i,o,n])};var sy="[object Boolean]";function jh(e){return e===!0||e===!1||f.isObjectLike(e)&&f.baseGetTag(e)==sy}const Ku=class Ku extends S.Component{constructor(t){super(t),this.postponedErrors=[],this.handler=t.handler,this.componentName=t.componentName}componentDidMount(){var t;this.context.isInitialized&&(this.httpClient=(t=this.context.app)==null?void 0:t.httpClient)}componentDidCatch(t){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(t):this.postponedErrors.push(t)),t}sendErrorTracking(t){try{this.handler({packageName:"sdk-ui",packageVersion:"2.6.0",component:this.componentName,error:t})}catch(r){console.log("Failed to send tracking error event: ",r)}}render(){return this.httpClient&&this.postponedErrors.length>0&&this.postponedErrors.forEach(t=>this.sendErrorTracking(t)),this.postponedErrors=[],this.props.children}};Ku.contextType=f.SisenseContext;let ul=Ku;const ly=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=Oc();return jh(r)&&r||f.isFunction(r)&&r(a)?f.jsx(o,w({},a)):(ay(e,a),f.jsx(iy,{skipNested:!n,children:f.jsx(ul,{componentName:e,handler:s,children:f.jsx(o,w({},a))})}))}},cy="_container_1wquj_1",uy="_card_1wquj_11",dy="_text_1wquj_19",Ts={container:cy,card:uy,text:dy};function Bh({color:e="#FFCB05"}){return f.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:f.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:f.jsxs("g",{children:[f.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),f.jsx("path",{d:"M24.5,39.054 L24.5,35.054 L28.5,35.054 L28.5,39.054 L24.5,39.054 Z M28.5,31.0536 L24.5,31.0536 L23.5,13.0536 L29.5,13.0536 L28.5,31.0536 Z",fill:"#FFFFFF"})]})})})}const kc=({error:e=new f.TranslatableError("errors.componentRenderError")})=>{var h,m,v,g,y,b;const{themeSettings:t}=f.useThemeContext(),{app:r}=f.useSisenseContext(),{t:n}=f.useTranslation(),[o,i]=S.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},l=f.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:f.jsx(Bh,{color:(h=t==null?void 0:t.general)==null?void 0:h.brandColor})}),c=e instanceof f.AbstractTranslatableError?n(e.key,w({},e.interpolationOptions)):n(e instanceof Error?e.message:e),d=n("errorBoxText",{errorMessage:c,interpolation:{escapeValue:!1}}),p=(v=(m=r==null?void 0:r.settings)==null?void 0:m.errorBoundaryConfig)==null?void 0:v.alwaysShowErrorText;return f.jsx("div",{onMouseEnter:p?void 0:a,onMouseLeave:p?void 0:s,className:Ts.container,"aria-label":"error-box",children:f.jsxs("div",{className:Ts.card,style:{backgroundColor:((g=t==null?void 0:t.general)==null?void 0:g.backgroundColor)||"rgba(255,255,255,0.5)"},children:[l,(p||o)&&f.jsx("div",{className:Ts.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||f.DEFAULT_TEXT_COLOR,fontFamily:((b=t==null?void 0:t.typography)==null?void 0:b.fontFamily)||"inherit"},children:d})]})})};let Hh=class extends S.Component{constructor(t){super(t),this.showErrorBox=!0,this.onError=t.onError,this.isContainerComponent=t.isContainerComponent||!1,this.state={error:null,customErrorUI:null}}static getDerivedStateFromError(t){return{error:t,customErrorUI:null}}componentDidCatch(t){const r=t instanceof Error?t:new Error(t);if(this.onError){const n=this.onError(r);if(n!==void 0&&S.isValidElement(n)){this.setState({error:t,customErrorUI:n});return}}this.setState({error:t})}componentDidUpdate(t,r){if(r.error!==null&&fy(t.resetKeys,this.props.resetKeys)&&this.setState({error:null,customErrorUI:null}),this.props.error&&!t.error&&!r.error&&!this.state.error&&this.onError){const n=this.props.error instanceof Error?this.props.error:new Error(String(this.props.error)),o=this.onError(n);o!==void 0&&S.isValidElement(o)&&this.setState({customErrorUI:o})}}render(){const{error:t,customErrorUI:r}=this.state,{shouldRenderChildrenWithProvidedError:n,showErrorBox:o,error:i,children:a}=this.props,s=t||i;return!s||i&&!t&&n?a:o?r||f.jsx(kc,{error:s}):null}};function fy(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!f.isEqual(r,t[n]))}const zh=({componentName:e})=>t=>function(n){const o=f.useSisenseContext(),i=a=>{var s,l;return(l=(s=o.errorBoundary).onError)==null?void 0:l.call(s,a,{componentName:e,componentProps:n})};return f.jsx(Hh,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:f.jsx(t,w({},n))})};function Wh(){var e,t;return(t=(e=document.head.querySelector('meta[property="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}const sd=Wh(),Ac=({color:e})=>{const t={backgroundColor:e||"#333333",float:"left",width:"10px",height:"10px",marginRight:"7px",WebkitAnimation:"loading-dots-animation 1.8s infinite ease-in-out",animation:"loading-dots-animation 1.8s infinite ease-in-out",borderRadius:"50%",opacity:.75},r=$(w({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=$(w({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=$(w({},t),{marginRight:"unset"}),i={"0%, 80%, 100%":{WebkitTransform:"scale(0) rotate(0deg)",transform:"scale(0) rotate(0deg)"},"40%":{WebkitTransform:"scale(1) rotate(0.02deg)",transform:"scale(1) rotate(0.02deg)"}};return f.jsxs("div",{children:[f.jsx("style",$(w({},sd&&{nonce:sd}),{children:`
2
2
  @keyframes loading-dots-animation {
3
3
  ${Object.entries(i).map(([a,s])=>`${a} { ${Object.entries(s).map(([l,c])=>`${l}: ${c};`).join("")} }`).join("")}
4
4
  }
5
- `})),f.jsx("div",{style:r}),f.jsx("div",{style:n}),f.jsx("div",{style:o})]})},ga=({themeSettings:e,onCancel:t})=>{const{t:r}=f.useTranslation(),n=e!=null&&e.chart.backgroundColor?{backgroundColor:e.chart.backgroundColor}:void 0;return f.jsx("div",{style:n,className:"csdk-h-full csdk-bg-white csdk-p-[20px]","aria-label":"csdk-loading-indicator",children:f.jsxs("div",{style:n,className:"csdk-h-full csdk-bg-background-priority csdk-flex csdk-flex-col csdk-gap-y-4 csdk-items-center csdk-justify-center",children:[f.jsx(Mc,{color:e==null?void 0:e.chart.textColor}),t&&f.jsx("div",{className:"csdk-text-ai-sm csdk-text-text-link csdk-cursor-pointer",onClick:t,children:r("cancel")})]})})},fy=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>r=>function(o){if(py(e,o))return f.jsx(r,w({},o));const{app:i,isInitialized:a}=f.useSisenseContext();if(!a){const s=t||"errors.noSisenseContext";throw new f.TranslatableError(s)}return i?f.jsx(r,w({},o)):f.jsx(ga,{})};function py(e,t){return Lh(e)&&e||f.isFunction(e)&&e(t)}function hy(){const[e,t]=S.useState(null);return S.useEffect(()=>{f.initializeI18n().initPromise.then(r=>t(r))},[]),e}const Wh=({children:e,userLanguage:t,customTranslations:r=[]})=>{const n=hy();return S.useEffect(()=>{if(t&&(n==null?void 0:n.language)!==t){for(const{language:o,resources:i,namespace:a="sdkUi"}of r)n==null||n.addResourceBundle(o,a,i);n==null||n.changeLanguage(t)}},[n,t,r]),n&&f.jsx(I1,{i18n:n,children:e})},gy=()=>e=>function(r){const{isInitialized:n}=f.useSisenseContext();return n?f.jsx(e,w({},r)):f.jsx(Wh,{children:f.jsx(e,w({},r))})},Oc=S.createContext(null),ma=()=>S.useContext(Oc);var cl={exports:{}},Ce={};/**
5
+ `})),f.jsx("div",{style:r}),f.jsx("div",{style:n}),f.jsx("div",{style:o})]})},ma=({themeSettings:e,onCancel:t})=>{const{t:r}=f.useTranslation(),n=e!=null&&e.chart.backgroundColor?{backgroundColor:e.chart.backgroundColor}:void 0;return f.jsx("div",{style:n,className:"csdk-h-full csdk-bg-white csdk-p-[20px]","aria-label":"csdk-loading-indicator",children:f.jsxs("div",{style:n,className:"csdk-h-full csdk-bg-background-priority csdk-flex csdk-flex-col csdk-gap-y-4 csdk-items-center csdk-justify-center",children:[f.jsx(Ac,{color:e==null?void 0:e.chart.textColor}),t&&f.jsx("div",{className:"csdk-text-ai-sm csdk-text-text-link csdk-cursor-pointer",onClick:t,children:r("cancel")})]})})},py=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>r=>function(o){if(hy(e,o))return f.jsx(r,w({},o));const{app:i,isInitialized:a}=f.useSisenseContext();if(!a){const s=t||"errors.noSisenseContext";throw new f.TranslatableError(s)}return i?f.jsx(r,w({},o)):f.jsx(ma,{})};function hy(e,t){return jh(e)&&e||f.isFunction(e)&&e(t)}function gy(){const[e,t]=S.useState(null);return S.useEffect(()=>{f.initializeI18n().initPromise.then(r=>t(r))},[]),e}const Vh=({children:e,userLanguage:t,customTranslations:r=[]})=>{const n=gy();return S.useEffect(()=>{if(t&&(n==null?void 0:n.language)!==t){for(const{language:o,resources:i,namespace:a="sdkUi"}of r)n==null||n.addResourceBundle(o,a,i);n==null||n.changeLanguage(t)}},[n,t,r]),n&&f.jsx(P1,{i18n:n,children:e})},my=()=>e=>function(r){const{isInitialized:n}=f.useSisenseContext();return n?f.jsx(e,w({},r)):f.jsx(Vh,{children:f.jsx(e,w({},r))})},Ic=S.createContext(null),va=()=>S.useContext(Ic);var dl={exports:{}},Ce={};/**
6
6
  * @license React
7
7
  * react-is.production.js
8
8
  *
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * This source code is licensed under the MIT license found in the
12
12
  * LICENSE file in the root directory of this source tree.
13
- */var ad;function my(){if(ad)return Ce;ad=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function v(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case e:switch(g=g.type,g){case r:case o:case n:case l:case c:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case p:case d:return g;case i:return g;default:return y}}case t:return y}}}return Ce.ContextConsumer=i,Ce.ContextProvider=a,Ce.Element=e,Ce.ForwardRef=s,Ce.Fragment=r,Ce.Lazy=p,Ce.Memo=d,Ce.Portal=t,Ce.Profiler=o,Ce.StrictMode=n,Ce.Suspense=l,Ce.SuspenseList=c,Ce.isContextConsumer=function(g){return v(g)===i},Ce.isContextProvider=function(g){return v(g)===a},Ce.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ce.isForwardRef=function(g){return v(g)===s},Ce.isFragment=function(g){return v(g)===r},Ce.isLazy=function(g){return v(g)===p},Ce.isMemo=function(g){return v(g)===d},Ce.isPortal=function(g){return v(g)===t},Ce.isProfiler=function(g){return v(g)===o},Ce.isStrictMode=function(g){return v(g)===n},Ce.isSuspense=function(g){return v(g)===l},Ce.isSuspenseList=function(g){return v(g)===c},Ce.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===l||g===c||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===p||g.$$typeof===d||g.$$typeof===a||g.$$typeof===i||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},Ce.typeOf=v,Ce}var Ee={};/**
13
+ */var ld;function vy(){if(ld)return Ce;ld=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function v(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case e:switch(g=g.type,g){case r:case o:case n:case l:case c:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case p:case d:return g;case i:return g;default:return y}}case t:return y}}}return Ce.ContextConsumer=i,Ce.ContextProvider=a,Ce.Element=e,Ce.ForwardRef=s,Ce.Fragment=r,Ce.Lazy=p,Ce.Memo=d,Ce.Portal=t,Ce.Profiler=o,Ce.StrictMode=n,Ce.Suspense=l,Ce.SuspenseList=c,Ce.isContextConsumer=function(g){return v(g)===i},Ce.isContextProvider=function(g){return v(g)===a},Ce.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Ce.isForwardRef=function(g){return v(g)===s},Ce.isFragment=function(g){return v(g)===r},Ce.isLazy=function(g){return v(g)===p},Ce.isMemo=function(g){return v(g)===d},Ce.isPortal=function(g){return v(g)===t},Ce.isProfiler=function(g){return v(g)===o},Ce.isStrictMode=function(g){return v(g)===n},Ce.isSuspense=function(g){return v(g)===l},Ce.isSuspenseList=function(g){return v(g)===c},Ce.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===l||g===c||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===p||g.$$typeof===d||g.$$typeof===a||g.$$typeof===i||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},Ce.typeOf=v,Ce}var Ee={};/**
14
14
  * @license React
15
15
  * react-is.development.js
16
16
  *
@@ -18,26 +18,26 @@
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
- */var sd;function vy(){return sd||(sd=1,process.env.NODE_ENV!=="production"&&function(){function e(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case t:switch(g=g.type,g){case n:case i:case o:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case l:case h:case p:return g;case a:return g;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");Ee.ContextConsumer=a,Ee.ContextProvider=s,Ee.Element=t,Ee.ForwardRef=l,Ee.Fragment=n,Ee.Lazy=h,Ee.Memo=p,Ee.Portal=r,Ee.Profiler=i,Ee.StrictMode=o,Ee.Suspense=c,Ee.SuspenseList=d,Ee.isContextConsumer=function(g){return e(g)===a},Ee.isContextProvider=function(g){return e(g)===s},Ee.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},Ee.isForwardRef=function(g){return e(g)===l},Ee.isFragment=function(g){return e(g)===n},Ee.isLazy=function(g){return e(g)===h},Ee.isMemo=function(g){return e(g)===p},Ee.isPortal=function(g){return e(g)===r},Ee.isProfiler=function(g){return e(g)===i},Ee.isStrictMode=function(g){return e(g)===o},Ee.isSuspense=function(g){return e(g)===c},Ee.isSuspenseList=function(g){return e(g)===d},Ee.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===i||g===o||g===c||g===d||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===s||g.$$typeof===a||g.$$typeof===l||g.$$typeof===v||g.getModuleId!==void 0)},Ee.typeOf=e}()),Ee}process.env.NODE_ENV==="production"?cl.exports=my():cl.exports=vy();var kc=cl.exports,ul={exports:{}},fi={exports:{}},ye={};/** @license React v16.13.1
21
+ */var cd;function yy(){return cd||(cd=1,process.env.NODE_ENV!=="production"&&function(){function e(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case t:switch(g=g.type,g){case n:case i:case o:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case l:case h:case p:return g;case a:return g;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");Ee.ContextConsumer=a,Ee.ContextProvider=s,Ee.Element=t,Ee.ForwardRef=l,Ee.Fragment=n,Ee.Lazy=h,Ee.Memo=p,Ee.Portal=r,Ee.Profiler=i,Ee.StrictMode=o,Ee.Suspense=c,Ee.SuspenseList=d,Ee.isContextConsumer=function(g){return e(g)===a},Ee.isContextProvider=function(g){return e(g)===s},Ee.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},Ee.isForwardRef=function(g){return e(g)===l},Ee.isFragment=function(g){return e(g)===n},Ee.isLazy=function(g){return e(g)===h},Ee.isMemo=function(g){return e(g)===p},Ee.isPortal=function(g){return e(g)===r},Ee.isProfiler=function(g){return e(g)===i},Ee.isStrictMode=function(g){return e(g)===o},Ee.isSuspense=function(g){return e(g)===c},Ee.isSuspenseList=function(g){return e(g)===d},Ee.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===i||g===o||g===c||g===d||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===s||g.$$typeof===a||g.$$typeof===l||g.$$typeof===v||g.getModuleId!==void 0)},Ee.typeOf=e}()),Ee}process.env.NODE_ENV==="production"?dl.exports=vy():dl.exports=yy();var Pc=dl.exports,fl={exports:{}},fi={exports:{}},ye={};/** @license React v16.13.1
22
22
  * react-is.production.min.js
23
23
  *
24
24
  * Copyright (c) Facebook, Inc. and its affiliates.
25
25
  *
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
- */var ld;function yy(){if(ld)return ye;ld=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(C){if(typeof C=="object"&&C!==null){var _=C.$$typeof;switch(_){case t:switch(C=C.type,C){case l:case c:case n:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case s:case d:case v:case m:case a:return C;default:return _}}case r:return _}}}function x(C){return E(C)===c}return ye.AsyncMode=l,ye.ConcurrentMode=c,ye.ContextConsumer=s,ye.ContextProvider=a,ye.Element=t,ye.ForwardRef=d,ye.Fragment=n,ye.Lazy=v,ye.Memo=m,ye.Portal=r,ye.Profiler=i,ye.StrictMode=o,ye.Suspense=p,ye.isAsyncMode=function(C){return x(C)||E(C)===l},ye.isConcurrentMode=x,ye.isContextConsumer=function(C){return E(C)===s},ye.isContextProvider=function(C){return E(C)===a},ye.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},ye.isForwardRef=function(C){return E(C)===d},ye.isFragment=function(C){return E(C)===n},ye.isLazy=function(C){return E(C)===v},ye.isMemo=function(C){return E(C)===m},ye.isPortal=function(C){return E(C)===r},ye.isProfiler=function(C){return E(C)===i},ye.isStrictMode=function(C){return E(C)===o},ye.isSuspense=function(C){return E(C)===p},ye.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===c||C===i||C===o||C===p||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===v||C.$$typeof===m||C.$$typeof===a||C.$$typeof===s||C.$$typeof===d||C.$$typeof===y||C.$$typeof===b||C.$$typeof===T||C.$$typeof===g)},ye.typeOf=E,ye}var be={};/** @license React v16.13.1
28
+ */var ud;function by(){if(ud)return ye;ud=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(C){if(typeof C=="object"&&C!==null){var _=C.$$typeof;switch(_){case t:switch(C=C.type,C){case l:case c:case n:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case s:case d:case v:case m:case a:return C;default:return _}}case r:return _}}}function x(C){return E(C)===c}return ye.AsyncMode=l,ye.ConcurrentMode=c,ye.ContextConsumer=s,ye.ContextProvider=a,ye.Element=t,ye.ForwardRef=d,ye.Fragment=n,ye.Lazy=v,ye.Memo=m,ye.Portal=r,ye.Profiler=i,ye.StrictMode=o,ye.Suspense=p,ye.isAsyncMode=function(C){return x(C)||E(C)===l},ye.isConcurrentMode=x,ye.isContextConsumer=function(C){return E(C)===s},ye.isContextProvider=function(C){return E(C)===a},ye.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},ye.isForwardRef=function(C){return E(C)===d},ye.isFragment=function(C){return E(C)===n},ye.isLazy=function(C){return E(C)===v},ye.isMemo=function(C){return E(C)===m},ye.isPortal=function(C){return E(C)===r},ye.isProfiler=function(C){return E(C)===i},ye.isStrictMode=function(C){return E(C)===o},ye.isSuspense=function(C){return E(C)===p},ye.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===c||C===i||C===o||C===p||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===v||C.$$typeof===m||C.$$typeof===a||C.$$typeof===s||C.$$typeof===d||C.$$typeof===y||C.$$typeof===b||C.$$typeof===T||C.$$typeof===g)},ye.typeOf=E,ye}var be={};/** @license React v16.13.1
29
29
  * react-is.development.js
30
30
  *
31
31
  * Copyright (c) Facebook, Inc. and its affiliates.
32
32
  *
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
- */var cd;function by(){return cd||(cd=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(z){return typeof z=="string"||typeof z=="function"||z===n||z===c||z===i||z===o||z===p||z===h||typeof z=="object"&&z!==null&&(z.$$typeof===v||z.$$typeof===m||z.$$typeof===a||z.$$typeof===s||z.$$typeof===d||z.$$typeof===y||z.$$typeof===b||z.$$typeof===T||z.$$typeof===g)}function x(z){if(typeof z=="object"&&z!==null){var re=z.$$typeof;switch(re){case t:var ce=z.type;switch(ce){case l:case c:case n:case i:case o:case p:return ce;default:var ge=ce&&ce.$$typeof;switch(ge){case s:case d:case v:case m:case a:return ge;default:return re}}case r:return re}}}var C=l,_=c,O=s,k=a,D=t,F=d,W=n,R=v,A=m,B=r,j=i,N=o,I=p,H=!1;function Y(z){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(z)||x(z)===l}function P(z){return x(z)===c}function V(z){return x(z)===s}function K(z){return x(z)===a}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function X(z){return x(z)===d}function J(z){return x(z)===n}function ee(z){return x(z)===v}function oe(z){return x(z)===m}function ne(z){return x(z)===r}function ue(z){return x(z)===i}function ie(z){return x(z)===o}function ve(z){return x(z)===p}be.AsyncMode=C,be.ConcurrentMode=_,be.ContextConsumer=O,be.ContextProvider=k,be.Element=D,be.ForwardRef=F,be.Fragment=W,be.Lazy=R,be.Memo=A,be.Portal=B,be.Profiler=j,be.StrictMode=N,be.Suspense=I,be.isAsyncMode=Y,be.isConcurrentMode=P,be.isContextConsumer=V,be.isContextProvider=K,be.isElement=q,be.isForwardRef=X,be.isFragment=J,be.isLazy=ee,be.isMemo=oe,be.isPortal=ne,be.isProfiler=ue,be.isStrictMode=ie,be.isSuspense=ve,be.isValidElementType=E,be.typeOf=x}()),be}var ud;function Vh(){return ud||(ud=1,process.env.NODE_ENV==="production"?fi.exports=yy():fi.exports=by()),fi.exports}/*
35
+ */var dd;function wy(){return dd||(dd=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(z){return typeof z=="string"||typeof z=="function"||z===n||z===c||z===i||z===o||z===p||z===h||typeof z=="object"&&z!==null&&(z.$$typeof===v||z.$$typeof===m||z.$$typeof===a||z.$$typeof===s||z.$$typeof===d||z.$$typeof===y||z.$$typeof===b||z.$$typeof===T||z.$$typeof===g)}function x(z){if(typeof z=="object"&&z!==null){var re=z.$$typeof;switch(re){case t:var ce=z.type;switch(ce){case l:case c:case n:case i:case o:case p:return ce;default:var ge=ce&&ce.$$typeof;switch(ge){case s:case d:case v:case m:case a:return ge;default:return re}}case r:return re}}}var C=l,_=c,k=s,O=a,P=t,F=d,W=n,R=v,A=m,B=r,j=i,N=o,I=p,H=!1;function Y(z){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(z)||x(z)===l}function D(z){return x(z)===c}function V(z){return x(z)===s}function K(z){return x(z)===a}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function X(z){return x(z)===d}function J(z){return x(z)===n}function ee(z){return x(z)===v}function oe(z){return x(z)===m}function ne(z){return x(z)===r}function ue(z){return x(z)===i}function ie(z){return x(z)===o}function ve(z){return x(z)===p}be.AsyncMode=C,be.ConcurrentMode=_,be.ContextConsumer=k,be.ContextProvider=O,be.Element=P,be.ForwardRef=F,be.Fragment=W,be.Lazy=R,be.Memo=A,be.Portal=B,be.Profiler=j,be.StrictMode=N,be.Suspense=I,be.isAsyncMode=Y,be.isConcurrentMode=D,be.isContextConsumer=V,be.isContextProvider=K,be.isElement=q,be.isForwardRef=X,be.isFragment=J,be.isLazy=ee,be.isMemo=oe,be.isPortal=ne,be.isProfiler=ue,be.isStrictMode=ie,be.isSuspense=ve,be.isValidElementType=E,be.typeOf=x}()),be}var fd;function Uh(){return fd||(fd=1,process.env.NODE_ENV==="production"?fi.exports=by():fi.exports=wy()),fi.exports}/*
36
36
  object-assign
37
37
  (c) Sindre Sorhus
38
38
  @license MIT
39
- */var Es,dd;function wy(){if(dd)return Es;dd=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(d){c[d]=d}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}return Es=o()?Object.assign:function(i,a){for(var s,l=n(i),c,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var p in s)t.call(s,p)&&(l[p]=s[p]);if(e){c=e(s);for(var h=0;h<c.length;h++)r.call(s,c[h])&&(l[c[h]]=s[c[h]])}}return l},Es}var Ts,fd;function Ac(){if(fd)return Ts;fd=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ts=e,Ts}var Ss,pd;function Uh(){return pd||(pd=1,Ss=Function.call.bind(Object.prototype.hasOwnProperty)),Ss}var Rs,hd;function xy(){if(hd)return Rs;hd=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ac(),r={},n=Uh();e=function(i){var a="Warning: "+i;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(s){}}}function o(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var p;try{if(typeof i[d]!="function"){var h=Error((l||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[d](a,d,l,s,null,t)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var m=c?c():"";e("Failed "+s+" type: "+p.message+(m!=null?m:""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Rs=o,Rs}var _s,gd;function Cy(){if(gd)return _s;gd=1;var e=Vh(),t=wy(),r=Ac(),n=Uh(),o=xy(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console!="undefined"&&console.error(l);try{throw new Error(l)}catch(c){}});function a(){return null}return _s=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function p(P){var V=P&&(c&&P[c]||P[d]);if(typeof V=="function")return V}var h="<<anonymous>>",m={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:T(),arrayOf:E,element:x(),elementType:C(),instanceOf:_,node:F(),objectOf:k,oneOf:O,oneOfType:D,shape:R,exact:A};function v(P,V){return P===V?P!==0||1/P===1/V:P!==P&&V!==V}function g(P,V){this.message=P,this.data=V&&typeof V=="object"?V:{},this.stack=""}g.prototype=Error.prototype;function y(P){if(process.env.NODE_ENV!=="production")var V={},K=0;function q(J,ee,oe,ne,ue,ie,ve){if(ne=ne||h,ie=ie||oe,ve!==r){if(l){var z=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 z.name="Invariant Violation",z}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var re=ne+":"+oe;!V[re]&&K<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ie+"` prop on `"+ne+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[re]=!0,K++)}}return ee[oe]==null?J?ee[oe]===null?new g("The "+ue+" `"+ie+"` is marked as required "+("in `"+ne+"`, but its value is `null`.")):new g("The "+ue+" `"+ie+"` is marked as required in "+("`"+ne+"`, but its value is `undefined`.")):null:P(ee,oe,ne,ue,ie)}var X=q.bind(null,!1);return X.isRequired=q.bind(null,!0),X}function b(P){function V(K,q,X,J,ee,oe){var ne=K[q],ue=N(ne);if(ue!==P){var ie=I(ne);return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ie+"` supplied to `"+X+"`, expected ")+("`"+P+"`."),{expectedType:P})}return null}return y(V)}function T(){return y(a)}function E(P){function V(K,q,X,J,ee){if(typeof P!="function")return new g("Property `"+ee+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var oe=K[q];if(!Array.isArray(oe)){var ne=N(oe);return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ne+"` supplied to `"+X+"`, expected an array."))}for(var ue=0;ue<oe.length;ue++){var ie=P(oe,ue,X,J,ee+"["+ue+"]",r);if(ie instanceof Error)return ie}return null}return y(V)}function x(){function P(V,K,q,X,J){var ee=V[K];if(!s(ee)){var oe=N(ee);return new g("Invalid "+X+" `"+J+"` of type "+("`"+oe+"` supplied to `"+q+"`, expected a single ReactElement."))}return null}return y(P)}function C(){function P(V,K,q,X,J){var ee=V[K];if(!e.isValidElementType(ee)){var oe=N(ee);return new g("Invalid "+X+" `"+J+"` of type "+("`"+oe+"` supplied to `"+q+"`, expected a single ReactElement type."))}return null}return y(P)}function _(P){function V(K,q,X,J,ee){if(!(K[q]instanceof P)){var oe=P.name||h,ne=Y(K[q]);return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ne+"` supplied to `"+X+"`, expected ")+("instance of `"+oe+"`."))}return null}return y(V)}function O(P){if(!Array.isArray(P))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function V(K,q,X,J,ee){for(var oe=K[q],ne=0;ne<P.length;ne++)if(v(oe,P[ne]))return null;var ue=JSON.stringify(P,function(ve,z){var re=I(z);return re==="symbol"?String(z):z});return new g("Invalid "+J+" `"+ee+"` of value `"+String(oe)+"` "+("supplied to `"+X+"`, expected one of "+ue+"."))}return y(V)}function k(P){function V(K,q,X,J,ee){if(typeof P!="function")return new g("Property `"+ee+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var oe=K[q],ne=N(oe);if(ne!=="object")return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ne+"` supplied to `"+X+"`, expected an object."));for(var ue in oe)if(n(oe,ue)){var ie=P(oe,ue,X,J,ee+"."+ue,r);if(ie instanceof Error)return ie}return null}return y(V)}function D(P){if(!Array.isArray(P))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var V=0;V<P.length;V++){var K=P[V];if(typeof K!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+H(K)+" at index "+V+"."),a}function q(X,J,ee,oe,ne){for(var ue=[],ie=0;ie<P.length;ie++){var ve=P[ie],z=ve(X,J,ee,oe,ne,r);if(z==null)return null;z.data&&n(z.data,"expectedType")&&ue.push(z.data.expectedType)}var re=ue.length>0?", expected one of type ["+ue.join(", ")+"]":"";return new g("Invalid "+oe+" `"+ne+"` supplied to "+("`"+ee+"`"+re+"."))}return y(q)}function F(){function P(V,K,q,X,J){return B(V[K])?null:new g("Invalid "+X+" `"+J+"` supplied to "+("`"+q+"`, expected a ReactNode."))}return y(P)}function W(P,V,K,q,X){return new g((P||"React class")+": "+V+" type `"+K+"."+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function R(P){function V(K,q,X,J,ee){var oe=K[q],ne=N(oe);if(ne!=="object")return new g("Invalid "+J+" `"+ee+"` of type `"+ne+"` "+("supplied to `"+X+"`, expected `object`."));for(var ue in P){var ie=P[ue];if(typeof ie!="function")return W(X,J,ee,ue,I(ie));var ve=ie(oe,ue,X,J,ee+"."+ue,r);if(ve)return ve}return null}return y(V)}function A(P){function V(K,q,X,J,ee){var oe=K[q],ne=N(oe);if(ne!=="object")return new g("Invalid "+J+" `"+ee+"` of type `"+ne+"` "+("supplied to `"+X+"`, expected `object`."));var ue=t({},K[q],P);for(var ie in ue){var ve=P[ie];if(n(P,ie)&&typeof ve!="function")return W(X,J,ee,ie,I(ve));if(!ve)return new g("Invalid "+J+" `"+ee+"` key `"+ie+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(K[q],null," ")+`
40
- Valid keys: `+JSON.stringify(Object.keys(P),null," "));var z=ve(oe,ie,X,J,ee+"."+ie,r);if(z)return z}return null}return y(V)}function B(P){switch(typeof P){case"number":case"string":case"undefined":return!0;case"boolean":return!P;case"object":if(Array.isArray(P))return P.every(B);if(P===null||s(P))return!0;var V=p(P);if(V){var K=V.call(P),q;if(V!==P.entries){for(;!(q=K.next()).done;)if(!B(q.value))return!1}else for(;!(q=K.next()).done;){var X=q.value;if(X&&!B(X[1]))return!1}}else return!1;return!0;default:return!1}}function j(P,V){return P==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function N(P){var V=typeof P;return Array.isArray(P)?"array":P instanceof RegExp?"object":j(V,P)?"symbol":V}function I(P){if(typeof P=="undefined"||P===null)return""+P;var V=N(P);if(V==="object"){if(P instanceof Date)return"date";if(P instanceof RegExp)return"regexp"}return V}function H(P){var V=I(P);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function Y(P){return!P.constructor||!P.constructor.name?h:P.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},_s}var Ms,md;function Ey(){if(md)return Ms;md=1;var e=Ac();function t(){}function r(){}return r.resetWarningCache=t,Ms=function(){function n(a,s,l,c,d,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Ms}if(process.env.NODE_ENV!=="production"){var Ty=Vh(),Sy=!0;ul.exports=Cy()(Ty.isElement,Sy)}else ul.exports=Ey()();var Ry=ul.exports;const u=f.getDefaultExportFromCjs(Ry);function Gh(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Gh(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function he(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Gh(e))&&(n&&(n+=" "),n+=t);return n}function Be(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l<i.length;l+=1){const c=i[l];c&&(a+=(s===!0?"":" ")+t(c),s=!1,r&&r[c]&&(a+=" "+r[c]))}n[o]=a}return n}function or(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],a=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}const _y=L.createContext(),va=()=>{const e=L.useContext(_y);return e!=null?e:!1};function ft(...e){const t=L.useRef(void 0),r=L.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return L.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function My(e){return typeof e=="string"}function Yh(e,t,r){return e===void 0||My(e)?t:$(w({},t),{ownerState:w(w({},t.ownerState),r)})}function qh(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function vd(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Xh(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const m=he(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),v=w(w(w({},r==null?void 0:r.style),o==null?void 0:o.style),n==null?void 0:n.style),g=w(w(w({},r),o),n);return m.length>0&&(g.className=m),Object.keys(v).length>0&&(g.style=v),{props:g,internalRef:void 0}}const a=qh(w(w({},o),n)),s=vd(n),l=vd(o),c=t(a),d=he(c==null?void 0:c.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),p=w(w(w(w({},c==null?void 0:c.style),r==null?void 0:r.style),o==null?void 0:o.style),n==null?void 0:n.style),h=w(w(w(w({},c),r),l),s);return d.length>0&&(h.className=d),Object.keys(p).length>0&&(h.style=p),{props:h,internalRef:c.ref}}function Kh(e,t,r){return typeof e=="function"?e(t,r):e}function Ic(e){var h;const p=e,{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:o=!1}=p,i=te(p,["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"]),a=o?{}:Kh(r,n),{props:s,internalRef:l}=Xh($(w({},i),{externalSlotProps:a})),c=ft(l,a==null?void 0:a.ref,(h=e.additionalProps)==null?void 0:h.ref);return Yh(t,$(w({},s),{ref:c}),n)}function xt(e){return e&&e.ownerDocument||document}function br(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function fe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":br(7));return e.charAt(0).toUpperCase()+e.slice(1)}var dl={exports:{}},Te={};/**
39
+ */var Ss,pd;function xy(){if(pd)return Ss;pd=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(d){c[d]=d}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}return Ss=o()?Object.assign:function(i,a){for(var s,l=n(i),c,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var p in s)t.call(s,p)&&(l[p]=s[p]);if(e){c=e(s);for(var h=0;h<c.length;h++)r.call(s,c[h])&&(l[c[h]]=s[c[h]])}}return l},Ss}var Rs,hd;function Dc(){if(hd)return Rs;hd=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Rs=e,Rs}var _s,gd;function Gh(){return gd||(gd=1,_s=Function.call.bind(Object.prototype.hasOwnProperty)),_s}var Ms,md;function Cy(){if(md)return Ms;md=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Dc(),r={},n=Gh();e=function(i){var a="Warning: "+i;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(s){}}}function o(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var p;try{if(typeof i[d]!="function"){var h=Error((l||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[d](a,d,l,s,null,t)}catch(v){p=v}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var m=c?c():"";e("Failed "+s+" type: "+p.message+(m!=null?m:""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Ms=o,Ms}var Os,vd;function Ey(){if(vd)return Os;vd=1;var e=Uh(),t=xy(),r=Dc(),n=Gh(),o=Cy(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console!="undefined"&&console.error(l);try{throw new Error(l)}catch(c){}});function a(){return null}return Os=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function p(D){var V=D&&(c&&D[c]||D[d]);if(typeof V=="function")return V}var h="<<anonymous>>",m={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:T(),arrayOf:E,element:x(),elementType:C(),instanceOf:_,node:F(),objectOf:O,oneOf:k,oneOfType:P,shape:R,exact:A};function v(D,V){return D===V?D!==0||1/D===1/V:D!==D&&V!==V}function g(D,V){this.message=D,this.data=V&&typeof V=="object"?V:{},this.stack=""}g.prototype=Error.prototype;function y(D){if(process.env.NODE_ENV!=="production")var V={},K=0;function q(J,ee,oe,ne,ue,ie,ve){if(ne=ne||h,ie=ie||oe,ve!==r){if(l){var z=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 z.name="Invariant Violation",z}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var re=ne+":"+oe;!V[re]&&K<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ie+"` prop on `"+ne+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),V[re]=!0,K++)}}return ee[oe]==null?J?ee[oe]===null?new g("The "+ue+" `"+ie+"` is marked as required "+("in `"+ne+"`, but its value is `null`.")):new g("The "+ue+" `"+ie+"` is marked as required in "+("`"+ne+"`, but its value is `undefined`.")):null:D(ee,oe,ne,ue,ie)}var X=q.bind(null,!1);return X.isRequired=q.bind(null,!0),X}function b(D){function V(K,q,X,J,ee,oe){var ne=K[q],ue=N(ne);if(ue!==D){var ie=I(ne);return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ie+"` supplied to `"+X+"`, expected ")+("`"+D+"`."),{expectedType:D})}return null}return y(V)}function T(){return y(a)}function E(D){function V(K,q,X,J,ee){if(typeof D!="function")return new g("Property `"+ee+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var oe=K[q];if(!Array.isArray(oe)){var ne=N(oe);return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ne+"` supplied to `"+X+"`, expected an array."))}for(var ue=0;ue<oe.length;ue++){var ie=D(oe,ue,X,J,ee+"["+ue+"]",r);if(ie instanceof Error)return ie}return null}return y(V)}function x(){function D(V,K,q,X,J){var ee=V[K];if(!s(ee)){var oe=N(ee);return new g("Invalid "+X+" `"+J+"` of type "+("`"+oe+"` supplied to `"+q+"`, expected a single ReactElement."))}return null}return y(D)}function C(){function D(V,K,q,X,J){var ee=V[K];if(!e.isValidElementType(ee)){var oe=N(ee);return new g("Invalid "+X+" `"+J+"` of type "+("`"+oe+"` supplied to `"+q+"`, expected a single ReactElement type."))}return null}return y(D)}function _(D){function V(K,q,X,J,ee){if(!(K[q]instanceof D)){var oe=D.name||h,ne=Y(K[q]);return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ne+"` supplied to `"+X+"`, expected ")+("instance of `"+oe+"`."))}return null}return y(V)}function k(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function V(K,q,X,J,ee){for(var oe=K[q],ne=0;ne<D.length;ne++)if(v(oe,D[ne]))return null;var ue=JSON.stringify(D,function(ve,z){var re=I(z);return re==="symbol"?String(z):z});return new g("Invalid "+J+" `"+ee+"` of value `"+String(oe)+"` "+("supplied to `"+X+"`, expected one of "+ue+"."))}return y(V)}function O(D){function V(K,q,X,J,ee){if(typeof D!="function")return new g("Property `"+ee+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var oe=K[q],ne=N(oe);if(ne!=="object")return new g("Invalid "+J+" `"+ee+"` of type "+("`"+ne+"` supplied to `"+X+"`, expected an object."));for(var ue in oe)if(n(oe,ue)){var ie=D(oe,ue,X,J,ee+"."+ue,r);if(ie instanceof Error)return ie}return null}return y(V)}function P(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var V=0;V<D.length;V++){var K=D[V];if(typeof K!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+H(K)+" at index "+V+"."),a}function q(X,J,ee,oe,ne){for(var ue=[],ie=0;ie<D.length;ie++){var ve=D[ie],z=ve(X,J,ee,oe,ne,r);if(z==null)return null;z.data&&n(z.data,"expectedType")&&ue.push(z.data.expectedType)}var re=ue.length>0?", expected one of type ["+ue.join(", ")+"]":"";return new g("Invalid "+oe+" `"+ne+"` supplied to "+("`"+ee+"`"+re+"."))}return y(q)}function F(){function D(V,K,q,X,J){return B(V[K])?null:new g("Invalid "+X+" `"+J+"` supplied to "+("`"+q+"`, expected a ReactNode."))}return y(D)}function W(D,V,K,q,X){return new g((D||"React class")+": "+V+" type `"+K+"."+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function R(D){function V(K,q,X,J,ee){var oe=K[q],ne=N(oe);if(ne!=="object")return new g("Invalid "+J+" `"+ee+"` of type `"+ne+"` "+("supplied to `"+X+"`, expected `object`."));for(var ue in D){var ie=D[ue];if(typeof ie!="function")return W(X,J,ee,ue,I(ie));var ve=ie(oe,ue,X,J,ee+"."+ue,r);if(ve)return ve}return null}return y(V)}function A(D){function V(K,q,X,J,ee){var oe=K[q],ne=N(oe);if(ne!=="object")return new g("Invalid "+J+" `"+ee+"` of type `"+ne+"` "+("supplied to `"+X+"`, expected `object`."));var ue=t({},K[q],D);for(var ie in ue){var ve=D[ie];if(n(D,ie)&&typeof ve!="function")return W(X,J,ee,ie,I(ve));if(!ve)return new g("Invalid "+J+" `"+ee+"` key `"+ie+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(K[q],null," ")+`
40
+ Valid keys: `+JSON.stringify(Object.keys(D),null," "));var z=ve(oe,ie,X,J,ee+"."+ie,r);if(z)return z}return null}return y(V)}function B(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(B);if(D===null||s(D))return!0;var V=p(D);if(V){var K=V.call(D),q;if(V!==D.entries){for(;!(q=K.next()).done;)if(!B(q.value))return!1}else for(;!(q=K.next()).done;){var X=q.value;if(X&&!B(X[1]))return!1}}else return!1;return!0;default:return!1}}function j(D,V){return D==="symbol"?!0:V?V["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&V instanceof Symbol:!1}function N(D){var V=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":j(V,D)?"symbol":V}function I(D){if(typeof D=="undefined"||D===null)return""+D;var V=N(D);if(V==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return V}function H(D){var V=I(D);switch(V){case"array":case"object":return"an "+V;case"boolean":case"date":case"regexp":return"a "+V;default:return V}}function Y(D){return!D.constructor||!D.constructor.name?h:D.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},Os}var ks,yd;function Ty(){if(yd)return ks;yd=1;var e=Dc();function t(){}function r(){}return r.resetWarningCache=t,ks=function(){function n(a,s,l,c,d,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},ks}if(process.env.NODE_ENV!=="production"){var Sy=Uh(),Ry=!0;fl.exports=Ey()(Sy.isElement,Ry)}else fl.exports=Ty()();var _y=fl.exports;const u=f.getDefaultExportFromCjs(_y);function Yh(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Yh(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function he(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Yh(e))&&(n&&(n+=" "),n+=t);return n}function Be(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l<i.length;l+=1){const c=i[l];c&&(a+=(s===!0?"":" ")+t(c),s=!1,r&&r[c]&&(a+=" "+r[c]))}n[o]=a}return n}function or(e,t,r,n,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],a=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}const My=L.createContext(),ya=()=>{const e=L.useContext(My);return e!=null?e:!1};function ft(...e){const t=L.useRef(void 0),r=L.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return L.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function Oy(e){return typeof e=="string"}function qh(e,t,r){return e===void 0||Oy(e)?t:$(w({},t),{ownerState:w(w({},t.ownerState),r)})}function Xh(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function bd(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Kh(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const m=he(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),v=w(w(w({},r==null?void 0:r.style),o==null?void 0:o.style),n==null?void 0:n.style),g=w(w(w({},r),o),n);return m.length>0&&(g.className=m),Object.keys(v).length>0&&(g.style=v),{props:g,internalRef:void 0}}const a=Xh(w(w({},o),n)),s=bd(n),l=bd(o),c=t(a),d=he(c==null?void 0:c.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),p=w(w(w(w({},c==null?void 0:c.style),r==null?void 0:r.style),o==null?void 0:o.style),n==null?void 0:n.style),h=w(w(w(w({},c),r),l),s);return d.length>0&&(h.className=d),Object.keys(p).length>0&&(h.style=p),{props:h,internalRef:c.ref}}function Qh(e,t,r){return typeof e=="function"?e(t,r):e}function $c(e){var h;const p=e,{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:o=!1}=p,i=te(p,["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"]),a=o?{}:Qh(r,n),{props:s,internalRef:l}=Kh($(w({},i),{externalSlotProps:a})),c=ft(l,a==null?void 0:a.ref,(h=e.additionalProps)==null?void 0:h.ref);return qh(t,$(w({},s),{ref:c}),n)}function xt(e){return e&&e.ownerDocument||document}function br(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function fe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":br(7));return e.charAt(0).toUpperCase()+e.slice(1)}var pl={exports:{}},Te={};/**
41
41
  * @license React
42
42
  * react-is.production.js
43
43
  *
@@ -45,7 +45,7 @@ Valid keys: `+JSON.stringify(Object.keys(P),null," "));var z=ve(oe,ie,X,J,ee+".
45
45
  *
46
46
  * This source code is licensed under the MIT license found in the
47
47
  * LICENSE file in the root directory of this source tree.
48
- */var yd;function Oy(){if(yd)return Te;yd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function v(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case e:switch(g=g.type,g){case r:case o:case n:case l:case c:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case p:case d:return g;case i:return g;default:return y}}case t:return y}}}return Te.ContextConsumer=i,Te.ContextProvider=a,Te.Element=e,Te.ForwardRef=s,Te.Fragment=r,Te.Lazy=p,Te.Memo=d,Te.Portal=t,Te.Profiler=o,Te.StrictMode=n,Te.Suspense=l,Te.SuspenseList=c,Te.isContextConsumer=function(g){return v(g)===i},Te.isContextProvider=function(g){return v(g)===a},Te.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Te.isForwardRef=function(g){return v(g)===s},Te.isFragment=function(g){return v(g)===r},Te.isLazy=function(g){return v(g)===p},Te.isMemo=function(g){return v(g)===d},Te.isPortal=function(g){return v(g)===t},Te.isProfiler=function(g){return v(g)===o},Te.isStrictMode=function(g){return v(g)===n},Te.isSuspense=function(g){return v(g)===l},Te.isSuspenseList=function(g){return v(g)===c},Te.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===l||g===c||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===p||g.$$typeof===d||g.$$typeof===a||g.$$typeof===i||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},Te.typeOf=v,Te}var Se={};/**
48
+ */var wd;function ky(){if(wd)return Te;wd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function v(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case e:switch(g=g.type,g){case r:case o:case n:case l:case c:return g;default:switch(g=g&&g.$$typeof,g){case a:case s:case p:case d:return g;case i:return g;default:return y}}case t:return y}}}return Te.ContextConsumer=i,Te.ContextProvider=a,Te.Element=e,Te.ForwardRef=s,Te.Fragment=r,Te.Lazy=p,Te.Memo=d,Te.Portal=t,Te.Profiler=o,Te.StrictMode=n,Te.Suspense=l,Te.SuspenseList=c,Te.isContextConsumer=function(g){return v(g)===i},Te.isContextProvider=function(g){return v(g)===a},Te.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},Te.isForwardRef=function(g){return v(g)===s},Te.isFragment=function(g){return v(g)===r},Te.isLazy=function(g){return v(g)===p},Te.isMemo=function(g){return v(g)===d},Te.isPortal=function(g){return v(g)===t},Te.isProfiler=function(g){return v(g)===o},Te.isStrictMode=function(g){return v(g)===n},Te.isSuspense=function(g){return v(g)===l},Te.isSuspenseList=function(g){return v(g)===c},Te.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===o||g===n||g===l||g===c||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===p||g.$$typeof===d||g.$$typeof===a||g.$$typeof===i||g.$$typeof===s||g.$$typeof===m||g.getModuleId!==void 0)},Te.typeOf=v,Te}var Se={};/**
49
49
  * @license React
50
50
  * react-is.development.js
51
51
  *
@@ -53,23 +53,23 @@ Valid keys: `+JSON.stringify(Object.keys(P),null," "));var z=ve(oe,ie,X,J,ee+".
53
53
  *
54
54
  * This source code is licensed under the MIT license found in the
55
55
  * LICENSE file in the root directory of this source tree.
56
- */var bd;function ky(){return bd||(bd=1,process.env.NODE_ENV!=="production"&&function(){function e(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case t:switch(g=g.type,g){case n:case i:case o:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case l:case h:case p:return g;case a:return g;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");Se.ContextConsumer=a,Se.ContextProvider=s,Se.Element=t,Se.ForwardRef=l,Se.Fragment=n,Se.Lazy=h,Se.Memo=p,Se.Portal=r,Se.Profiler=i,Se.StrictMode=o,Se.Suspense=c,Se.SuspenseList=d,Se.isContextConsumer=function(g){return e(g)===a},Se.isContextProvider=function(g){return e(g)===s},Se.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},Se.isForwardRef=function(g){return e(g)===l},Se.isFragment=function(g){return e(g)===n},Se.isLazy=function(g){return e(g)===h},Se.isMemo=function(g){return e(g)===p},Se.isPortal=function(g){return e(g)===r},Se.isProfiler=function(g){return e(g)===i},Se.isStrictMode=function(g){return e(g)===o},Se.isSuspense=function(g){return e(g)===c},Se.isSuspenseList=function(g){return e(g)===d},Se.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===i||g===o||g===c||g===d||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===s||g.$$typeof===a||g.$$typeof===l||g.$$typeof===v||g.getModuleId!==void 0)},Se.typeOf=e}()),Se}process.env.NODE_ENV==="production"?dl.exports=Oy():dl.exports=ky();var Wi=dl.exports;function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Qh(e){if(L.isValidElement(e)||Wi.isValidElementType(e)||!Vt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Qh(e[r])}),t}function dt(e,t,r={clone:!0}){const n=r.clone?w({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{L.isValidElement(t[o])||Wi.isValidElementType(t[o])?n[o]=t[o]:Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?n[o]=dt(e[o],t[o],r):r.clone?n[o]=Vt(t[o])?Qh(t[o]):t[o]:n[o]=t[o]}),n}function ho(e,t){return t?dt(e,t,{clone:!1}):e}const Tr=process.env.NODE_ENV!=="production"?u.oneOfType([u.number,u.string,u.object,u.array]):{};function Ay(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},w({},t)):t}function Iy(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Py(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
57
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:br(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Dy(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(r(n,i),n);return r(o),$(w({},e),{containerQueries:o})}const ya={xs:0,sm:600,md:900,lg:1200,xl:1536},wd={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ya[e]}px)`},$y={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:ya[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Kt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||wd;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||wd;return Object.keys(t).reduce((a,s)=>{if(Iy(i.keys,s)){const l=Py(n.containerQueries?n:$y,s);l&&(a[l]=r(t[s],s))}else if(Object.keys(i.values||ya).includes(s)){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function Zh(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Jh(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Ny(e,...t){const r=Zh(e),n=[r,...t].reduce((o,i)=>dt(o,i),{});return Jh(Object.keys(r),n)}function Ly(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function Fy({values:e,breakpoints:t,base:r}){const n=r||Ly(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function ba(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Vi(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=ba(e,r)||n,t&&(o=t(o,n,e)),o}function qe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=ba(l,n)||{};return Kt(a,s,p=>{let h=Vi(c,o,p);return p===h&&typeof p=="string"&&(h=Vi(c,o,`${t}${p==="default"?"":fe(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Tr}:{},i.filterProps=[t],i}function jy(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const By={m:"margin",p:"padding"},Hy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},zy=jy(e=>{if(e.length>2)if(xd[e])e=xd[e];else return[e];const[t,r]=e.split(""),n=By[t],o=Hy[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),wa=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xa=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Wy=[...wa,...xa];function Vo(e,t,r,n){var i;const o=(i=ba(e,t,!0))!=null?i:r;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),typeof o=="string"?`calc(${a} * ${o})`:o*a):Array.isArray(o)?a=>{if(typeof a=="string")return a;const s=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
56
+ */var xd;function Ay(){return xd||(xd=1,process.env.NODE_ENV!=="production"&&function(){function e(g){if(typeof g=="object"&&g!==null){var y=g.$$typeof;switch(y){case t:switch(g=g.type,g){case n:case i:case o:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case l:case h:case p:return g;case a:return g;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");Se.ContextConsumer=a,Se.ContextProvider=s,Se.Element=t,Se.ForwardRef=l,Se.Fragment=n,Se.Lazy=h,Se.Memo=p,Se.Portal=r,Se.Profiler=i,Se.StrictMode=o,Se.Suspense=c,Se.SuspenseList=d,Se.isContextConsumer=function(g){return e(g)===a},Se.isContextProvider=function(g){return e(g)===s},Se.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},Se.isForwardRef=function(g){return e(g)===l},Se.isFragment=function(g){return e(g)===n},Se.isLazy=function(g){return e(g)===h},Se.isMemo=function(g){return e(g)===p},Se.isPortal=function(g){return e(g)===r},Se.isProfiler=function(g){return e(g)===i},Se.isStrictMode=function(g){return e(g)===o},Se.isSuspense=function(g){return e(g)===c},Se.isSuspenseList=function(g){return e(g)===d},Se.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===i||g===o||g===c||g===d||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===p||g.$$typeof===s||g.$$typeof===a||g.$$typeof===l||g.$$typeof===v||g.getModuleId!==void 0)},Se.typeOf=e}()),Se}process.env.NODE_ENV==="production"?pl.exports=ky():pl.exports=Ay();var Vi=pl.exports;function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Zh(e){if(L.isValidElement(e)||Vi.isValidElementType(e)||!Vt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Zh(e[r])}),t}function dt(e,t,r={clone:!0}){const n=r.clone?w({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{L.isValidElement(t[o])||Vi.isValidElementType(t[o])?n[o]=t[o]:Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?n[o]=dt(e[o],t[o],r):r.clone?n[o]=Vt(t[o])?Zh(t[o]):t[o]:n[o]=t[o]}),n}function ho(e,t){return t?dt(e,t,{clone:!1}):e}const Tr=process.env.NODE_ENV!=="production"?u.oneOfType([u.number,u.string,u.object,u.array]):{};function Iy(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},w({},t)):t}function Py(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Dy(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
57
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:br(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function $y(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(r(n,i),n);return r(o),$(w({},e),{containerQueries:o})}const ba={xs:0,sm:600,md:900,lg:1200,xl:1536},Cd={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ba[e]}px)`},Ny={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:ba[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Kt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Cd;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Cd;return Object.keys(t).reduce((a,s)=>{if(Py(i.keys,s)){const l=Dy(n.containerQueries?n:Ny,s);l&&(a[l]=r(t[s],s))}else if(Object.keys(i.values||ba).includes(s)){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function Jh(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function e0(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Ly(e,...t){const r=Jh(e),n=[r,...t].reduce((o,i)=>dt(o,i),{});return e0(Object.keys(r),n)}function Fy(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function jy({values:e,breakpoints:t,base:r}){const n=r||Fy(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function wa(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Ui(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=wa(e,r)||n,t&&(o=t(o,n,e)),o}function qe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=wa(l,n)||{};return Kt(a,s,p=>{let h=Ui(c,o,p);return p===h&&typeof p=="string"&&(h=Ui(c,o,`${t}${p==="default"?"":fe(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Tr}:{},i.filterProps=[t],i}function By(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Hy={m:"margin",p:"padding"},zy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ed={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Wy=By(e=>{if(e.length>2)if(Ed[e])e=Ed[e];else return[e];const[t,r]=e.split(""),n=Hy[t],o=zy[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),xa=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ca=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Vy=[...xa,...Ca];function Vo(e,t,r,n){var i;const o=(i=wa(e,t,!0))!=null?i:r;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),typeof o=="string"?`calc(${a} * ${o})`:o*a):Array.isArray(o)?a=>{if(typeof a=="string")return a;const s=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
58
58
  `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
59
59
  `)));const l=o[s];return a>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
60
- `)),()=>{})}function Ca(e){return Vo(e,"spacing",8,"spacing")}function kn(e,t){return typeof t=="string"||t==null?t:e(t)}function Vy(e,t){return r=>e.reduce((n,o)=>(n[o]=kn(t,r),n),{})}function Uy(e,t,r,n){if(!t.includes(r))return null;const o=zy(r),i=Vy(o,n),a=e[r];return Kt(e,a,i)}function e0(e,t){const r=Ca(e.theme);return Object.keys(e).map(n=>Uy(e,t,n,r)).reduce(ho,{})}function ze(e){return e0(e,wa)}ze.propTypes=process.env.NODE_ENV!=="production"?wa.reduce((e,t)=>(e[t]=Tr,e),{}):{};ze.filterProps=wa;function We(e){return e0(e,xa)}We.propTypes=process.env.NODE_ENV!=="production"?xa.reduce((e,t)=>(e[t]=Tr,e),{}):{};We.filterProps=xa;process.env.NODE_ENV!=="production"&&Wy.reduce((e,t)=>(e[t]=Tr,e),{});function Ea(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?ho(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function kt(e){return typeof e!="number"?e:`${e}px solid`}function Nt(e,t){return qe({prop:e,themeKey:"borders",transform:t})}const Gy=Nt("border",kt),Yy=Nt("borderTop",kt),qy=Nt("borderRight",kt),Xy=Nt("borderBottom",kt),Ky=Nt("borderLeft",kt),Qy=Nt("borderColor"),Zy=Nt("borderTopColor"),Jy=Nt("borderRightColor"),eb=Nt("borderBottomColor"),tb=Nt("borderLeftColor"),rb=Nt("outline",kt),nb=Nt("outlineColor"),Ta=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Vo(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:kn(t,n)});return Kt(e,e.borderRadius,r)}return null};Ta.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Tr}:{};Ta.filterProps=["borderRadius"];Ea(Gy,Yy,qy,Xy,Ky,Qy,Zy,Jy,eb,tb,Ta,rb,nb);const Sa=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Vo(e.theme,"spacing",8,"gap"),r=n=>({gap:kn(t,n)});return Kt(e,e.gap,r)}return null};Sa.propTypes=process.env.NODE_ENV!=="production"?{gap:Tr}:{};Sa.filterProps=["gap"];const Ra=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Vo(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:kn(t,n)});return Kt(e,e.columnGap,r)}return null};Ra.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Tr}:{};Ra.filterProps=["columnGap"];const _a=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Vo(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:kn(t,n)});return Kt(e,e.rowGap,r)}return null};_a.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Tr}:{};_a.filterProps=["rowGap"];const ob=qe({prop:"gridColumn"}),ib=qe({prop:"gridRow"}),ab=qe({prop:"gridAutoFlow"}),sb=qe({prop:"gridAutoColumns"}),lb=qe({prop:"gridAutoRows"}),cb=qe({prop:"gridTemplateColumns"}),ub=qe({prop:"gridTemplateRows"}),db=qe({prop:"gridTemplateAreas"}),fb=qe({prop:"gridArea"});Ea(Sa,Ra,_a,ob,ib,ab,sb,lb,cb,ub,db,fb);function vn(e,t){return t==="grey"?t:e}const pb=qe({prop:"color",themeKey:"palette",transform:vn}),hb=qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:vn}),gb=qe({prop:"backgroundColor",themeKey:"palette",transform:vn});Ea(pb,hb,gb);function yt(e){return e<=1&&e!==0?`${e*100}%`:e}const mb=qe({prop:"width",transform:yt}),Pc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,l;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||ya[r];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:yt(r)}};return Kt(e,e.maxWidth,t)}return null};Pc.filterProps=["maxWidth"];const vb=qe({prop:"minWidth",transform:yt}),yb=qe({prop:"height",transform:yt}),bb=qe({prop:"maxHeight",transform:yt}),wb=qe({prop:"minHeight",transform:yt});qe({prop:"size",cssProperty:"width",transform:yt});qe({prop:"size",cssProperty:"height",transform:yt});const xb=qe({prop:"boxSizing"});Ea(mb,Pc,vb,yb,bb,wb,xb);const Uo={border:{themeKey:"borders",transform:kt},borderTop:{themeKey:"borders",transform:kt},borderRight:{themeKey:"borders",transform:kt},borderBottom:{themeKey:"borders",transform:kt},borderLeft:{themeKey:"borders",transform:kt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:kt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ta},color:{themeKey:"palette",transform:vn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:vn},backgroundColor:{themeKey:"palette",transform:vn},p:{style:We},pt:{style:We},pr:{style:We},pb:{style:We},pl:{style:We},px:{style:We},py:{style:We},padding:{style:We},paddingTop:{style:We},paddingRight:{style:We},paddingBottom:{style:We},paddingLeft:{style:We},paddingX:{style:We},paddingY:{style:We},paddingInline:{style:We},paddingInlineStart:{style:We},paddingInlineEnd:{style:We},paddingBlock:{style:We},paddingBlockStart:{style:We},paddingBlockEnd:{style:We},m:{style:ze},mt:{style:ze},mr:{style:ze},mb:{style:ze},ml:{style:ze},mx:{style:ze},my:{style:ze},margin:{style:ze},marginTop:{style:ze},marginRight:{style:ze},marginBottom:{style:ze},marginLeft:{style:ze},marginX:{style:ze},marginY:{style:ze},marginInline:{style:ze},marginInlineStart:{style:ze},marginInlineEnd:{style:ze},marginBlock:{style:ze},marginBlockStart:{style:ze},marginBlockEnd:{style:ze},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:Sa},rowGap:{style:_a},columnGap:{style:Ra},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:yt},maxWidth:{style:Pc},minWidth:{transform:yt},height:{transform:yt},maxHeight:{transform:yt},minHeight:{transform:yt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Cb(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Eb(e,t){return typeof e=="function"?e(t):e}function Tb(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:d,style:p}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const h=ba(o,c)||{};return p?p(a):Kt(a,n,v=>{let g=Vi(h,d,v);return v===g&&typeof v=="string"&&(g=Vi(h,d,`${r}${v==="default"?"":fe(v)}`,v)),l===!1?g:{[l]:g}})}function t(r){var s;const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=(s=o.unstable_sxConfig)!=null?s:Uo;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const d=Zh(o.breakpoints),p=Object.keys(d);let h=d;return Object.keys(c).forEach(m=>{const v=Eb(c[m],o);if(v!=null)if(typeof v=="object")if(i[m])h=ho(h,e(m,v,o,i));else{const g=Kt({theme:o},v,y=>({[m]:y}));Cb(g,v)?h[m]=t({sx:v,theme:o}):h=ho(h,g)}else h=ho(h,e(m,v,o,i))}),Ay(o,Jh(p,h))}return Array.isArray(n)?n.map(a):a(n)}return t}const xn=Tb();xn.filterProps=["sx"];const Sb=e=>{var n,o;const t={systemProps:{},otherProps:{}},r=(o=(n=e==null?void 0:e.theme)==null?void 0:n.unstable_sxConfig)!=null?o:Uo;return Object.keys(e).forEach(i=>{r[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function t0(e){const a=e,{sx:t}=a,r=te(a,["sx"]),{systemProps:n,otherProps:o}=Sb(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return Vt(l)?w(w({},n),l):n}:i=w(w({},n),t),$(w({},o),{sx:i})}/**
60
+ `)),()=>{})}function Ea(e){return Vo(e,"spacing",8,"spacing")}function kn(e,t){return typeof t=="string"||t==null?t:e(t)}function Uy(e,t){return r=>e.reduce((n,o)=>(n[o]=kn(t,r),n),{})}function Gy(e,t,r,n){if(!t.includes(r))return null;const o=Wy(r),i=Uy(o,n),a=e[r];return Kt(e,a,i)}function t0(e,t){const r=Ea(e.theme);return Object.keys(e).map(n=>Gy(e,t,n,r)).reduce(ho,{})}function ze(e){return t0(e,xa)}ze.propTypes=process.env.NODE_ENV!=="production"?xa.reduce((e,t)=>(e[t]=Tr,e),{}):{};ze.filterProps=xa;function We(e){return t0(e,Ca)}We.propTypes=process.env.NODE_ENV!=="production"?Ca.reduce((e,t)=>(e[t]=Tr,e),{}):{};We.filterProps=Ca;process.env.NODE_ENV!=="production"&&Vy.reduce((e,t)=>(e[t]=Tr,e),{});function Ta(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?ho(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function kt(e){return typeof e!="number"?e:`${e}px solid`}function Nt(e,t){return qe({prop:e,themeKey:"borders",transform:t})}const Yy=Nt("border",kt),qy=Nt("borderTop",kt),Xy=Nt("borderRight",kt),Ky=Nt("borderBottom",kt),Qy=Nt("borderLeft",kt),Zy=Nt("borderColor"),Jy=Nt("borderTopColor"),eb=Nt("borderRightColor"),tb=Nt("borderBottomColor"),rb=Nt("borderLeftColor"),nb=Nt("outline",kt),ob=Nt("outlineColor"),Sa=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Vo(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:kn(t,n)});return Kt(e,e.borderRadius,r)}return null};Sa.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Tr}:{};Sa.filterProps=["borderRadius"];Ta(Yy,qy,Xy,Ky,Qy,Zy,Jy,eb,tb,rb,Sa,nb,ob);const Ra=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Vo(e.theme,"spacing",8,"gap"),r=n=>({gap:kn(t,n)});return Kt(e,e.gap,r)}return null};Ra.propTypes=process.env.NODE_ENV!=="production"?{gap:Tr}:{};Ra.filterProps=["gap"];const _a=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Vo(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:kn(t,n)});return Kt(e,e.columnGap,r)}return null};_a.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Tr}:{};_a.filterProps=["columnGap"];const Ma=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Vo(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:kn(t,n)});return Kt(e,e.rowGap,r)}return null};Ma.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Tr}:{};Ma.filterProps=["rowGap"];const ib=qe({prop:"gridColumn"}),ab=qe({prop:"gridRow"}),sb=qe({prop:"gridAutoFlow"}),lb=qe({prop:"gridAutoColumns"}),cb=qe({prop:"gridAutoRows"}),ub=qe({prop:"gridTemplateColumns"}),db=qe({prop:"gridTemplateRows"}),fb=qe({prop:"gridTemplateAreas"}),pb=qe({prop:"gridArea"});Ta(Ra,_a,Ma,ib,ab,sb,lb,cb,ub,db,fb,pb);function vn(e,t){return t==="grey"?t:e}const hb=qe({prop:"color",themeKey:"palette",transform:vn}),gb=qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:vn}),mb=qe({prop:"backgroundColor",themeKey:"palette",transform:vn});Ta(hb,gb,mb);function yt(e){return e<=1&&e!==0?`${e*100}%`:e}const vb=qe({prop:"width",transform:yt}),Nc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,l;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||ba[r];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:yt(r)}};return Kt(e,e.maxWidth,t)}return null};Nc.filterProps=["maxWidth"];const yb=qe({prop:"minWidth",transform:yt}),bb=qe({prop:"height",transform:yt}),wb=qe({prop:"maxHeight",transform:yt}),xb=qe({prop:"minHeight",transform:yt});qe({prop:"size",cssProperty:"width",transform:yt});qe({prop:"size",cssProperty:"height",transform:yt});const Cb=qe({prop:"boxSizing"});Ta(vb,Nc,yb,bb,wb,xb,Cb);const Uo={border:{themeKey:"borders",transform:kt},borderTop:{themeKey:"borders",transform:kt},borderRight:{themeKey:"borders",transform:kt},borderBottom:{themeKey:"borders",transform:kt},borderLeft:{themeKey:"borders",transform:kt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:kt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sa},color:{themeKey:"palette",transform:vn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:vn},backgroundColor:{themeKey:"palette",transform:vn},p:{style:We},pt:{style:We},pr:{style:We},pb:{style:We},pl:{style:We},px:{style:We},py:{style:We},padding:{style:We},paddingTop:{style:We},paddingRight:{style:We},paddingBottom:{style:We},paddingLeft:{style:We},paddingX:{style:We},paddingY:{style:We},paddingInline:{style:We},paddingInlineStart:{style:We},paddingInlineEnd:{style:We},paddingBlock:{style:We},paddingBlockStart:{style:We},paddingBlockEnd:{style:We},m:{style:ze},mt:{style:ze},mr:{style:ze},mb:{style:ze},ml:{style:ze},mx:{style:ze},my:{style:ze},margin:{style:ze},marginTop:{style:ze},marginRight:{style:ze},marginBottom:{style:ze},marginLeft:{style:ze},marginX:{style:ze},marginY:{style:ze},marginInline:{style:ze},marginInlineStart:{style:ze},marginInlineEnd:{style:ze},marginBlock:{style:ze},marginBlockStart:{style:ze},marginBlockEnd:{style:ze},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:Ra},rowGap:{style:Ma},columnGap:{style:_a},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:yt},maxWidth:{style:Nc},minWidth:{transform:yt},height:{transform:yt},maxHeight:{transform:yt},minHeight:{transform:yt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Eb(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Tb(e,t){return typeof e=="function"?e(t):e}function Sb(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:d,style:p}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const h=wa(o,c)||{};return p?p(a):Kt(a,n,v=>{let g=Ui(h,d,v);return v===g&&typeof v=="string"&&(g=Ui(h,d,`${r}${v==="default"?"":fe(v)}`,v)),l===!1?g:{[l]:g}})}function t(r){var s;const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=(s=o.unstable_sxConfig)!=null?s:Uo;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const d=Jh(o.breakpoints),p=Object.keys(d);let h=d;return Object.keys(c).forEach(m=>{const v=Tb(c[m],o);if(v!=null)if(typeof v=="object")if(i[m])h=ho(h,e(m,v,o,i));else{const g=Kt({theme:o},v,y=>({[m]:y}));Eb(g,v)?h[m]=t({sx:v,theme:o}):h=ho(h,g)}else h=ho(h,e(m,v,o,i))}),Iy(o,e0(p,h))}return Array.isArray(n)?n.map(a):a(n)}return t}const xn=Sb();xn.filterProps=["sx"];const Rb=e=>{var n,o;const t={systemProps:{},otherProps:{}},r=(o=(n=e==null?void 0:e.theme)==null?void 0:n.unstable_sxConfig)!=null?o:Uo;return Object.keys(e).forEach(i=>{r[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function r0(e){const a=e,{sx:t}=a,r=te(a,["sx"]),{systemProps:n,otherProps:o}=Rb(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return Vt(l)?w(w({},n),l):n}:i=w(w({},n),t),$(w({},o),{sx:i})}/**
61
61
  * @mui/styled-engine v6.4.11
62
62
  *
63
63
  * @license MIT
64
64
  * This source code is licensed under the MIT license found in the
65
65
  * LICENSE file in the root directory of this source tree.
66
- */function Rb(e,t){const r=f.newStyled(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
67
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function _b(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Cd=[];function Ed(e){return Cd[0]=e,f.serializeStyles(Cd)}const Mb=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>$(w({},r),{[n.key]:n.val}),{})};function Ob(e){const h=e,{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=h,o=te(h,["values","unit","step"]),i=Mb(t),a=Object.keys(i);function s(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function c(m,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function d(m){return a.indexOf(m)+1<a.length?c(m,a[a.indexOf(m)+1]):s(m)}function p(m){const v=a.indexOf(m);return v===0?s(a[1]):v===a.length-1?l(a[v]):c(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return w({keys:a,values:i,up:s,down:l,between:c,only:d,not:p,unit:r},o)}const kb={borderRadius:4};function r0(e=8,t=Ca({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ab(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Ma(e={},...t){const d=e,{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=d,a=te(d,["breakpoints","palette","spacing","shape"]),s=Ob(r),l=r0(o);let c=dt({breakpoints:s,direction:"ltr",components:{},palette:w({mode:"light"},n),spacing:l,shape:w(w({},kb),i)},a);return c=Dy(c),c.applyStyles=Ab,c=t.reduce((p,h)=>dt(p,h),c),c.unstable_sxConfig=w(w({},Uo),a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return xn({sx:h,theme:this})},c}function Ib(e){return Object.keys(e).length===0}function Pb(e=null){const t=L.useContext(f.ThemeContext$1);return!t||Ib(t)?e:t}const Db=Ma();function n0(e=Db){return Pb(e)}const Td=e=>e,$b=()=>{let e=Td;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Td}}},Nb=$b(),Lb={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 Oe(e,t,r="Mui"){const n=Lb[t];return n?`${r}-${n}`:`${Nb.generate(e)}-${t}`}function ke(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Oe(e,o,r)}),n}function o0(e,t=""){return e.displayName||e.name||t}function Sd(e,t,r){const n=o0(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Fb(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return o0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Wi.ForwardRef:return Sd(e,e.render,"ForwardRef");case Wi.Memo:return Sd(e,e.type,"memo");default:return}}}function i0(e){const o=e,{variants:t}=o,r=te(o,["variants"]),n={variants:t,style:Ed(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=Ed(i.style))}),n}const jb=Ma();function Os(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Bb(e){return e?(t,r)=>r[e]:null}function Hb(e,t,r){e.theme=Vb(e.theme)?r:e.theme[t]||e.theme}function Ii(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Ii(e,o));if(Array.isArray(r==null?void 0:r.variants)){let o;if(r.isProcessed)o=r.style;else{const n=r,{variants:i}=n;o=te(n,["variants"])}return a0(e,r.variants,[o])}return r!=null&&r.isProcessed?r.style:r}function a0(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n!=null||(n=$(w(w({},e),e.ownerState),{ownerState:e.ownerState})),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n!=null||(n=$(w(w({},e),e.ownerState),{ownerState:e.ownerState})),r.push(a.style(n))):r.push(a.style)}return r}function s0(e={}){const{themeId:t,defaultTheme:r=jb,rootShouldForwardProp:n=Os,slotShouldForwardProp:o=Os}=e;function i(s){Hb(s,t,r)}return(s,l={})=>{_b(s,_=>_.filter(O=>O!==xn));const C=l,{name:c,slot:d,skipVariantsResolver:p,skipSx:h,overridesResolver:m=Bb(l0(d))}=C,v=te(C,["name","slot","skipVariantsResolver","skipSx","overridesResolver"]),g=p!==void 0?p:d&&d!=="Root"&&d!=="root"||!1,y=h||!1;let b=Os;d==="Root"||d==="root"?b=n:d?b=o:Ub(s)&&(b=void 0);const T=Rb(s,w({shouldForwardProp:b,label:Wb(c,d)},v)),E=_=>{if(_.__emotion_real===_)return _;if(typeof _=="function")return function(k){return Ii(k,_)};if(Vt(_)){const O=i0(_);return O.variants?function(D){return Ii(D,O)}:O.style}return _},x=(..._)=>{const O=[],k=_.map(E),D=[];if(O.push(i),c&&m&&D.push(function(A){var I,H;const j=(H=(I=A.theme.components)==null?void 0:I[c])==null?void 0:H.styleOverrides;if(!j)return null;const N={};for(const Y in j)N[Y]=Ii(A,j[Y]);return m(A,N)}),c&&!g&&D.push(function(A){var N,I;const B=A.theme,j=(I=(N=B==null?void 0:B.components)==null?void 0:N[c])==null?void 0:I.variants;return j?a0(A,j):null}),y||D.push(xn),Array.isArray(k[0])){const R=k.shift(),A=new Array(O.length).fill(""),B=new Array(D.length).fill("");let j;j=[...A,...R,...B],j.raw=[...A,...R.raw,...B],O.unshift(j)}const F=[...O,...k,...D],W=T(...F);return s.muiName&&(W.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(W.displayName=zb(c,d,s)),W};return T.withConfig&&(x.withConfig=T.withConfig),x}}function zb(e,t,r){return e?`${e}${fe(t||"")}`:`Styled(${Fb(r)})`}function Wb(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${l0(t||"Root")}`),r}function Vb(e){for(const t in e)return!1;return!0}function Ub(e){return typeof e=="string"&&e.charCodeAt(0)>96}function l0(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function To(e,t){const r=w({},t);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]=w(w({},e[o]),r[o]);else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]=w({},a);for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;r[o][l]=To(i[l],a[l])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const wr=typeof window!="undefined"?L.useLayoutEffect:L.useEffect;function Gb(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Dc(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Gb(e,t,r)}function Yb(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function xr(e){if(e.type)return e;if(e.charAt(0)==="#")return xr(Yb(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
66
+ */function _b(e,t){const r=f.newStyled(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
67
+ `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Mb(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Td=[];function Sd(e){return Td[0]=e,f.serializeStyles(Td)}const Ob=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>$(w({},r),{[n.key]:n.val}),{})};function kb(e){const h=e,{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=h,o=te(h,["values","unit","step"]),i=Ob(t),a=Object.keys(i);function s(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function c(m,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function d(m){return a.indexOf(m)+1<a.length?c(m,a[a.indexOf(m)+1]):s(m)}function p(m){const v=a.indexOf(m);return v===0?s(a[1]):v===a.length-1?l(a[v]):c(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return w({keys:a,values:i,up:s,down:l,between:c,only:d,not:p,unit:r},o)}const Ab={borderRadius:4};function n0(e=8,t=Ea({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ib(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Oa(e={},...t){const d=e,{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=d,a=te(d,["breakpoints","palette","spacing","shape"]),s=kb(r),l=n0(o);let c=dt({breakpoints:s,direction:"ltr",components:{},palette:w({mode:"light"},n),spacing:l,shape:w(w({},Ab),i)},a);return c=$y(c),c.applyStyles=Ib,c=t.reduce((p,h)=>dt(p,h),c),c.unstable_sxConfig=w(w({},Uo),a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(h){return xn({sx:h,theme:this})},c}function Pb(e){return Object.keys(e).length===0}function Db(e=null){const t=L.useContext(f.ThemeContext$1);return!t||Pb(t)?e:t}const $b=Oa();function o0(e=$b){return Db(e)}const Rd=e=>e,Nb=()=>{let e=Rd;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Rd}}},Lb=Nb(),Fb={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 Oe(e,t,r="Mui"){const n=Fb[t];return n?`${r}-${n}`:`${Lb.generate(e)}-${t}`}function ke(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Oe(e,o,r)}),n}function i0(e,t=""){return e.displayName||e.name||t}function _d(e,t,r){const n=i0(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function jb(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return i0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Vi.ForwardRef:return _d(e,e.render,"ForwardRef");case Vi.Memo:return _d(e,e.type,"memo");default:return}}}function a0(e){const o=e,{variants:t}=o,r=te(o,["variants"]),n={variants:t,style:Sd(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=Sd(i.style))}),n}const Bb=Oa();function As(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Hb(e){return e?(t,r)=>r[e]:null}function zb(e,t,r){e.theme=Ub(e.theme)?r:e.theme[t]||e.theme}function Ii(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Ii(e,o));if(Array.isArray(r==null?void 0:r.variants)){let o;if(r.isProcessed)o=r.style;else{const n=r,{variants:i}=n;o=te(n,["variants"])}return s0(e,r.variants,[o])}return r!=null&&r.isProcessed?r.style:r}function s0(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n!=null||(n=$(w(w({},e),e.ownerState),{ownerState:e.ownerState})),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n!=null||(n=$(w(w({},e),e.ownerState),{ownerState:e.ownerState})),r.push(a.style(n))):r.push(a.style)}return r}function l0(e={}){const{themeId:t,defaultTheme:r=Bb,rootShouldForwardProp:n=As,slotShouldForwardProp:o=As}=e;function i(s){zb(s,t,r)}return(s,l={})=>{Mb(s,_=>_.filter(k=>k!==xn));const C=l,{name:c,slot:d,skipVariantsResolver:p,skipSx:h,overridesResolver:m=Hb(c0(d))}=C,v=te(C,["name","slot","skipVariantsResolver","skipSx","overridesResolver"]),g=p!==void 0?p:d&&d!=="Root"&&d!=="root"||!1,y=h||!1;let b=As;d==="Root"||d==="root"?b=n:d?b=o:Gb(s)&&(b=void 0);const T=_b(s,w({shouldForwardProp:b,label:Vb(c,d)},v)),E=_=>{if(_.__emotion_real===_)return _;if(typeof _=="function")return function(O){return Ii(O,_)};if(Vt(_)){const k=a0(_);return k.variants?function(P){return Ii(P,k)}:k.style}return _},x=(..._)=>{const k=[],O=_.map(E),P=[];if(k.push(i),c&&m&&P.push(function(A){var I,H;const j=(H=(I=A.theme.components)==null?void 0:I[c])==null?void 0:H.styleOverrides;if(!j)return null;const N={};for(const Y in j)N[Y]=Ii(A,j[Y]);return m(A,N)}),c&&!g&&P.push(function(A){var N,I;const B=A.theme,j=(I=(N=B==null?void 0:B.components)==null?void 0:N[c])==null?void 0:I.variants;return j?s0(A,j):null}),y||P.push(xn),Array.isArray(O[0])){const R=O.shift(),A=new Array(k.length).fill(""),B=new Array(P.length).fill("");let j;j=[...A,...R,...B],j.raw=[...A,...R.raw,...B],k.unshift(j)}const F=[...k,...O,...P],W=T(...F);return s.muiName&&(W.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(W.displayName=Wb(c,d,s)),W};return T.withConfig&&(x.withConfig=T.withConfig),x}}function Wb(e,t,r){return e?`${e}${fe(t||"")}`:`Styled(${jb(r)})`}function Vb(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${c0(t||"Root")}`),r}function Ub(e){for(const t in e)return!1;return!0}function Gb(e){return typeof e=="string"&&e.charCodeAt(0)>96}function c0(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function To(e,t){const r=w({},t);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]=w(w({},e[o]),r[o]);else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]=w({},a);for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;r[o][l]=To(i[l],a[l])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const wr=typeof window!="undefined"?L.useLayoutEffect:L.useEffect;function Yb(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Lc(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Yb(e,t,r)}function qb(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function xr(e){if(e.type)return e;if(e.charAt(0)==="#")return xr(qb(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
68
68
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:br(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
69
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:br(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const qb=e=>{const t=xr(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},ro=(e,t)=>{try{return qb(e)}catch(r){return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Oa(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function c0(e){e=xr(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,d=(c+r/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Oa({type:s,values:l})}function fl(e){e=xr(e);let t=e.type==="hsl"||e.type==="hsla"?xr(c0(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:Bt((r+.055)/1.055,2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Rd(e,t){const r=fl(e),n=fl(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Ne(e,t){return e=xr(e),t=Dc(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Oa(e)}function pi(e,t,r){try{return Ne(e,t)}catch(n){return e}}function ka(e,t){if(e=xr(e),t=Dc(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Oa(e)}function Re(e,t,r){try{return ka(e,t)}catch(n){return e}}function Aa(e,t){if(e=xr(e),t=Dc(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Oa(e)}function _e(e,t,r){try{return Aa(e,t)}catch(n){return e}}function pl(e,t=.15){return fl(e)>.5?ka(e,t):Aa(e,t)}function hi(e,t,r){try{return pl(e,t)}catch(n){return e}}function lr(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Xb(e){const{prototype:t={}}=e;return!!t.isReactComponent}function u0(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;const l=i.type;return typeof l=="function"&&!Xb(l)&&(s="Did you accidentally use a plain function component for an element instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Gr=lr(u.element,u0);Gr.isRequired=lr(u.element.isRequired,u0);function Kb(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Qb(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;return typeof i=="function"&&!Kb(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const $c=lr(u.elementType,Qb),Zb="exact-prop: ​";function Nc(e){return process.env.NODE_ENV==="production"?e:$(w({},e),{[Zb]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}const Go=u.oneOfType([u.func,u.object]);function hl(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Jb(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function zr(e){return xt(e).defaultView||window}function _d(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Md=0;function e2(e){const[t,r]=L.useState(e),n=e||t;return L.useEffect(()=>{t==null&&(Md+=1,r(`mui-${Md}`))},[t]),n}const t2=w({},L),Od=t2.useId;function Ia(e){if(Od!==void 0){const t=Od();return e!=null?e:t}return e2(e)}function Lc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=L.useRef(e!==void 0),[i,a]=L.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){L.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
69
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:br(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Xb=e=>{const t=xr(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},ro=(e,t)=>{try{return Xb(e)}catch(r){return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ka(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function u0(e){e=xr(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,d=(c+r/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),ka({type:s,values:l})}function hl(e){e=xr(e);let t=e.type==="hsl"||e.type==="hsla"?xr(u0(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:Bt((r+.055)/1.055,2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Md(e,t){const r=hl(e),n=hl(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Ne(e,t){return e=xr(e),t=Lc(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ka(e)}function pi(e,t,r){try{return Ne(e,t)}catch(n){return e}}function Aa(e,t){if(e=xr(e),t=Lc(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ka(e)}function Re(e,t,r){try{return Aa(e,t)}catch(n){return e}}function Ia(e,t){if(e=xr(e),t=Lc(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ka(e)}function _e(e,t,r){try{return Ia(e,t)}catch(n){return e}}function gl(e,t=.15){return hl(e)>.5?Aa(e,t):Ia(e,t)}function hi(e,t,r){try{return gl(e,t)}catch(n){return e}}function lr(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Kb(e){const{prototype:t={}}=e;return!!t.isReactComponent}function d0(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;const l=i.type;return typeof l=="function"&&!Kb(l)&&(s="Did you accidentally use a plain function component for an element instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Gr=lr(u.element,d0);Gr.isRequired=lr(u.element.isRequired,d0);function Qb(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Zb(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;return typeof i=="function"&&!Qb(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Fc=lr(u.elementType,Zb),Jb="exact-prop: ​";function jc(e){return process.env.NODE_ENV==="production"?e:$(w({},e),{[Jb]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}const Go=u.oneOfType([u.func,u.object]);function ml(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function e2(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function zr(e){return xt(e).defaultView||window}function Od(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let kd=0;function t2(e){const[t,r]=L.useState(e),n=e||t;return L.useEffect(()=>{t==null&&(kd+=1,r(`mui-${kd}`))},[t]),n}const r2=w({},L),Ad=r2.useId;function Pa(e){if(Ad!==void 0){const t=Ad();return e!=null?e:t}return t2(e)}function Bc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=L.useRef(e!==void 0),[i,a]=L.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){L.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
70
70
  `))},[n,r,e]);const{current:c}=L.useRef(t);L.useEffect(()=>{!o&&!Object.is(c,t)&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
71
- `))},[JSON.stringify(t)])}const l=L.useCallback(c=>{o||a(c)},[]);return[s,l]}function rr(e){const t=L.useRef(e);return wr(()=>{t.current=e}),L.useRef((...r)=>(0,t.current)(...r)).current}const kd={};function d0(e,t){const r=L.useRef(kd);return r.current===kd&&(r.current=e(t)),r}const r2=[];function n2(e){L.useEffect(e,r2)}class Pa{constructor(){Vn(this,"currentId",null);Vn(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Vn(this,"disposeEffect",()=>this.clear)}static create(){return new Pa}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Dr(){const e=d0(Pa.create).current;return n2(e.disposeEffect),e}function Ui(e){try{return e.matches(":focus-visible")}catch(t){process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
72
- `))}return!1}function f0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function o2(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function p0(e,t,r,n){const o=e[t];if(o==null||!Number.isInteger(o)){const i=o2(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function h0(e,t,...r){return e[t]===void 0?null:p0(e,t,...r)}function gl(){return null}h0.isRequired=p0;gl.isRequired=gl;const Ut=process.env.NODE_ENV==="production"?gl:h0;function An(e){var t;return parseInt(L.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const i2=L.createContext(void 0);function a2(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?To(o.defaultProps,n):!o.styleOverrides&&!o.variants?To(o,n):n}function s2({props:e,name:t}){const r=L.useContext(i2);return a2({props:e,name:t,theme:{components:r}})}const Ad={theme:void 0};function l2(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Ad.theme=o.theme,i=i0(e(Ad)),t=i,r=o.theme),i}}function c2(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Id=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},u2=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!r||r&&!r([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}n(e)},d2=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function ks(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return u2(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const d=`--${r?`${r}-`:""}${s.join("-")}`,p=d2(s,l);Object.assign(o,{[d]:p}),Id(i,s,`var(${d})`,c),Id(a,s,`var(${d}, ${p})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function f2(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,E=e,{colorSchemes:i={},components:a,defaultColorScheme:s="light"}=E,l=te(E,["colorSchemes","components","defaultColorScheme"]),{vars:c,css:d,varsWithDefaults:p}=ks(l,t);let h=p;const m={},x=i,{[s]:v}=x,g=te(x,[di(s)]);if(Object.entries(g||{}).forEach(([C,_])=>{const{vars:O,css:k,varsWithDefaults:D}=ks(_,t);h=dt(h,D),m[C]={css:k,vars:O}}),v){const{css:C,vars:_,varsWithDefaults:O}=ks(v,t);h=dt(h,O),m[s]={css:C,vars:_}}function y(C,_){var k,D;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),C){if(O==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((D=(k=i[C])==null?void 0:k.palette)==null?void 0:D.mode)||C})`]:{":root":_}};if(O)return e.defaultColorScheme===C?`:root, ${O.replace("%s",String(C))}`:O.replace("%s",String(C))}return":root"}return{vars:h,generateThemeVars:()=>{let C=w({},c);return Object.entries(m).forEach(([,{vars:_}])=>{C=dt(C,_)}),C},generateStyleSheets:()=>{var W,R;const C=[],_=e.defaultColorScheme||"light";function O(A,B){Object.keys(B).length&&C.push(typeof A=="string"?{[A]:w({},B)}:A)}O(r(void 0,w({},d)),d);const F=m,{[_]:k}=F,D=te(F,[di(_)]);if(k){const{css:A}=k,B=(R=(W=i[_])==null?void 0:W.palette)==null?void 0:R.mode,j=w(!n&&B?{colorScheme:B}:{},A);O(r(_,w({},j)),j)}return Object.entries(D).forEach(([A,{css:B}])=>{var I,H;const j=(H=(I=i[A])==null?void 0:I.palette)==null?void 0:H.mode,N=w(!n&&j?{colorScheme:j}:{},B);O(r(A,w({},N)),N)}),C}}}function p2(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const So={black:"#000",white:"#fff"},h2={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"},Zr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Jr={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"},Un={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"},en={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"},tn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},rn={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"};function g0(){return{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:So.white,default:So.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}}}const g2=g0();function m0(){return{text:{primary:So.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:So.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}}}const Pd=m0();function Dd(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Aa(e.main,o):t==="dark"&&(e.dark=ka(e.main,i)))}function m2(e="light"){return e==="dark"?{main:en[200],light:en[50],dark:en[400]}:{main:en[700],light:en[400],dark:en[800]}}function v2(e="light"){return e==="dark"?{main:Zr[200],light:Zr[50],dark:Zr[400]}:{main:Zr[500],light:Zr[300],dark:Zr[700]}}function y2(e="light"){return e==="dark"?{main:Jr[500],light:Jr[300],dark:Jr[700]}:{main:Jr[700],light:Jr[400],dark:Jr[800]}}function b2(e="light"){return e==="dark"?{main:tn[400],light:tn[300],dark:tn[700]}:{main:tn[700],light:tn[500],dark:tn[900]}}function w2(e="light"){return e==="dark"?{main:rn[400],light:rn[300],dark:rn[700]}:{main:rn[800],light:rn[500],dark:rn[900]}}function x2(e="light"){return e==="dark"?{main:Un[400],light:Un[300],dark:Un[700]}:{main:"#ed6c02",light:Un[500],dark:Un[900]}}function Fc(e){const g=e,{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=g,o=te(g,["mode","contrastThreshold","tonalOffset"]),i=e.primary||m2(t),a=e.secondary||v2(t),s=e.error||y2(t),l=e.info||b2(t),c=e.success||w2(t),d=e.warning||x2(t);function p(y){const b=Rd(y,Pd.text.primary)>=r?Pd.text.primary:g2.text.primary;if(process.env.NODE_ENV!=="production"){const T=Rd(y,b);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${b} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
71
+ `))},[JSON.stringify(t)])}const l=L.useCallback(c=>{o||a(c)},[]);return[s,l]}function rr(e){const t=L.useRef(e);return wr(()=>{t.current=e}),L.useRef((...r)=>(0,t.current)(...r)).current}const Id={};function f0(e,t){const r=L.useRef(Id);return r.current===Id&&(r.current=e(t)),r}const n2=[];function o2(e){L.useEffect(e,n2)}class Da{constructor(){Vn(this,"currentId",null);Vn(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Vn(this,"disposeEffect",()=>this.clear)}static create(){return new Da}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Dr(){const e=f0(Da.create).current;return o2(e.disposeEffect),e}function Gi(e){try{return e.matches(":focus-visible")}catch(t){process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
72
+ `))}return!1}function p0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function i2(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function h0(e,t,r,n){const o=e[t];if(o==null||!Number.isInteger(o)){const i=i2(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function g0(e,t,...r){return e[t]===void 0?null:h0(e,t,...r)}function vl(){return null}g0.isRequired=h0;vl.isRequired=vl;const Ut=process.env.NODE_ENV==="production"?vl:g0;function An(e){var t;return parseInt(L.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const a2=L.createContext(void 0);function s2(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?To(o.defaultProps,n):!o.styleOverrides&&!o.variants?To(o,n):n}function l2({props:e,name:t}){const r=L.useContext(a2);return s2({props:e,name:t,theme:{components:r}})}const Pd={theme:void 0};function c2(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Pd.theme=o.theme,i=a0(e(Pd)),t=i,r=o.theme),i}}function u2(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Dd=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},d2=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!r||r&&!r([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}n(e)},f2=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Is(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return d2(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const d=`--${r?`${r}-`:""}${s.join("-")}`,p=f2(s,l);Object.assign(o,{[d]:p}),Dd(i,s,`var(${d})`,c),Dd(a,s,`var(${d}, ${p})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function p2(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,E=e,{colorSchemes:i={},components:a,defaultColorScheme:s="light"}=E,l=te(E,["colorSchemes","components","defaultColorScheme"]),{vars:c,css:d,varsWithDefaults:p}=Is(l,t);let h=p;const m={},x=i,{[s]:v}=x,g=te(x,[di(s)]);if(Object.entries(g||{}).forEach(([C,_])=>{const{vars:k,css:O,varsWithDefaults:P}=Is(_,t);h=dt(h,P),m[C]={css:O,vars:k}}),v){const{css:C,vars:_,varsWithDefaults:k}=Is(v,t);h=dt(h,k),m[s]={css:C,vars:_}}function y(C,_){var O,P;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),C){if(k==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((P=(O=i[C])==null?void 0:O.palette)==null?void 0:P.mode)||C})`]:{":root":_}};if(k)return e.defaultColorScheme===C?`:root, ${k.replace("%s",String(C))}`:k.replace("%s",String(C))}return":root"}return{vars:h,generateThemeVars:()=>{let C=w({},c);return Object.entries(m).forEach(([,{vars:_}])=>{C=dt(C,_)}),C},generateStyleSheets:()=>{var W,R;const C=[],_=e.defaultColorScheme||"light";function k(A,B){Object.keys(B).length&&C.push(typeof A=="string"?{[A]:w({},B)}:A)}k(r(void 0,w({},d)),d);const F=m,{[_]:O}=F,P=te(F,[di(_)]);if(O){const{css:A}=O,B=(R=(W=i[_])==null?void 0:W.palette)==null?void 0:R.mode,j=w(!n&&B?{colorScheme:B}:{},A);k(r(_,w({},j)),j)}return Object.entries(P).forEach(([A,{css:B}])=>{var I,H;const j=(H=(I=i[A])==null?void 0:I.palette)==null?void 0:H.mode,N=w(!n&&j?{colorScheme:j}:{},B);k(r(A,w({},N)),N)}),C}}}function h2(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const So={black:"#000",white:"#fff"},g2={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"},Zr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Jr={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"},Un={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"},en={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"},tn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},rn={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"};function m0(){return{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:So.white,default:So.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}}}const m2=m0();function v0(){return{text:{primary:So.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:So.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}}}const $d=v0();function Nd(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ia(e.main,o):t==="dark"&&(e.dark=Aa(e.main,i)))}function v2(e="light"){return e==="dark"?{main:en[200],light:en[50],dark:en[400]}:{main:en[700],light:en[400],dark:en[800]}}function y2(e="light"){return e==="dark"?{main:Zr[200],light:Zr[50],dark:Zr[400]}:{main:Zr[500],light:Zr[300],dark:Zr[700]}}function b2(e="light"){return e==="dark"?{main:Jr[500],light:Jr[300],dark:Jr[700]}:{main:Jr[700],light:Jr[400],dark:Jr[800]}}function w2(e="light"){return e==="dark"?{main:tn[400],light:tn[300],dark:tn[700]}:{main:tn[700],light:tn[500],dark:tn[900]}}function x2(e="light"){return e==="dark"?{main:rn[400],light:rn[300],dark:rn[700]}:{main:rn[800],light:rn[500],dark:rn[900]}}function C2(e="light"){return e==="dark"?{main:Un[400],light:Un[300],dark:Un[700]}:{main:"#ed6c02",light:Un[500],dark:Un[900]}}function Hc(e){const g=e,{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=g,o=te(g,["mode","contrastThreshold","tonalOffset"]),i=e.primary||v2(t),a=e.secondary||y2(t),s=e.error||b2(t),l=e.info||w2(t),c=e.success||x2(t),d=e.warning||C2(t);function p(y){const b=Md(y,$d.text.primary)>=r?$d.text.primary:m2.text.primary;if(process.env.NODE_ENV!=="production"){const T=Md(y,b);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${b} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
73
73
  `))}return b}const h=({color:y,name:b,mainShade:T=500,lightShade:E=300,darkShade:x=700})=>{if(y=w({},y),!y.main&&y[T]&&(y.main=y[T]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
74
74
  The color object needs to have a \`main\` property or a \`${T}\` property.`:br(11,b?` (${b})`:"",T));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
75
75
  \`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
@@ -84,25 +84,25 @@ const theme1 = createTheme({ palette: {
84
84
 
85
85
  const theme2 = createTheme({ palette: {
86
86
  primary: { main: green[500] },
87
- } });`:br(12,b?` (${b})`:"",JSON.stringify(y.main)));return Dd(y,"light",E,n),Dd(y,"dark",x,n),y.contrastText||(y.contrastText=p(y.main)),y};let m;return t==="light"?m=g0():t==="dark"&&(m=m0()),process.env.NODE_ENV!=="production"&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),dt(w({common:w({},So),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:d,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:c,name:"success"}),grey:h2,contrastThreshold:r,getContrastText:p,augmentColor:h,tonalOffset:n},m),o)}function C2(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function E2(e,t){return w({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}function T2(e){return Math.round(e*1e5)/1e5}const $d={textTransform:"uppercase"},Nd='"Roboto", "Helvetica", "Arial", sans-serif';function S2(e,t){const y=typeof t=="function"?t(e):t,{fontFamily:r=Nd,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:d}=y,p=te(y,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,m=d||(b=>`${b/l*h}rem`),v=(b,T,E,x,C)=>w(w(w({fontFamily:r,fontWeight:b,fontSize:m(T),lineHeight:E},r===Nd?{letterSpacing:`${T2(x/T)}em`}:{}),C),c),g={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(a,14,1.75,.4,$d),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,$d),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return dt(w({htmlFontSize:l,pxToRem:m,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s},g),p,{clone:!1})}const R2=.2,_2=.14,M2=.12;function $e(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${R2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_2})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${M2})`].join(",")}const O2=["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)],k2={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)"},v0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ld(e){return`${Math.round(e)}ms`}function A2(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*Bt(t,.25)+t/5)*10),3e3)}function I2(e){const t=w(w({},k2),e.easing),r=w(w({},v0),e.duration);return $(w({getAutoHeightDuration:A2,create:(o=["all"],i={})=>{const d=i,{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=d,c=te(d,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){const p=m=>typeof m=="string",h=m=>!Number.isNaN(parseFloat(m));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(a)&&!p(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),p(s)||console.error('MUI: Argument "easing" must be a string.'),!h(l)&&!p(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
88
- `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof a=="string"?a:Ld(a)} ${s} ${typeof l=="string"?l:Ld(l)}`).join(",")}},e),{easing:t,duration:r})}const P2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function D2(e){return Vt(e)||typeof e=="undefined"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function y0(e={}){const t=w({},e);function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!D2(s)||a.startsWith("unstable_")?delete n[a]:Vt(s)&&(n[a]=w({},s),r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
87
+ } });`:br(12,b?` (${b})`:"",JSON.stringify(y.main)));return Nd(y,"light",E,n),Nd(y,"dark",x,n),y.contrastText||(y.contrastText=p(y.main)),y};let m;return t==="light"?m=m0():t==="dark"&&(m=v0()),process.env.NODE_ENV!=="production"&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),dt(w({common:w({},So),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:d,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:c,name:"success"}),grey:g2,contrastThreshold:r,getContrastText:p,augmentColor:h,tonalOffset:n},m),o)}function E2(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function T2(e,t){return w({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}function S2(e){return Math.round(e*1e5)/1e5}const Ld={textTransform:"uppercase"},Fd='"Roboto", "Helvetica", "Arial", sans-serif';function R2(e,t){const y=typeof t=="function"?t(e):t,{fontFamily:r=Fd,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:d}=y,p=te(y,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,m=d||(b=>`${b/l*h}rem`),v=(b,T,E,x,C)=>w(w(w({fontFamily:r,fontWeight:b,fontSize:m(T),lineHeight:E},r===Fd?{letterSpacing:`${S2(x/T)}em`}:{}),C),c),g={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(a,14,1.75,.4,Ld),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,Ld),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return dt(w({htmlFontSize:l,pxToRem:m,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s},g),p,{clone:!1})}const _2=.2,M2=.14,O2=.12;function $e(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${_2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${M2})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${O2})`].join(",")}const k2=["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)],A2={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)"},y0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jd(e){return`${Math.round(e)}ms`}function I2(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*Bt(t,.25)+t/5)*10),3e3)}function P2(e){const t=w(w({},A2),e.easing),r=w(w({},y0),e.duration);return $(w({getAutoHeightDuration:I2,create:(o=["all"],i={})=>{const d=i,{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=d,c=te(d,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){const p=m=>typeof m=="string",h=m=>!Number.isNaN(parseFloat(m));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(a)&&!p(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),p(s)||console.error('MUI: Argument "easing" must be a string.'),!h(l)&&!p(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
88
+ `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof a=="string"?a:jd(a)} ${s} ${typeof l=="string"?l:jd(l)}`).join(",")}},e),{easing:t,duration:r})}const D2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function $2(e){return Vt(e)||typeof e=="undefined"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function b0(e={}){const t=w({},e);function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!$2(s)||a.startsWith("unstable_")?delete n[a]:Vt(s)&&(n[a]=w({},s),r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
89
89
 
90
90
  const theme = ${JSON.stringify(t,null,2)};
91
91
 
92
92
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
93
93
  theme.transitions = createTransitions(theme.transitions || {});
94
94
 
95
- export default theme;`}function ml(e={},...t){const m=e,{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l}=m,c=te(m,["breakpoints","mixins","spacing","palette","transitions","typography","shape"]);if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":br(20));const d=Fc(i),p=Ma(e);let h=dt(p,{mixins:E2(p.breakpoints,n),palette:d,shadows:O2.slice(),typography:S2(d,s),transitions:I2(a),zIndex:w({},P2)});if(h=dt(h,c),h=t.reduce((v,g)=>dt(v,g),h),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(y,b)=>{let T;for(T in y){const E=y[T];if(v.includes(T)&&Object.keys(E).length>0){if(process.env.NODE_ENV!=="production"){const x=Oe("",T);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:E}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
96
- `))}y[T]={}}}};Object.keys(h.components).forEach(y=>{const b=h.components[y].styleOverrides;b&&y.startsWith("Mui")&&g(b,y)})}return h.unstable_sxConfig=w(w({},Uo),c==null?void 0:c.unstable_sxConfig),h.unstable_sx=function(g){return xn({sx:g,theme:this})},h.toRuntimeSource=y0,h}function vl(e){let t;return e<1?t=5.11916*Bt(e,2):t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const $2=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=vl(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function b0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function w0(e){return e==="dark"?$2:[]}function N2(e){const a=e,{palette:t={mode:"light"},opacity:r,overlays:n}=a,o=te(a,["palette","opacity","overlays"]),i=Fc(t);return w({palette:i,opacity:w(w({},b0(i.mode)),r),overlays:n||w0(i.mode)},o)}function L2(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const F2=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],j2=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return F2(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:w(w({},r),a)}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function B2(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function U(e,t,r){!e[t]&&r&&(e[t]=r)}function no(e){return typeof e!="string"||!e.startsWith("hsl")?e:c0(e)}function Jt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ro(no(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
97
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function H2(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ht=e=>{try{return e()}catch(t){}},z2=(e="mui")=>c2(e);function As(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=N2($(w({},t),{palette:w({mode:o},t==null?void 0:t.palette)}));return}const s=ml($(w({},r),{palette:w({mode:o},t==null?void 0:t.palette)})),{palette:i}=s,a=te(s,["palette"]);return e[n]=$(w({},t),{palette:i,opacity:w(w({},b0(o)),t==null?void 0:t.opacity),overlays:(t==null?void 0:t.overlays)||w0(o)}),a}function W2(e={},...t){const D=e,{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=L2,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:l=":root"}=D,c=te(D,["colorSchemes","defaultColorScheme","disableCssColorScheme","cssVarPrefix","shouldSkipGeneratingVar","colorSchemeSelector","rootSelector"]),d=Object.keys(r)[0],p=n||(r.light&&d!=="light"?"light":d),h=z2(i),F=r,{[p]:m,light:v,dark:g}=F,y=te(F,[di(p),"light","dark"]),b=w({},y);let T=m;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(T=!0),!T)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:br(21,p));const E=As(b,T,c,p);v&&!b.light&&As(b,v,void 0,"light"),g&&!b.dark&&As(b,g,void 0,"dark");let x=$(w({defaultColorScheme:p},E),{cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:h,colorSchemes:b,font:w(w({},C2(E.typography)),E.font),spacing:H2(c.spacing)});Object.keys(x.colorSchemes).forEach(W=>{const R=x.colorSchemes[W].palette,A=B=>{const j=B.split("-"),N=j[1],I=j[2];return h(B,R[N][I])};if(R.mode==="light"&&(U(R.common,"background","#fff"),U(R.common,"onBackground","#000")),R.mode==="dark"&&(U(R.common,"background","#000"),U(R.common,"onBackground","#fff")),B2(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){U(R.Alert,"errorColor",Re(R.error.light,.6)),U(R.Alert,"infoColor",Re(R.info.light,.6)),U(R.Alert,"successColor",Re(R.success.light,.6)),U(R.Alert,"warningColor",Re(R.warning.light,.6)),U(R.Alert,"errorFilledBg",A("palette-error-main")),U(R.Alert,"infoFilledBg",A("palette-info-main")),U(R.Alert,"successFilledBg",A("palette-success-main")),U(R.Alert,"warningFilledBg",A("palette-warning-main")),U(R.Alert,"errorFilledColor",Ht(()=>R.getContrastText(R.error.main))),U(R.Alert,"infoFilledColor",Ht(()=>R.getContrastText(R.info.main))),U(R.Alert,"successFilledColor",Ht(()=>R.getContrastText(R.success.main))),U(R.Alert,"warningFilledColor",Ht(()=>R.getContrastText(R.warning.main))),U(R.Alert,"errorStandardBg",_e(R.error.light,.9)),U(R.Alert,"infoStandardBg",_e(R.info.light,.9)),U(R.Alert,"successStandardBg",_e(R.success.light,.9)),U(R.Alert,"warningStandardBg",_e(R.warning.light,.9)),U(R.Alert,"errorIconColor",A("palette-error-main")),U(R.Alert,"infoIconColor",A("palette-info-main")),U(R.Alert,"successIconColor",A("palette-success-main")),U(R.Alert,"warningIconColor",A("palette-warning-main")),U(R.AppBar,"defaultBg",A("palette-grey-100")),U(R.Avatar,"defaultBg",A("palette-grey-400")),U(R.Button,"inheritContainedBg",A("palette-grey-300")),U(R.Button,"inheritContainedHoverBg",A("palette-grey-A100")),U(R.Chip,"defaultBorder",A("palette-grey-400")),U(R.Chip,"defaultAvatarColor",A("palette-grey-700")),U(R.Chip,"defaultIconColor",A("palette-grey-700")),U(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),U(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),U(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),U(R.LinearProgress,"primaryBg",_e(R.primary.main,.62)),U(R.LinearProgress,"secondaryBg",_e(R.secondary.main,.62)),U(R.LinearProgress,"errorBg",_e(R.error.main,.62)),U(R.LinearProgress,"infoBg",_e(R.info.main,.62)),U(R.LinearProgress,"successBg",_e(R.success.main,.62)),U(R.LinearProgress,"warningBg",_e(R.warning.main,.62)),U(R.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.11)`),U(R.Slider,"primaryTrack",_e(R.primary.main,.62)),U(R.Slider,"secondaryTrack",_e(R.secondary.main,.62)),U(R.Slider,"errorTrack",_e(R.error.main,.62)),U(R.Slider,"infoTrack",_e(R.info.main,.62)),U(R.Slider,"successTrack",_e(R.success.main,.62)),U(R.Slider,"warningTrack",_e(R.warning.main,.62));const B=hi(R.background.default,.8);U(R.SnackbarContent,"bg",B),U(R.SnackbarContent,"color",Ht(()=>R.getContrastText(B))),U(R.SpeedDialAction,"fabHoverBg",hi(R.background.paper,.15)),U(R.StepConnector,"border",A("palette-grey-400")),U(R.StepContent,"border",A("palette-grey-400")),U(R.Switch,"defaultColor",A("palette-common-white")),U(R.Switch,"defaultDisabledColor",A("palette-grey-100")),U(R.Switch,"primaryDisabledColor",_e(R.primary.main,.62)),U(R.Switch,"secondaryDisabledColor",_e(R.secondary.main,.62)),U(R.Switch,"errorDisabledColor",_e(R.error.main,.62)),U(R.Switch,"infoDisabledColor",_e(R.info.main,.62)),U(R.Switch,"successDisabledColor",_e(R.success.main,.62)),U(R.Switch,"warningDisabledColor",_e(R.warning.main,.62)),U(R.TableCell,"border",_e(pi(R.divider,1),.88)),U(R.Tooltip,"bg",pi(R.grey[700],.92))}if(R.mode==="dark"){U(R.Alert,"errorColor",_e(R.error.light,.6)),U(R.Alert,"infoColor",_e(R.info.light,.6)),U(R.Alert,"successColor",_e(R.success.light,.6)),U(R.Alert,"warningColor",_e(R.warning.light,.6)),U(R.Alert,"errorFilledBg",A("palette-error-dark")),U(R.Alert,"infoFilledBg",A("palette-info-dark")),U(R.Alert,"successFilledBg",A("palette-success-dark")),U(R.Alert,"warningFilledBg",A("palette-warning-dark")),U(R.Alert,"errorFilledColor",Ht(()=>R.getContrastText(R.error.dark))),U(R.Alert,"infoFilledColor",Ht(()=>R.getContrastText(R.info.dark))),U(R.Alert,"successFilledColor",Ht(()=>R.getContrastText(R.success.dark))),U(R.Alert,"warningFilledColor",Ht(()=>R.getContrastText(R.warning.dark))),U(R.Alert,"errorStandardBg",Re(R.error.light,.9)),U(R.Alert,"infoStandardBg",Re(R.info.light,.9)),U(R.Alert,"successStandardBg",Re(R.success.light,.9)),U(R.Alert,"warningStandardBg",Re(R.warning.light,.9)),U(R.Alert,"errorIconColor",A("palette-error-main")),U(R.Alert,"infoIconColor",A("palette-info-main")),U(R.Alert,"successIconColor",A("palette-success-main")),U(R.Alert,"warningIconColor",A("palette-warning-main")),U(R.AppBar,"defaultBg",A("palette-grey-900")),U(R.AppBar,"darkBg",A("palette-background-paper")),U(R.AppBar,"darkColor",A("palette-text-primary")),U(R.Avatar,"defaultBg",A("palette-grey-600")),U(R.Button,"inheritContainedBg",A("palette-grey-800")),U(R.Button,"inheritContainedHoverBg",A("palette-grey-700")),U(R.Chip,"defaultBorder",A("palette-grey-700")),U(R.Chip,"defaultAvatarColor",A("palette-grey-300")),U(R.Chip,"defaultIconColor",A("palette-grey-300")),U(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),U(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),U(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),U(R.LinearProgress,"primaryBg",Re(R.primary.main,.5)),U(R.LinearProgress,"secondaryBg",Re(R.secondary.main,.5)),U(R.LinearProgress,"errorBg",Re(R.error.main,.5)),U(R.LinearProgress,"infoBg",Re(R.info.main,.5)),U(R.LinearProgress,"successBg",Re(R.success.main,.5)),U(R.LinearProgress,"warningBg",Re(R.warning.main,.5)),U(R.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.13)`),U(R.Slider,"primaryTrack",Re(R.primary.main,.5)),U(R.Slider,"secondaryTrack",Re(R.secondary.main,.5)),U(R.Slider,"errorTrack",Re(R.error.main,.5)),U(R.Slider,"infoTrack",Re(R.info.main,.5)),U(R.Slider,"successTrack",Re(R.success.main,.5)),U(R.Slider,"warningTrack",Re(R.warning.main,.5));const B=hi(R.background.default,.98);U(R.SnackbarContent,"bg",B),U(R.SnackbarContent,"color",Ht(()=>R.getContrastText(B))),U(R.SpeedDialAction,"fabHoverBg",hi(R.background.paper,.15)),U(R.StepConnector,"border",A("palette-grey-600")),U(R.StepContent,"border",A("palette-grey-600")),U(R.Switch,"defaultColor",A("palette-grey-300")),U(R.Switch,"defaultDisabledColor",A("palette-grey-600")),U(R.Switch,"primaryDisabledColor",Re(R.primary.main,.55)),U(R.Switch,"secondaryDisabledColor",Re(R.secondary.main,.55)),U(R.Switch,"errorDisabledColor",Re(R.error.main,.55)),U(R.Switch,"infoDisabledColor",Re(R.info.main,.55)),U(R.Switch,"successDisabledColor",Re(R.success.main,.55)),U(R.Switch,"warningDisabledColor",Re(R.warning.main,.55)),U(R.TableCell,"border",Re(pi(R.divider,1),.68)),U(R.Tooltip,"bg",pi(R.grey[700],.92))}Jt(R.background,"default"),Jt(R.background,"paper"),Jt(R.common,"background"),Jt(R.common,"onBackground"),Jt(R,"divider"),Object.keys(R).forEach(B=>{const j=R[B];B!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&U(R[B],"mainChannel",ro(no(j.main))),j.light&&U(R[B],"lightChannel",ro(no(j.light))),j.dark&&U(R[B],"darkChannel",ro(no(j.dark))),j.contrastText&&U(R[B],"contrastTextChannel",ro(no(j.contrastText))),B==="text"&&(Jt(R[B],"primary"),Jt(R[B],"secondary")),B==="action"&&(j.active&&Jt(R[B],"active"),j.selected&&Jt(R[B],"selected")))})}),x=t.reduce((W,R)=>dt(W,R),x);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:j2(x)},{vars:_,generateThemeVars:O,generateStyleSheets:k}=f2(x,C);return x.vars=_,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([W,R])=>{x[W]=R}),x.generateThemeVars=O,x.generateStyleSheets=k,x.generateSpacing=function(){return r0(c.spacing,Ca(this))},x.getColorSchemeSelector=p2(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=a,x.unstable_sxConfig=w(w({},Uo),c==null?void 0:c.unstable_sxConfig),x.unstable_sx=function(R){return xn({sx:R,theme:this})},x.toRuntimeSource=y0,x}function Fd(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]=$(w({},r!==!0&&r),{palette:Fc($(w({},r===!0?{}:r.palette),{mode:t}))}))}function V2(e={},...t){const d=e,{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode}=d,a=te(d,["palette","cssVariables","colorSchemes","defaultColorScheme"]),s=i||"light",l=o==null?void 0:o[s],c=w(w({},o),r?{[s]:$(w({},typeof l!="boolean"&&l),{palette:r})}:void 0);if(n===!1){if(!("colorSchemes"in e))return ml(e,...t);let p=r;"palette"in e||c[s]&&(c[s]!==!0?p=c[s].palette:s==="dark"&&(p={mode:"dark"}));const h=ml($(w({},e),{palette:p}),...t);return h.defaultColorScheme=s,h.colorSchemes=c,h.palette.mode==="light"&&(h.colorSchemes.light=$(w({},c.light!==!0&&c.light),{palette:h.palette}),Fd(h,"dark",c.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark=$(w({},c.dark!==!0&&c.dark),{palette:h.palette}),Fd(h,"light",c.light)),h}return!r&&!("light"in c)&&s==="light"&&(c.light=!0),W2(w($(w({},a),{colorSchemes:c,defaultColorScheme:s}),typeof n!="boolean"&&n),...t)}const x0=V2(),C0="$$material";function Yo(){const e=n0(x0);return process.env.NODE_ENV!=="production"&&L.useDebugValue(e),e[C0]||e}function U2(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qo=e=>U2(e)&&e!=="classes",de=s0({themeId:C0,defaultTheme:x0,rootShouldForwardProp:qo});function G2(){return t0}function Fe(e){return s2(e)}const Ro=L.createContext({});process.env.NODE_ENV!=="production"&&(Ro.displayName="ListContext");function Y2(e){return Oe("MuiList",e)}ke("MuiList",["root","padding","dense","subheader"]);const q2=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Be({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},Y2,t)},X2=de("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]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),jc=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiList"}),v=n,{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=v,d=te(v,["children","className","component","dense","disablePadding","subheader"]),p=L.useMemo(()=>({dense:s}),[s]),h=$(w({},n),{component:a,dense:s,disablePadding:l}),m=q2(h);return Z.jsx(Ro.Provider,{value:p,children:Z.jsxs(X2,$(w({as:a,className:he(m.root,i),ref:r,ownerState:h},d),{children:[c,o]}))})});process.env.NODE_ENV!=="production"&&(jc.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,dense:u.bool,disablePadding:u.bool,subheader:u.node,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});const Ye=l2;function K2(e){return Oe("MuiSvgIcon",e)}ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Q2=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return Be(o,K2,n)},Z2=de("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${fe(r.color)}`],t[`fontSize${fe(r.fontSize)}`]]}})(Ye(({theme:e})=>{var t,r,n,o,i,a,s,l,c,d,p,h,m,v,g,y,b,T;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(t=e.transitions)==null?void 0:t.create)==null?void 0:i.call(t,"fill",{duration:(o=(n=((r=e.vars)!=null?r:e).transitions)==null?void 0:n.duration)==null?void 0:o.shorter}),variants:[{props:E=>!E.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:s.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((p=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:p.call(d,35))||"2.1875rem"}},...Object.entries(((h=e.vars)!=null?h:e).palette).filter(([,E])=>E&&E.main).map(([E])=>{var x,C,_;return{props:{color:E},style:{color:(_=(C=((x=e.vars)!=null?x:e).palette)==null?void 0:C[E])==null?void 0:_.main}}}),{props:{color:"action"},style:{color:(g=(v=((m=e.vars)!=null?m:e).palette)==null?void 0:v.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(T=(b=((y=e.vars)!=null?y:e).palette)==null?void 0:b.action)==null?void 0:T.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Gi=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiSvgIcon"}),T=n,{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:p,viewBox:h="0 0 24 24"}=T,m=te(T,["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"]),v=L.isValidElement(o)&&o.type==="svg",g=$(w({},n),{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:h,hasSvgAsChild:v}),y={};d||(y.viewBox=h);const b=Q2(g);return Z.jsxs(Z2,$(w(w(w({as:s,className:he(b.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r},y),m),v&&o.props),{ownerState:g,children:[v?o.props.children:o,p?Z.jsx("title",{children:p}):null]}))});process.env.NODE_ENV!=="production"&&(Gi.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),u.string]),component:u.elementType,fontSize:u.oneOfType([u.oneOf(["inherit","large","medium","small"]),u.string]),htmlColor:u.string,inheritViewBox:u.bool,shapeRendering:u.string,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),titleAccess:u.string,viewBox:u.string});Gi.muiName="SvgIcon";function In(e,t){function r(n,o){return Z.jsx(Gi,$(w({"data-testid":`${t}Icon`,ref:o},n),{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Gi.muiName,L.memo(L.forwardRef(r))}function J2(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return o=>{const i=typeof t=="function"?t(o):t,a=typeof e=="function"?e(w(w({},o),i)):e,s=he(o==null?void 0:o.className,i==null?void 0:i.className,a==null?void 0:a.className);return w(w(w(w(w({},i),a),!!s&&{className:s}),(i==null?void 0:i.style)&&(a==null?void 0:a.style)&&{style:w(w({},i.style),a.style)}),(i==null?void 0:i.sx)&&(a==null?void 0:a.sx)&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]})};const r=t,n=he(r==null?void 0:r.className,e==null?void 0:e.className);return w(w(w(w(w({},t),e),!!n&&{className:n}),(r==null?void 0:r.style)&&(e==null?void 0:e.style)&&{style:w(w({},r.style),e.style)}),(r==null?void 0:r.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]})}function Is(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function jd(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function E0(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function Gn(e,t,r,n,o,i){let a=!1,s=o(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!E0(s,i)||l)s=o(e,s,r);else return s.focus(),!0}return!1}const Bc=L.forwardRef(function(t,r){const E=t,{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:d,variant:p="selectedMenu"}=E,h=te(E,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),m=L.useRef(null),v=L.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});wr(()=>{o&&m.current.focus()},[o]),L.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(x,{direction:C})=>{const _=!m.current.style.width;if(x.clientHeight<m.current.clientHeight&&_){const O=`${f0(zr(x))}px`;m.current.style[C==="rtl"?"paddingLeft":"paddingRight"]=O,m.current.style.width=`calc(100% + ${O})`}return m.current}}),[]);const g=x=>{const C=m.current,_=x.key;if(x.ctrlKey||x.metaKey||x.altKey){d&&d(x);return}const k=xt(C).activeElement;if(_==="ArrowDown")x.preventDefault(),Gn(C,k,c,l,Is);else if(_==="ArrowUp")x.preventDefault(),Gn(C,k,c,l,jd);else if(_==="Home")x.preventDefault(),Gn(C,null,c,l,Is);else if(_==="End")x.preventDefault(),Gn(C,null,c,l,jd);else if(_.length===1){const D=v.current,F=_.toLowerCase(),W=performance.now();D.keys.length>0&&(W-D.lastTime>500?(D.keys=[],D.repeating=!0,D.previousKeyMatched=!0):D.repeating&&F!==D.keys[0]&&(D.repeating=!1)),D.lastTime=W,D.keys.push(F);const R=k&&!D.repeating&&E0(k,D);D.previousKeyMatched&&(R||Gn(C,k,!1,l,Is,D))?x.preventDefault():D.previousKeyMatched=!1}d&&d(x)},y=ft(m,r);let b=-1;L.Children.forEach(a,(x,C)=>{if(!L.isValidElement(x)){b===C&&(b+=1,b>=a.length&&(b=-1));return}process.env.NODE_ENV!=="production"&&kc.isFragment(x)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
98
- `)),x.props.disabled||(p==="selectedMenu"&&x.props.selected||b===-1)&&(b=C),b===C&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(b+=1,b>=a.length&&(b=-1))});const T=L.Children.map(a,(x,C)=>{if(C===b){const _={};return i&&(_.autoFocus=!0),x.props.tabIndex===void 0&&p==="selectedMenu"&&(_.tabIndex=0),L.cloneElement(x,_)}return x});return Z.jsx(jc,$(w({role:"menu",ref:y,className:s,onKeyDown:g,tabIndex:o?0:-1},h),{children:T}))});process.env.NODE_ENV!=="production"&&(Bc.propTypes={autoFocus:u.bool,autoFocusItem:u.bool,children:u.node,className:u.string,disabledItemsFocusable:u.bool,disableListWrap:u.bool,onKeyDown:u.func,variant:u.oneOf(["menu","selectedMenu"])});function ew(e){return typeof e=="string"}function T0(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function S0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sl(e,t)}const Bd={disabled:!1};var tw=process.env.NODE_ENV!=="production"?u.oneOfType([u.number,u.shape({enter:u.number,exit:u.number,appear:u.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&u.oneOfType([u.string,u.shape({enter:u.string,exit:u.string,active:u.string}),u.shape({enter:u.string,enterDone:u.string,enterActive:u.string,exit:u.string,exitDone:u.string,exitActive:u.string})]);const Yi=S.createContext(null);var oo="unmounted",kr="exited",Ar="entering",cn="entered",yl="exiting",jt=function(e){S0(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?s?(l=kr,i.appearStatus=Ar):l=cn:n.unmountOnExit||n.mountOnEnter?l=oo:l=kr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===oo?{status:kr}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ar&&a!==cn&&(i=Ar):(a===Ar||a===cn)&&(i=yl)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){o===void 0&&(o=!1),i!==null?(this.cancelNextCallback(),i===Ar?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this)),this.performEnter(o)):this.performExit()):this.props.unmountOnExit&&this.state.status===kr&&this.setState({status:oo})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[bt.findDOMNode(this),s],c=l[0],d=l[1],p=this.getTimeouts(),h=s?p.appear:p.enter;if(!o&&!a||Bd.disabled){this.safeSetState({status:cn},function(){i.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Ar},function(){i.props.onEntering(c,d),i.onTransitionEnd(h,function(){i.safeSetState({status:cn},function(){i.props.onEntered(c,d)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:bt.findDOMNode(this);if(!i||Bd.disabled){this.safeSetState({status:kr},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:yl},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:kr},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===oo)return null;var i=this.props,a=i.children,s=T0(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(Yi.Provider,{value:null},typeof a=="function"?a(o,s):S.cloneElement(S.Children.only(a),s))},t}(S.Component);jt.contextType=Yi;jt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:u.shape({current:typeof Element=="undefined"?u.any:function(e,t,r,n,o,i){var a=e[t];return u.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:u.oneOfType([u.func.isRequired,u.element.isRequired]).isRequired,in:u.bool,mountOnEnter:u.bool,unmountOnExit:u.bool,appear:u.bool,enter:u.bool,exit:u.bool,timeout:function(t){var r=tw;t.addEndListener||(r=r.isRequired);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.apply(void 0,[t].concat(o))},addEndListener:u.func,onEnter:u.func,onEntering:u.func,onEntered:u.func,onExit:u.func,onExiting:u.func,onExited:u.func}:{};function nn(){}jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:nn,onEntering:nn,onEntered:nn,onExit:nn,onExiting:nn,onExited:nn};jt.UNMOUNTED=oo;jt.EXITED=kr;jt.ENTERING=Ar;jt.ENTERED=cn;jt.EXITING=yl;function Hc(e,t){var r=function(i){return t&&S.isValidElement(i)?t(i):i},n=Object.create(null);return e&&S.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function rw(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function $r(e,t,r){return r[t]!=null?r[t]:e.props[t]}function nw(e,t){return Hc(e.children,function(r){return S.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:$r(r,"appear",e),enter:$r(r,"enter",e),exit:$r(r,"exit",e)})})}function ow(e,t,r){var n=Hc(e.children),o=rw(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(S.isValidElement(a)){var s=i in t,l=i in n,c=t[i],d=S.isValidElement(c)&&!c.props.in;l&&(!s||d)?o[i]=S.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:$r(a,"exit",e),enter:$r(a,"enter",e)}):!l&&s&&!d?o[i]=S.cloneElement(a,{in:!1}):l&&s&&S.isValidElement(c)&&(o[i]=S.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:$r(a,"exit",e),enter:$r(a,"enter",e)}))}}),o}var iw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},aw={component:"div",childFactory:function(t){return t}},zc=function(e){S0(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(J1(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}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(o,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?nw(o,s):ow(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Hc(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=f._extends({},s.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=T0(o,["component","childFactory"]),l=this.state.contextValue,c=iw(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?S.createElement(Yi.Provider,{value:l},c):S.createElement(Yi.Provider,{value:l},S.createElement(i,s,c))},t}(S.Component);zc.propTypes=process.env.NODE_ENV!=="production"?{component:u.any,children:u.node,appear:u.bool,enter:u.bool,exit:u.bool,childFactory:u.func}:{};zc.defaultProps=aw;function _o(e,t){var i,a;const{timeout:r,easing:n,style:o={}}=e;return{duration:(i=o.transitionDuration)!=null?i:typeof r=="number"?r:r[t.mode]||0,easing:(a=o.transitionTimingFunction)!=null?a:typeof n=="object"?n[t.mode]:n,delay:o.transitionDelay}}function bl(e){return`scale(${e}, ${Bt(e,2)})`}const sw={entering:{opacity:1,transform:bl(1)},entered:{opacity:1,transform:"none"}},Ps=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Mo=L.forwardRef(function(t,r){const j=t,{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:d,onExit:p,onExited:h,onExiting:m,style:v,timeout:g="auto",TransitionComponent:y=jt}=j,b=te(j,["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=Dr(),E=L.useRef(),x=Yo(),C=L.useRef(null),_=ft(C,An(i),r),O=N=>I=>{if(N){const H=C.current;I===void 0?N(H):N(H,I)}},k=O(d),D=O((N,I)=>{const{duration:H,delay:Y,easing:P}=_o({style:v,timeout:g,easing:a},{mode:"enter"});let V;g==="auto"?(V=x.transitions.getAutoHeightDuration(N.clientHeight),E.current=V):V=H,N.style.transition=[x.transitions.create("opacity",{duration:V,delay:Y}),x.transitions.create("transform",{duration:Ps?V:V*.666,delay:Y,easing:P})].join(","),l&&l(N,I)}),F=O(c),W=O(m),R=O(N=>{const{duration:I,delay:H,easing:Y}=_o({style:v,timeout:g,easing:a},{mode:"exit"});let P;g==="auto"?(P=x.transitions.getAutoHeightDuration(N.clientHeight),E.current=P):P=I,N.style.transition=[x.transitions.create("opacity",{duration:P,delay:H}),x.transitions.create("transform",{duration:Ps?P:P*.666,delay:Ps?H:H||P*.333,easing:Y})].join(","),N.style.opacity=0,N.style.transform=bl(.75),p&&p(N)}),A=O(h),B=N=>{g==="auto"&&T.start(E.current||0,N),n&&n(C.current,N)};return Z.jsx(y,$(w({appear:o,in:s,nodeRef:C,onEnter:D,onEntered:F,onEntering:k,onExit:R,onExited:A,onExiting:W,addEndListener:B,timeout:g==="auto"?null:g},b),{children:(N,Y)=>{var P=Y,{ownerState:I}=P,H=te(P,["ownerState"]);return L.cloneElement(i,w({style:w(w(w({opacity:0,transform:bl(.75),visibility:N==="exited"&&!s?"hidden":void 0},sw[N]),v),i.props.style),ref:_},H))}}))});process.env.NODE_ENV!=="production"&&(Mo.propTypes={addEndListener:u.func,appear:u.bool,children:Gr.isRequired,easing:u.oneOfType([u.shape({enter:u.string,exit:u.string}),u.string]),in:u.bool,onEnter:u.func,onEntered:u.func,onEntering:u.func,onExit:u.func,onExited:u.func,onExiting:u.func,style:u.object,timeout:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});Mo&&(Mo.muiSupportAuto=!0);function lw(e){const t=xt(e);return t.body===e?zr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function go(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Hd(e){return parseInt(zr(e).getComputedStyle(e).paddingRight,10)||0}function cw(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function zd(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const s=!i.includes(a),l=!cw(a);s&&l&&go(a,o)})}function Ds(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function uw(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(lw(n)){const a=f0(zr(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Hd(n)+a}px`;const s=xt(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Hd(l)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=xt(n).body;else{const a=n.parentElement,s=zr(n);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function dw(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class fw{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&go(t.modalRef,!1);const o=dw(r);zd(r,t.mount,t.modalRef,o,!0);const i=Ds(this.containers,a=>a.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=Ds(this.containers,i=>i.modals.includes(t)),o=this.containers[n];o.restore||(o.restore=uw(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=Ds(this.containers,a=>a.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&go(t.modalRef,r),zd(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&go(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const pw=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function hw(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function gw(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function mw(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||gw(e))}function vw(e){const t=[],r=[];return Array.from(e.querySelectorAll(pw)).forEach((n,o)=>{const i=hw(n);i===-1||!mw(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function yw(){return!0}function qi(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=vw,isEnabled:a=yw,open:s}=e,l=L.useRef(!1),c=L.useRef(null),d=L.useRef(null),p=L.useRef(null),h=L.useRef(null),m=L.useRef(!1),v=L.useRef(null),g=ft(An(t),v),y=L.useRef(null);L.useEffect(()=>{!s||!v.current||(m.current=!r)},[r,s]),L.useEffect(()=>{if(!s||!v.current)return;const E=xt(v.current);return v.current.contains(E.activeElement)||(v.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
99
- `)),v.current.setAttribute("tabIndex","-1")),m.current&&v.current.focus()),()=>{o||(p.current&&p.current.focus&&(l.current=!0,p.current.focus()),p.current=null)}},[s]),L.useEffect(()=>{if(!s||!v.current)return;const E=xt(v.current),x=O=>{y.current=O,!(n||!a()||O.key!=="Tab")&&E.activeElement===v.current&&O.shiftKey&&(l.current=!0,d.current&&d.current.focus())},C=()=>{var D,F;const O=v.current;if(O===null)return;if(!E.hasFocus()||!a()||l.current){l.current=!1;return}if(O.contains(E.activeElement)||n&&E.activeElement!==c.current&&E.activeElement!==d.current)return;if(E.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!m.current)return;let k=[];if((E.activeElement===c.current||E.activeElement===d.current)&&(k=i(v.current)),k.length>0){const W=!!((D=y.current)!=null&&D.shiftKey&&((F=y.current)==null?void 0:F.key)==="Tab"),R=k[0],A=k[k.length-1];typeof R!="string"&&typeof A!="string"&&(W?A.focus():R.focus())}else O.focus()};E.addEventListener("focusin",C),E.addEventListener("keydown",x,!0);const _=setInterval(()=>{E.activeElement&&E.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(_),E.removeEventListener("focusin",C),E.removeEventListener("keydown",x,!0)}},[r,n,o,a,s,i]);const b=E=>{p.current===null&&(p.current=E.relatedTarget),m.current=!0,h.current=E.target;const x=t.props.onFocus;x&&x(E)},T=E=>{p.current===null&&(p.current=E.relatedTarget),m.current=!0};return Z.jsxs(L.Fragment,{children:[Z.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:c,"data-testid":"sentinelStart"}),L.cloneElement(t,{ref:g,onFocus:b}),Z.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:d,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(qi.propTypes={children:Gr,disableAutoFocus:u.bool,disableEnforceFocus:u.bool,disableRestoreFocus:u.bool,getTabbable:u.func,isEnabled:u.func,open:u.bool.isRequired});process.env.NODE_ENV!=="production"&&(qi.propTypes=Nc(qi.propTypes));function bw(e){return typeof e=="function"?e():e}const Oo=L.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=L.useState(null),l=ft(L.isValidElement(n)?An(n):null,r);if(wr(()=>{i||s(bw(o)||document.body)},[o,i]),wr(()=>{if(a&&!i)return _d(r,a),()=>{_d(r,null)}},[r,a,i]),i){if(L.isValidElement(n)){const c={ref:l};return L.cloneElement(n,c)}return n}return a&&A1.createPortal(n,a)});process.env.NODE_ENV!=="production"&&(Oo.propTypes={children:u.node,container:u.oneOfType([or,u.func]),disablePortal:u.bool});process.env.NODE_ENV!=="production"&&(Oo.propTypes=Nc(Oo.propTypes));function tt(e,t){const C=t,{className:r,elementType:n,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1}=C,l=te(C,["className","elementType","ownerState","externalForwardedProps","internalForwardedProps","shouldForwardComponentProp"]),_=i,{component:c,slots:d={[e]:void 0},slotProps:p={[e]:void 0}}=_,h=te(_,["component","slots","slotProps"]),m=d[e]||n,v=Kh(p[e],o),O=Xh($(w({className:r},l),{externalForwardedProps:e==="root"?h:void 0,externalSlotProps:v})),{props:k}=O,D=k,{component:g}=D,y=te(D,["component"]),{internalRef:b}=O,T=ft(b,v==null?void 0:v.ref,t.ref),E=e==="root"?g||c:g,x=Yh(m,$(w(w(w(w(w({},e==="root"&&!c&&!d[e]&&a),e!=="root"&&!d[e]&&a),y),E&&!s&&{as:E}),E&&s&&{component:E}),{ref:T}),o);return[m,x]}const ww={entering:{opacity:1},entered:{opacity:1}},Wc=L.forwardRef(function(t,r){const n=Yo(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},B=t,{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:p,onEntering:h,onExit:m,onExited:v,onExiting:g,style:y,timeout:b=o,TransitionComponent:T=jt}=B,E=te(B,["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),x=L.useRef(null),C=ft(x,An(s),r),_=j=>N=>{if(j){const I=x.current;N===void 0?j(I):j(I,N)}},O=_(h),k=_((j,N)=>{const I=_o({style:y,timeout:b,easing:l},{mode:"enter"});j.style.webkitTransition=n.transitions.create("opacity",I),j.style.transition=n.transitions.create("opacity",I),d&&d(j,N)}),D=_(p),F=_(g),W=_(j=>{const N=_o({style:y,timeout:b,easing:l},{mode:"exit"});j.style.webkitTransition=n.transitions.create("opacity",N),j.style.transition=n.transitions.create("opacity",N),m&&m(j)}),R=_(v),A=j=>{i&&i(x.current,j)};return Z.jsx(T,$(w({appear:a,in:c,nodeRef:x,onEnter:k,onEntered:D,onEntering:O,onExit:W,onExited:R,onExiting:F,addEndListener:A,timeout:b},E),{children:(j,H)=>{var Y=H,{ownerState:N}=Y,I=te(Y,["ownerState"]);return L.cloneElement(s,w({style:w(w(w({opacity:0,visibility:j==="exited"&&!c?"hidden":void 0},ww[j]),y),s.props.style),ref:C},I))}}))});process.env.NODE_ENV!=="production"&&(Wc.propTypes={addEndListener:u.func,appear:u.bool,children:Gr.isRequired,easing:u.oneOfType([u.shape({enter:u.string,exit:u.string}),u.string]),in:u.bool,onEnter:u.func,onEntered:u.func,onEntering:u.func,onExit:u.func,onExited:u.func,onExiting:u.func,style:u.object,timeout:u.oneOfType([u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});function xw(e){return Oe("MuiBackdrop",e)}ke("MuiBackdrop",["root","invisible"]);const Cw=e=>{const{classes:t,invisible:r}=e;return Be({root:["root",r&&"invisible"]},xw,t)},Ew=de("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Vc=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiBackdrop"}),D=n,{children:o,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:d={},slotProps:p={},slots:h={},TransitionComponent:m,transitionDuration:v}=D,g=te(D,["children","className","component","invisible","open","components","componentsProps","slotProps","slots","TransitionComponent","transitionDuration"]),y=$(w({},n),{component:a,invisible:s}),b=Cw(y),T=w({transition:m,root:c.Root},h),E=w(w({},d),p),x={slots:T,slotProps:E},[C,_]=tt("root",{elementType:Ew,externalForwardedProps:x,className:he(b.root,i),ownerState:y}),[O,k]=tt("transition",{elementType:Wc,externalForwardedProps:x,ownerState:y});return Z.jsx(O,$(w(w({in:l,timeout:v},g),k),{children:Z.jsx(C,$(w({"aria-hidden":!0},_),{classes:b,ref:r,children:o}))}))});process.env.NODE_ENV!=="production"&&(Vc.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,components:u.shape({Root:u.elementType}),componentsProps:u.shape({root:u.object}),invisible:u.bool,open:u.bool.isRequired,slotProps:u.shape({root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),TransitionComponent:u.elementType,transitionDuration:u.oneOfType([u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});function Tw(e){return typeof e=="function"?e():e}function Sw(e){return e?e.props.hasOwnProperty("in"):!1}const Wd=()=>{},gi=new fw;function Rw(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:d}=e,p=L.useRef({}),h=L.useRef(null),m=L.useRef(null),v=ft(m,d),[g,y]=L.useState(!c),b=Sw(s);let T=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(T=!1);const E=()=>xt(h.current),x=()=>(p.current.modalRef=m.current,p.current.mount=h.current,p.current),C=()=>{gi.mount(x(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},_=rr(()=>{const j=Tw(t)||E().body;gi.add(x(),j),m.current&&C()}),O=()=>gi.isTopModal(x()),k=rr(j=>{h.current=j,j&&(c&&O()?C():m.current&&go(m.current,T))}),D=L.useCallback(()=>{gi.remove(x(),T)},[T]);L.useEffect(()=>()=>{D()},[D]),L.useEffect(()=>{c?_():(!b||!o)&&D()},[c,D,b,o,_]);const F=j=>N=>{var I;(I=j.onKeyDown)==null||I.call(j,N),!(N.key!=="Escape"||N.which===229||!O())&&(r||(N.stopPropagation(),l&&l(N,"escapeKeyDown")))},W=j=>N=>{var I;(I=j.onClick)==null||I.call(j,N),N.target===N.currentTarget&&l&&l(N,"backdropClick")};return{getRootProps:(j={})=>{const N=qh(e);delete N.onTransitionEnter,delete N.onTransitionExited;const I=w(w({},N),j);return $(w({role:"presentation"},I),{onKeyDown:F(I),ref:v})},getBackdropProps:(j={})=>{const N=j;return $(w({"aria-hidden":!0},N),{onClick:W(N),open:c})},getTransitionProps:()=>{var I,H;const j=()=>{y(!1),i&&i()},N=()=>{y(!0),a&&a(),o&&D()};return{onEnter:hl(j,(I=s==null?void 0:s.props.onEnter)!=null?I:Wd),onExited:hl(N,(H=s==null?void 0:s.props.onExited)!=null?H:Wd)}},rootRef:v,portalRef:k,isTopModal:O,exited:g,hasTransition:b}}function _w(e){return Oe("MuiModal",e)}ke("MuiModal",["root","hidden","backdrop"]);const Mw=e=>{const{open:t,exited:r,classes:n}=e;return Be({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},_w,n)},Ow=de("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(Ye(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),kw=de(Vc,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Uc=L.forwardRef(function(t,r){const n=Fe({name:"MuiModal",props:t}),ve=n,{BackdropComponent:o=kw,BackdropProps:i,classes:a,className:s,closeAfterTransition:l=!1,children:c,container:d,component:p,components:h={},componentsProps:m={},disableAutoFocus:v=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:y=!1,disablePortal:b=!1,disableRestoreFocus:T=!1,disableScrollLock:E=!1,hideBackdrop:x=!1,keepMounted:C=!1,onBackdropClick:_,onClose:O,onTransitionEnter:k,onTransitionExited:D,open:F,slotProps:W={},slots:R={},theme:A}=ve,B=te(ve,["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"]),j=$(w({},n),{closeAfterTransition:l,disableAutoFocus:v,disableEnforceFocus:g,disableEscapeKeyDown:y,disablePortal:b,disableRestoreFocus:T,disableScrollLock:E,hideBackdrop:x,keepMounted:C}),{getRootProps:N,getBackdropProps:I,getTransitionProps:H,portalRef:Y,isTopModal:P,exited:V,hasTransition:K}=Rw($(w({},j),{rootRef:r})),q=$(w({},j),{exited:V}),X=Mw(q),J={};if(c.props.tabIndex===void 0&&(J.tabIndex="-1"),K){const{onEnter:z,onExited:re}=H();J.onEnter=z,J.onExited=re}const ee={slots:w({root:h.Root,backdrop:h.Backdrop},R),slotProps:w(w({},m),W)},[oe,ne]=tt("root",{ref:r,elementType:Ow,externalForwardedProps:$(w(w({},ee),B),{component:p}),getSlotProps:N,ownerState:q,className:he(s,X==null?void 0:X.root,!q.open&&q.exited&&(X==null?void 0:X.hidden))}),[ue,ie]=tt("backdrop",{ref:i==null?void 0:i.ref,elementType:o,externalForwardedProps:ee,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:z=>I($(w({},z),{onClick:re=>{_&&_(re),z!=null&&z.onClick&&z.onClick(re)}})),className:he(i==null?void 0:i.className,X==null?void 0:X.backdrop),ownerState:q});return!C&&!F&&(!K||V)?null:Z.jsx(Oo,{ref:Y,container:d,disablePortal:b,children:Z.jsxs(oe,$(w({},ne),{children:[!x&&o?Z.jsx(ue,w({},ie)):null,Z.jsx(qi,{disableEnforceFocus:g,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:P,open:F,children:L.cloneElement(c,J)})]}))})});process.env.NODE_ENV!=="production"&&(Uc.propTypes={BackdropComponent:u.elementType,BackdropProps:u.object,children:Gr.isRequired,classes:u.object,className:u.string,closeAfterTransition:u.bool,component:u.elementType,components:u.shape({Backdrop:u.elementType,Root:u.elementType}),componentsProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object])}),container:u.oneOfType([or,u.func]),disableAutoFocus:u.bool,disableEnforceFocus:u.bool,disableEscapeKeyDown:u.bool,disablePortal:u.bool,disableRestoreFocus:u.bool,disableScrollLock:u.bool,hideBackdrop:u.bool,keepMounted:u.bool,onBackdropClick:u.func,onClose:u.func,onTransitionEnter:u.func,onTransitionExited:u.func,open:u.bool.isRequired,slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,root:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function Aw(e){return Oe("MuiPaper",e)}ke("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 Iw=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return Be(i,Aw,o)},Pw=de("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(Ye(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Da=L.forwardRef(function(t,r){var v;const n=Fe({props:t,name:"MuiPaper"}),o=Yo(),m=n,{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation"}=m,d=te(m,["className","component","elevation","square","variant"]),p=$(w({},n),{component:a,elevation:s,square:l,variant:c}),h=Iw(p);return process.env.NODE_ENV!=="production"&&o.shadows[s]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
100
- `)),Z.jsx(Pw,$(w({as:a,ownerState:p,className:he(h.root,i),ref:r},d),{style:w(w({},c==="elevation"&&w(w({"--Paper-shadow":(o.vars||o).shadows[s]},o.vars&&{"--Paper-overlay":(v=o.vars.overlays)==null?void 0:v[s]}),!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ne("#fff",vl(s))}, ${Ne("#fff",vl(s))})`})),d.style)}))});process.env.NODE_ENV!=="production"&&(Da.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,elevation:lr(Ut,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:u.bool,style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["elevation","outlined"]),u.string])});function Dw(e){return Oe("MuiPopover",e)}ke("MuiPopover",["root","paper"]);function Vd(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Ud(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Gd(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function io(e){return typeof e=="function"?e():e}const $w=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"]},Dw,t)},Nw=de(Uc,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),R0=de(Da,{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}),Gc=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiPopover"}),ie=n,{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:d,container:p,elevation:h=8,marginThreshold:m=16,open:v,PaperProps:g={},slots:y={},slotProps:b={},transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:E,transitionDuration:x="auto",TransitionProps:C={},disableScrollLock:_=!1}=ie,O=te(ie,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"]),k=L.useRef(),D=$(w({},n),{anchorOrigin:a,anchorReference:l,elevation:h,marginThreshold:m,transformOrigin:T,TransitionComponent:E,transitionDuration:x,TransitionProps:C}),F=$w(D),W=L.useCallback(()=>{if(l==="anchorPosition")return process.env.NODE_ENV!=="production"&&(s||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),s;const re=io(i),ce=re&&re.nodeType===1?re:xt(k.current).body,ge=ce.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const Xe=ce.getBoundingClientRect();process.env.NODE_ENV!=="test"&&Xe.top===0&&Xe.left===0&&Xe.right===0&&Xe.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
101
- `))}return{top:ge.top+Vd(ge,a.vertical),left:ge.left+Ud(ge,a.horizontal)}},[i,a.horizontal,a.vertical,s,l]),R=L.useCallback(re=>({vertical:Vd(re,T.vertical),horizontal:Ud(re,T.horizontal)}),[T.horizontal,T.vertical]),A=L.useCallback(re=>{const ce={width:re.offsetWidth,height:re.offsetHeight},ge=R(ce);if(l==="none")return{top:null,left:null,transformOrigin:Gd(ge)};const Xe=W();let Ue=Xe.top-ge.vertical,He=Xe.left-ge.horizontal;const St=Ue+ce.height,Qe=He+ce.width,st=zr(io(i)),Je=st.innerHeight-m,se=st.innerWidth-m;if(m!==null&&Ue<m){const ot=Ue-m;Ue-=ot,ge.vertical+=ot}else if(m!==null&&St>Je){const ot=St-Je;Ue-=ot,ge.vertical+=ot}if(process.env.NODE_ENV!=="production"&&ce.height>Je&&ce.height&&Je&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${ce.height-Je}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
102
- `)),m!==null&&He<m){const ot=He-m;He-=ot,ge.horizontal+=ot}else if(Qe>se){const ot=Qe-se;He-=ot,ge.horizontal+=ot}return{top:`${Math.round(Ue)}px`,left:`${Math.round(He)}px`,transformOrigin:Gd(ge)}},[i,l,W,R,m]),[B,j]=L.useState(v),N=L.useCallback(()=>{const re=k.current;if(!re)return;const ce=A(re);ce.top!==null&&re.style.setProperty("top",ce.top),ce.left!==null&&(re.style.left=ce.left),re.style.transformOrigin=ce.transformOrigin,j(!0)},[A]);L.useEffect(()=>(_&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[i,_,N]);const I=()=>{N()},H=()=>{j(!1)};L.useEffect(()=>{v&&N()}),L.useImperativeHandle(o,()=>v?{updatePosition:()=>{N()}}:null,[v,N]),L.useEffect(()=>{if(!v)return;const re=Jb(()=>{N()}),ce=zr(io(i));return ce.addEventListener("resize",re),()=>{re.clear(),ce.removeEventListener("resize",re)}},[i,v,N]);let Y=x;const P={slots:w({transition:E},y),slotProps:w({transition:C,paper:g},b)},[V,K]=tt("transition",{elementType:Mo,externalForwardedProps:P,ownerState:D,getSlotProps:re=>$(w({},re),{onEntering:(ce,ge)=>{var Xe;(Xe=re.onEntering)==null||Xe.call(re,ce,ge),I()},onExited:ce=>{var ge;(ge=re.onExited)==null||ge.call(re,ce),H()}}),additionalProps:{appear:!0,in:v}});x==="auto"&&!V.muiSupportAuto&&(Y=void 0);const q=p||(i?xt(io(i)).body:void 0),[X,ve]=tt("root",{ref:r,elementType:Nw,externalForwardedProps:w(w({},P),O),shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:J2(typeof b.backdrop=="function"?b.backdrop(D):b.backdrop,{invisible:!0})},container:q,open:v},ownerState:D,className:he(F.root,d)}),z=ve,{slots:J,slotProps:ee}=z,oe=te(z,["slots","slotProps"]),[ne,ue]=tt("paper",{ref:k,className:F.paper,elementType:R0,externalForwardedProps:P,shouldForwardComponentProp:!0,additionalProps:{elevation:h,style:B?void 0:{opacity:0}},ownerState:D});return Z.jsx(X,$(w(w({},oe),!ew(X)&&{slots:J,slotProps:ee,disableScrollLock:_}),{children:Z.jsx(V,$(w({},K),{timeout:Y,children:Z.jsx(ne,$(w({},ue),{children:c}))}))}))});process.env.NODE_ENV!=="production"&&(Gc.propTypes={action:Go,anchorEl:lr(u.oneOfType([or,u.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=io(e.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
95
+ export default theme;`}function yl(e={},...t){const m=e,{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l}=m,c=te(m,["breakpoints","mixins","spacing","palette","transitions","typography","shape"]);if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":br(20));const d=Hc(i),p=Oa(e);let h=dt(p,{mixins:T2(p.breakpoints,n),palette:d,shadows:k2.slice(),typography:R2(d,s),transitions:P2(a),zIndex:w({},D2)});if(h=dt(h,c),h=t.reduce((v,g)=>dt(v,g),h),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(y,b)=>{let T;for(T in y){const E=y[T];if(v.includes(T)&&Object.keys(E).length>0){if(process.env.NODE_ENV!=="production"){const x=Oe("",T);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:E}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
96
+ `))}y[T]={}}}};Object.keys(h.components).forEach(y=>{const b=h.components[y].styleOverrides;b&&y.startsWith("Mui")&&g(b,y)})}return h.unstable_sxConfig=w(w({},Uo),c==null?void 0:c.unstable_sxConfig),h.unstable_sx=function(g){return xn({sx:g,theme:this})},h.toRuntimeSource=b0,h}function bl(e){let t;return e<1?t=5.11916*Bt(e,2):t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const N2=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=bl(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function w0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function x0(e){return e==="dark"?N2:[]}function L2(e){const a=e,{palette:t={mode:"light"},opacity:r,overlays:n}=a,o=te(a,["palette","opacity","overlays"]),i=Hc(t);return w({palette:i,opacity:w(w({},w0(i.mode)),r),overlays:n||x0(i.mode)},o)}function F2(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const j2=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],B2=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return j2(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:w(w({},r),a)}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function H2(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function U(e,t,r){!e[t]&&r&&(e[t]=r)}function no(e){return typeof e!="string"||!e.startsWith("hsl")?e:u0(e)}function Jt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ro(no(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
97
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function z2(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ht=e=>{try{return e()}catch(t){}},W2=(e="mui")=>u2(e);function Ps(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=L2($(w({},t),{palette:w({mode:o},t==null?void 0:t.palette)}));return}const s=yl($(w({},r),{palette:w({mode:o},t==null?void 0:t.palette)})),{palette:i}=s,a=te(s,["palette"]);return e[n]=$(w({},t),{palette:i,opacity:w(w({},w0(o)),t==null?void 0:t.opacity),overlays:(t==null?void 0:t.overlays)||x0(o)}),a}function V2(e={},...t){const P=e,{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=F2,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:l=":root"}=P,c=te(P,["colorSchemes","defaultColorScheme","disableCssColorScheme","cssVarPrefix","shouldSkipGeneratingVar","colorSchemeSelector","rootSelector"]),d=Object.keys(r)[0],p=n||(r.light&&d!=="light"?"light":d),h=W2(i),F=r,{[p]:m,light:v,dark:g}=F,y=te(F,[di(p),"light","dark"]),b=w({},y);let T=m;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(T=!0),!T)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:br(21,p));const E=Ps(b,T,c,p);v&&!b.light&&Ps(b,v,void 0,"light"),g&&!b.dark&&Ps(b,g,void 0,"dark");let x=$(w({defaultColorScheme:p},E),{cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:h,colorSchemes:b,font:w(w({},E2(E.typography)),E.font),spacing:z2(c.spacing)});Object.keys(x.colorSchemes).forEach(W=>{const R=x.colorSchemes[W].palette,A=B=>{const j=B.split("-"),N=j[1],I=j[2];return h(B,R[N][I])};if(R.mode==="light"&&(U(R.common,"background","#fff"),U(R.common,"onBackground","#000")),R.mode==="dark"&&(U(R.common,"background","#000"),U(R.common,"onBackground","#fff")),H2(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){U(R.Alert,"errorColor",Re(R.error.light,.6)),U(R.Alert,"infoColor",Re(R.info.light,.6)),U(R.Alert,"successColor",Re(R.success.light,.6)),U(R.Alert,"warningColor",Re(R.warning.light,.6)),U(R.Alert,"errorFilledBg",A("palette-error-main")),U(R.Alert,"infoFilledBg",A("palette-info-main")),U(R.Alert,"successFilledBg",A("palette-success-main")),U(R.Alert,"warningFilledBg",A("palette-warning-main")),U(R.Alert,"errorFilledColor",Ht(()=>R.getContrastText(R.error.main))),U(R.Alert,"infoFilledColor",Ht(()=>R.getContrastText(R.info.main))),U(R.Alert,"successFilledColor",Ht(()=>R.getContrastText(R.success.main))),U(R.Alert,"warningFilledColor",Ht(()=>R.getContrastText(R.warning.main))),U(R.Alert,"errorStandardBg",_e(R.error.light,.9)),U(R.Alert,"infoStandardBg",_e(R.info.light,.9)),U(R.Alert,"successStandardBg",_e(R.success.light,.9)),U(R.Alert,"warningStandardBg",_e(R.warning.light,.9)),U(R.Alert,"errorIconColor",A("palette-error-main")),U(R.Alert,"infoIconColor",A("palette-info-main")),U(R.Alert,"successIconColor",A("palette-success-main")),U(R.Alert,"warningIconColor",A("palette-warning-main")),U(R.AppBar,"defaultBg",A("palette-grey-100")),U(R.Avatar,"defaultBg",A("palette-grey-400")),U(R.Button,"inheritContainedBg",A("palette-grey-300")),U(R.Button,"inheritContainedHoverBg",A("palette-grey-A100")),U(R.Chip,"defaultBorder",A("palette-grey-400")),U(R.Chip,"defaultAvatarColor",A("palette-grey-700")),U(R.Chip,"defaultIconColor",A("palette-grey-700")),U(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),U(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),U(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),U(R.LinearProgress,"primaryBg",_e(R.primary.main,.62)),U(R.LinearProgress,"secondaryBg",_e(R.secondary.main,.62)),U(R.LinearProgress,"errorBg",_e(R.error.main,.62)),U(R.LinearProgress,"infoBg",_e(R.info.main,.62)),U(R.LinearProgress,"successBg",_e(R.success.main,.62)),U(R.LinearProgress,"warningBg",_e(R.warning.main,.62)),U(R.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.11)`),U(R.Slider,"primaryTrack",_e(R.primary.main,.62)),U(R.Slider,"secondaryTrack",_e(R.secondary.main,.62)),U(R.Slider,"errorTrack",_e(R.error.main,.62)),U(R.Slider,"infoTrack",_e(R.info.main,.62)),U(R.Slider,"successTrack",_e(R.success.main,.62)),U(R.Slider,"warningTrack",_e(R.warning.main,.62));const B=hi(R.background.default,.8);U(R.SnackbarContent,"bg",B),U(R.SnackbarContent,"color",Ht(()=>R.getContrastText(B))),U(R.SpeedDialAction,"fabHoverBg",hi(R.background.paper,.15)),U(R.StepConnector,"border",A("palette-grey-400")),U(R.StepContent,"border",A("palette-grey-400")),U(R.Switch,"defaultColor",A("palette-common-white")),U(R.Switch,"defaultDisabledColor",A("palette-grey-100")),U(R.Switch,"primaryDisabledColor",_e(R.primary.main,.62)),U(R.Switch,"secondaryDisabledColor",_e(R.secondary.main,.62)),U(R.Switch,"errorDisabledColor",_e(R.error.main,.62)),U(R.Switch,"infoDisabledColor",_e(R.info.main,.62)),U(R.Switch,"successDisabledColor",_e(R.success.main,.62)),U(R.Switch,"warningDisabledColor",_e(R.warning.main,.62)),U(R.TableCell,"border",_e(pi(R.divider,1),.88)),U(R.Tooltip,"bg",pi(R.grey[700],.92))}if(R.mode==="dark"){U(R.Alert,"errorColor",_e(R.error.light,.6)),U(R.Alert,"infoColor",_e(R.info.light,.6)),U(R.Alert,"successColor",_e(R.success.light,.6)),U(R.Alert,"warningColor",_e(R.warning.light,.6)),U(R.Alert,"errorFilledBg",A("palette-error-dark")),U(R.Alert,"infoFilledBg",A("palette-info-dark")),U(R.Alert,"successFilledBg",A("palette-success-dark")),U(R.Alert,"warningFilledBg",A("palette-warning-dark")),U(R.Alert,"errorFilledColor",Ht(()=>R.getContrastText(R.error.dark))),U(R.Alert,"infoFilledColor",Ht(()=>R.getContrastText(R.info.dark))),U(R.Alert,"successFilledColor",Ht(()=>R.getContrastText(R.success.dark))),U(R.Alert,"warningFilledColor",Ht(()=>R.getContrastText(R.warning.dark))),U(R.Alert,"errorStandardBg",Re(R.error.light,.9)),U(R.Alert,"infoStandardBg",Re(R.info.light,.9)),U(R.Alert,"successStandardBg",Re(R.success.light,.9)),U(R.Alert,"warningStandardBg",Re(R.warning.light,.9)),U(R.Alert,"errorIconColor",A("palette-error-main")),U(R.Alert,"infoIconColor",A("palette-info-main")),U(R.Alert,"successIconColor",A("palette-success-main")),U(R.Alert,"warningIconColor",A("palette-warning-main")),U(R.AppBar,"defaultBg",A("palette-grey-900")),U(R.AppBar,"darkBg",A("palette-background-paper")),U(R.AppBar,"darkColor",A("palette-text-primary")),U(R.Avatar,"defaultBg",A("palette-grey-600")),U(R.Button,"inheritContainedBg",A("palette-grey-800")),U(R.Button,"inheritContainedHoverBg",A("palette-grey-700")),U(R.Chip,"defaultBorder",A("palette-grey-700")),U(R.Chip,"defaultAvatarColor",A("palette-grey-300")),U(R.Chip,"defaultIconColor",A("palette-grey-300")),U(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),U(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),U(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),U(R.LinearProgress,"primaryBg",Re(R.primary.main,.5)),U(R.LinearProgress,"secondaryBg",Re(R.secondary.main,.5)),U(R.LinearProgress,"errorBg",Re(R.error.main,.5)),U(R.LinearProgress,"infoBg",Re(R.info.main,.5)),U(R.LinearProgress,"successBg",Re(R.success.main,.5)),U(R.LinearProgress,"warningBg",Re(R.warning.main,.5)),U(R.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.13)`),U(R.Slider,"primaryTrack",Re(R.primary.main,.5)),U(R.Slider,"secondaryTrack",Re(R.secondary.main,.5)),U(R.Slider,"errorTrack",Re(R.error.main,.5)),U(R.Slider,"infoTrack",Re(R.info.main,.5)),U(R.Slider,"successTrack",Re(R.success.main,.5)),U(R.Slider,"warningTrack",Re(R.warning.main,.5));const B=hi(R.background.default,.98);U(R.SnackbarContent,"bg",B),U(R.SnackbarContent,"color",Ht(()=>R.getContrastText(B))),U(R.SpeedDialAction,"fabHoverBg",hi(R.background.paper,.15)),U(R.StepConnector,"border",A("palette-grey-600")),U(R.StepContent,"border",A("palette-grey-600")),U(R.Switch,"defaultColor",A("palette-grey-300")),U(R.Switch,"defaultDisabledColor",A("palette-grey-600")),U(R.Switch,"primaryDisabledColor",Re(R.primary.main,.55)),U(R.Switch,"secondaryDisabledColor",Re(R.secondary.main,.55)),U(R.Switch,"errorDisabledColor",Re(R.error.main,.55)),U(R.Switch,"infoDisabledColor",Re(R.info.main,.55)),U(R.Switch,"successDisabledColor",Re(R.success.main,.55)),U(R.Switch,"warningDisabledColor",Re(R.warning.main,.55)),U(R.TableCell,"border",Re(pi(R.divider,1),.68)),U(R.Tooltip,"bg",pi(R.grey[700],.92))}Jt(R.background,"default"),Jt(R.background,"paper"),Jt(R.common,"background"),Jt(R.common,"onBackground"),Jt(R,"divider"),Object.keys(R).forEach(B=>{const j=R[B];B!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&U(R[B],"mainChannel",ro(no(j.main))),j.light&&U(R[B],"lightChannel",ro(no(j.light))),j.dark&&U(R[B],"darkChannel",ro(no(j.dark))),j.contrastText&&U(R[B],"contrastTextChannel",ro(no(j.contrastText))),B==="text"&&(Jt(R[B],"primary"),Jt(R[B],"secondary")),B==="action"&&(j.active&&Jt(R[B],"active"),j.selected&&Jt(R[B],"selected")))})}),x=t.reduce((W,R)=>dt(W,R),x);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:B2(x)},{vars:_,generateThemeVars:k,generateStyleSheets:O}=p2(x,C);return x.vars=_,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([W,R])=>{x[W]=R}),x.generateThemeVars=k,x.generateStyleSheets=O,x.generateSpacing=function(){return n0(c.spacing,Ea(this))},x.getColorSchemeSelector=h2(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=a,x.unstable_sxConfig=w(w({},Uo),c==null?void 0:c.unstable_sxConfig),x.unstable_sx=function(R){return xn({sx:R,theme:this})},x.toRuntimeSource=b0,x}function Bd(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]=$(w({},r!==!0&&r),{palette:Hc($(w({},r===!0?{}:r.palette),{mode:t}))}))}function U2(e={},...t){const d=e,{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode}=d,a=te(d,["palette","cssVariables","colorSchemes","defaultColorScheme"]),s=i||"light",l=o==null?void 0:o[s],c=w(w({},o),r?{[s]:$(w({},typeof l!="boolean"&&l),{palette:r})}:void 0);if(n===!1){if(!("colorSchemes"in e))return yl(e,...t);let p=r;"palette"in e||c[s]&&(c[s]!==!0?p=c[s].palette:s==="dark"&&(p={mode:"dark"}));const h=yl($(w({},e),{palette:p}),...t);return h.defaultColorScheme=s,h.colorSchemes=c,h.palette.mode==="light"&&(h.colorSchemes.light=$(w({},c.light!==!0&&c.light),{palette:h.palette}),Bd(h,"dark",c.dark)),h.palette.mode==="dark"&&(h.colorSchemes.dark=$(w({},c.dark!==!0&&c.dark),{palette:h.palette}),Bd(h,"light",c.light)),h}return!r&&!("light"in c)&&s==="light"&&(c.light=!0),V2(w($(w({},a),{colorSchemes:c,defaultColorScheme:s}),typeof n!="boolean"&&n),...t)}const C0=U2(),E0="$$material";function Yo(){const e=o0(C0);return process.env.NODE_ENV!=="production"&&L.useDebugValue(e),e[E0]||e}function G2(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qo=e=>G2(e)&&e!=="classes",de=l0({themeId:E0,defaultTheme:C0,rootShouldForwardProp:qo});function Y2(){return r0}function Fe(e){return l2(e)}const Ro=L.createContext({});process.env.NODE_ENV!=="production"&&(Ro.displayName="ListContext");function q2(e){return Oe("MuiList",e)}ke("MuiList",["root","padding","dense","subheader"]);const X2=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return Be({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},q2,t)},K2=de("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]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),zc=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiList"}),v=n,{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=v,d=te(v,["children","className","component","dense","disablePadding","subheader"]),p=L.useMemo(()=>({dense:s}),[s]),h=$(w({},n),{component:a,dense:s,disablePadding:l}),m=X2(h);return Z.jsx(Ro.Provider,{value:p,children:Z.jsxs(K2,$(w({as:a,className:he(m.root,i),ref:r,ownerState:h},d),{children:[c,o]}))})});process.env.NODE_ENV!=="production"&&(zc.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,dense:u.bool,disablePadding:u.bool,subheader:u.node,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});const Ye=c2;function Q2(e){return Oe("MuiSvgIcon",e)}ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Z2=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return Be(o,Q2,n)},J2=de("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${fe(r.color)}`],t[`fontSize${fe(r.fontSize)}`]]}})(Ye(({theme:e})=>{var t,r,n,o,i,a,s,l,c,d,p,h,m,v,g,y,b,T;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(t=e.transitions)==null?void 0:t.create)==null?void 0:i.call(t,"fill",{duration:(o=(n=((r=e.vars)!=null?r:e).transitions)==null?void 0:n.duration)==null?void 0:o.shorter}),variants:[{props:E=>!E.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:s.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((p=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:p.call(d,35))||"2.1875rem"}},...Object.entries(((h=e.vars)!=null?h:e).palette).filter(([,E])=>E&&E.main).map(([E])=>{var x,C,_;return{props:{color:E},style:{color:(_=(C=((x=e.vars)!=null?x:e).palette)==null?void 0:C[E])==null?void 0:_.main}}}),{props:{color:"action"},style:{color:(g=(v=((m=e.vars)!=null?m:e).palette)==null?void 0:v.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(T=(b=((y=e.vars)!=null?y:e).palette)==null?void 0:b.action)==null?void 0:T.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Yi=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiSvgIcon"}),T=n,{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:p,viewBox:h="0 0 24 24"}=T,m=te(T,["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"]),v=L.isValidElement(o)&&o.type==="svg",g=$(w({},n),{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:h,hasSvgAsChild:v}),y={};d||(y.viewBox=h);const b=Z2(g);return Z.jsxs(J2,$(w(w(w({as:s,className:he(b.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r},y),m),v&&o.props),{ownerState:g,children:[v?o.props.children:o,p?Z.jsx("title",{children:p}):null]}))});process.env.NODE_ENV!=="production"&&(Yi.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),u.string]),component:u.elementType,fontSize:u.oneOfType([u.oneOf(["inherit","large","medium","small"]),u.string]),htmlColor:u.string,inheritViewBox:u.bool,shapeRendering:u.string,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),titleAccess:u.string,viewBox:u.string});Yi.muiName="SvgIcon";function In(e,t){function r(n,o){return Z.jsx(Yi,$(w({"data-testid":`${t}Icon`,ref:o},n),{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Yi.muiName,L.memo(L.forwardRef(r))}function ew(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return o=>{const i=typeof t=="function"?t(o):t,a=typeof e=="function"?e(w(w({},o),i)):e,s=he(o==null?void 0:o.className,i==null?void 0:i.className,a==null?void 0:a.className);return w(w(w(w(w({},i),a),!!s&&{className:s}),(i==null?void 0:i.style)&&(a==null?void 0:a.style)&&{style:w(w({},i.style),a.style)}),(i==null?void 0:i.sx)&&(a==null?void 0:a.sx)&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]})};const r=t,n=he(r==null?void 0:r.className,e==null?void 0:e.className);return w(w(w(w(w({},t),e),!!n&&{className:n}),(r==null?void 0:r.style)&&(e==null?void 0:e.style)&&{style:w(w({},r.style),e.style)}),(r==null?void 0:r.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]})}function Ds(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function Hd(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function T0(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function Gn(e,t,r,n,o,i){let a=!1,s=o(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!T0(s,i)||l)s=o(e,s,r);else return s.focus(),!0}return!1}const Wc=L.forwardRef(function(t,r){const E=t,{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:d,variant:p="selectedMenu"}=E,h=te(E,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),m=L.useRef(null),v=L.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});wr(()=>{o&&m.current.focus()},[o]),L.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(x,{direction:C})=>{const _=!m.current.style.width;if(x.clientHeight<m.current.clientHeight&&_){const k=`${p0(zr(x))}px`;m.current.style[C==="rtl"?"paddingLeft":"paddingRight"]=k,m.current.style.width=`calc(100% + ${k})`}return m.current}}),[]);const g=x=>{const C=m.current,_=x.key;if(x.ctrlKey||x.metaKey||x.altKey){d&&d(x);return}const O=xt(C).activeElement;if(_==="ArrowDown")x.preventDefault(),Gn(C,O,c,l,Ds);else if(_==="ArrowUp")x.preventDefault(),Gn(C,O,c,l,Hd);else if(_==="Home")x.preventDefault(),Gn(C,null,c,l,Ds);else if(_==="End")x.preventDefault(),Gn(C,null,c,l,Hd);else if(_.length===1){const P=v.current,F=_.toLowerCase(),W=performance.now();P.keys.length>0&&(W-P.lastTime>500?(P.keys=[],P.repeating=!0,P.previousKeyMatched=!0):P.repeating&&F!==P.keys[0]&&(P.repeating=!1)),P.lastTime=W,P.keys.push(F);const R=O&&!P.repeating&&T0(O,P);P.previousKeyMatched&&(R||Gn(C,O,!1,l,Ds,P))?x.preventDefault():P.previousKeyMatched=!1}d&&d(x)},y=ft(m,r);let b=-1;L.Children.forEach(a,(x,C)=>{if(!L.isValidElement(x)){b===C&&(b+=1,b>=a.length&&(b=-1));return}process.env.NODE_ENV!=="production"&&Pc.isFragment(x)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
98
+ `)),x.props.disabled||(p==="selectedMenu"&&x.props.selected||b===-1)&&(b=C),b===C&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(b+=1,b>=a.length&&(b=-1))});const T=L.Children.map(a,(x,C)=>{if(C===b){const _={};return i&&(_.autoFocus=!0),x.props.tabIndex===void 0&&p==="selectedMenu"&&(_.tabIndex=0),L.cloneElement(x,_)}return x});return Z.jsx(zc,$(w({role:"menu",ref:y,className:s,onKeyDown:g,tabIndex:o?0:-1},h),{children:T}))});process.env.NODE_ENV!=="production"&&(Wc.propTypes={autoFocus:u.bool,autoFocusItem:u.bool,children:u.node,className:u.string,disabledItemsFocusable:u.bool,disableListWrap:u.bool,onKeyDown:u.func,variant:u.oneOf(["menu","selectedMenu"])});function tw(e){return typeof e=="string"}function S0(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function R0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cl(e,t)}const zd={disabled:!1};var rw=process.env.NODE_ENV!=="production"?u.oneOfType([u.number,u.shape({enter:u.number,exit:u.number,appear:u.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&u.oneOfType([u.string,u.shape({enter:u.string,exit:u.string,active:u.string}),u.shape({enter:u.string,enterDone:u.string,enterActive:u.string,exit:u.string,exitDone:u.string,exitActive:u.string})]);const qi=S.createContext(null);var oo="unmounted",kr="exited",Ar="entering",cn="entered",wl="exiting",jt=function(e){R0(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?s?(l=kr,i.appearStatus=Ar):l=cn:n.unmountOnExit||n.mountOnEnter?l=oo:l=kr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===oo?{status:kr}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ar&&a!==cn&&(i=Ar):(a===Ar||a===cn)&&(i=wl)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){o===void 0&&(o=!1),i!==null?(this.cancelNextCallback(),i===Ar?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this)),this.performEnter(o)):this.performExit()):this.props.unmountOnExit&&this.state.status===kr&&this.setState({status:oo})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[bt.findDOMNode(this),s],c=l[0],d=l[1],p=this.getTimeouts(),h=s?p.appear:p.enter;if(!o&&!a||zd.disabled){this.safeSetState({status:cn},function(){i.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Ar},function(){i.props.onEntering(c,d),i.onTransitionEnd(h,function(){i.safeSetState({status:cn},function(){i.props.onEntered(c,d)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:bt.findDOMNode(this);if(!i||zd.disabled){this.safeSetState({status:kr},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:wl},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:kr},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===oo)return null;var i=this.props,a=i.children,s=S0(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(qi.Provider,{value:null},typeof a=="function"?a(o,s):S.cloneElement(S.Children.only(a),s))},t}(S.Component);jt.contextType=qi;jt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:u.shape({current:typeof Element=="undefined"?u.any:function(e,t,r,n,o,i){var a=e[t];return u.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:u.oneOfType([u.func.isRequired,u.element.isRequired]).isRequired,in:u.bool,mountOnEnter:u.bool,unmountOnExit:u.bool,appear:u.bool,enter:u.bool,exit:u.bool,timeout:function(t){var r=rw;t.addEndListener||(r=r.isRequired);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.apply(void 0,[t].concat(o))},addEndListener:u.func,onEnter:u.func,onEntering:u.func,onEntered:u.func,onExit:u.func,onExiting:u.func,onExited:u.func}:{};function nn(){}jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:nn,onEntering:nn,onEntered:nn,onExit:nn,onExiting:nn,onExited:nn};jt.UNMOUNTED=oo;jt.EXITED=kr;jt.ENTERING=Ar;jt.ENTERED=cn;jt.EXITING=wl;function Vc(e,t){var r=function(i){return t&&S.isValidElement(i)?t(i):i},n=Object.create(null);return e&&S.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function nw(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function $r(e,t,r){return r[t]!=null?r[t]:e.props[t]}function ow(e,t){return Vc(e.children,function(r){return S.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:$r(r,"appear",e),enter:$r(r,"enter",e),exit:$r(r,"exit",e)})})}function iw(e,t,r){var n=Vc(e.children),o=nw(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(S.isValidElement(a)){var s=i in t,l=i in n,c=t[i],d=S.isValidElement(c)&&!c.props.in;l&&(!s||d)?o[i]=S.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:$r(a,"exit",e),enter:$r(a,"enter",e)}):!l&&s&&!d?o[i]=S.cloneElement(a,{in:!1}):l&&s&&S.isValidElement(c)&&(o[i]=S.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:$r(a,"exit",e),enter:$r(a,"enter",e)}))}}),o}var aw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},sw={component:"div",childFactory:function(t){return t}},Uc=function(e){R0(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(ey(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}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(o,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?ow(o,s):iw(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Vc(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=f._extends({},s.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=S0(o,["component","childFactory"]),l=this.state.contextValue,c=aw(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?S.createElement(qi.Provider,{value:l},c):S.createElement(qi.Provider,{value:l},S.createElement(i,s,c))},t}(S.Component);Uc.propTypes=process.env.NODE_ENV!=="production"?{component:u.any,children:u.node,appear:u.bool,enter:u.bool,exit:u.bool,childFactory:u.func}:{};Uc.defaultProps=sw;function _o(e,t){var i,a;const{timeout:r,easing:n,style:o={}}=e;return{duration:(i=o.transitionDuration)!=null?i:typeof r=="number"?r:r[t.mode]||0,easing:(a=o.transitionTimingFunction)!=null?a:typeof n=="object"?n[t.mode]:n,delay:o.transitionDelay}}function xl(e){return`scale(${e}, ${Bt(e,2)})`}const lw={entering:{opacity:1,transform:xl(1)},entered:{opacity:1,transform:"none"}},$s=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Mo=L.forwardRef(function(t,r){const j=t,{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:d,onExit:p,onExited:h,onExiting:m,style:v,timeout:g="auto",TransitionComponent:y=jt}=j,b=te(j,["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=Dr(),E=L.useRef(),x=Yo(),C=L.useRef(null),_=ft(C,An(i),r),k=N=>I=>{if(N){const H=C.current;I===void 0?N(H):N(H,I)}},O=k(d),P=k((N,I)=>{const{duration:H,delay:Y,easing:D}=_o({style:v,timeout:g,easing:a},{mode:"enter"});let V;g==="auto"?(V=x.transitions.getAutoHeightDuration(N.clientHeight),E.current=V):V=H,N.style.transition=[x.transitions.create("opacity",{duration:V,delay:Y}),x.transitions.create("transform",{duration:$s?V:V*.666,delay:Y,easing:D})].join(","),l&&l(N,I)}),F=k(c),W=k(m),R=k(N=>{const{duration:I,delay:H,easing:Y}=_o({style:v,timeout:g,easing:a},{mode:"exit"});let D;g==="auto"?(D=x.transitions.getAutoHeightDuration(N.clientHeight),E.current=D):D=I,N.style.transition=[x.transitions.create("opacity",{duration:D,delay:H}),x.transitions.create("transform",{duration:$s?D:D*.666,delay:$s?H:H||D*.333,easing:Y})].join(","),N.style.opacity=0,N.style.transform=xl(.75),p&&p(N)}),A=k(h),B=N=>{g==="auto"&&T.start(E.current||0,N),n&&n(C.current,N)};return Z.jsx(y,$(w({appear:o,in:s,nodeRef:C,onEnter:P,onEntered:F,onEntering:O,onExit:R,onExited:A,onExiting:W,addEndListener:B,timeout:g==="auto"?null:g},b),{children:(N,Y)=>{var D=Y,{ownerState:I}=D,H=te(D,["ownerState"]);return L.cloneElement(i,w({style:w(w(w({opacity:0,transform:xl(.75),visibility:N==="exited"&&!s?"hidden":void 0},lw[N]),v),i.props.style),ref:_},H))}}))});process.env.NODE_ENV!=="production"&&(Mo.propTypes={addEndListener:u.func,appear:u.bool,children:Gr.isRequired,easing:u.oneOfType([u.shape({enter:u.string,exit:u.string}),u.string]),in:u.bool,onEnter:u.func,onEntered:u.func,onEntering:u.func,onExit:u.func,onExited:u.func,onExiting:u.func,style:u.object,timeout:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});Mo&&(Mo.muiSupportAuto=!0);function cw(e){const t=xt(e);return t.body===e?zr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function go(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Wd(e){return parseInt(zr(e).getComputedStyle(e).paddingRight,10)||0}function uw(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Vd(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const s=!i.includes(a),l=!uw(a);s&&l&&go(a,o)})}function Ns(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function dw(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(cw(n)){const a=p0(zr(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Wd(n)+a}px`;const s=xt(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Wd(l)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=xt(n).body;else{const a=n.parentElement,s=zr(n);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function fw(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class pw{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&go(t.modalRef,!1);const o=fw(r);Vd(r,t.mount,t.modalRef,o,!0);const i=Ns(this.containers,a=>a.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=Ns(this.containers,i=>i.modals.includes(t)),o=this.containers[n];o.restore||(o.restore=dw(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=Ns(this.containers,a=>a.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&go(t.modalRef,r),Vd(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&go(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const hw=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gw(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function mw(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function vw(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||mw(e))}function yw(e){const t=[],r=[];return Array.from(e.querySelectorAll(hw)).forEach((n,o)=>{const i=gw(n);i===-1||!vw(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function bw(){return!0}function Xi(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=yw,isEnabled:a=bw,open:s}=e,l=L.useRef(!1),c=L.useRef(null),d=L.useRef(null),p=L.useRef(null),h=L.useRef(null),m=L.useRef(!1),v=L.useRef(null),g=ft(An(t),v),y=L.useRef(null);L.useEffect(()=>{!s||!v.current||(m.current=!r)},[r,s]),L.useEffect(()=>{if(!s||!v.current)return;const E=xt(v.current);return v.current.contains(E.activeElement)||(v.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
99
+ `)),v.current.setAttribute("tabIndex","-1")),m.current&&v.current.focus()),()=>{o||(p.current&&p.current.focus&&(l.current=!0,p.current.focus()),p.current=null)}},[s]),L.useEffect(()=>{if(!s||!v.current)return;const E=xt(v.current),x=k=>{y.current=k,!(n||!a()||k.key!=="Tab")&&E.activeElement===v.current&&k.shiftKey&&(l.current=!0,d.current&&d.current.focus())},C=()=>{var P,F;const k=v.current;if(k===null)return;if(!E.hasFocus()||!a()||l.current){l.current=!1;return}if(k.contains(E.activeElement)||n&&E.activeElement!==c.current&&E.activeElement!==d.current)return;if(E.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!m.current)return;let O=[];if((E.activeElement===c.current||E.activeElement===d.current)&&(O=i(v.current)),O.length>0){const W=!!((P=y.current)!=null&&P.shiftKey&&((F=y.current)==null?void 0:F.key)==="Tab"),R=O[0],A=O[O.length-1];typeof R!="string"&&typeof A!="string"&&(W?A.focus():R.focus())}else k.focus()};E.addEventListener("focusin",C),E.addEventListener("keydown",x,!0);const _=setInterval(()=>{E.activeElement&&E.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(_),E.removeEventListener("focusin",C),E.removeEventListener("keydown",x,!0)}},[r,n,o,a,s,i]);const b=E=>{p.current===null&&(p.current=E.relatedTarget),m.current=!0,h.current=E.target;const x=t.props.onFocus;x&&x(E)},T=E=>{p.current===null&&(p.current=E.relatedTarget),m.current=!0};return Z.jsxs(L.Fragment,{children:[Z.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:c,"data-testid":"sentinelStart"}),L.cloneElement(t,{ref:g,onFocus:b}),Z.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:d,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Xi.propTypes={children:Gr,disableAutoFocus:u.bool,disableEnforceFocus:u.bool,disableRestoreFocus:u.bool,getTabbable:u.func,isEnabled:u.func,open:u.bool.isRequired});process.env.NODE_ENV!=="production"&&(Xi.propTypes=jc(Xi.propTypes));function ww(e){return typeof e=="function"?e():e}const Oo=L.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=L.useState(null),l=ft(L.isValidElement(n)?An(n):null,r);if(wr(()=>{i||s(ww(o)||document.body)},[o,i]),wr(()=>{if(a&&!i)return Od(r,a),()=>{Od(r,null)}},[r,a,i]),i){if(L.isValidElement(n)){const c={ref:l};return L.cloneElement(n,c)}return n}return a&&I1.createPortal(n,a)});process.env.NODE_ENV!=="production"&&(Oo.propTypes={children:u.node,container:u.oneOfType([or,u.func]),disablePortal:u.bool});process.env.NODE_ENV!=="production"&&(Oo.propTypes=jc(Oo.propTypes));function tt(e,t){const C=t,{className:r,elementType:n,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1}=C,l=te(C,["className","elementType","ownerState","externalForwardedProps","internalForwardedProps","shouldForwardComponentProp"]),_=i,{component:c,slots:d={[e]:void 0},slotProps:p={[e]:void 0}}=_,h=te(_,["component","slots","slotProps"]),m=d[e]||n,v=Qh(p[e],o),k=Kh($(w({className:r},l),{externalForwardedProps:e==="root"?h:void 0,externalSlotProps:v})),{props:O}=k,P=O,{component:g}=P,y=te(P,["component"]),{internalRef:b}=k,T=ft(b,v==null?void 0:v.ref,t.ref),E=e==="root"?g||c:g,x=qh(m,$(w(w(w(w(w({},e==="root"&&!c&&!d[e]&&a),e!=="root"&&!d[e]&&a),y),E&&!s&&{as:E}),E&&s&&{component:E}),{ref:T}),o);return[m,x]}const xw={entering:{opacity:1},entered:{opacity:1}},Gc=L.forwardRef(function(t,r){const n=Yo(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},B=t,{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:p,onEntering:h,onExit:m,onExited:v,onExiting:g,style:y,timeout:b=o,TransitionComponent:T=jt}=B,E=te(B,["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),x=L.useRef(null),C=ft(x,An(s),r),_=j=>N=>{if(j){const I=x.current;N===void 0?j(I):j(I,N)}},k=_(h),O=_((j,N)=>{const I=_o({style:y,timeout:b,easing:l},{mode:"enter"});j.style.webkitTransition=n.transitions.create("opacity",I),j.style.transition=n.transitions.create("opacity",I),d&&d(j,N)}),P=_(p),F=_(g),W=_(j=>{const N=_o({style:y,timeout:b,easing:l},{mode:"exit"});j.style.webkitTransition=n.transitions.create("opacity",N),j.style.transition=n.transitions.create("opacity",N),m&&m(j)}),R=_(v),A=j=>{i&&i(x.current,j)};return Z.jsx(T,$(w({appear:a,in:c,nodeRef:x,onEnter:O,onEntered:P,onEntering:k,onExit:W,onExited:R,onExiting:F,addEndListener:A,timeout:b},E),{children:(j,H)=>{var Y=H,{ownerState:N}=Y,I=te(Y,["ownerState"]);return L.cloneElement(s,w({style:w(w(w({opacity:0,visibility:j==="exited"&&!c?"hidden":void 0},xw[j]),y),s.props.style),ref:C},I))}}))});process.env.NODE_ENV!=="production"&&(Gc.propTypes={addEndListener:u.func,appear:u.bool,children:Gr.isRequired,easing:u.oneOfType([u.shape({enter:u.string,exit:u.string}),u.string]),in:u.bool,onEnter:u.func,onEntered:u.func,onEntering:u.func,onExit:u.func,onExited:u.func,onExiting:u.func,style:u.object,timeout:u.oneOfType([u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});function Cw(e){return Oe("MuiBackdrop",e)}ke("MuiBackdrop",["root","invisible"]);const Ew=e=>{const{classes:t,invisible:r}=e;return Be({root:["root",r&&"invisible"]},Cw,t)},Tw=de("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Yc=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiBackdrop"}),P=n,{children:o,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:d={},slotProps:p={},slots:h={},TransitionComponent:m,transitionDuration:v}=P,g=te(P,["children","className","component","invisible","open","components","componentsProps","slotProps","slots","TransitionComponent","transitionDuration"]),y=$(w({},n),{component:a,invisible:s}),b=Ew(y),T=w({transition:m,root:c.Root},h),E=w(w({},d),p),x={slots:T,slotProps:E},[C,_]=tt("root",{elementType:Tw,externalForwardedProps:x,className:he(b.root,i),ownerState:y}),[k,O]=tt("transition",{elementType:Gc,externalForwardedProps:x,ownerState:y});return Z.jsx(k,$(w(w({in:l,timeout:v},g),O),{children:Z.jsx(C,$(w({"aria-hidden":!0},_),{classes:b,ref:r,children:o}))}))});process.env.NODE_ENV!=="production"&&(Yc.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,components:u.shape({Root:u.elementType}),componentsProps:u.shape({root:u.object}),invisible:u.bool,open:u.bool.isRequired,slotProps:u.shape({root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),TransitionComponent:u.elementType,transitionDuration:u.oneOfType([u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});function Sw(e){return typeof e=="function"?e():e}function Rw(e){return e?e.props.hasOwnProperty("in"):!1}const Ud=()=>{},gi=new pw;function _w(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:d}=e,p=L.useRef({}),h=L.useRef(null),m=L.useRef(null),v=ft(m,d),[g,y]=L.useState(!c),b=Rw(s);let T=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(T=!1);const E=()=>xt(h.current),x=()=>(p.current.modalRef=m.current,p.current.mount=h.current,p.current),C=()=>{gi.mount(x(),{disableScrollLock:n}),m.current&&(m.current.scrollTop=0)},_=rr(()=>{const j=Sw(t)||E().body;gi.add(x(),j),m.current&&C()}),k=()=>gi.isTopModal(x()),O=rr(j=>{h.current=j,j&&(c&&k()?C():m.current&&go(m.current,T))}),P=L.useCallback(()=>{gi.remove(x(),T)},[T]);L.useEffect(()=>()=>{P()},[P]),L.useEffect(()=>{c?_():(!b||!o)&&P()},[c,P,b,o,_]);const F=j=>N=>{var I;(I=j.onKeyDown)==null||I.call(j,N),!(N.key!=="Escape"||N.which===229||!k())&&(r||(N.stopPropagation(),l&&l(N,"escapeKeyDown")))},W=j=>N=>{var I;(I=j.onClick)==null||I.call(j,N),N.target===N.currentTarget&&l&&l(N,"backdropClick")};return{getRootProps:(j={})=>{const N=Xh(e);delete N.onTransitionEnter,delete N.onTransitionExited;const I=w(w({},N),j);return $(w({role:"presentation"},I),{onKeyDown:F(I),ref:v})},getBackdropProps:(j={})=>{const N=j;return $(w({"aria-hidden":!0},N),{onClick:W(N),open:c})},getTransitionProps:()=>{var I,H;const j=()=>{y(!1),i&&i()},N=()=>{y(!0),a&&a(),o&&P()};return{onEnter:ml(j,(I=s==null?void 0:s.props.onEnter)!=null?I:Ud),onExited:ml(N,(H=s==null?void 0:s.props.onExited)!=null?H:Ud)}},rootRef:v,portalRef:O,isTopModal:k,exited:g,hasTransition:b}}function Mw(e){return Oe("MuiModal",e)}ke("MuiModal",["root","hidden","backdrop"]);const Ow=e=>{const{open:t,exited:r,classes:n}=e;return Be({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Mw,n)},kw=de("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(Ye(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Aw=de(Yc,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),qc=L.forwardRef(function(t,r){const n=Fe({name:"MuiModal",props:t}),ve=n,{BackdropComponent:o=Aw,BackdropProps:i,classes:a,className:s,closeAfterTransition:l=!1,children:c,container:d,component:p,components:h={},componentsProps:m={},disableAutoFocus:v=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:y=!1,disablePortal:b=!1,disableRestoreFocus:T=!1,disableScrollLock:E=!1,hideBackdrop:x=!1,keepMounted:C=!1,onBackdropClick:_,onClose:k,onTransitionEnter:O,onTransitionExited:P,open:F,slotProps:W={},slots:R={},theme:A}=ve,B=te(ve,["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"]),j=$(w({},n),{closeAfterTransition:l,disableAutoFocus:v,disableEnforceFocus:g,disableEscapeKeyDown:y,disablePortal:b,disableRestoreFocus:T,disableScrollLock:E,hideBackdrop:x,keepMounted:C}),{getRootProps:N,getBackdropProps:I,getTransitionProps:H,portalRef:Y,isTopModal:D,exited:V,hasTransition:K}=_w($(w({},j),{rootRef:r})),q=$(w({},j),{exited:V}),X=Ow(q),J={};if(c.props.tabIndex===void 0&&(J.tabIndex="-1"),K){const{onEnter:z,onExited:re}=H();J.onEnter=z,J.onExited=re}const ee={slots:w({root:h.Root,backdrop:h.Backdrop},R),slotProps:w(w({},m),W)},[oe,ne]=tt("root",{ref:r,elementType:kw,externalForwardedProps:$(w(w({},ee),B),{component:p}),getSlotProps:N,ownerState:q,className:he(s,X==null?void 0:X.root,!q.open&&q.exited&&(X==null?void 0:X.hidden))}),[ue,ie]=tt("backdrop",{ref:i==null?void 0:i.ref,elementType:o,externalForwardedProps:ee,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:z=>I($(w({},z),{onClick:re=>{_&&_(re),z!=null&&z.onClick&&z.onClick(re)}})),className:he(i==null?void 0:i.className,X==null?void 0:X.backdrop),ownerState:q});return!C&&!F&&(!K||V)?null:Z.jsx(Oo,{ref:Y,container:d,disablePortal:b,children:Z.jsxs(oe,$(w({},ne),{children:[!x&&o?Z.jsx(ue,w({},ie)):null,Z.jsx(Xi,{disableEnforceFocus:g,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:D,open:F,children:L.cloneElement(c,J)})]}))})});process.env.NODE_ENV!=="production"&&(qc.propTypes={BackdropComponent:u.elementType,BackdropProps:u.object,children:Gr.isRequired,classes:u.object,className:u.string,closeAfterTransition:u.bool,component:u.elementType,components:u.shape({Backdrop:u.elementType,Root:u.elementType}),componentsProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object])}),container:u.oneOfType([or,u.func]),disableAutoFocus:u.bool,disableEnforceFocus:u.bool,disableEscapeKeyDown:u.bool,disablePortal:u.bool,disableRestoreFocus:u.bool,disableScrollLock:u.bool,hideBackdrop:u.bool,keepMounted:u.bool,onBackdropClick:u.func,onClose:u.func,onTransitionEnter:u.func,onTransitionExited:u.func,open:u.bool.isRequired,slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,root:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function Iw(e){return Oe("MuiPaper",e)}ke("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 Pw=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return Be(i,Iw,o)},Dw=de("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(Ye(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),$a=L.forwardRef(function(t,r){var v;const n=Fe({props:t,name:"MuiPaper"}),o=Yo(),m=n,{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation"}=m,d=te(m,["className","component","elevation","square","variant"]),p=$(w({},n),{component:a,elevation:s,square:l,variant:c}),h=Pw(p);return process.env.NODE_ENV!=="production"&&o.shadows[s]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
100
+ `)),Z.jsx(Dw,$(w({as:a,ownerState:p,className:he(h.root,i),ref:r},d),{style:w(w({},c==="elevation"&&w(w({"--Paper-shadow":(o.vars||o).shadows[s]},o.vars&&{"--Paper-overlay":(v=o.vars.overlays)==null?void 0:v[s]}),!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ne("#fff",bl(s))}, ${Ne("#fff",bl(s))})`})),d.style)}))});process.env.NODE_ENV!=="production"&&($a.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,elevation:lr(Ut,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:u.bool,style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["elevation","outlined"]),u.string])});function $w(e){return Oe("MuiPopover",e)}ke("MuiPopover",["root","paper"]);function Gd(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Yd(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function qd(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function io(e){return typeof e=="function"?e():e}const Nw=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"]},$w,t)},Lw=de(qc,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_0=de($a,{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}),Xc=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiPopover"}),ie=n,{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:d,container:p,elevation:h=8,marginThreshold:m=16,open:v,PaperProps:g={},slots:y={},slotProps:b={},transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:E,transitionDuration:x="auto",TransitionProps:C={},disableScrollLock:_=!1}=ie,k=te(ie,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"]),O=L.useRef(),P=$(w({},n),{anchorOrigin:a,anchorReference:l,elevation:h,marginThreshold:m,transformOrigin:T,TransitionComponent:E,transitionDuration:x,TransitionProps:C}),F=Nw(P),W=L.useCallback(()=>{if(l==="anchorPosition")return process.env.NODE_ENV!=="production"&&(s||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),s;const re=io(i),ce=re&&re.nodeType===1?re:xt(O.current).body,ge=ce.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const Xe=ce.getBoundingClientRect();process.env.NODE_ENV!=="test"&&Xe.top===0&&Xe.left===0&&Xe.right===0&&Xe.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
101
+ `))}return{top:ge.top+Gd(ge,a.vertical),left:ge.left+Yd(ge,a.horizontal)}},[i,a.horizontal,a.vertical,s,l]),R=L.useCallback(re=>({vertical:Gd(re,T.vertical),horizontal:Yd(re,T.horizontal)}),[T.horizontal,T.vertical]),A=L.useCallback(re=>{const ce={width:re.offsetWidth,height:re.offsetHeight},ge=R(ce);if(l==="none")return{top:null,left:null,transformOrigin:qd(ge)};const Xe=W();let Ue=Xe.top-ge.vertical,He=Xe.left-ge.horizontal;const St=Ue+ce.height,Qe=He+ce.width,st=zr(io(i)),Je=st.innerHeight-m,se=st.innerWidth-m;if(m!==null&&Ue<m){const ot=Ue-m;Ue-=ot,ge.vertical+=ot}else if(m!==null&&St>Je){const ot=St-Je;Ue-=ot,ge.vertical+=ot}if(process.env.NODE_ENV!=="production"&&ce.height>Je&&ce.height&&Je&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${ce.height-Je}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
102
+ `)),m!==null&&He<m){const ot=He-m;He-=ot,ge.horizontal+=ot}else if(Qe>se){const ot=Qe-se;He-=ot,ge.horizontal+=ot}return{top:`${Math.round(Ue)}px`,left:`${Math.round(He)}px`,transformOrigin:qd(ge)}},[i,l,W,R,m]),[B,j]=L.useState(v),N=L.useCallback(()=>{const re=O.current;if(!re)return;const ce=A(re);ce.top!==null&&re.style.setProperty("top",ce.top),ce.left!==null&&(re.style.left=ce.left),re.style.transformOrigin=ce.transformOrigin,j(!0)},[A]);L.useEffect(()=>(_&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[i,_,N]);const I=()=>{N()},H=()=>{j(!1)};L.useEffect(()=>{v&&N()}),L.useImperativeHandle(o,()=>v?{updatePosition:()=>{N()}}:null,[v,N]),L.useEffect(()=>{if(!v)return;const re=e2(()=>{N()}),ce=zr(io(i));return ce.addEventListener("resize",re),()=>{re.clear(),ce.removeEventListener("resize",re)}},[i,v,N]);let Y=x;const D={slots:w({transition:E},y),slotProps:w({transition:C,paper:g},b)},[V,K]=tt("transition",{elementType:Mo,externalForwardedProps:D,ownerState:P,getSlotProps:re=>$(w({},re),{onEntering:(ce,ge)=>{var Xe;(Xe=re.onEntering)==null||Xe.call(re,ce,ge),I()},onExited:ce=>{var ge;(ge=re.onExited)==null||ge.call(re,ce),H()}}),additionalProps:{appear:!0,in:v}});x==="auto"&&!V.muiSupportAuto&&(Y=void 0);const q=p||(i?xt(io(i)).body:void 0),[X,ve]=tt("root",{ref:r,elementType:Lw,externalForwardedProps:w(w({},D),k),shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:ew(typeof b.backdrop=="function"?b.backdrop(P):b.backdrop,{invisible:!0})},container:q,open:v},ownerState:P,className:he(F.root,d)}),z=ve,{slots:J,slotProps:ee}=z,oe=te(z,["slots","slotProps"]),[ne,ue]=tt("paper",{ref:O,className:F.paper,elementType:_0,externalForwardedProps:D,shouldForwardComponentProp:!0,additionalProps:{elevation:h,style:B?void 0:{opacity:0}},ownerState:P});return Z.jsx(X,$(w(w({},oe),!tw(X)&&{slots:J,slotProps:ee,disableScrollLock:_}),{children:Z.jsx(V,$(w({},K),{timeout:Y,children:Z.jsx(ne,$(w({},ue),{children:c}))}))}))});process.env.NODE_ENV!=="production"&&(Xc.propTypes={action:Go,anchorEl:lr(u.oneOfType([or,u.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=io(e.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
103
103
  `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
104
- `))}return null}),anchorOrigin:u.shape({horizontal:u.oneOfType([u.oneOf(["center","left","right"]),u.number]).isRequired,vertical:u.oneOfType([u.oneOf(["bottom","center","top"]),u.number]).isRequired}),anchorPosition:u.shape({left:u.number.isRequired,top:u.number.isRequired}),anchorReference:u.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:u.elementType,BackdropProps:u.object,children:u.node,classes:u.object,className:u.string,container:u.oneOfType([or,u.func]),disableScrollLock:u.bool,elevation:Ut,marginThreshold:u.number,onClose:u.func,open:u.bool.isRequired,PaperProps:u.shape({component:$c}),slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),paper:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,paper:u.elementType,root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transformOrigin:u.shape({horizontal:u.oneOfType([u.oneOf(["center","left","right"]),u.number]).isRequired,vertical:u.oneOfType([u.oneOf(["bottom","center","top"]),u.number]).isRequired}),TransitionComponent:u.elementType,transitionDuration:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})]),TransitionProps:u.object});function Lw(e){return Oe("MuiMenu",e)}ke("MuiMenu",["root","paper","list"]);const Fw={vertical:"top",horizontal:"right"},jw={vertical:"top",horizontal:"left"},Bw=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"],list:["list"]},Lw,t)},Hw=de(Gc,{shouldForwardProp:e=>qo(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zw=de(R0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ww=de(Bc,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),$a=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiMenu"}),Y=n,{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:d,PaperProps:p={},PopoverClasses:h,transitionDuration:m="auto",TransitionProps:P={}}=Y,V=P,{onEntering:v}=V,g=te(V,["onEntering"]),K=Y,{variant:y="selectedMenu",slots:b={},slotProps:T={}}=K,E=te(K,["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"]),x=va(),C=$(w({},n),{autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:v,PaperProps:p,transitionDuration:m,TransitionProps:g,variant:y}),_=Bw(C),O=o&&!s&&d,k=L.useRef(null),D=(q,X)=>{k.current&&k.current.adjustStyleForScrollbar(q,{direction:x?"rtl":"ltr"}),v&&v(q,X)},F=q=>{q.key==="Tab"&&(q.preventDefault(),c&&c(q,"tabKeyDown"))};let W=-1;L.Children.map(i,(q,X)=>{L.isValidElement(q)&&(process.env.NODE_ENV!=="production"&&kc.isFragment(q)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
105
- `)),q.props.disabled||(y==="selectedMenu"&&q.props.selected||W===-1)&&(W=X))});const R={slots:b,slotProps:w({list:l,transition:g,paper:p},T)},A=Ic({elementType:b.root,externalSlotProps:T.root,ownerState:C,className:[_.root,a]}),[B,j]=tt("paper",{className:_.paper,elementType:zw,externalForwardedProps:R,shouldForwardComponentProp:!0,ownerState:C}),[N,I]=tt("list",{className:he(_.list,l.className),elementType:Ww,shouldForwardComponentProp:!0,externalForwardedProps:R,getSlotProps:q=>$(w({},q),{onKeyDown:X=>{var J;F(X),(J=q.onKeyDown)==null||J.call(q,X)}}),ownerState:C}),H=typeof R.slotProps.transition=="function"?R.slotProps.transition(C):R.slotProps.transition;return Z.jsx(Hw,$(w({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?Fw:jw,slots:w({root:b.root,paper:B,backdrop:b.backdrop},b.transition&&{transition:b.transition}),slotProps:{root:A,paper:j,backdrop:typeof T.backdrop=="function"?T.backdrop(C):T.backdrop,transition:$(w({},H),{onEntering:(...q)=>{var X;D(...q),(X=H==null?void 0:H.onEntering)==null||X.call(H,...q)}})},open:d,ref:r,transitionDuration:m,ownerState:C},E),{classes:h,children:Z.jsx(N,$(w({actions:k,autoFocus:o&&(W===-1||s),autoFocusItem:O,variant:y},I),{children:i}))}))});process.env.NODE_ENV!=="production"&&($a.propTypes={anchorEl:u.oneOfType([or,u.func]),autoFocus:u.bool,children:u.node,classes:u.object,className:u.string,disableAutoFocusItem:u.bool,MenuListProps:u.object,onClose:u.func,open:u.bool.isRequired,PaperProps:u.object,PopoverClasses:u.object,slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),list:u.oneOfType([u.func,u.object]),paper:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,list:u.elementType,paper:u.elementType,root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transitionDuration:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})]),TransitionProps:u.object,variant:u.oneOf(["menu","selectedMenu"])});const Vw=({children:e,open:t,position:r,onClose:n,alignment:o})=>{const{themeSettings:i}=f.useThemeContext();return f.jsx($a,{MenuListProps:{dense:!0,sx:{paddingTop:0,paddingBottom:0,fontFamily:i.typography.fontFamily}},anchorReference:"anchorPosition",anchorPosition:r!=null?r:{left:0,top:0},disableEnforceFocus:!0,disableRestoreFocus:!0,open:t,onClose:n,slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:i.typography.fontFamily,transform:t?`translate3d(${(o==null?void 0:o.horizontal)==="right"?"-100%":"0%"}, ${(o==null?void 0:o.vertical)==="bottom"?"-100%":"0%"}, 0) !important`:"none"}}},children:e})};class Xi{constructor(){Vn(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Xi}static use(){const t=d0(Xi.create).current,[r,n]=L.useState(!1);return t.shouldMount=r,t.setShouldMount=n,L.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=Gw(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function Uw(){return Xi.use()}function Gw(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function _0(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[d,p]=L.useState(!1),h=he(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=he(r.child,d&&r.childLeaving,n&&r.childPulsate);return!s&&!d&&p(!0),L.useEffect(()=>{if(!s&&l!=null){const g=setTimeout(l,c);return()=>{clearTimeout(g)}}},[l,s,c]),Z.jsx("span",{className:h,style:m,children:Z.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(_0.propTypes={classes:u.object.isRequired,className:u.string,in:u.bool,onExited:u.func,pulsate:u.bool,rippleSize:u.number,rippleX:u.number,rippleY:u.number,timeout:u.number.isRequired});const Ot=ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),wl=550,Yw=80,qw=f.keyframes`
104
+ `))}return null}),anchorOrigin:u.shape({horizontal:u.oneOfType([u.oneOf(["center","left","right"]),u.number]).isRequired,vertical:u.oneOfType([u.oneOf(["bottom","center","top"]),u.number]).isRequired}),anchorPosition:u.shape({left:u.number.isRequired,top:u.number.isRequired}),anchorReference:u.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:u.elementType,BackdropProps:u.object,children:u.node,classes:u.object,className:u.string,container:u.oneOfType([or,u.func]),disableScrollLock:u.bool,elevation:Ut,marginThreshold:u.number,onClose:u.func,open:u.bool.isRequired,PaperProps:u.shape({component:Fc}),slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),paper:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,paper:u.elementType,root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transformOrigin:u.shape({horizontal:u.oneOfType([u.oneOf(["center","left","right"]),u.number]).isRequired,vertical:u.oneOfType([u.oneOf(["bottom","center","top"]),u.number]).isRequired}),TransitionComponent:u.elementType,transitionDuration:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})]),TransitionProps:u.object});function Fw(e){return Oe("MuiMenu",e)}ke("MuiMenu",["root","paper","list"]);const jw={vertical:"top",horizontal:"right"},Bw={vertical:"top",horizontal:"left"},Hw=e=>{const{classes:t}=e;return Be({root:["root"],paper:["paper"],list:["list"]},Fw,t)},zw=de(Xc,{shouldForwardProp:e=>qo(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ww=de(_0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Vw=de(Wc,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Na=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiMenu"}),Y=n,{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:d,PaperProps:p={},PopoverClasses:h,transitionDuration:m="auto",TransitionProps:D={}}=Y,V=D,{onEntering:v}=V,g=te(V,["onEntering"]),K=Y,{variant:y="selectedMenu",slots:b={},slotProps:T={}}=K,E=te(K,["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"]),x=ya(),C=$(w({},n),{autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:v,PaperProps:p,transitionDuration:m,TransitionProps:g,variant:y}),_=Hw(C),k=o&&!s&&d,O=L.useRef(null),P=(q,X)=>{O.current&&O.current.adjustStyleForScrollbar(q,{direction:x?"rtl":"ltr"}),v&&v(q,X)},F=q=>{q.key==="Tab"&&(q.preventDefault(),c&&c(q,"tabKeyDown"))};let W=-1;L.Children.map(i,(q,X)=>{L.isValidElement(q)&&(process.env.NODE_ENV!=="production"&&Pc.isFragment(q)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
105
+ `)),q.props.disabled||(y==="selectedMenu"&&q.props.selected||W===-1)&&(W=X))});const R={slots:b,slotProps:w({list:l,transition:g,paper:p},T)},A=$c({elementType:b.root,externalSlotProps:T.root,ownerState:C,className:[_.root,a]}),[B,j]=tt("paper",{className:_.paper,elementType:Ww,externalForwardedProps:R,shouldForwardComponentProp:!0,ownerState:C}),[N,I]=tt("list",{className:he(_.list,l.className),elementType:Vw,shouldForwardComponentProp:!0,externalForwardedProps:R,getSlotProps:q=>$(w({},q),{onKeyDown:X=>{var J;F(X),(J=q.onKeyDown)==null||J.call(q,X)}}),ownerState:C}),H=typeof R.slotProps.transition=="function"?R.slotProps.transition(C):R.slotProps.transition;return Z.jsx(zw,$(w({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?jw:Bw,slots:w({root:b.root,paper:B,backdrop:b.backdrop},b.transition&&{transition:b.transition}),slotProps:{root:A,paper:j,backdrop:typeof T.backdrop=="function"?T.backdrop(C):T.backdrop,transition:$(w({},H),{onEntering:(...q)=>{var X;P(...q),(X=H==null?void 0:H.onEntering)==null||X.call(H,...q)}})},open:d,ref:r,transitionDuration:m,ownerState:C},E),{classes:h,children:Z.jsx(N,$(w({actions:O,autoFocus:o&&(W===-1||s),autoFocusItem:k,variant:y},I),{children:i}))}))});process.env.NODE_ENV!=="production"&&(Na.propTypes={anchorEl:u.oneOfType([or,u.func]),autoFocus:u.bool,children:u.node,classes:u.object,className:u.string,disableAutoFocusItem:u.bool,MenuListProps:u.object,onClose:u.func,open:u.bool.isRequired,PaperProps:u.object,PopoverClasses:u.object,slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),list:u.oneOfType([u.func,u.object]),paper:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,list:u.elementType,paper:u.elementType,root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transitionDuration:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})]),TransitionProps:u.object,variant:u.oneOf(["menu","selectedMenu"])});const Uw=({children:e,open:t,position:r,onClose:n,alignment:o})=>{const{themeSettings:i}=f.useThemeContext();return f.jsx(Na,{MenuListProps:{dense:!0,sx:{paddingTop:0,paddingBottom:0,fontFamily:i.typography.fontFamily}},anchorReference:"anchorPosition",anchorPosition:r!=null?r:{left:0,top:0},disableEnforceFocus:!0,disableRestoreFocus:!0,open:t,onClose:n,slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:i.typography.fontFamily,transform:t?`translate3d(${(o==null?void 0:o.horizontal)==="right"?"-100%":"0%"}, ${(o==null?void 0:o.vertical)==="bottom"?"-100%":"0%"}, 0) !important`:"none"}}},children:e})};class Ki{constructor(){Vn(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Ki}static use(){const t=f0(Ki.create).current,[r,n]=L.useState(!1);return t.shouldMount=r,t.setShouldMount=n,L.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=Yw(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function Gw(){return Ki.use()}function Yw(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function M0(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[d,p]=L.useState(!1),h=he(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=he(r.child,d&&r.childLeaving,n&&r.childPulsate);return!s&&!d&&p(!0),L.useEffect(()=>{if(!s&&l!=null){const g=setTimeout(l,c);return()=>{clearTimeout(g)}}},[l,s,c]),Z.jsx("span",{className:h,style:m,children:Z.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(M0.propTypes={classes:u.object.isRequired,className:u.string,in:u.bool,onExited:u.func,pulsate:u.bool,rippleSize:u.number,rippleX:u.number,rippleY:u.number,timeout:u.number.isRequired});const Ot=ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Cl=550,qw=80,Xw=f.keyframes`
106
106
  0% {
107
107
  transform: scale(0);
108
108
  opacity: 0.1;
@@ -112,7 +112,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
112
112
  transform: scale(1);
113
113
  opacity: 0.3;
114
114
  }
115
- `,Xw=f.keyframes`
115
+ `,Kw=f.keyframes`
116
116
  0% {
117
117
  opacity: 1;
118
118
  }
@@ -120,7 +120,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
120
120
  100% {
121
121
  opacity: 0;
122
122
  }
123
- `,Kw=f.keyframes`
123
+ `,Qw=f.keyframes`
124
124
  0% {
125
125
  transform: scale(1);
126
126
  }
@@ -132,15 +132,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
132
132
  100% {
133
133
  transform: scale(1);
134
134
  }
135
- `,Qw=de("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Zw=de(_0,{name:"MuiTouchRipple",slot:"Ripple"})`
135
+ `,Zw=de("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Jw=de(M0,{name:"MuiTouchRipple",slot:"Ripple"})`
136
136
  opacity: 0;
137
137
  position: absolute;
138
138
 
139
139
  &.${Ot.rippleVisible} {
140
140
  opacity: 0.3;
141
141
  transform: scale(1);
142
- animation-name: ${qw};
143
- animation-duration: ${wl}ms;
142
+ animation-name: ${Xw};
143
+ animation-duration: ${Cl}ms;
144
144
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
145
145
  }
146
146
 
@@ -159,8 +159,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
159
159
 
160
160
  & .${Ot.childLeaving} {
161
161
  opacity: 0;
162
- animation-name: ${Xw};
163
- animation-duration: ${wl}ms;
162
+ animation-name: ${Kw};
163
+ animation-duration: ${Cl}ms;
164
164
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
165
165
  }
166
166
 
@@ -169,20 +169,20 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
169
169
  /* @noflip */
170
170
  left: 0px;
171
171
  top: 0;
172
- animation-name: ${Kw};
172
+ animation-name: ${Qw};
173
173
  animation-duration: 2500ms;
174
174
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
175
175
  animation-iteration-count: infinite;
176
176
  animation-delay: 200ms;
177
177
  }
178
- `,M0=L.forwardRef(function(t,r){const x=Fe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=x,s=te(x,["center","classes","className"]),[l,c]=L.useState([]),d=L.useRef(0),p=L.useRef(null);L.useEffect(()=>{p.current&&(p.current(),p.current=null)},[l]);const h=L.useRef(!1),m=Dr(),v=L.useRef(null),g=L.useRef(null),y=L.useCallback(C=>{const{pulsate:_,rippleX:O,rippleY:k,rippleSize:D,cb:F}=C;c(W=>[...W,Z.jsx(Zw,{classes:{ripple:he(i.ripple,Ot.ripple),rippleVisible:he(i.rippleVisible,Ot.rippleVisible),ripplePulsate:he(i.ripplePulsate,Ot.ripplePulsate),child:he(i.child,Ot.child),childLeaving:he(i.childLeaving,Ot.childLeaving),childPulsate:he(i.childPulsate,Ot.childPulsate)},timeout:wl,pulsate:_,rippleX:O,rippleY:k,rippleSize:D},d.current)]),d.current+=1,p.current=F},[i]),b=L.useCallback((C={},_={},O=()=>{})=>{const{pulsate:k=!1,center:D=o||_.pulsate,fakeElement:F=!1}=_;if((C==null?void 0:C.type)==="mousedown"&&h.current){h.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(h.current=!0);const W=F?null:g.current,R=W?W.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,B,j;if(D||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)A=Math.round(R.width/2),B=Math.round(R.height/2);else{const{clientX:N,clientY:I}=C.touches&&C.touches.length>0?C.touches[0]:C;A=Math.round(N-R.left),B=Math.round(I-R.top)}if(D)j=Math.sqrt((2*Bt(R.width,2)+Bt(R.height,2))/3),j%2===0&&(j+=1);else{const N=Math.max(Math.abs((W?W.clientWidth:0)-A),A)*2+2,I=Math.max(Math.abs((W?W.clientHeight:0)-B),B)*2+2;j=Math.sqrt(Bt(N,2)+Bt(I,2))}C!=null&&C.touches?v.current===null&&(v.current=()=>{y({pulsate:k,rippleX:A,rippleY:B,rippleSize:j,cb:O})},m.start(Yw,()=>{v.current&&(v.current(),v.current=null)})):y({pulsate:k,rippleX:A,rippleY:B,rippleSize:j,cb:O})},[o,y,m]),T=L.useCallback(()=>{b({},{pulsate:!0})},[b]),E=L.useCallback((C,_)=>{if(m.clear(),(C==null?void 0:C.type)==="touchend"&&v.current){v.current(),v.current=null,m.start(0,()=>{E(C,_)});return}v.current=null,c(O=>O.length>0?O.slice(1):O),p.current=_},[m]);return L.useImperativeHandle(r,()=>({pulsate:T,start:b,stop:E}),[T,b,E]),Z.jsx(Qw,$(w({className:he(Ot.root,i.root,a),ref:g},s),{children:Z.jsx(zc,{component:null,exit:!0,children:l})}))});process.env.NODE_ENV!=="production"&&(M0.propTypes={center:u.bool,classes:u.object,className:u.string});function Jw(e){return Oe("MuiButtonBase",e)}const ex=ke("MuiButtonBase",["root","disabled","focusVisible"]),tx=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Be({root:["root",t&&"disabled",r&&"focusVisible"]},Jw,o);return r&&n&&(a.root+=` ${n}`),a},rx=de("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"},[`&.${ex.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Yr=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiButtonBase"}),Je=n,{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:h=!1,focusVisibleClassName:m,LinkComponent:v="a",onBlur:g,onClick:y,onContextMenu:b,onDragLeave:T,onFocus:E,onFocusVisible:x,onKeyDown:C,onKeyUp:_,onMouseDown:O,onMouseLeave:k,onMouseUp:D,onTouchEnd:F,onTouchMove:W,onTouchStart:R,tabIndex:A=0,TouchRippleProps:B,touchRippleRef:j,type:N}=Je,I=te(Je,["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"]),H=L.useRef(null),Y=Uw(),P=ft(Y.ref,j),[V,K]=L.useState(!1);c&&V&&K(!1),L.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),H.current.focus()}}),[]);const q=Y.shouldMount&&!d&&!c;L.useEffect(()=>{V&&h&&!d&&Y.pulsate()},[d,h,V,Y]);const X=er(Y,"start",O,p),J=er(Y,"stop",b,p),ee=er(Y,"stop",T,p),oe=er(Y,"stop",D,p),ne=er(Y,"stop",se=>{V&&se.preventDefault(),k&&k(se)},p),ue=er(Y,"start",R,p),ie=er(Y,"stop",F,p),ve=er(Y,"stop",W,p),z=er(Y,"stop",se=>{Ui(se.target)||K(!1),g&&g(se)},!1),re=rr(se=>{H.current||(H.current=se.currentTarget),Ui(se.target)&&(K(!0),x&&x(se)),E&&E(se)}),ce=()=>{const se=H.current;return l&&l!=="button"&&!(se.tagName==="A"&&se.href)},ge=rr(se=>{h&&!se.repeat&&V&&se.key===" "&&Y.stop(se,()=>{Y.start(se)}),se.target===se.currentTarget&&ce()&&se.key===" "&&se.preventDefault(),C&&C(se),se.target===se.currentTarget&&ce()&&se.key==="Enter"&&!c&&(se.preventDefault(),y&&y(se))}),Xe=rr(se=>{h&&se.key===" "&&V&&!se.defaultPrevented&&Y.stop(se,()=>{Y.pulsate(se)}),_&&_(se),y&&se.target===se.currentTarget&&ce()&&se.key===" "&&!se.defaultPrevented&&y(se)});let Ue=l;Ue==="button"&&(I.href||I.to)&&(Ue=v);const He={};Ue==="button"?(He.type=N===void 0?"button":N,He.disabled=c):(!I.href&&!I.to&&(He.role="button"),c&&(He["aria-disabled"]=c));const St=ft(r,H),Qe=$(w({},n),{centerRipple:i,component:l,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:h,tabIndex:A,focusVisible:V}),st=tx(Qe);return Z.jsxs(rx,$(w(w({as:Ue,className:he(st.root,s),ownerState:Qe,onBlur:z,onClick:y,onContextMenu:J,onFocus:re,onKeyDown:ge,onKeyUp:Xe,onMouseDown:X,onMouseLeave:ne,onMouseUp:oe,onDragLeave:ee,onTouchEnd:ie,onTouchMove:ve,onTouchStart:ue,ref:St,tabIndex:c?-1:A,type:N},He),I),{children:[a,q?Z.jsx(M0,w({ref:P,center:i},B)):null]}))});function er(e,t,r,n=!1){return rr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(Yr.propTypes={action:Go,centerRipple:u.bool,children:u.node,classes:u.object,className:u.string,component:$c,disabled:u.bool,disableRipple:u.bool,disableTouchRipple:u.bool,focusRipple:u.bool,focusVisibleClassName:u.string,href:u.any,LinkComponent:u.elementType,onBlur:u.func,onClick:u.func,onContextMenu:u.func,onDragLeave:u.func,onFocus:u.func,onFocusVisible:u.func,onKeyDown:u.func,onKeyUp:u.func,onMouseDown:u.func,onMouseLeave:u.func,onMouseUp:u.func,onTouchEnd:u.func,onTouchMove:u.func,onTouchStart:u.func,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),tabIndex:u.number,TouchRippleProps:u.object,touchRippleRef:u.oneOfType([u.func,u.shape({current:u.shape({pulsate:u.func.isRequired,start:u.func.isRequired,stop:u.func.isRequired})})]),type:u.oneOfType([u.oneOf(["button","reset","submit"]),u.string])});function nx(e){return Oe("MuiDivider",e)}const Yd=ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),ox=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return Be({root:["root",t&&"absolute",l,i&&"light",a==="vertical"&&"vertical",o&&"flexItem",r&&"withChildren",r&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},nx,n)},ix=de("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,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(Ye(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ne(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),ax=de("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(Ye(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Fr=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiDivider"}),b=n,{absolute:o=!1,children:i,className:a,orientation:s="horizontal",component:l=i||s==="vertical"?"div":"hr",flexItem:c=!1,light:d=!1,role:p=l!=="hr"?"separator":void 0,textAlign:h="center",variant:m="fullWidth"}=b,v=te(b,["absolute","children","className","orientation","component","flexItem","light","role","textAlign","variant"]),g=$(w({},n),{absolute:o,component:l,flexItem:c,light:d,orientation:s,role:p,textAlign:h,variant:m}),y=ox(g);return Z.jsx(ix,$(w({as:l,className:he(y.root,a),role:p,ref:r,ownerState:g,"aria-orientation":p==="separator"&&(l!=="hr"||s==="vertical")?s:void 0},v),{children:i?Z.jsx(ax,{className:y.wrapper,ownerState:g,children:i}):null}))});Fr&&(Fr.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Fr.propTypes={absolute:u.bool,children:u.node,classes:u.object,className:u.string,component:u.elementType,flexItem:u.bool,light:u.bool,orientation:u.oneOf(["horizontal","vertical"]),role:u.string,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),textAlign:u.oneOf(["center","left","right"]),variant:u.oneOfType([u.oneOf(["fullWidth","inset","middle"]),u.string])});const qd=ke("MuiListItemIcon",["root","alignItemsFlexStart"]);function sx(e){return typeof e.main=="string"}function lx(e,t=[]){if(!sx(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Cr(e=[]){return([,t])=>t&&lx(t,e)}function cx(e){return Oe("MuiTypography",e)}const ux=ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),dx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},fx=G2(),px=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${fe(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return Be(s,cx,a)},hx=de("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${fe(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(Ye(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,n])=>r!=="inherit"&&n&&typeof n=="object").map(([r,n])=>({props:{variant:r},style:n})),...Object.entries(e.palette).filter(Cr()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${fe(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),Xd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},vt=L.forwardRef(function(t,r){const E=Fe({props:t,name:"MuiTypography"}),{color:n}=E,o=te(E,["color"]),i=!dx[n],a=fx(w(w({},o),i&&{color:n})),x=a,{align:s="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:p=!1,paragraph:h=!1,variant:m="body1",variantMapping:v=Xd}=x,g=te(x,["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"]),y=$(w({},a),{align:s,color:n,className:l,component:c,gutterBottom:d,noWrap:p,paragraph:h,variant:m,variantMapping:v}),b=c||(h?"p":v[m]||Xd[m])||"span",T=px(y);return Z.jsx(hx,$(w({as:b,ref:r,className:he(T.root,l)},g),{ownerState:y,style:w(w({},s!=="inherit"&&{"--Typography-textAlign":s}),g.style)}))});process.env.NODE_ENV!=="production"&&(vt.propTypes={align:u.oneOf(["center","inherit","justify","left","right"]),children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),u.string]),component:u.elementType,gutterBottom:u.bool,noWrap:u.bool,paragraph:u.bool,style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),u.string]),variantMapping:u.object});function gx(e){return Oe("MuiListItemText",e)}const xl=ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function mx(e){return Oe("MuiMenuItem",e)}const Yn=ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),vx=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},yx=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,l=Be({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},mx,a);return w(w({},a),l)},bx=de(Yr,{shouldForwardProp:e=>qo(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:vx})(Ye(({theme:e})=>$(w({},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","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Yn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Yn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne(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})`:Ne(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Yn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Yd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Yd.inset}`]:{marginLeft:52},[`& .${xl.root}`]:{marginTop:0,marginBottom:0},[`& .${xl.inset}`]:{paddingLeft:36},[`& .${qd.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:$(w({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2),{[`& .${qd.root} svg`]:{fontSize:"1.25rem"}})}]}))),Na=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiMenuItem"}),C=n,{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:p,className:h}=C,m=te(C,["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"]),v=L.useContext(Ro),g=L.useMemo(()=>({dense:a||v.dense||!1,disableGutters:l}),[v.dense,a,l]),y=L.useRef(null);wr(()=>{o&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const b=$(w({},n),{dense:g.dense,divider:s,disableGutters:l}),T=yx(n),E=ft(y,r);let x;return n.disabled||(x=p!==void 0?p:-1),Z.jsx(Ro.Provider,{value:g,children:Z.jsx(bx,$(w({ref:E,role:d,tabIndex:x,component:i,focusVisibleClassName:he(T.focusVisible,c),className:he(T.root,h)},m),{ownerState:b,classes:T}))})});process.env.NODE_ENV!=="production"&&(Na.propTypes={autoFocus:u.bool,children:u.node,classes:u.object,className:u.string,component:u.elementType,dense:u.bool,disabled:u.bool,disableGutters:u.bool,divider:u.bool,focusVisibleClassName:u.string,role:u.string,selected:u.bool,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),tabIndex:u.number});const wx=({children:e,disabled:t,style:r,className:n="",onClick:o})=>{const{themeSettings:i}=f.useThemeContext();return f.jsx("div",{className:`csdk-menu-item ${n}`,children:f.jsx(Na,{disabled:t,sx:w({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:i.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"15px",color:f.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:f.DEFAULT_BACKGROUND_COLOR}},r),onClick:o,children:f.jsx("div",{className:"csdk-menu-item-content",children:e})})})};function xx(e){return Oe("MuiListSubheader",e)}ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Cx=e=>{const{classes:t,color:r,disableGutters:n,inset:o,disableSticky:i}=e,a={root:["root",r!=="default"&&`color${fe(r)}`,!n&&"gutters",o&&"inset",!i&&"sticky"]};return Be(a,xx,t)},Ex=de("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(Ye(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Ki=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiListSubheader"}),m=n,{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=m,d=te(m,["className","color","component","disableGutters","disableSticky","inset"]),p=$(w({},n),{color:i,component:a,disableGutters:s,disableSticky:l,inset:c}),h=Cx(p);return Z.jsx(Ex,w({as:a,className:he(h.root,o),ref:r,ownerState:p},d))});Ki&&(Ki.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Ki.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOf(["default","inherit","primary"]),component:u.elementType,disableGutters:u.bool,disableSticky:u.bool,inset:u.bool,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});const Tx=({children:e})=>{const{themeSettings:t}=f.useThemeContext();return f.jsx(Ki,{sx:{width:"100%",minWidth:"170px",backgroundColor:"#f2f2f2",borderBottom:"1px solid #e6e6e6",height:"29px",lineHeight:"29px",fontFamily:t.typography.fontFamily,fontSize:"13px",paddingLeft:"15px",paddingRight:"15px",color:f.DEFAULT_TEXT_COLOR},children:e})};function Sx({color:e=f.DEFAULT_TEXT_COLOR}){return f.jsx("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",children:f.jsx("path",{fill:e,d:"M13.34 12.5l-2.72-3.175a.5.5 0 1 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175z"})})}const Rx=({children:e,label:t,allowOpen:r,disabled:n,style:o,className:i=""})=>{const{themeSettings:a}=f.useThemeContext(),s=S.useRef(null),l=S.useRef(null),[c,d]=S.useState(!1),p=S.useCallback(()=>{n||d(!0)},[n]),h=S.useCallback(()=>d(!1),[]),m=S.useCallback(()=>d(!0),[]),v=S.useCallback(()=>d(!1),[]),g=c&&r;return f.jsxs("div",{ref:s,className:`csdk-menu-item ${i}`,children:[f.jsx(Na,{disabled:n,sx:w({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:a.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"0px",color:f.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:f.DEFAULT_BACKGROUND_COLOR}},o),onMouseEnter:p,onMouseLeave:h,children:f.jsxs("div",{className:"csdk-menu-item-content",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t,f.jsx(Sx,{})]})}),f.jsx($a,{ref:l,style:{pointerEvents:"none"},anchorEl:s.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:g,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,MenuListProps:{sx:{paddingTop:0,paddingBottom:0}},slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:a.typography.fontFamily}}},onClose:()=>{d(!1)},onMouseEnter:m,onMouseLeave:v,children:f.jsx("div",{style:{pointerEvents:"auto"},children:e})})]})},O0=({position:e,itemSections:t,children:r,closeContextMenu:n,alignment:o})=>{const[i,a]=S.useState(t),s=!!e;S.useEffect(()=>{t&&a(t)},[t]);const l=S.useCallback((c,d)=>{const{sectionTitle:p,items:h=[]}=c;return f.jsxs("div",{className:"csdk-menu-section",children:[p&&f.jsx(Tx,{children:p}),h.map((m,v)=>{const{subItems:g}=m;return g&&g.length?f.jsx(Rx,{label:m.caption,allowOpen:s,style:m.style,className:m.class,children:g.map(l)},v):f.jsx(wx,{disabled:m.disabled,style:m.style,className:m.class,onClick:()=>{var b;n(),(b=m.onClick)==null||b.call(m)},children:m.caption},v)})]},d!=null?d:p)},[n,s]);return f.jsx(f.Fragment,{children:f.jsxs(Vw,{position:e!=null?e:null,open:s,onClose:n,alignment:o,children:[i==null?void 0:i.map(l),r]})})},_x=({children:e,onBeforeMenuOpen:t})=>{const[r,n]=S.useState(null),o=S.useCallback(l=>{const c=t?t(l):l;c&&n(c)},[t]),i=S.useCallback(()=>{n(null)},[]),a=S.useCallback(()=>{var l;(l=r==null?void 0:r.onClose)==null||l.call(r),i()},[i,r]),s=S.useMemo(()=>({openMenu:o,closeMenu:i}),[o,i]);return f.jsxs(Oc.Provider,{value:s,children:[f.jsx(O0,{position:r==null?void 0:r.position,itemSections:r==null?void 0:r.itemSections,closeContextMenu:a,alignment:r==null?void 0:r.alignment}),e]})},Mx=({children:e,onBeforeMenuOpen:t})=>{const r=ma(),n=S.useCallback(a=>{const s=t?t(a):a;s&&(r==null||r.openMenu(s))},[t,r]),o=S.useCallback(()=>{r==null||r.closeMenu()},[r]),i={openMenu:n,closeMenu:o};return f.jsx(Oc.Provider,{value:i,children:e})},k0=({children:e,onBeforeMenuOpen:t})=>ma()?t?f.jsx(Mx,{onBeforeMenuOpen:t,children:e}):f.jsx(f.Fragment,{children:e}):f.jsx(_x,{onBeforeMenuOpen:t,children:e}),Ox=({shouldHaveOwnMenuRoot:e}={})=>t=>function(n){const i=!!ma();return e&&!i?f.jsx(k0,{children:f.jsx(t,w({},n))}):f.jsx(t,w({},n))},Yc=S.createContext(null),La=()=>S.useContext(Yc),kx=f.newStyled(Gc,{target:"epaozx80",label:"StyledMuiPopover"})(".MuiPaper-root.MuiPopover-paper:not([style*='top']),.MuiPaper-root.MuiPopover-paper:not([style*='left']){opacity:0 !important;}"),qc=e=>{var p;const d=e,{children:t,open:r,id:n,position:o,onClose:i,BackdropProps:a,style:s,slotProps:l}=d,c=te(d,["children","open","id","position","onClose","BackdropProps","style","slotProps"]);return f.jsx(kx,$(w({id:n,className:"csdk-accessible",anchorEl:o==null?void 0:o.anchorEl,anchorOrigin:o==null?void 0:o.anchorOrigin,transformOrigin:o==null?void 0:o.contentOrigin,transitionDuration:0,open:r,BackdropProps:a,style:s,slotProps:{paper:{sx:w({display:"flex",boxShadow:"-1px -1px 10px rgba(0, 0, 0, 0.2)"},(p=l==null?void 0:l.paper)==null?void 0:p.sx)}},onClose:i},c),{children:t}))};let Ax=0;const Ix=()=>`modal-${++Ax}`,on=new Set,Px=({children:e})=>{const[t,r]=S.useState([]),n=S.useRef([]);S.useEffect(()=>()=>{on.forEach(p=>{try{p&&p.parentNode&&p.parentNode===document.body&&document.body.contains(p)&&document.body.removeChild(p)}catch(h){}}),on.clear()},[]);const o=S.useCallback(p=>new Promise(h=>{const m=Ix();let v;try{v=document.createElement("div"),v.style.position="fixed",v.style.top="50%",v.style.left="50%",v.style.transform="translate(-50%, -50%)",v.style.width="1px",v.style.height="1px",v.style.pointerEvents="none",v.style.visibility="hidden",v.setAttribute("data-modal-anchor",m),document.body&&typeof document.body.appendChild=="function"?(document.body.appendChild(v),on.add(v)):console.warn("Modal: Unable to append anchor element to document body")}catch(y){console.warn("Modal: Failed to create anchor element:",y),v=document.createElement("div"),v.setAttribute("data-modal-anchor",m)}const g={id:m,options:p,anchorEl:v,resolve:()=>h(m)};r(y=>{const b=[...y,g];return n.current=b,b}),h(m)}),[]),i=S.useCallback(p=>{r(h=>{if(!p){const g=h.slice(0,-1);n.current=g;const y=h[h.length-1];return y!=null&&y.anchorEl&&setTimeout(()=>{try{y.anchorEl&&y.anchorEl.parentNode&&y.anchorEl.parentNode===document.body&&document.body.contains(y.anchorEl)&&(document.body.removeChild(y.anchorEl),on.delete(y.anchorEl))}catch(b){}},0),y&&y.resolve(),g}const m=h.find(g=>g.id===p);m!=null&&m.anchorEl&&setTimeout(()=>{try{m.anchorEl&&m.anchorEl.parentNode&&m.anchorEl.parentNode===document.body&&document.body.contains(m.anchorEl)&&(document.body.removeChild(m.anchorEl),on.delete(m.anchorEl))}catch(g){}},0),m&&m.resolve();const v=h.filter(g=>g.id!==p);return n.current=v,v})},[]),a=S.useCallback(()=>{r(p=>(p.forEach(h=>{h.anchorEl&&setTimeout(()=>{try{h.anchorEl&&h.anchorEl.parentNode&&h.anchorEl.parentNode===document.body&&document.body.contains(h.anchorEl)&&(document.body.removeChild(h.anchorEl),on.delete(h.anchorEl))}catch(m){}},0),h.resolve()}),n.current=[],[]))},[]),s=S.useCallback(()=>n.current,[]),l=S.useCallback(p=>t.some(h=>h.id===p),[t]),c=S.useCallback(p=>{i(p)},[i]),d=S.useMemo(()=>({openModal:o,closeModal:i,closeAllModals:a,getModalStack:s,isModalOpen:l}),[o,i,a,s,l]);return f.jsxs(Yc.Provider,{value:d,children:[t.map((p,h)=>{const{options:m}=p,v=m.measurement==="%"?`${m.width||80}%`:`${m.width||1200}px`,g=m.measurement==="%"?`${m.height||80}%`:`${m.height||800}px`;return f.jsx("div",{children:f.jsx("div",{"data-testid":"modal-backdrop",onClick:y=>{y.target.closest(".MuiPaper-root")||c(p.id)},style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1200+h},children:f.jsx(qc,{open:!0,position:{anchorEl:p.anchorEl,anchorOrigin:{vertical:"center",horizontal:"center"},contentOrigin:{vertical:"center",horizontal:"center"}},onClose:()=>i(p.id),BackdropProps:{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},style:{zIndex:1200+h+10},slotProps:{paper:{sx:{display:"flex",width:v,height:g,maxWidth:"95vw",maxHeight:"95vh",position:"relative",zIndex:1200+h+10}}},children:f.jsx("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},onClick:y=>y.stopPropagation(),children:f.jsx("div",{style:{flex:1,overflow:"hidden"},children:m.content})})})})},p.id)}),e]})},Dx=({children:e})=>{const t=La(),r=S.useCallback(l=>(t==null?void 0:t.openModal(l))||Promise.resolve(""),[t]),n=S.useCallback(l=>{t==null||t.closeModal(l)},[t]),o=S.useCallback(()=>{t==null||t.closeAllModals()},[t]),i=S.useCallback(()=>(t==null?void 0:t.getModalStack())||[],[t]),a=S.useCallback(l=>(t==null?void 0:t.isModalOpen(l))||!1,[t]),s={openModal:r,closeModal:n,closeAllModals:o,getModalStack:i,isModalOpen:a};return f.jsx(Yc.Provider,{value:s,children:e})},$x=({children:e})=>La()?f.jsx(Dx,{children:e}):f.jsx(Px,{children:e}),Nx=({shouldHaveOwnModalRoot:e}={})=>t=>function(n){const i=!!La();return e&&!i?f.jsx($x,{children:f.jsx(t,w({},n))}):f.jsx(t,w({},n))},Lx=e=>t=>(t.displayName=e,t),Xo=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:r,trackingConfig:n={},customContextErrorMessageKey:o,shouldHaveOwnMenuRoot:i,shouldHaveOwnModalRoot:a}=e;return s=>f.flow(Lx(t),fy({shouldSkipSisenseContextWaiting:r,customContextErrorMessageKey:o}),sy({componentName:t,config:n}),Hh({componentName:t}),gy(),Ox({shouldHaveOwnMenuRoot:i}),Nx({shouldHaveOwnModalRoot:a}))(s)};class Ko{degToRad(t){return t*Math.PI/180}getFitStringMeasure(t,r,n,o){t.font=o;let i=this.getStringWidth(t,r);const a="…",s=this.getStringWidth(t,a);if(i<=n)return{string:r,width:i};if(s>=n)return{string:a,width:s};do r=r.slice(0,r.length-1),i=this.getStringWidth(t,r);while(i+s>n);return{string:r+a,width:i+s}}getStringWidth(t,r){return Math.ceil(t.measureText(r).width)}floor(t,r){r=typeof r=="number"?r:0;const n=Math.pow(10,r);return Math.round(t*n)/n}setCanvasSizes(t,r,n,o){const i=window.devicePixelRatio||1;t.width=n*i,t.height=o*i,t.style.width=n+"px",t.style.height=o+"px",r.scale(i,i)}}const un=new Ko,Mr=function(e,t){return un.floor(e*t.value,t.decimals)};function Fx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function jx(e,t,r){const{showTitle:n,showSecondary:o,skin:i,maxHeight:a,maxWidth:s,borderWidth:l}=r;for(let c=0;c<t.length;c++){const d=t[c],p=d.value,h=Mr(p,e.valueSectionMarginBottom),v=Mr(p,e.indicatorVerticalMargin)*2;let g=p+h+v;if(n&&i==="vertical"){const y=Mr(p,e.titleSectionHeight);g+=y}if(o){const y=Mr(p,e.secSectionHeight),b=Mr(p,e.secSectionMarginTop);g+=y+b+(l||0)}if(g<=a){const y=Mr(p,e.numericMinWidth),T=Mr(p,e.indicatorHorizontalMargin)*2;if(y+T<=s)return $(w({},d),{maxWidth:s-T,maxHeight:a-v})}}return null}class Bx{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Fx(s,a);return jx(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,skin:t.skin,borderWidth:"borderWidth"in o?o.borderWidth:0})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,a=n.height,n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=r.skin==="vertical"?n.titleSectionHeight:0),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.valueSectionMarginBottom+n.secSectionHeight+n.secSectionMarginTop+n.borderWidth);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,un.setCanvasSizes(t,i,s,a),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=r.skin==="horizontal",i=n.maxWidth-(o?n.fitValueMeasure.width+n.valueSectionMarginRight:0);if(o&&i+n.titleSectionMinWidth<=0)return;const a=un.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o?n.valueSectionMarginRight:0,a.key="title",a}getFitValueMeasure(t,r,n){const o=un.getFitStringMeasure(t,r.value.text,n.maxWidth,n.valueFont);return o.key="value",o}getFitSecondaryMeasure(t,r,n){const o=n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=un.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=un.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n;const o=r.fitTitleMeasure,i=r.fitValueMeasure,a=r.fitSecondaryMeasure;if(r.fitMeasures.some(l=>{const c=r[l.key],d=t[l.dataKey];return!!(c&&d&&c[l.prop]!==d.text)}))return r.maxWidth;if(t.skin==="vertical"){let c=o&&o.width>i.width?o:i;c=a&&a.width>c.width?a:c,n=c.width}else n=i.width,o&&(n+=o.width),a&&a.width>n&&(n=a.width);return n}draw(t,r,n){this.clearCanvas(t,n),this.drawValue(t,r,n),r.showTitle&&this.drawTitle(t,r,n),r.showSecondary&&this.drawSecondary(t,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r,n){!n.fitTitleMeasure||r.skin==="horizontal"&&n.fitValueMeasure.string!==r[n.fitValueMeasure.key].text||(t.font=n.titleFont,t.fillStyle=n.titleColor,r.skin==="vertical"?(t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2)):(t.textAlign="left",t.textBaseline="top",t.fillText(n.fitTitleMeasure.string,n.fitValueMeasure.width+n.valueSectionMarginRight,n.titleSectionMarginTop)))}drawValue(t,r,n){const o=r.skin==="vertical";t.fillStyle=n.valueColor||r.color,t.font=n.valueFont,t.textAlign=o?"center":"left",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,o?n.width/2:0,(r.showTitle&&o?n.titleSectionHeight:0)+n.valueSectionHeight/2)}drawSecondary(t,r){let n=r.height-r.secSectionHeight/2;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="middle",t.fillText(r.fitSecondaryMeasure.titleString,0,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.fillText(r.fitSecondaryMeasure.valueString,r.width,n),t.strokeStyle=r.borderColor,t.beginPath(),n=r.height-r.secSectionHeight-r.secSectionMarginTop-r.borderWidth,t.moveTo(0,n),t.lineTo(r.width,n),t.stroke()}}const dn=new Ko,mi=function(e,t){return dn.floor(e*t.value,t.decimals)};function Hx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function zx(e,t,r){const{showTitle:n,showSecondary:o,maxHeight:i,maxWidth:a,bracketThickness:s}=r;for(let l=0;l<t.length;l++){const c=t[l],d=c.value,p=mi(d,e.indicatorMargin);let h=d+p;if(n){const m=mi(d,e.titleSectionHeight);h+=m}if(o){const m=mi(d,e.secSectionHeight);h+=m}if(h<=i){const m=mi(d,e.numericMinWidth),v=p*2;if(m+s*2+v<=a)return $(w({},c),{maxWidth:a-v,maxHeight:i-p})}}return null}class Wx{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Hx(s,a);return zx(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,bracketThickness:o.bracketThickness})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,a=n.height,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.secSectionHeight);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,dn.setCanvasSizes(t,i,s,a),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-o,a=dn.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o,a.key="title",a}getFitValueMeasure(t,r,n){const o=n.bracketThickness*2,i=n.maxWidth-o,a=dn.getFitStringMeasure(t,r.value.text,i,n.valueFont);return a.width+=o,a.key="value",a}getFitSecondaryMeasure(t,r,n){const o=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=dn.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=dn.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.numericMinWidth+r.bracketThickness*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let d;return s=c?l:s,c?d=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:d=s.string!==t[s.key].text,d?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),(r.showTitle||r.showSecondary)&&this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,r.titleSectionHeight/2),r.offsetY+=r.titleSectionHeight}drawValue(t,r,n){const o=n.offsetY;t.fillStyle=n.valueColor,t.fillRect(1,o,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,o+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){t.strokeStyle=n.bracketColor,t.beginPath(),r.showTitle?(t.moveTo(n.bracketWidth+.5,.5),t.lineTo(.5,.5)):t.moveTo(.5,.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),r.showTitle?(t.moveTo(n.width-(n.bracketWidth+.5),.5),t.lineTo(n.width-.5,.5)):t.moveTo(n.width-.5,.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}}const je=new Ko,an=function(e,t){return je.floor(e*t.value,t.decimals)};function Vx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function Ux(e,t,r){const{maxWidth:n,maxHeight:o,showTitle:i,showSecondary:a}=r;for(let s=0;s<t.length;s++){const l=t[s],c=l.value,d=an(c,e.valueSectionHeight),p=an(c,e.indicatorMargin),h=Math.ceil(p*1.5);let m=c+d+h;if(i){const v=an(c,e.titleSectionHeight);m+=v}if(a){const v=an(c,e.secSectionHeight);m+=v}if(m<=o){const v=an(c,e.gaugeWidth),g=an(c,e.bracketWidth),y=p*2;if(v+g*2+y<=n)return $(w({},l),{maxWidth:n-y,maxHeight:o-h})}}return null}class Gx{getBaseMeasure(t,r,n){const o=r,i="gaugeHeights"in o?o.gaugeHeights:void 0;if(!i)return null;const a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Vx(s,a);return Ux(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary})}render(t,r,n,o){const i=t.getContext("2d");let a=0,s;n.gaugeHeight=o.value,n.size=o.size,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,s=n.gaugeHeight+n.valueSectionHeight,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),s+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),s+=n.secSectionHeight),a=this.getCanvasWidth(r,n),n.width=a,n.height=s,je.setCanvasSizes(t,i,a,s),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-o,a=je.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o,a.key="title",a}getFitValueMeasure(t,r,n){const o=n.bracketThickness*2,i=n.maxWidth-o,a=je.getFitStringMeasure(t,r.value.text,i,n.valueFont);return a.width+=o,a.key="value",a}getFitSecondaryMeasure(t,r,n){const o=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=je.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=je.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.gaugeWidth+r.bracketWidth*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let d;return s=c?l:s,c?d=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:d=s.string!==t[s.key].text,d?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawGauge(t,r,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,(r.titleSectionHeight-r.titleBottomMargin)/2),r.offsetY+=r.titleSectionHeight}drawGauge(t,r,n){n.gaugeCenterX=n.width/2,n.gaugeCenterY=n.offsetY+n.gaugeHeight-n.gaugeBottomMargin,n.needleAngle=this.getNeedleAngle(r,n),r.skin===2&&r.conditions&&r.conditions.length?this.drawConditionalDial(t,r,n):this.drawSimpleDial(t,r,n),r.showTicks&&n.size!=="micro"&&this.drawTicks(t,r,n),this.drawNeedle(t,n),r.showLabels&&n.size!=="micro"&&this.drawLabels(t,r,n),n.offsetY+=n.gaugeHeight}drawValue(t,r,n){t.fillStyle=n.valueColor,t.fillRect(1,n.offsetY,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,n.offsetY+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){const o=r.showTitle?(n.titleSectionHeight-n.titleBottomMargin)/2:0;t.strokeStyle=n.bracketColor,t.beginPath(),t.moveTo(n.bracketWidth+.5,o+.5),t.lineTo(.5,o+.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),t.moveTo(n.width-(n.bracketWidth+.5),o+.5),t.lineTo(n.width-.5,o+.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}getNeedleAngle(t,r){const n=+t.min.data,o=+t.max.data,i=+(t.value.data||0);return i<n?r.startAngle-r.overDegrees:i>o?r.endAngle+r.overDegrees:this.getAngle(r,i,n,o)}getAngle(t,r,n,o){const i=(t.endAngle-t.startAngle)/(o-n);return(r-n)*i+t.startAngle}drawConditionalDial(t,r,n){const o=r.conditions,i=+r.min.data,a=+r.max.data,s=je.degToRad(n.startAngle+180),l=je.degToRad(n.endAngle+180);let c;const d=p=>this.getAngle(n,p,i,a);for(this.drawArc(t,n,s,l,n.defaultDialColor),c=o.length-1;c>=0;c--){const p=o[c];let h=+p.data,m,v=NaN,g=NaN,y=NaN,b=NaN;const T=.25;switch(p.operator){case"<":if(h<=i)break;h=h>a?a:h,m=d(h),v=s,g=je.degToRad(m+180);break;case">":if(h>=a)break;h=h<i?i:h,m=d(h),v=je.degToRad(m+180),g=l;break;case"≤":if(h<i)break;h=h>a?a:h,m=d(h),v=s,g=je.degToRad(m+(m+T<=n.endAngle?T:0)+180);break;case"≥":if(h>a)break;h=h<i?i:h,m=d(h),v=je.degToRad(m-(m-T>=n.startAngle?T:0)+180),g=l;break;case"=":if(h<i||h>a)break;m=d(h),v=je.degToRad(m-(m-T>=n.startAngle?T:0)+180),g=je.degToRad(m+(m+T<=n.endAngle?T:0)+180);break;case"≠":if(h<i||h>a)v=s,g=l;else if(h===i||h===a){const E=h===i;v=je.degToRad(n.startAngle+(E?T:0)+180),g=je.degToRad(n.endAngle-(E?0:T)+180)}else m=d(h),v=s,g=je.degToRad(m-(m-T>=n.startAngle?T:0)+180),y=je.degToRad(m+(m+T<=n.endAngle?T:0)+180),b=l}!isNaN(v)&&!isNaN(g)&&this.drawArc(t,n,v,g,p.color),!isNaN(y)&&!isNaN(b)&&this.drawArc(t,n,y,b,p.color)}}drawSimpleDial(t,r,n){const o=je.degToRad(n.startAngle+180),i=je.degToRad(n.needleAngle+180),a=je.degToRad(n.endAngle+180);n.needleAngle>n.startAngle&&n.needleAngle<n.endAngle?(this.drawArc(t,n,o,i,n.valueColor),t.globalAlpha=n.gaugeOpacity,this.drawArc(t,n,i,a,n.valueColor)):(n.needleAngle<=n.startAngle&&(t.globalAlpha=n.gaugeOpacity),this.drawArc(t,n,o,a,n.valueColor)),t.globalAlpha=1}drawArc(t,r,n,o,i){t.fillStyle=i,t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.outerArcRadius,n,o),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.innerArcRadius,o,n,!0),t.fill()}drawTicks(t,r,n){const o=n.startAngle,i=n.endAngle,a=n.tickDegreesIncrement,s=n.needleAngle;let l;for(l=o;l<=i;l+=a){const c=je.degToRad(l),d=n.gaugeCenterX-n.lengthToTick*Math.cos(c),p=n.gaugeCenterY-n.lengthToTick*Math.sin(c),h=s<o,m=s>=l-a/2&&s<l+a/2,v=l===i&&s>=l;t.fillStyle=!h&&m||v?r.color:n.tickColor,t.beginPath(),t.arc(d,p,n.tickRadius,0,2*Math.PI),t.fill()}}drawNeedle(t,r){const n=je.degToRad(r.needleAngle);t.fillStyle=r.needleColor,t.save(),t.translate(r.gaugeCenterX,r.gaugeCenterY),t.rotate(n),t.translate(-r.gaugeCenterX,-r.gaugeCenterY),t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),t.lineTo(r.gaugeCenterX-r.needleLength,r.gaugeCenterY),t.fill(),t.restore()}drawLabels(t,r,n){t.font=n.labelFont,t.fillStyle=n.labelColor,t.textAlign="right",t.textBaseline="middle",t.fillText(r.min.text,n.gaugeCenterX-n.labelMargin,n.gaugeCenterY),t.textAlign="left",t.fillText(r.max.text,n.gaugeCenterX+n.labelMargin,n.gaugeCenterY)}}const zt=new Ko;class Yx{render(t,r,n,o){const i=t.getContext("2d"),a=Math.floor(o.clientWidth)-n.horizontalMargin*2,s=n.sectionMinWidth;let l=0,c=0,d=0,p=0,h=0,m=0,v=0,g=0,y;if(i.font=n.valueFont,y=zt.getStringWidth(i,r.value.text),n.offsetX=0,r.title.text+=":",r.secondaryTitle&&(r.secondaryTitle.text+=":"),r.showTitle&&(i.font=n.titleFont,m=zt.getStringWidth(i,r.value.text),h=zt.getStringWidth(i,r.title.text),c=h<s?h:s,y+=c+n.textPadding),r.showSecondary&&(i.font=n.secondaryValueFont,g=zt.getStringWidth(i,r.secondary.text),p=g<s?g:s,y+=p,i.font=n.secondaryTitleFont||"",v=zt.getStringWidth(i,r.secondaryTitle.text),d=v<s?v:s,y+=d+n.horizontalPadding*2+n.dividerWidth+n.textPadding),r.type==="gauge"){const T=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const x=m+h+v+g+n.textPadding*4+T,C=a-T-x;n.barWidth=Math.max(C,n.barWidth)}const E=n.barWidth+T;y+=E,n.showTickerBar=y<=a||!0,l+=n.showTickerBar?E:0}l+=r.showTitle?n.textPadding:0,l+=r.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const b=a-l-c-d-p;if(n.fitValueMeasure=zt.getFitStringMeasure(i,r.value.text,b,n.valueFont),l+=n.fitValueMeasure.width,r.showSecondary){const T=a-l-c-d;let E;n.fitSecValueMeasure=zt.getFitStringMeasure(i,r.secondary.text,T,n.secondaryValueFont),l+=n.fitSecValueMeasure.width;const x=a-l,C=x/2;r.showTitle?h+v>x?h>C&&v>C?E=C:v>C&&h<=C?E=x-h:E=v:E=v:E=x,n.fitSecTitleMeasure=zt.getFitStringMeasure(i,r.secondaryTitle.text,E,n.secondaryTitleFont),l+=n.fitSecTitleMeasure.width}if(r.showTitle){const T=a-l;n.fitTitleMeasure=zt.getFitStringMeasure(i,r.title.text,T,n.titleFont),l+=n.fitTitleMeasure.width}n.width=l,zt.setCanvasSizes(t,i,l,n.height),this.draw(i,r,n)}draw(t,r,n){this.clearCanvas(t,n),r.type==="gauge"&&n.showTickerBar&&(this.drawTickerBar(t,r,n),this.drawDivider(t,n)),t.textBaseline="middle",r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&(this.drawDivider(t,n),this.drawSecondary(t,n))}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTickerBar(t,r,n){var c;const o=+r.min.data,i=+r.max.data,a=+(((c=r.value)==null?void 0:c.data)||0),s=Math.round((n.height-n.barHeight)/2);let l;if(t.fillStyle=n.valueColor,a<=o)t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=0;else if(a>=i)t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=n.barWidth-n.tickerBarWidth;else{const d=(a-Math.abs(o))/(i-o),p=n.barWidth*d;t.fillRect(n.offsetX,s,p,n.barHeight),t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX+p,s,n.barWidth-p,n.barHeight),p>n.barWidth-n.tickerBarWidth?l=n.barWidth-n.tickerBarWidth:p<n.tickerBarWidth?l=0:l=p-1}t.globalAlpha=1,t.fillStyle=n.barHandleColor,t.fillRect(n.offsetX+l,Math.round((n.height-n.tickerBarHeight)/2),n.tickerBarWidth,n.tickerBarHeight),n.offsetX+=n.barWidth}drawDivider(t,r){t.fillStyle=r.dividerColor,t.fillRect(r.offsetX+r.horizontalPadding,Math.round((r.height-r.dividerHeight)/2),r.dividerWidth,r.dividerHeight),r.offsetX+=r.horizontalPadding*2+r.dividerWidth}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.fillText(r.fitTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitTitleMeasure.width+r.textPadding}drawValue(t,r,n){t.font=n.valueFont,t.fillStyle=n.valueColor||r.color,t.fillText(n.fitValueMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitValueMeasure.width}drawSecondary(t,r){t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.fillText(r.fitSecTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitSecTitleMeasure.width+r.textPadding,t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.fillText(r.fitSecValueMeasure.string,r.offsetX,Math.floor(r.height/2))}}const Kd={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(0,206,230)",fontSizes:{big:66,medium:46,small:32,micro:23}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",borderColor:"rgb(215, 215, 215)",borderWidth:1,relativeSizes:[{key:"titleSectionHeight",value:.5,decimals:0},{key:"titleSectionMarginTop",value:.13,decimals:0},{key:"titleSectionMinWidth",value:.29,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"valueSectionMarginRight",value:.14,decimals:0},{key:"valueSectionMarginBottom",value:.07,decimals:0},{key:"secSectionHeight",value:.34,decimals:0},{key:"secSectionMarginTop",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"indicatorHorizontalMargin",value:.31,decimals:0},{key:"indicatorVerticalMargin",value:.46,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","titleSectionHeight","secSectionHeight","valueSectionMarginBottom","secSectionMarginTop","indicatorHorizontalMargin","indicatorVerticalMargin"],sizes:[{size:"big",value:70},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}],fitMeasures:[{key:"fitTitleMeasure",prop:"string",dataKey:"title"},{key:"fitValueMeasure",prop:"string",dataKey:"value"},{key:"fitSecondaryMeasure",prop:"titleString",dataKey:"secondaryTitle"},{key:"fitSecondaryMeasure",prop:"valueString",dataKey:"secondary"}]},qx={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",bracketColor:"rgb(198, 198, 198)",bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:1,decimals:0},{key:"titleHorizontalMargin",value:.16,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"secSectionHeight",value:1,decimals:0},{key:"secBottomMargin",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"bracketWidth",value:.21,decimals:0},{key:"indicatorMargin",value:.64,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","bracketWidth","titleSectionHeight","secSectionHeight"],sizes:[{size:"big",value:70,maxWidth:1261,maxHeight:665},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}]},Xx={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},label:{color:"rgb(68, 81, 102)",fontSizes:{big:18,medium:13,small:9,micro:9}},textKeys:["title","value","secondaryTitle","secondaryValue","label"],backgroundColor:"rgb(255, 255, 255)",tickColor:"rgb(0, 0, 0)",needleColor:"rgb(43, 51, 66)",bracketColor:"rgb(198, 198, 198)",defaultDialColor:"rgb(179, 179, 179)",gaugeOpacity:.5,startAngle:20,endAngle:160,overDegrees:5,tickDegreesIncrement:10,bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:.26,decimals:0},{key:"titleHorizontalMargin",value:.08,decimals:0},{key:"titleBottomMargin",value:.1,decimals:0},{key:"gaugeWidth",value:1.33,decimals:0},{key:"gaugeBottomMargin",value:.19,decimals:0},{key:"outerArcRadius",value:.63,decimals:0},{key:"innerArcRadius",dataKey:"skin",values:{1:.24,2:.51},decimals:0},{key:"lengthToTick",value:.7,decimals:0},{key:"tickRadius",value:.01,decimals:1},{key:"needleLength",dataKey:"skin",values:{1:.52,2:.58},decimals:0},{key:"needleBaseRadius",value:.04,decimals:0},{key:"labelMargin",value:.26,decimals:0},{key:"valueSectionHeight",value:.36,decimals:0},{key:"secSectionHeight",value:.36,decimals:0},{key:"secBottomMargin",value:.05,decimals:0},{key:"secDividerWidth",value:.05,decimals:0},{key:"secTitleMinWidth",value:.1,decimals:0},{key:"bracketWidth",value:.08,decimals:0},{key:"indicatorMargin",value:.14,decimals:0}],gaugeHeights:[{size:"big",value:192,maxWidth:1297,maxHeight:1075},{size:"medium",value:134},{size:"small",value:94},{size:"micro",value:66}],measureKeys:["indicatorMargin","gaugeWidth","bracketWidth","titleSectionHeight","valueSectionHeight","secSectionHeight"]},Kx={fontFamily:"Open Sans",fontSize:15,title:{color:"rgb(68, 81, 102)"},value:{fontWeight:800},secondaryTitle:{color:"rgb(163, 163, 163)"},secondaryValue:{color:"rgb(163, 163, 163)"},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"transparent",dividerColor:"rgb(39, 42, 52)",barHandleColor:"rgb(43, 51, 66)",height:35,horizontalMargin:15,barWidth:100,barHeight:11,barOpacity:.5,tickerBarWidth:2,tickerBarHeight:13,horizontalPadding:9,textPadding:6,sectionMinWidth:20,dividerWidth:1,dividerHeight:13,forceTickerView:!1};function Qx(e,t){const r=f.cloneDeep(Kx);if(r.forceTickerView=t.forceTickerView,r.fontFamily=t.fontFamily,r.backgroundColor=t.backgroundColor,r.value.color=t.value.color,r.title.color=t.title.color,r.secondaryTitle.color=t.secondaryTitle.color,r.secondaryValue.color=t.secondaryTitle.color,t.tickerBarHeight){const n=t.tickerBarHeight;r.barHeight=n,r.tickerBarHeight=n+2}return r.forceTickerView&&(r.height=e.offsetHeight),r}const Zx=new Ko,Jx=new Bx,eC=new Wx,tC=new Gx,rC=new Yx;class nC{getService(t){switch(t){case"numericSimple":return Jx;case"numericBar":return eC;case"gauge":return tC;case"ticker":return rC}}render(t,r,n,o){let i=this.getService(r.type);const a="getBaseMeasure"in i?i.getBaseMeasure(r,n,o):void 0;if(!a||n.forceTickerView){i=this.getService("ticker");const s=Qx(t,n);this.setTextOptions(s),i.render(t,r,s,o);return}this.calculateRelativeSizes(r,n,a.value),this.setTextOptions(n,a.size),i.render(t,r,n,a)}calculateRelativeSizes(t,r,n){const{relativeSizes:o}=r;o.forEach(function(i){let a;if("dataKey"in i&&"values"in i&&i.dataKey in t)a=i.values[t[i.dataKey]];else if("value"in i)a=i.value;else throw new f.TranslatableError("errors.indicatorInvalidRelativeSize");const s=a*n;r[i.key]=Zx.floor(s,i.decimals)})}setTextOptions(t,r){t.textKeys.forEach(function(n){const o=t[n],i=o.fontStyle?`${o.fontStyle} `:"",a=o.fontVariant?`${o.fontVariant} `:"",s=o.fontWeight?`${o.fontWeight} `:"",l=`${Number.parseFloat(o.fontSizes&&o.fontSizes[r]||o.fontSize||t.fontSize)}px `,c=o.fontFamily||t.fontFamily,{color:d}=o;t[`${n}Font`]=i+a+s+l+c,t[`${n}Color`]=d})}}function A0(e){var r;const t=(r=e.value)==null?void 0:r[0];if(t&&"color"in t)return t.color}function oC(e,t,r){if(!iC(e))return r;const o=f.getColoringServiceByColorOptions(e).getColor(t);return o?$(w({},r),{value:$(w({},r.value),{color:o})}):r}function iC(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}const aC=(e,t)=>{const r=A0(t);return r&&e.value?f.getColoringServiceByColorOptions(r).getColor(f.isNumber(e.value)?e.value:0):null},sC=(e,t,r)=>{var p,h,m,v,g,y,b,T,E,x,C,_;const n=f.isNumber(e.min)?e.min:0,o=f.isNumber(e.max)?e.max:100,i=vi(r,"value"),a=vi(r,"secondary"),s=vi(r,"min"),l=vi(r,"max"),c=aC(e,r),d=t.indicatorType==="gauge"?1:"vertical";return $(w(w({},cC),c?{color:c}:null),{type:lC(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||d,title:{text:(m=(h=(p=t.indicatorComponents)==null?void 0:p.title)==null?void 0:h.text)!=null?m:""},min:{data:n,text:f.applyFormatPlainText(s,n)},max:{data:o,text:f.applyFormatPlainText(l,o)},value:{data:e.value,text:Qd(e.value,i)},secondary:{data:e.secondary,text:Qd(e.secondary,a)},secondaryTitle:{text:(y=(g=(v=t.indicatorComponents)==null?void 0:v.secondaryTitle)==null?void 0:g.text)!=null?y:""},showSecondary:e.secondary!==void 0,showTitle:!!((T=(b=t.indicatorComponents)==null?void 0:b.title)!=null&&T.shouldBeShown),showLabels:!!((x=(E=t.indicatorComponents)==null?void 0:E.labels)!=null&&x.shouldBeShown),showTicks:!!((_=(C=t.indicatorComponents)==null?void 0:C.ticks)!=null&&_.shouldBeShown)})};function lC(e,t){return e==="numeric"?t:e}function vi(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return f.getCompleteNumberFormatConfig(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const cC={color:"#00cee6",showSecondary:!1};function Qd(e,t){return e===void 0?"":isNaN(e)?"#N/A":f.applyFormatPlainText(t,e)}function Cl(e,t,r){const n=f.cloneDeep(r);for(const o in t){const i=t[o],a=uC(e,i);a&&I0(n,o,a)}return n}function I0(e,t,r){const n=t.split(".");if(n.length===1)if(n[0]in e)e[n[0]]=r;else return;else{const[o,...i]=n;if(!(o in e))return;const a=e[o];if(!P0(a))return;I0(a,i.join("."),r)}}function uC(e,t){const r=t.split(".");let n=e;for(const o of r){if(!P0(n)||!(o in n))return;n=n[o]}return n}function P0(e){return typeof e=="object"&&e!==null}function dC(e,t,r){return Cl(e,t,r)}const fC={fontFamily:"typography.fontFamily","title.color":"chart.textColor",backgroundColor:"chart.backgroundColor","label.color":"chart.textColor","secondaryTitle.color":"chart.secondaryTextColor","secondaryValue.color":"chart.secondaryTextColor","value.color":"palette.variantColors.0"},pC=(e,t)=>{const{chartData:r,dataOptions:n,themeSettings:o}=t,{type:i}=e;let a;switch(i){case"gauge":a=Xx;break;case"numeric":e.numericSubtype==="numericBar"?a=qx:a=Kd;break;default:a=Kd}o&&(a=dC(o,fC,a));const s=A0(n);return s&&r.value&&f.isNumber(r.value)&&(a=oC(s,r.value,a)),w($(w({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};var hC=function(e){return e.PERCENT="%",e.PIXEL="px",e}({}),gC=function(e){return e.DEFAULT="default",e.HOVER="hover",e.FOCUS="focus",e}({});function Pi(e){return typeof e=="string"}function mC(e){var l;const t=f.useThemeContext().themeSettings,[r,n]=S.useState(null),[o,i]=S.useState(null),a=(l=f.useSisenseContext().app)==null?void 0:l.httpClient;S.useEffect(()=>{e&&Pi(e)&&a&&Ph(e,a).then(c=>{n(c)}).catch(i)},[a,e]),S.useEffect(()=>{(!e||!Pi(e))&&(n(null),i(null))},[e]);const s=S.useMemo(()=>r?Zd(t,r):e&&!Pi(e)?Zd(t,e):t,[r,t,e]);return o?[null,o]:[s,null]}function Zd(e,t){return f.merge.withOptions({mergeArrays:!1},e,t)}function Jd(e){return`${e.fontFamily}|${e.fontWeight}|${e.fontStyle}`}function vC(e,t){const[r,n]=S.useState([]),[o,i]=S.useState(!1),a=S.useMemo(()=>e.filter(s=>!t.includes(Jd(s))),[e,t]);return S.useEffect(()=>{if(a.length===0){i(!0);return}let s=!1;const l=a.map(c=>{const d=c.src.map(h=>Object.entries(h).map(([v,g])=>`${v}('${g}')`).join(" ")).join(", ");return new FontFace(c.fontFamily,d,{style:c.fontStyle,weight:c.fontWeight.toString()}).load().then(h=>(s||document.fonts.add(h),Jd(c)))});return Promise.all(l).then(c=>{s||(n(d=>[...d,...c]),i(!0))}).catch(c=>{console.error("Failed to load fonts:",c),i(!0)}),()=>{s=!0}},[a]),{loadedFonts:r,areAllFontsLoaded:o}}const ef=S.createContext({loadedFonts:[]}),yC=({fonts:e,children:t})=>{var a;const{loadedFonts:r}=S.useContext(ef),{themeSettings:n}=f.useThemeContext(),{loadedFonts:o,areAllFontsLoaded:i}=vC(e||((a=n.typography.fontsLoader)==null?void 0:a.fonts)||[],r);return f.jsx(ef.Provider,{value:{loadedFonts:[...r,...o]},children:i&&t})},D0=Xo({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:r}=e,[n,o]=mC(t);if(o)throw o;return f.jsx(f.Fragment,{children:n&&f.jsx(f.ThemeContext.Provider,{value:{themeSettings:n},children:f.jsx(yC,{children:r})})})});function bC(e,t,r){return e==null?e:f.baseSet(e,t,r)}const $0={"value.data":"value.data","value.text":"value.text","secondary.data":"secondary.data","secondary.text":"secondary.text","title.text":"title.text","secondaryTitle.text":"secondaryTitle.text"},N0={"value.color":"value.color","secondaryValue.color":"secondary.color","secondaryValue.fontWeight":"secondary.fontWeight","title.color":"title.color","secondaryTitle.color":"secondaryTitle.color"};function wC(e,t){const r={};return f.flow(tf(e,$0),tf(t,N0))(r)}function tf(e,t){return r=>{const n=w({},r);for(const[o,i]of Object.entries(t))bC(n,i,f.get(e,o));return n}}const xC=(e,t,r)=>{const n=Cl(e,$0,t),o=Cl(e,N0,r);return{legacyDataOptions:n,legacyChartOptions:o}},CC=e=>e,EC=(e,t)=>{var o;const r={},n=(i,a)=>{if(i===void 0)return;const s=f.getCompleteNumberFormatConfig(a);return f.applyFormatPlainText(s,i)};return t.value&&t.value.length>0&&(r.value=$(w({},f.getDataPointMetadata("value",t.value[0])),{value:(o=e.value)!=null?o:0,displayValue:n(e.value,t.value[0])})),t.secondary&&t.secondary.length>0&&e.secondary!==void 0&&(r.secondary=$(w({},f.getDataPointMetadata("secondary",t.secondary[0])),{value:e.secondary,displayValue:n(e.secondary,t.secondary[0])})),t.min&&t.min.length>0&&e.min!==void 0&&(r.min=$(w({},f.getDataPointMetadata("min",t.min[0])),{value:e.min,displayValue:n(e.min,t.min[0])})),t.max&&t.max.length>0&&e.max!==void 0&&(r.max=$(w({},f.getDataPointMetadata("max",t.max[0])),{value:e.max,displayValue:n(e.max,t.max[0])})),{entries:r}},TC=({chartData:e,dataOptions:t,designOptions:r,onBeforeRender:n=CC,onDataPointClick:o})=>{var c;const i=S.useRef(null),a=S.useRef(null),{themeSettings:s}=f.useThemeContext();S.useEffect(()=>{if(!a.current||!i.current)return;const d=new nC,p=sC(e,r,t),h=pC({type:r.indicatorType,numericSubtype:"numericSubtype"in r?r.numericSubtype:void 0,forceTickerView:r.forceTickerView,tickerBarHeight:r.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:s}),m=wC(p,h),v=n(m),{legacyDataOptions:g,legacyChartOptions:y}=xC(v,p,h);d.render(a.current,g,y,i.current)},[e,t,r,s,n]);const l=d=>{if(o){const p=EC(e,t);o(p,d.nativeEvent)}};return f.jsx("div",{ref:i,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(c=s==null?void 0:s.chart)==null?void 0:c.backgroundColor,cursor:o?"pointer":"default"},"aria-label":"indicator-root",onClick:l,children:f.jsx("canvas",{ref:a})})},SC=e=>e.type==="indicator",RC=e=>"min"in e,_C=e=>"indicatorComponents"in e,MC=e=>!!e.chartData&&SC(e.chartData)&&RC(e.dataOptions)&&_C(e.designOptions);function L0(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:f.baseSlice(e,t,r)}function OC(e,t){for(var r=e.length;r--&&f.baseIndexOf(t,e[r],0)>-1;);return r}function kC(e,t){for(var r=-1,n=e.length;++r<n&&f.baseIndexOf(t,e[r],0)>-1;);return r}function AC(e){return e.split("")}var IC="\\ud800-\\udfff",PC="\\u0300-\\u036f",DC="\\ufe20-\\ufe2f",$C="\\u20d0-\\u20ff",NC=PC+DC+$C,LC="\\ufe0e\\ufe0f",FC="\\u200d",jC=RegExp("["+FC+IC+NC+LC+"]");function F0(e){return jC.test(e)}var j0="\\ud800-\\udfff",BC="\\u0300-\\u036f",HC="\\ufe20-\\ufe2f",zC="\\u20d0-\\u20ff",WC=BC+HC+zC,VC="\\ufe0e\\ufe0f",UC="["+j0+"]",El="["+WC+"]",Tl="\\ud83c[\\udffb-\\udfff]",GC="(?:"+El+"|"+Tl+")",B0="[^"+j0+"]",H0="(?:\\ud83c[\\udde6-\\uddff]){2}",z0="[\\ud800-\\udbff][\\udc00-\\udfff]",YC="\\u200d",W0=GC+"?",V0="["+VC+"]?",qC="(?:"+YC+"(?:"+[B0,H0,z0].join("|")+")"+V0+W0+")*",XC=V0+W0+qC,KC="(?:"+[B0+El+"?",El,H0,z0,UC].join("|")+")",QC=RegExp(Tl+"(?="+Tl+")|"+KC+XC,"g");function ZC(e){return e.match(QC)||[]}function Sl(e){return F0(e)?ZC(e):AC(e)}function JC(e,t,r){if(e=f.toString(e),e&&(r||t===void 0))return f.baseTrim(e);if(!e||!(t=f.baseToString(t)))return e;var n=Sl(e),o=Sl(t),i=kC(n,o),a=OC(n,o)+1;return L0(n,i,a).join("")}const U0=",";function e3(e){return e.join(`${U0} `)}function t3(e){return e.split(U0).map(JC)}function r3(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function n3(e,t){const{name:r,rawName:n,coordinates:o,value:i,colorValue:a,details:s}=e,c={geo:t.locations.map((d,p)=>$(w({},f.getDataPointMetadata(`geo.${p}`,d)),{value:n[p]}))};if(t.size&&(c.size=$(w({},f.getDataPointMetadata("size",t.size)),{value:i})),t.colorBy&&(c.colorBy=$(w({},f.getDataPointMetadata("colorBy",t.colorBy)),{value:a})),t.details){const d=f.getDataPointMetadata("details",t.details);d.measure&&(c.details=$(w({},d),{value:s}))}return{categories:n,displayName:r,coordinates:{lat:o.lat,lng:o.lng},value:i,entries:c}}const o3=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function i3(e,t){const r=o3[e.toLowerCase()];return r&&(t[r]=e),r||e}function a3(e,t){return t[e.toLowerCase()]||e}const s3=(e,t)=>{const{app:r}=f.useSisenseContext(),[n,o]=S.useState([]),i=S.useRef(e),a=S.useCallback(()=>_t(exports,null,function*(){if(!r||!e)return;const s={},l=r3(t),c=yield r.httpClient.post("api/v1/geo/locations",w({locations:e.map(v=>({name:i3(v.name,s)}))},l&&{geoLevel:l})),d=i.current!==e;if(!c||d)return;const p=c.reduce((v,g)=>{const y=$(w({},g),{name:a3(g.name,s)});return v[y.name]=y,v},{}),h=[],m=e.map(v=>(p[v.name]||h.push(v.name),w(w({},v),p[v.name]?{coordinates:p[v.name].latLng}:null)));h.length&&console.warn(`Locations "${h.join(", ")}" coordinates not found`),o(m)}),[r,o,e,t]);return S.useEffect(()=>{e&&(i.current=e,e.some(l=>!!l.coordinates)?o(e):a())},[e,r,a,o]),n};function l3(e){let t=Number.MAX_VALUE,r=Number.MIN_VALUE;return e.forEach(n=>{isNaN(n)||(t=Math.min(t,n),r=Math.max(r,n))}),{min:t,max:r}}function c3(e,t=4,r=24){let n=0;const{min:o,max:i}=l3(e.map(({value:s})=>s)),a=r-t;return n=i-o,e.map(s=>n===0?t:(s.value-o)/n*a+t)}const u3=()=>{const{app:e}=f.useSisenseContext(),[t,r]=S.useState(null),n=S.useCallback(()=>_t(exports,null,function*(){if(!e)return;const o=yield e.httpClient.get("api/v1/settings/system");o&&r(o.geo)}),[r,e]);return S.useEffect(()=>{n()},[e,n]),t},d3="#00cee6",f3=f.createDataColoringFunction({getValueFromDataStructure:({colorValue:e})=>parseFloat(`${e}`),applyColorToDataStructure:(e,t)=>$(w({},e),{color:t})});function p3(e,t){return t?f3(e.map(({colorValue:r})=>({colorValue:r})),t).map(({color:r})=>r):e.map(()=>d3)}function G0(e){return{isLight:["hollow","filled-light"].includes(e),isFilled:["filled","filled-light"].includes(e)}}function Y0(e){const{color:t,size:r,fill:n,blur:o}=e,{isFilled:i}=G0(n),l=o?{filled:.1,"filled-light":.1,hollow:.2,"hollow-bold":.25}[n]:{filled:.5,"filled-light":.2,hollow:.35,"hollow-bold":.9}[n];return{radius:r,fillOpacity:l,opacity:l,fillColor:i?t:"transparent",color:i?"transparent":t,stroke:!i,weight:i?0:2,customStyle:e}}function h3({coordinates:e,style:t}){const r=new f.Leaflet.CircleMarker({lat:e.lat,lng:e.lng},Y0(t));return r.on("mouseover",g3),r.on("mouseout",m3),r}function g3(e){const t=e.target,r=t.options.customStyle,{isFilled:n,isLight:o}=G0(r.fill);return t.setStyle(n?{stroke:!0,weight:2,opacity:o?.5:.7,fillOpacity:o?.5:.7}:{weight:3,opacity:o?.6:1}),t}function m3(e){const t=e.target,r=t.options.customStyle;t.setStyle(Y0(r))}function v3(e){e.forEach(t=>t.remove())}function y3(e,t){const r=`
178
+ `,O0=L.forwardRef(function(t,r){const x=Fe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=x,s=te(x,["center","classes","className"]),[l,c]=L.useState([]),d=L.useRef(0),p=L.useRef(null);L.useEffect(()=>{p.current&&(p.current(),p.current=null)},[l]);const h=L.useRef(!1),m=Dr(),v=L.useRef(null),g=L.useRef(null),y=L.useCallback(C=>{const{pulsate:_,rippleX:k,rippleY:O,rippleSize:P,cb:F}=C;c(W=>[...W,Z.jsx(Jw,{classes:{ripple:he(i.ripple,Ot.ripple),rippleVisible:he(i.rippleVisible,Ot.rippleVisible),ripplePulsate:he(i.ripplePulsate,Ot.ripplePulsate),child:he(i.child,Ot.child),childLeaving:he(i.childLeaving,Ot.childLeaving),childPulsate:he(i.childPulsate,Ot.childPulsate)},timeout:Cl,pulsate:_,rippleX:k,rippleY:O,rippleSize:P},d.current)]),d.current+=1,p.current=F},[i]),b=L.useCallback((C={},_={},k=()=>{})=>{const{pulsate:O=!1,center:P=o||_.pulsate,fakeElement:F=!1}=_;if((C==null?void 0:C.type)==="mousedown"&&h.current){h.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(h.current=!0);const W=F?null:g.current,R=W?W.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,B,j;if(P||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)A=Math.round(R.width/2),B=Math.round(R.height/2);else{const{clientX:N,clientY:I}=C.touches&&C.touches.length>0?C.touches[0]:C;A=Math.round(N-R.left),B=Math.round(I-R.top)}if(P)j=Math.sqrt((2*Bt(R.width,2)+Bt(R.height,2))/3),j%2===0&&(j+=1);else{const N=Math.max(Math.abs((W?W.clientWidth:0)-A),A)*2+2,I=Math.max(Math.abs((W?W.clientHeight:0)-B),B)*2+2;j=Math.sqrt(Bt(N,2)+Bt(I,2))}C!=null&&C.touches?v.current===null&&(v.current=()=>{y({pulsate:O,rippleX:A,rippleY:B,rippleSize:j,cb:k})},m.start(qw,()=>{v.current&&(v.current(),v.current=null)})):y({pulsate:O,rippleX:A,rippleY:B,rippleSize:j,cb:k})},[o,y,m]),T=L.useCallback(()=>{b({},{pulsate:!0})},[b]),E=L.useCallback((C,_)=>{if(m.clear(),(C==null?void 0:C.type)==="touchend"&&v.current){v.current(),v.current=null,m.start(0,()=>{E(C,_)});return}v.current=null,c(k=>k.length>0?k.slice(1):k),p.current=_},[m]);return L.useImperativeHandle(r,()=>({pulsate:T,start:b,stop:E}),[T,b,E]),Z.jsx(Zw,$(w({className:he(Ot.root,i.root,a),ref:g},s),{children:Z.jsx(Uc,{component:null,exit:!0,children:l})}))});process.env.NODE_ENV!=="production"&&(O0.propTypes={center:u.bool,classes:u.object,className:u.string});function ex(e){return Oe("MuiButtonBase",e)}const tx=ke("MuiButtonBase",["root","disabled","focusVisible"]),rx=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Be({root:["root",t&&"disabled",r&&"focusVisible"]},ex,o);return r&&n&&(a.root+=` ${n}`),a},nx=de("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"},[`&.${tx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Yr=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiButtonBase"}),Je=n,{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:h=!1,focusVisibleClassName:m,LinkComponent:v="a",onBlur:g,onClick:y,onContextMenu:b,onDragLeave:T,onFocus:E,onFocusVisible:x,onKeyDown:C,onKeyUp:_,onMouseDown:k,onMouseLeave:O,onMouseUp:P,onTouchEnd:F,onTouchMove:W,onTouchStart:R,tabIndex:A=0,TouchRippleProps:B,touchRippleRef:j,type:N}=Je,I=te(Je,["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"]),H=L.useRef(null),Y=Gw(),D=ft(Y.ref,j),[V,K]=L.useState(!1);c&&V&&K(!1),L.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),H.current.focus()}}),[]);const q=Y.shouldMount&&!d&&!c;L.useEffect(()=>{V&&h&&!d&&Y.pulsate()},[d,h,V,Y]);const X=er(Y,"start",k,p),J=er(Y,"stop",b,p),ee=er(Y,"stop",T,p),oe=er(Y,"stop",P,p),ne=er(Y,"stop",se=>{V&&se.preventDefault(),O&&O(se)},p),ue=er(Y,"start",R,p),ie=er(Y,"stop",F,p),ve=er(Y,"stop",W,p),z=er(Y,"stop",se=>{Gi(se.target)||K(!1),g&&g(se)},!1),re=rr(se=>{H.current||(H.current=se.currentTarget),Gi(se.target)&&(K(!0),x&&x(se)),E&&E(se)}),ce=()=>{const se=H.current;return l&&l!=="button"&&!(se.tagName==="A"&&se.href)},ge=rr(se=>{h&&!se.repeat&&V&&se.key===" "&&Y.stop(se,()=>{Y.start(se)}),se.target===se.currentTarget&&ce()&&se.key===" "&&se.preventDefault(),C&&C(se),se.target===se.currentTarget&&ce()&&se.key==="Enter"&&!c&&(se.preventDefault(),y&&y(se))}),Xe=rr(se=>{h&&se.key===" "&&V&&!se.defaultPrevented&&Y.stop(se,()=>{Y.pulsate(se)}),_&&_(se),y&&se.target===se.currentTarget&&ce()&&se.key===" "&&!se.defaultPrevented&&y(se)});let Ue=l;Ue==="button"&&(I.href||I.to)&&(Ue=v);const He={};Ue==="button"?(He.type=N===void 0?"button":N,He.disabled=c):(!I.href&&!I.to&&(He.role="button"),c&&(He["aria-disabled"]=c));const St=ft(r,H),Qe=$(w({},n),{centerRipple:i,component:l,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:h,tabIndex:A,focusVisible:V}),st=rx(Qe);return Z.jsxs(nx,$(w(w({as:Ue,className:he(st.root,s),ownerState:Qe,onBlur:z,onClick:y,onContextMenu:J,onFocus:re,onKeyDown:ge,onKeyUp:Xe,onMouseDown:X,onMouseLeave:ne,onMouseUp:oe,onDragLeave:ee,onTouchEnd:ie,onTouchMove:ve,onTouchStart:ue,ref:St,tabIndex:c?-1:A,type:N},He),I),{children:[a,q?Z.jsx(O0,w({ref:D,center:i},B)):null]}))});function er(e,t,r,n=!1){return rr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(Yr.propTypes={action:Go,centerRipple:u.bool,children:u.node,classes:u.object,className:u.string,component:Fc,disabled:u.bool,disableRipple:u.bool,disableTouchRipple:u.bool,focusRipple:u.bool,focusVisibleClassName:u.string,href:u.any,LinkComponent:u.elementType,onBlur:u.func,onClick:u.func,onContextMenu:u.func,onDragLeave:u.func,onFocus:u.func,onFocusVisible:u.func,onKeyDown:u.func,onKeyUp:u.func,onMouseDown:u.func,onMouseLeave:u.func,onMouseUp:u.func,onTouchEnd:u.func,onTouchMove:u.func,onTouchStart:u.func,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),tabIndex:u.number,TouchRippleProps:u.object,touchRippleRef:u.oneOfType([u.func,u.shape({current:u.shape({pulsate:u.func.isRequired,start:u.func.isRequired,stop:u.func.isRequired})})]),type:u.oneOfType([u.oneOf(["button","reset","submit"]),u.string])});function ox(e){return Oe("MuiDivider",e)}const Xd=ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),ix=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return Be({root:["root",t&&"absolute",l,i&&"light",a==="vertical"&&"vertical",o&&"flexItem",r&&"withChildren",r&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},ox,n)},ax=de("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,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(Ye(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ne(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),sx=de("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(Ye(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Fr=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiDivider"}),b=n,{absolute:o=!1,children:i,className:a,orientation:s="horizontal",component:l=i||s==="vertical"?"div":"hr",flexItem:c=!1,light:d=!1,role:p=l!=="hr"?"separator":void 0,textAlign:h="center",variant:m="fullWidth"}=b,v=te(b,["absolute","children","className","orientation","component","flexItem","light","role","textAlign","variant"]),g=$(w({},n),{absolute:o,component:l,flexItem:c,light:d,orientation:s,role:p,textAlign:h,variant:m}),y=ix(g);return Z.jsx(ax,$(w({as:l,className:he(y.root,a),role:p,ref:r,ownerState:g,"aria-orientation":p==="separator"&&(l!=="hr"||s==="vertical")?s:void 0},v),{children:i?Z.jsx(sx,{className:y.wrapper,ownerState:g,children:i}):null}))});Fr&&(Fr.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Fr.propTypes={absolute:u.bool,children:u.node,classes:u.object,className:u.string,component:u.elementType,flexItem:u.bool,light:u.bool,orientation:u.oneOf(["horizontal","vertical"]),role:u.string,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),textAlign:u.oneOf(["center","left","right"]),variant:u.oneOfType([u.oneOf(["fullWidth","inset","middle"]),u.string])});const Kd=ke("MuiListItemIcon",["root","alignItemsFlexStart"]);function lx(e){return typeof e.main=="string"}function cx(e,t=[]){if(!lx(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Cr(e=[]){return([,t])=>t&&cx(t,e)}function ux(e){return Oe("MuiTypography",e)}const dx=ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),fx={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},px=Y2(),hx=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${fe(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return Be(s,ux,a)},gx=de("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${fe(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(Ye(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,n])=>r!=="inherit"&&n&&typeof n=="object").map(([r,n])=>({props:{variant:r},style:n})),...Object.entries(e.palette).filter(Cr()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${fe(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),Qd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},vt=L.forwardRef(function(t,r){const E=Fe({props:t,name:"MuiTypography"}),{color:n}=E,o=te(E,["color"]),i=!fx[n],a=px(w(w({},o),i&&{color:n})),x=a,{align:s="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:p=!1,paragraph:h=!1,variant:m="body1",variantMapping:v=Qd}=x,g=te(x,["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"]),y=$(w({},a),{align:s,color:n,className:l,component:c,gutterBottom:d,noWrap:p,paragraph:h,variant:m,variantMapping:v}),b=c||(h?"p":v[m]||Qd[m])||"span",T=hx(y);return Z.jsx(gx,$(w({as:b,ref:r,className:he(T.root,l)},g),{ownerState:y,style:w(w({},s!=="inherit"&&{"--Typography-textAlign":s}),g.style)}))});process.env.NODE_ENV!=="production"&&(vt.propTypes={align:u.oneOf(["center","inherit","justify","left","right"]),children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),u.string]),component:u.elementType,gutterBottom:u.bool,noWrap:u.bool,paragraph:u.bool,style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),u.string]),variantMapping:u.object});function mx(e){return Oe("MuiListItemText",e)}const El=ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function vx(e){return Oe("MuiMenuItem",e)}const Yn=ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),yx=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},bx=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,l=Be({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},vx,a);return w(w({},a),l)},wx=de(Yr,{shouldForwardProp:e=>qo(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:yx})(Ye(({theme:e})=>$(w({},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","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ne(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Yn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Yn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne(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})`:Ne(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Yn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Xd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Xd.inset}`]:{marginLeft:52},[`& .${El.root}`]:{marginTop:0,marginBottom:0},[`& .${El.inset}`]:{paddingLeft:36},[`& .${Kd.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:$(w({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2),{[`& .${Kd.root} svg`]:{fontSize:"1.25rem"}})}]}))),La=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiMenuItem"}),C=n,{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:p,className:h}=C,m=te(C,["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"]),v=L.useContext(Ro),g=L.useMemo(()=>({dense:a||v.dense||!1,disableGutters:l}),[v.dense,a,l]),y=L.useRef(null);wr(()=>{o&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const b=$(w({},n),{dense:g.dense,divider:s,disableGutters:l}),T=bx(n),E=ft(y,r);let x;return n.disabled||(x=p!==void 0?p:-1),Z.jsx(Ro.Provider,{value:g,children:Z.jsx(wx,$(w({ref:E,role:d,tabIndex:x,component:i,focusVisibleClassName:he(T.focusVisible,c),className:he(T.root,h)},m),{ownerState:b,classes:T}))})});process.env.NODE_ENV!=="production"&&(La.propTypes={autoFocus:u.bool,children:u.node,classes:u.object,className:u.string,component:u.elementType,dense:u.bool,disabled:u.bool,disableGutters:u.bool,divider:u.bool,focusVisibleClassName:u.string,role:u.string,selected:u.bool,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),tabIndex:u.number});const xx=({children:e,disabled:t,style:r,className:n="",onClick:o})=>{const{themeSettings:i}=f.useThemeContext();return f.jsx("div",{className:`csdk-menu-item ${n}`,children:f.jsx(La,{disabled:t,sx:w({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:i.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"15px",color:f.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:f.DEFAULT_BACKGROUND_COLOR}},r),onClick:o,children:f.jsx("div",{className:"csdk-menu-item-content",children:e})})})};function Cx(e){return Oe("MuiListSubheader",e)}ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Ex=e=>{const{classes:t,color:r,disableGutters:n,inset:o,disableSticky:i}=e,a={root:["root",r!=="default"&&`color${fe(r)}`,!n&&"gutters",o&&"inset",!i&&"sticky"]};return Be(a,Cx,t)},Tx=de("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(Ye(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Qi=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiListSubheader"}),m=n,{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=m,d=te(m,["className","color","component","disableGutters","disableSticky","inset"]),p=$(w({},n),{color:i,component:a,disableGutters:s,disableSticky:l,inset:c}),h=Ex(p);return Z.jsx(Tx,w({as:a,className:he(h.root,o),ref:r,ownerState:p},d))});Qi&&(Qi.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Qi.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOf(["default","inherit","primary"]),component:u.elementType,disableGutters:u.bool,disableSticky:u.bool,inset:u.bool,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});const Sx=({children:e})=>{const{themeSettings:t}=f.useThemeContext();return f.jsx(Qi,{sx:{width:"100%",minWidth:"170px",backgroundColor:"#f2f2f2",borderBottom:"1px solid #e6e6e6",height:"29px",lineHeight:"29px",fontFamily:t.typography.fontFamily,fontSize:"13px",paddingLeft:"15px",paddingRight:"15px",color:f.DEFAULT_TEXT_COLOR},children:e})};function Rx({color:e=f.DEFAULT_TEXT_COLOR}){return f.jsx("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",children:f.jsx("path",{fill:e,d:"M13.34 12.5l-2.72-3.175a.5.5 0 1 1 .76-.65l2.998 3.5a.5.5 0 0 1 0 .65l-2.998 3.5a.5.5 0 1 1-.76-.65l2.72-3.175z"})})}const _x=({children:e,label:t,allowOpen:r,disabled:n,style:o,className:i=""})=>{const{themeSettings:a}=f.useThemeContext(),s=S.useRef(null),l=S.useRef(null),[c,d]=S.useState(!1),p=S.useCallback(()=>{n||d(!0)},[n]),h=S.useCallback(()=>d(!1),[]),m=S.useCallback(()=>d(!0),[]),v=S.useCallback(()=>d(!1),[]),g=c&&r;return f.jsxs("div",{ref:s,className:`csdk-menu-item ${i}`,children:[f.jsx(La,{disabled:n,sx:w({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:a.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"0px",color:f.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:f.DEFAULT_BACKGROUND_COLOR}},o),onMouseEnter:p,onMouseLeave:h,children:f.jsxs("div",{className:"csdk-menu-item-content",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t,f.jsx(Rx,{})]})}),f.jsx(Na,{ref:l,style:{pointerEvents:"none"},anchorEl:s.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:g,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,MenuListProps:{sx:{paddingTop:0,paddingBottom:0}},slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:a.typography.fontFamily}}},onClose:()=>{d(!1)},onMouseEnter:m,onMouseLeave:v,children:f.jsx("div",{style:{pointerEvents:"auto"},children:e})})]})},k0=({position:e,itemSections:t,children:r,closeContextMenu:n,alignment:o})=>{const[i,a]=S.useState(t),s=!!e;S.useEffect(()=>{t&&a(t)},[t]);const l=S.useCallback((c,d)=>{const{sectionTitle:p,items:h=[]}=c;return f.jsxs("div",{className:"csdk-menu-section",children:[p&&f.jsx(Sx,{children:p}),h.map((m,v)=>{const{subItems:g}=m;return g&&g.length?f.jsx(_x,{label:m.caption,allowOpen:s,style:m.style,className:m.class,children:g.map(l)},v):f.jsx(xx,{disabled:m.disabled,style:m.style,className:m.class,onClick:()=>{var b;n(),(b=m.onClick)==null||b.call(m)},children:m.caption},v)})]},d!=null?d:p)},[n,s]);return f.jsx(f.Fragment,{children:f.jsxs(Uw,{position:e!=null?e:null,open:s,onClose:n,alignment:o,children:[i==null?void 0:i.map(l),r]})})},Mx=({children:e,onBeforeMenuOpen:t})=>{const[r,n]=S.useState(null),o=S.useCallback(l=>{const c=t?t(l):l;c&&n(c)},[t]),i=S.useCallback(()=>{n(null)},[]),a=S.useCallback(()=>{var l;(l=r==null?void 0:r.onClose)==null||l.call(r),i()},[i,r]),s=S.useMemo(()=>({openMenu:o,closeMenu:i}),[o,i]);return f.jsxs(Ic.Provider,{value:s,children:[f.jsx(k0,{position:r==null?void 0:r.position,itemSections:r==null?void 0:r.itemSections,closeContextMenu:a,alignment:r==null?void 0:r.alignment}),e]})},Ox=({children:e,onBeforeMenuOpen:t})=>{const r=va(),n=S.useCallback(a=>{const s=t?t(a):a;s&&(r==null||r.openMenu(s))},[t,r]),o=S.useCallback(()=>{r==null||r.closeMenu()},[r]),i={openMenu:n,closeMenu:o};return f.jsx(Ic.Provider,{value:i,children:e})},A0=({children:e,onBeforeMenuOpen:t})=>va()?t?f.jsx(Ox,{onBeforeMenuOpen:t,children:e}):f.jsx(f.Fragment,{children:e}):f.jsx(Mx,{onBeforeMenuOpen:t,children:e}),kx=({shouldHaveOwnMenuRoot:e}={})=>t=>function(n){const i=!!va();return e&&!i?f.jsx(A0,{children:f.jsx(t,w({},n))}):f.jsx(t,w({},n))},Kc=S.createContext(null),Fa=()=>S.useContext(Kc),Ax=f.newStyled(Xc,{target:"epaozx80",label:"StyledMuiPopover"})(".MuiPaper-root.MuiPopover-paper:not([style*='top']),.MuiPaper-root.MuiPopover-paper:not([style*='left']){opacity:0 !important;}"),Qc=e=>{var p;const d=e,{children:t,open:r,id:n,position:o,onClose:i,BackdropProps:a,style:s,slotProps:l}=d,c=te(d,["children","open","id","position","onClose","BackdropProps","style","slotProps"]);return f.jsx(Ax,$(w({id:n,className:"csdk-accessible",anchorEl:o==null?void 0:o.anchorEl,anchorOrigin:o==null?void 0:o.anchorOrigin,transformOrigin:o==null?void 0:o.contentOrigin,transitionDuration:0,open:r,BackdropProps:a,style:s,slotProps:{paper:{sx:w({display:"flex",boxShadow:"-1px -1px 10px rgba(0, 0, 0, 0.2)"},(p=l==null?void 0:l.paper)==null?void 0:p.sx)}},onClose:i},c),{children:t}))};let Ix=0;const Px=()=>`modal-${++Ix}`,on=new Set,Dx=({children:e})=>{const[t,r]=S.useState([]),n=S.useRef([]);S.useEffect(()=>()=>{on.forEach(p=>{try{p&&p.parentNode&&p.parentNode===document.body&&document.body.contains(p)&&document.body.removeChild(p)}catch(h){}}),on.clear()},[]);const o=S.useCallback(p=>new Promise(h=>{const m=Px();let v;try{v=document.createElement("div"),v.style.position="fixed",v.style.top="50%",v.style.left="50%",v.style.transform="translate(-50%, -50%)",v.style.width="1px",v.style.height="1px",v.style.pointerEvents="none",v.style.visibility="hidden",v.setAttribute("data-modal-anchor",m),document.body&&typeof document.body.appendChild=="function"?(document.body.appendChild(v),on.add(v)):console.warn("Modal: Unable to append anchor element to document body")}catch(y){console.warn("Modal: Failed to create anchor element:",y),v=document.createElement("div"),v.setAttribute("data-modal-anchor",m)}const g={id:m,options:p,anchorEl:v,resolve:()=>h(m)};r(y=>{const b=[...y,g];return n.current=b,b}),h(m)}),[]),i=S.useCallback(p=>{r(h=>{if(!p){const g=h.slice(0,-1);n.current=g;const y=h[h.length-1];return y!=null&&y.anchorEl&&setTimeout(()=>{try{y.anchorEl&&y.anchorEl.parentNode&&y.anchorEl.parentNode===document.body&&document.body.contains(y.anchorEl)&&(document.body.removeChild(y.anchorEl),on.delete(y.anchorEl))}catch(b){}},0),y&&y.resolve(),g}const m=h.find(g=>g.id===p);m!=null&&m.anchorEl&&setTimeout(()=>{try{m.anchorEl&&m.anchorEl.parentNode&&m.anchorEl.parentNode===document.body&&document.body.contains(m.anchorEl)&&(document.body.removeChild(m.anchorEl),on.delete(m.anchorEl))}catch(g){}},0),m&&m.resolve();const v=h.filter(g=>g.id!==p);return n.current=v,v})},[]),a=S.useCallback(()=>{r(p=>(p.forEach(h=>{h.anchorEl&&setTimeout(()=>{try{h.anchorEl&&h.anchorEl.parentNode&&h.anchorEl.parentNode===document.body&&document.body.contains(h.anchorEl)&&(document.body.removeChild(h.anchorEl),on.delete(h.anchorEl))}catch(m){}},0),h.resolve()}),n.current=[],[]))},[]),s=S.useCallback(()=>n.current,[]),l=S.useCallback(p=>t.some(h=>h.id===p),[t]),c=S.useCallback(p=>{i(p)},[i]),d=S.useMemo(()=>({openModal:o,closeModal:i,closeAllModals:a,getModalStack:s,isModalOpen:l}),[o,i,a,s,l]);return f.jsxs(Kc.Provider,{value:d,children:[t.map((p,h)=>{const{options:m}=p,v=m.measurement==="%"?`${m.width||80}%`:`${m.width||1200}px`,g=m.measurement==="%"?`${m.height||80}%`:`${m.height||800}px`;return f.jsx("div",{children:f.jsx("div",{"data-testid":"modal-backdrop",onClick:y=>{y.target.closest(".MuiPaper-root")||c(p.id)},style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1200+h},children:f.jsx(Qc,{open:!0,position:{anchorEl:p.anchorEl,anchorOrigin:{vertical:"center",horizontal:"center"},contentOrigin:{vertical:"center",horizontal:"center"}},onClose:()=>i(p.id),BackdropProps:{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},style:{zIndex:1200+h+10},slotProps:{paper:{sx:{display:"flex",width:v,height:g,maxWidth:"95vw",maxHeight:"95vh",position:"relative",zIndex:1200+h+10}}},children:f.jsx("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},onClick:y=>y.stopPropagation(),children:f.jsx("div",{style:{flex:1,overflow:"hidden"},children:m.content})})})})},p.id)}),e]})},$x=({children:e})=>{const t=Fa(),r=S.useCallback(l=>(t==null?void 0:t.openModal(l))||Promise.resolve(""),[t]),n=S.useCallback(l=>{t==null||t.closeModal(l)},[t]),o=S.useCallback(()=>{t==null||t.closeAllModals()},[t]),i=S.useCallback(()=>(t==null?void 0:t.getModalStack())||[],[t]),a=S.useCallback(l=>(t==null?void 0:t.isModalOpen(l))||!1,[t]),s={openModal:r,closeModal:n,closeAllModals:o,getModalStack:i,isModalOpen:a};return f.jsx(Kc.Provider,{value:s,children:e})},I0=({children:e})=>Fa()?f.jsx($x,{children:e}):f.jsx(Dx,{children:e}),Nx=({shouldHaveOwnModalRoot:e}={})=>t=>function(n){const i=!!Fa();return e&&!i?f.jsx(I0,{children:f.jsx(t,w({},n))}):f.jsx(t,w({},n))},Lx=e=>t=>(t.displayName=e,t),Xo=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:r,trackingConfig:n={},customContextErrorMessageKey:o,shouldHaveOwnMenuRoot:i,shouldHaveOwnModalRoot:a}=e;return s=>f.flow(Lx(t),py({shouldSkipSisenseContextWaiting:r,customContextErrorMessageKey:o}),ly({componentName:t,config:n}),zh({componentName:t}),my(),kx({shouldHaveOwnMenuRoot:i}),Nx({shouldHaveOwnModalRoot:a}))(s)};class Ko{degToRad(t){return t*Math.PI/180}getFitStringMeasure(t,r,n,o){t.font=o;let i=this.getStringWidth(t,r);const a="…",s=this.getStringWidth(t,a);if(i<=n)return{string:r,width:i};if(s>=n)return{string:a,width:s};do r=r.slice(0,r.length-1),i=this.getStringWidth(t,r);while(i+s>n);return{string:r+a,width:i+s}}getStringWidth(t,r){return Math.ceil(t.measureText(r).width)}floor(t,r){r=typeof r=="number"?r:0;const n=Math.pow(10,r);return Math.round(t*n)/n}setCanvasSizes(t,r,n,o){const i=window.devicePixelRatio||1;t.width=n*i,t.height=o*i,t.style.width=n+"px",t.style.height=o+"px",r.scale(i,i)}}const un=new Ko,Mr=function(e,t){return un.floor(e*t.value,t.decimals)};function Fx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function jx(e,t,r){const{showTitle:n,showSecondary:o,skin:i,maxHeight:a,maxWidth:s,borderWidth:l}=r;for(let c=0;c<t.length;c++){const d=t[c],p=d.value,h=Mr(p,e.valueSectionMarginBottom),v=Mr(p,e.indicatorVerticalMargin)*2;let g=p+h+v;if(n&&i==="vertical"){const y=Mr(p,e.titleSectionHeight);g+=y}if(o){const y=Mr(p,e.secSectionHeight),b=Mr(p,e.secSectionMarginTop);g+=y+b+(l||0)}if(g<=a){const y=Mr(p,e.numericMinWidth),T=Mr(p,e.indicatorHorizontalMargin)*2;if(y+T<=s)return $(w({},d),{maxWidth:s-T,maxHeight:a-v})}}return null}class Bx{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Fx(s,a);return jx(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,skin:t.skin,borderWidth:"borderWidth"in o?o.borderWidth:0})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,a=n.height,n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=r.skin==="vertical"?n.titleSectionHeight:0),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.valueSectionMarginBottom+n.secSectionHeight+n.secSectionMarginTop+n.borderWidth);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,un.setCanvasSizes(t,i,s,a),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=r.skin==="horizontal",i=n.maxWidth-(o?n.fitValueMeasure.width+n.valueSectionMarginRight:0);if(o&&i+n.titleSectionMinWidth<=0)return;const a=un.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o?n.valueSectionMarginRight:0,a.key="title",a}getFitValueMeasure(t,r,n){const o=un.getFitStringMeasure(t,r.value.text,n.maxWidth,n.valueFont);return o.key="value",o}getFitSecondaryMeasure(t,r,n){const o=n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=un.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=un.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n;const o=r.fitTitleMeasure,i=r.fitValueMeasure,a=r.fitSecondaryMeasure;if(r.fitMeasures.some(l=>{const c=r[l.key],d=t[l.dataKey];return!!(c&&d&&c[l.prop]!==d.text)}))return r.maxWidth;if(t.skin==="vertical"){let c=o&&o.width>i.width?o:i;c=a&&a.width>c.width?a:c,n=c.width}else n=i.width,o&&(n+=o.width),a&&a.width>n&&(n=a.width);return n}draw(t,r,n){this.clearCanvas(t,n),this.drawValue(t,r,n),r.showTitle&&this.drawTitle(t,r,n),r.showSecondary&&this.drawSecondary(t,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r,n){!n.fitTitleMeasure||r.skin==="horizontal"&&n.fitValueMeasure.string!==r[n.fitValueMeasure.key].text||(t.font=n.titleFont,t.fillStyle=n.titleColor,r.skin==="vertical"?(t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2)):(t.textAlign="left",t.textBaseline="top",t.fillText(n.fitTitleMeasure.string,n.fitValueMeasure.width+n.valueSectionMarginRight,n.titleSectionMarginTop)))}drawValue(t,r,n){const o=r.skin==="vertical";t.fillStyle=n.valueColor||r.color,t.font=n.valueFont,t.textAlign=o?"center":"left",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,o?n.width/2:0,(r.showTitle&&o?n.titleSectionHeight:0)+n.valueSectionHeight/2)}drawSecondary(t,r){let n=r.height-r.secSectionHeight/2;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="middle",t.fillText(r.fitSecondaryMeasure.titleString,0,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.fillText(r.fitSecondaryMeasure.valueString,r.width,n),t.strokeStyle=r.borderColor,t.beginPath(),n=r.height-r.secSectionHeight-r.secSectionMarginTop-r.borderWidth,t.moveTo(0,n),t.lineTo(r.width,n),t.stroke()}}const dn=new Ko,mi=function(e,t){return dn.floor(e*t.value,t.decimals)};function Hx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function zx(e,t,r){const{showTitle:n,showSecondary:o,maxHeight:i,maxWidth:a,bracketThickness:s}=r;for(let l=0;l<t.length;l++){const c=t[l],d=c.value,p=mi(d,e.indicatorMargin);let h=d+p;if(n){const m=mi(d,e.titleSectionHeight);h+=m}if(o){const m=mi(d,e.secSectionHeight);h+=m}if(h<=i){const m=mi(d,e.numericMinWidth),v=p*2;if(m+s*2+v<=a)return $(w({},c),{maxWidth:a-v,maxHeight:i-p})}}return null}class Wx{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Hx(s,a);return zx(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,bracketThickness:o.bracketThickness})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,a=n.height,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.secSectionHeight);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,dn.setCanvasSizes(t,i,s,a),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-o,a=dn.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o,a.key="title",a}getFitValueMeasure(t,r,n){const o=n.bracketThickness*2,i=n.maxWidth-o,a=dn.getFitStringMeasure(t,r.value.text,i,n.valueFont);return a.width+=o,a.key="value",a}getFitSecondaryMeasure(t,r,n){const o=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=dn.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=dn.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.numericMinWidth+r.bracketThickness*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let d;return s=c?l:s,c?d=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:d=s.string!==t[s.key].text,d?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),(r.showTitle||r.showSecondary)&&this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,r.titleSectionHeight/2),r.offsetY+=r.titleSectionHeight}drawValue(t,r,n){const o=n.offsetY;t.fillStyle=n.valueColor,t.fillRect(1,o,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,o+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){t.strokeStyle=n.bracketColor,t.beginPath(),r.showTitle?(t.moveTo(n.bracketWidth+.5,.5),t.lineTo(.5,.5)):t.moveTo(.5,.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),r.showTitle?(t.moveTo(n.width-(n.bracketWidth+.5),.5),t.lineTo(n.width-.5,.5)):t.moveTo(n.width-.5,.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}}const je=new Ko,an=function(e,t){return je.floor(e*t.value,t.decimals)};function Vx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function Ux(e,t,r){const{maxWidth:n,maxHeight:o,showTitle:i,showSecondary:a}=r;for(let s=0;s<t.length;s++){const l=t[s],c=l.value,d=an(c,e.valueSectionHeight),p=an(c,e.indicatorMargin),h=Math.ceil(p*1.5);let m=c+d+h;if(i){const v=an(c,e.titleSectionHeight);m+=v}if(a){const v=an(c,e.secSectionHeight);m+=v}if(m<=o){const v=an(c,e.gaugeWidth),g=an(c,e.bracketWidth),y=p*2;if(v+g*2+y<=n)return $(w({},l),{maxWidth:n-y,maxHeight:o-h})}}return null}class Gx{getBaseMeasure(t,r,n){const o=r,i="gaugeHeights"in o?o.gaugeHeights:void 0;if(!i)return null;const a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Vx(s,a);return Ux(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary})}render(t,r,n,o){const i=t.getContext("2d");let a=0,s;n.gaugeHeight=o.value,n.size=o.size,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,s=n.gaugeHeight+n.valueSectionHeight,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),s+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),s+=n.secSectionHeight),a=this.getCanvasWidth(r,n),n.width=a,n.height=s,je.setCanvasSizes(t,i,a,s),this.draw(i,r,n)}getFitTitleMeasure(t,r,n){const o=n.bracketWidth*2+n.titleHorizontalMargin*2,i=n.maxWidth-o,a=je.getFitStringMeasure(t,r.title.text,i,n.titleFont);return a.width+=o,a.key="title",a}getFitValueMeasure(t,r,n){const o=n.bracketThickness*2,i=n.maxWidth-o,a=je.getFitStringMeasure(t,r.value.text,i,n.valueFont);return a.width+=o,a.key="value",a}getFitSecondaryMeasure(t,r,n){const o=n.bracketWidth*2+n.secDividerWidth,i=n.maxWidth-o,a=i-n.secTitleMinWidth,s=je.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=je.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.gaugeWidth+r.bracketWidth*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let d;return s=c?l:s,c?d=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:d=s.string!==t[s.key].text,d?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawGauge(t,r,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,(r.titleSectionHeight-r.titleBottomMargin)/2),r.offsetY+=r.titleSectionHeight}drawGauge(t,r,n){n.gaugeCenterX=n.width/2,n.gaugeCenterY=n.offsetY+n.gaugeHeight-n.gaugeBottomMargin,n.needleAngle=this.getNeedleAngle(r,n),r.skin===2&&r.conditions&&r.conditions.length?this.drawConditionalDial(t,r,n):this.drawSimpleDial(t,r,n),r.showTicks&&n.size!=="micro"&&this.drawTicks(t,r,n),this.drawNeedle(t,n),r.showLabels&&n.size!=="micro"&&this.drawLabels(t,r,n),n.offsetY+=n.gaugeHeight}drawValue(t,r,n){t.fillStyle=n.valueColor,t.fillRect(1,n.offsetY,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,n.offsetY+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){const o=r.showTitle?(n.titleSectionHeight-n.titleBottomMargin)/2:0;t.strokeStyle=n.bracketColor,t.beginPath(),t.moveTo(n.bracketWidth+.5,o+.5),t.lineTo(.5,o+.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),t.moveTo(n.width-(n.bracketWidth+.5),o+.5),t.lineTo(n.width-.5,o+.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}getNeedleAngle(t,r){const n=+t.min.data,o=+t.max.data,i=+(t.value.data||0);return i<n?r.startAngle-r.overDegrees:i>o?r.endAngle+r.overDegrees:this.getAngle(r,i,n,o)}getAngle(t,r,n,o){const i=(t.endAngle-t.startAngle)/(o-n);return(r-n)*i+t.startAngle}drawConditionalDial(t,r,n){const o=r.conditions,i=+r.min.data,a=+r.max.data,s=je.degToRad(n.startAngle+180),l=je.degToRad(n.endAngle+180);let c;const d=p=>this.getAngle(n,p,i,a);for(this.drawArc(t,n,s,l,n.defaultDialColor),c=o.length-1;c>=0;c--){const p=o[c];let h=+p.data,m,v=NaN,g=NaN,y=NaN,b=NaN;const T=.25;switch(p.operator){case"<":if(h<=i)break;h=h>a?a:h,m=d(h),v=s,g=je.degToRad(m+180);break;case">":if(h>=a)break;h=h<i?i:h,m=d(h),v=je.degToRad(m+180),g=l;break;case"≤":if(h<i)break;h=h>a?a:h,m=d(h),v=s,g=je.degToRad(m+(m+T<=n.endAngle?T:0)+180);break;case"≥":if(h>a)break;h=h<i?i:h,m=d(h),v=je.degToRad(m-(m-T>=n.startAngle?T:0)+180),g=l;break;case"=":if(h<i||h>a)break;m=d(h),v=je.degToRad(m-(m-T>=n.startAngle?T:0)+180),g=je.degToRad(m+(m+T<=n.endAngle?T:0)+180);break;case"≠":if(h<i||h>a)v=s,g=l;else if(h===i||h===a){const E=h===i;v=je.degToRad(n.startAngle+(E?T:0)+180),g=je.degToRad(n.endAngle-(E?0:T)+180)}else m=d(h),v=s,g=je.degToRad(m-(m-T>=n.startAngle?T:0)+180),y=je.degToRad(m+(m+T<=n.endAngle?T:0)+180),b=l}!isNaN(v)&&!isNaN(g)&&this.drawArc(t,n,v,g,p.color),!isNaN(y)&&!isNaN(b)&&this.drawArc(t,n,y,b,p.color)}}drawSimpleDial(t,r,n){const o=je.degToRad(n.startAngle+180),i=je.degToRad(n.needleAngle+180),a=je.degToRad(n.endAngle+180);n.needleAngle>n.startAngle&&n.needleAngle<n.endAngle?(this.drawArc(t,n,o,i,n.valueColor),t.globalAlpha=n.gaugeOpacity,this.drawArc(t,n,i,a,n.valueColor)):(n.needleAngle<=n.startAngle&&(t.globalAlpha=n.gaugeOpacity),this.drawArc(t,n,o,a,n.valueColor)),t.globalAlpha=1}drawArc(t,r,n,o,i){t.fillStyle=i,t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.outerArcRadius,n,o),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.innerArcRadius,o,n,!0),t.fill()}drawTicks(t,r,n){const o=n.startAngle,i=n.endAngle,a=n.tickDegreesIncrement,s=n.needleAngle;let l;for(l=o;l<=i;l+=a){const c=je.degToRad(l),d=n.gaugeCenterX-n.lengthToTick*Math.cos(c),p=n.gaugeCenterY-n.lengthToTick*Math.sin(c),h=s<o,m=s>=l-a/2&&s<l+a/2,v=l===i&&s>=l;t.fillStyle=!h&&m||v?r.color:n.tickColor,t.beginPath(),t.arc(d,p,n.tickRadius,0,2*Math.PI),t.fill()}}drawNeedle(t,r){const n=je.degToRad(r.needleAngle);t.fillStyle=r.needleColor,t.save(),t.translate(r.gaugeCenterX,r.gaugeCenterY),t.rotate(n),t.translate(-r.gaugeCenterX,-r.gaugeCenterY),t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.needleBaseRadius,.5*Math.PI,1.5*Math.PI,!0),t.lineTo(r.gaugeCenterX-r.needleLength,r.gaugeCenterY),t.fill(),t.restore()}drawLabels(t,r,n){t.font=n.labelFont,t.fillStyle=n.labelColor,t.textAlign="right",t.textBaseline="middle",t.fillText(r.min.text,n.gaugeCenterX-n.labelMargin,n.gaugeCenterY),t.textAlign="left",t.fillText(r.max.text,n.gaugeCenterX+n.labelMargin,n.gaugeCenterY)}}const zt=new Ko;class Yx{render(t,r,n,o){const i=t.getContext("2d"),a=Math.floor(o.clientWidth)-n.horizontalMargin*2,s=n.sectionMinWidth;let l=0,c=0,d=0,p=0,h=0,m=0,v=0,g=0,y;if(i.font=n.valueFont,y=zt.getStringWidth(i,r.value.text),n.offsetX=0,r.title.text+=":",r.secondaryTitle&&(r.secondaryTitle.text+=":"),r.showTitle&&(i.font=n.titleFont,m=zt.getStringWidth(i,r.value.text),h=zt.getStringWidth(i,r.title.text),c=h<s?h:s,y+=c+n.textPadding),r.showSecondary&&(i.font=n.secondaryValueFont,g=zt.getStringWidth(i,r.secondary.text),p=g<s?g:s,y+=p,i.font=n.secondaryTitleFont||"",v=zt.getStringWidth(i,r.secondaryTitle.text),d=v<s?v:s,y+=d+n.horizontalPadding*2+n.dividerWidth+n.textPadding),r.type==="gauge"){const T=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const x=m+h+v+g+n.textPadding*4+T,C=a-T-x;n.barWidth=Math.max(C,n.barWidth)}const E=n.barWidth+T;y+=E,n.showTickerBar=y<=a||!0,l+=n.showTickerBar?E:0}l+=r.showTitle?n.textPadding:0,l+=r.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const b=a-l-c-d-p;if(n.fitValueMeasure=zt.getFitStringMeasure(i,r.value.text,b,n.valueFont),l+=n.fitValueMeasure.width,r.showSecondary){const T=a-l-c-d;let E;n.fitSecValueMeasure=zt.getFitStringMeasure(i,r.secondary.text,T,n.secondaryValueFont),l+=n.fitSecValueMeasure.width;const x=a-l,C=x/2;r.showTitle?h+v>x?h>C&&v>C?E=C:v>C&&h<=C?E=x-h:E=v:E=v:E=x,n.fitSecTitleMeasure=zt.getFitStringMeasure(i,r.secondaryTitle.text,E,n.secondaryTitleFont),l+=n.fitSecTitleMeasure.width}if(r.showTitle){const T=a-l;n.fitTitleMeasure=zt.getFitStringMeasure(i,r.title.text,T,n.titleFont),l+=n.fitTitleMeasure.width}n.width=l,zt.setCanvasSizes(t,i,l,n.height),this.draw(i,r,n)}draw(t,r,n){this.clearCanvas(t,n),r.type==="gauge"&&n.showTickerBar&&(this.drawTickerBar(t,r,n),this.drawDivider(t,n)),t.textBaseline="middle",r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&(this.drawDivider(t,n),this.drawSecondary(t,n))}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTickerBar(t,r,n){var c;const o=+r.min.data,i=+r.max.data,a=+(((c=r.value)==null?void 0:c.data)||0),s=Math.round((n.height-n.barHeight)/2);let l;if(t.fillStyle=n.valueColor,a<=o)t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=0;else if(a>=i)t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=n.barWidth-n.tickerBarWidth;else{const d=(a-Math.abs(o))/(i-o),p=n.barWidth*d;t.fillRect(n.offsetX,s,p,n.barHeight),t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX+p,s,n.barWidth-p,n.barHeight),p>n.barWidth-n.tickerBarWidth?l=n.barWidth-n.tickerBarWidth:p<n.tickerBarWidth?l=0:l=p-1}t.globalAlpha=1,t.fillStyle=n.barHandleColor,t.fillRect(n.offsetX+l,Math.round((n.height-n.tickerBarHeight)/2),n.tickerBarWidth,n.tickerBarHeight),n.offsetX+=n.barWidth}drawDivider(t,r){t.fillStyle=r.dividerColor,t.fillRect(r.offsetX+r.horizontalPadding,Math.round((r.height-r.dividerHeight)/2),r.dividerWidth,r.dividerHeight),r.offsetX+=r.horizontalPadding*2+r.dividerWidth}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.fillText(r.fitTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitTitleMeasure.width+r.textPadding}drawValue(t,r,n){t.font=n.valueFont,t.fillStyle=n.valueColor||r.color,t.fillText(n.fitValueMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitValueMeasure.width}drawSecondary(t,r){t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.fillText(r.fitSecTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitSecTitleMeasure.width+r.textPadding,t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.fillText(r.fitSecValueMeasure.string,r.offsetX,Math.floor(r.height/2))}}const Zd={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(0,206,230)",fontSizes:{big:66,medium:46,small:32,micro:23}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",borderColor:"rgb(215, 215, 215)",borderWidth:1,relativeSizes:[{key:"titleSectionHeight",value:.5,decimals:0},{key:"titleSectionMarginTop",value:.13,decimals:0},{key:"titleSectionMinWidth",value:.29,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"valueSectionMarginRight",value:.14,decimals:0},{key:"valueSectionMarginBottom",value:.07,decimals:0},{key:"secSectionHeight",value:.34,decimals:0},{key:"secSectionMarginTop",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"indicatorHorizontalMargin",value:.31,decimals:0},{key:"indicatorVerticalMargin",value:.46,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","titleSectionHeight","secSectionHeight","valueSectionMarginBottom","secSectionMarginTop","indicatorHorizontalMargin","indicatorVerticalMargin"],sizes:[{size:"big",value:70},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}],fitMeasures:[{key:"fitTitleMeasure",prop:"string",dataKey:"title"},{key:"fitValueMeasure",prop:"string",dataKey:"value"},{key:"fitSecondaryMeasure",prop:"titleString",dataKey:"secondaryTitle"},{key:"fitSecondaryMeasure",prop:"valueString",dataKey:"secondary"}]},qx={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"rgb(255, 255, 255)",bracketColor:"rgb(198, 198, 198)",bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:1,decimals:0},{key:"titleHorizontalMargin",value:.16,decimals:0},{key:"numericMinWidth",value:4.69,decimals:0},{key:"valueSectionHeight",value:1,decimals:0},{key:"secSectionHeight",value:1,decimals:0},{key:"secBottomMargin",value:.14,decimals:0},{key:"secDividerWidth",value:.14,decimals:0},{key:"secTitleMinWidth",value:.29,decimals:0},{key:"bracketWidth",value:.21,decimals:0},{key:"indicatorMargin",value:.64,decimals:0}],measureKeys:["indicatorMargin","numericMinWidth","bracketWidth","titleSectionHeight","secSectionHeight"],sizes:[{size:"big",value:70,maxWidth:1261,maxHeight:665},{size:"medium",value:49},{size:"small",value:34},{size:"micro",value:24}]},Xx={fontFamily:"opensansregular, sans-serif",title:{color:"rgb(68, 81, 102)",fontSizes:{big:22,medium:18,small:15,micro:12}},value:{color:"rgb(255, 255, 255)",fontSizes:{big:45,medium:31,small:22,micro:15}},secondaryTitle:{color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},secondaryValue:{fontWeight:800,color:"rgb(163, 163, 163)",fontSizes:{big:20,medium:14,small:10,micro:10}},label:{color:"rgb(68, 81, 102)",fontSizes:{big:18,medium:13,small:9,micro:9}},textKeys:["title","value","secondaryTitle","secondaryValue","label"],backgroundColor:"rgb(255, 255, 255)",tickColor:"rgb(0, 0, 0)",needleColor:"rgb(43, 51, 66)",bracketColor:"rgb(198, 198, 198)",defaultDialColor:"rgb(179, 179, 179)",gaugeOpacity:.5,startAngle:20,endAngle:160,overDegrees:5,tickDegreesIncrement:10,bracketThickness:1,relativeSizes:[{key:"titleSectionHeight",value:.26,decimals:0},{key:"titleHorizontalMargin",value:.08,decimals:0},{key:"titleBottomMargin",value:.1,decimals:0},{key:"gaugeWidth",value:1.33,decimals:0},{key:"gaugeBottomMargin",value:.19,decimals:0},{key:"outerArcRadius",value:.63,decimals:0},{key:"innerArcRadius",dataKey:"skin",values:{1:.24,2:.51},decimals:0},{key:"lengthToTick",value:.7,decimals:0},{key:"tickRadius",value:.01,decimals:1},{key:"needleLength",dataKey:"skin",values:{1:.52,2:.58},decimals:0},{key:"needleBaseRadius",value:.04,decimals:0},{key:"labelMargin",value:.26,decimals:0},{key:"valueSectionHeight",value:.36,decimals:0},{key:"secSectionHeight",value:.36,decimals:0},{key:"secBottomMargin",value:.05,decimals:0},{key:"secDividerWidth",value:.05,decimals:0},{key:"secTitleMinWidth",value:.1,decimals:0},{key:"bracketWidth",value:.08,decimals:0},{key:"indicatorMargin",value:.14,decimals:0}],gaugeHeights:[{size:"big",value:192,maxWidth:1297,maxHeight:1075},{size:"medium",value:134},{size:"small",value:94},{size:"micro",value:66}],measureKeys:["indicatorMargin","gaugeWidth","bracketWidth","titleSectionHeight","valueSectionHeight","secSectionHeight"]},Kx={fontFamily:"Open Sans",fontSize:15,title:{color:"rgb(68, 81, 102)"},value:{fontWeight:800},secondaryTitle:{color:"rgb(163, 163, 163)"},secondaryValue:{color:"rgb(163, 163, 163)"},textKeys:["title","value","secondaryTitle","secondaryValue"],backgroundColor:"transparent",dividerColor:"rgb(39, 42, 52)",barHandleColor:"rgb(43, 51, 66)",height:35,horizontalMargin:15,barWidth:100,barHeight:11,barOpacity:.5,tickerBarWidth:2,tickerBarHeight:13,horizontalPadding:9,textPadding:6,sectionMinWidth:20,dividerWidth:1,dividerHeight:13,forceTickerView:!1};function Qx(e,t){const r=f.cloneDeep(Kx);if(r.forceTickerView=t.forceTickerView,r.fontFamily=t.fontFamily,r.backgroundColor=t.backgroundColor,r.value.color=t.value.color,r.title.color=t.title.color,r.secondaryTitle.color=t.secondaryTitle.color,r.secondaryValue.color=t.secondaryTitle.color,t.tickerBarHeight){const n=t.tickerBarHeight;r.barHeight=n,r.tickerBarHeight=n+2}return r.forceTickerView&&(r.height=e.offsetHeight),r}const Zx=new Ko,Jx=new Bx,eC=new Wx,tC=new Gx,rC=new Yx;class nC{getService(t){switch(t){case"numericSimple":return Jx;case"numericBar":return eC;case"gauge":return tC;case"ticker":return rC}}render(t,r,n,o){let i=this.getService(r.type);const a="getBaseMeasure"in i?i.getBaseMeasure(r,n,o):void 0;if(!a||n.forceTickerView){i=this.getService("ticker");const s=Qx(t,n);this.setTextOptions(s),i.render(t,r,s,o);return}this.calculateRelativeSizes(r,n,a.value),this.setTextOptions(n,a.size),i.render(t,r,n,a)}calculateRelativeSizes(t,r,n){const{relativeSizes:o}=r;o.forEach(function(i){let a;if("dataKey"in i&&"values"in i&&i.dataKey in t)a=i.values[t[i.dataKey]];else if("value"in i)a=i.value;else throw new f.TranslatableError("errors.indicatorInvalidRelativeSize");const s=a*n;r[i.key]=Zx.floor(s,i.decimals)})}setTextOptions(t,r){t.textKeys.forEach(function(n){const o=t[n],i=o.fontStyle?`${o.fontStyle} `:"",a=o.fontVariant?`${o.fontVariant} `:"",s=o.fontWeight?`${o.fontWeight} `:"",l=`${Number.parseFloat(o.fontSizes&&o.fontSizes[r]||o.fontSize||t.fontSize)}px `,c=o.fontFamily||t.fontFamily,{color:d}=o;t[`${n}Font`]=i+a+s+l+c,t[`${n}Color`]=d})}}function P0(e){var r;const t=(r=e.value)==null?void 0:r[0];if(t&&"color"in t)return t.color}function oC(e,t,r){if(!iC(e))return r;const o=f.getColoringServiceByColorOptions(e).getColor(t);return o?$(w({},r),{value:$(w({},r.value),{color:o})}):r}function iC(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}const aC=(e,t)=>{const r=P0(t);return r&&e.value?f.getColoringServiceByColorOptions(r).getColor(f.isNumber(e.value)?e.value:0):null},sC=(e,t,r)=>{var p,h,m,v,g,y,b,T,E,x,C,_;const n=f.isNumber(e.min)?e.min:0,o=f.isNumber(e.max)?e.max:100,i=vi(r,"value"),a=vi(r,"secondary"),s=vi(r,"min"),l=vi(r,"max"),c=aC(e,r),d=t.indicatorType==="gauge"?1:"vertical";return $(w(w({},cC),c?{color:c}:null),{type:lC(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||d,title:{text:(m=(h=(p=t.indicatorComponents)==null?void 0:p.title)==null?void 0:h.text)!=null?m:""},min:{data:n,text:f.applyFormatPlainText(s,n)},max:{data:o,text:f.applyFormatPlainText(l,o)},value:{data:e.value,text:Jd(e.value,i)},secondary:{data:e.secondary,text:Jd(e.secondary,a)},secondaryTitle:{text:(y=(g=(v=t.indicatorComponents)==null?void 0:v.secondaryTitle)==null?void 0:g.text)!=null?y:""},showSecondary:e.secondary!==void 0,showTitle:!!((T=(b=t.indicatorComponents)==null?void 0:b.title)!=null&&T.shouldBeShown),showLabels:!!((x=(E=t.indicatorComponents)==null?void 0:E.labels)!=null&&x.shouldBeShown),showTicks:!!((_=(C=t.indicatorComponents)==null?void 0:C.ticks)!=null&&_.shouldBeShown)})};function lC(e,t){return e==="numeric"?t:e}function vi(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return f.getCompleteNumberFormatConfig(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const cC={color:"#00cee6",showSecondary:!1};function Jd(e,t){return e===void 0?"":isNaN(e)?"#N/A":f.applyFormatPlainText(t,e)}function Tl(e,t,r){const n=f.cloneDeep(r);for(const o in t){const i=t[o],a=uC(e,i);a&&D0(n,o,a)}return n}function D0(e,t,r){const n=t.split(".");if(n.length===1)if(n[0]in e)e[n[0]]=r;else return;else{const[o,...i]=n;if(!(o in e))return;const a=e[o];if(!$0(a))return;D0(a,i.join("."),r)}}function uC(e,t){const r=t.split(".");let n=e;for(const o of r){if(!$0(n)||!(o in n))return;n=n[o]}return n}function $0(e){return typeof e=="object"&&e!==null}function dC(e,t,r){return Tl(e,t,r)}const fC={fontFamily:"typography.fontFamily","title.color":"chart.textColor",backgroundColor:"chart.backgroundColor","label.color":"chart.textColor","secondaryTitle.color":"chart.secondaryTextColor","secondaryValue.color":"chart.secondaryTextColor","value.color":"palette.variantColors.0"},pC=(e,t)=>{const{chartData:r,dataOptions:n,themeSettings:o}=t,{type:i}=e;let a;switch(i){case"gauge":a=Xx;break;case"numeric":e.numericSubtype==="numericBar"?a=qx:a=Zd;break;default:a=Zd}o&&(a=dC(o,fC,a));const s=P0(n);return s&&r.value&&f.isNumber(r.value)&&(a=oC(s,r.value,a)),w($(w({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};var hC=function(e){return e.PERCENT="%",e.PIXEL="px",e}({}),gC=function(e){return e.DEFAULT="default",e.HOVER="hover",e.FOCUS="focus",e}({});function Pi(e){return typeof e=="string"}function mC(e){var l;const t=f.useThemeContext().themeSettings,[r,n]=S.useState(null),[o,i]=S.useState(null),a=(l=f.useSisenseContext().app)==null?void 0:l.httpClient;S.useEffect(()=>{e&&Pi(e)&&a&&$h(e,a).then(c=>{n(c)}).catch(i)},[a,e]),S.useEffect(()=>{(!e||!Pi(e))&&(n(null),i(null))},[e]);const s=S.useMemo(()=>r?ef(t,r):e&&!Pi(e)?ef(t,e):t,[r,t,e]);return o?[null,o]:[s,null]}function ef(e,t){return f.merge.withOptions({mergeArrays:!1},e,t)}function tf(e){return`${e.fontFamily}|${e.fontWeight}|${e.fontStyle}`}function vC(e,t){const[r,n]=S.useState([]),[o,i]=S.useState(!1),a=S.useMemo(()=>e.filter(s=>!t.includes(tf(s))),[e,t]);return S.useEffect(()=>{if(a.length===0){i(!0);return}let s=!1;const l=a.map(c=>{const d=c.src.map(h=>Object.entries(h).map(([v,g])=>`${v}('${g}')`).join(" ")).join(", ");return new FontFace(c.fontFamily,d,{style:c.fontStyle,weight:c.fontWeight.toString()}).load().then(h=>(s||document.fonts.add(h),tf(c)))});return Promise.all(l).then(c=>{s||(n(d=>[...d,...c]),i(!0))}).catch(c=>{console.error("Failed to load fonts:",c),i(!0)}),()=>{s=!0}},[a]),{loadedFonts:r,areAllFontsLoaded:o}}const rf=S.createContext({loadedFonts:[]}),yC=({fonts:e,children:t})=>{var a;const{loadedFonts:r}=S.useContext(rf),{themeSettings:n}=f.useThemeContext(),{loadedFonts:o,areAllFontsLoaded:i}=vC(e||((a=n.typography.fontsLoader)==null?void 0:a.fonts)||[],r);return f.jsx(rf.Provider,{value:{loadedFonts:[...r,...o]},children:i&&t})},N0=Xo({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:r}=e,[n,o]=mC(t);if(o)throw o;return f.jsx(f.Fragment,{children:n&&f.jsx(f.ThemeContext.Provider,{value:{themeSettings:n},children:f.jsx(yC,{children:r})})})});function bC(e,t,r){return e==null?e:f.baseSet(e,t,r)}const L0={"value.data":"value.data","value.text":"value.text","secondary.data":"secondary.data","secondary.text":"secondary.text","title.text":"title.text","secondaryTitle.text":"secondaryTitle.text"},F0={"value.color":"value.color","secondaryValue.color":"secondary.color","secondaryValue.fontWeight":"secondary.fontWeight","title.color":"title.color","secondaryTitle.color":"secondaryTitle.color"};function wC(e,t){const r={};return f.flow(nf(e,L0),nf(t,F0))(r)}function nf(e,t){return r=>{const n=w({},r);for(const[o,i]of Object.entries(t))bC(n,i,f.get(e,o));return n}}const xC=(e,t,r)=>{const n=Tl(e,L0,t),o=Tl(e,F0,r);return{legacyDataOptions:n,legacyChartOptions:o}},CC=e=>e,EC=(e,t)=>{var o;const r={},n=(i,a)=>{if(i===void 0)return;const s=f.getCompleteNumberFormatConfig(a);return f.applyFormatPlainText(s,i)};return t.value&&t.value.length>0&&(r.value=$(w({},f.getDataPointMetadata("value",t.value[0])),{value:(o=e.value)!=null?o:0,displayValue:n(e.value,t.value[0])})),t.secondary&&t.secondary.length>0&&e.secondary!==void 0&&(r.secondary=$(w({},f.getDataPointMetadata("secondary",t.secondary[0])),{value:e.secondary,displayValue:n(e.secondary,t.secondary[0])})),t.min&&t.min.length>0&&e.min!==void 0&&(r.min=$(w({},f.getDataPointMetadata("min",t.min[0])),{value:e.min,displayValue:n(e.min,t.min[0])})),t.max&&t.max.length>0&&e.max!==void 0&&(r.max=$(w({},f.getDataPointMetadata("max",t.max[0])),{value:e.max,displayValue:n(e.max,t.max[0])})),{entries:r}},TC=({chartData:e,dataOptions:t,designOptions:r,onBeforeRender:n=CC,onDataPointClick:o})=>{var c;const i=S.useRef(null),a=S.useRef(null),{themeSettings:s}=f.useThemeContext();S.useEffect(()=>{if(!a.current||!i.current)return;const d=new nC,p=sC(e,r,t),h=pC({type:r.indicatorType,numericSubtype:"numericSubtype"in r?r.numericSubtype:void 0,forceTickerView:r.forceTickerView,tickerBarHeight:r.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:s}),m=wC(p,h),v=n(m),{legacyDataOptions:g,legacyChartOptions:y}=xC(v,p,h);d.render(a.current,g,y,i.current)},[e,t,r,s,n]);const l=d=>{if(o){const p=EC(e,t);o(p,d.nativeEvent)}};return f.jsx("div",{ref:i,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(c=s==null?void 0:s.chart)==null?void 0:c.backgroundColor,cursor:o?"pointer":"default"},"aria-label":"indicator-root",onClick:l,children:f.jsx("canvas",{ref:a})})},SC=e=>e.type==="indicator",RC=e=>"min"in e,_C=e=>"indicatorComponents"in e,MC=e=>!!e.chartData&&SC(e.chartData)&&RC(e.dataOptions)&&_C(e.designOptions);function j0(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:f.baseSlice(e,t,r)}function OC(e,t){for(var r=e.length;r--&&f.baseIndexOf(t,e[r],0)>-1;);return r}function kC(e,t){for(var r=-1,n=e.length;++r<n&&f.baseIndexOf(t,e[r],0)>-1;);return r}function AC(e){return e.split("")}var IC="\\ud800-\\udfff",PC="\\u0300-\\u036f",DC="\\ufe20-\\ufe2f",$C="\\u20d0-\\u20ff",NC=PC+DC+$C,LC="\\ufe0e\\ufe0f",FC="\\u200d",jC=RegExp("["+FC+IC+NC+LC+"]");function B0(e){return jC.test(e)}var H0="\\ud800-\\udfff",BC="\\u0300-\\u036f",HC="\\ufe20-\\ufe2f",zC="\\u20d0-\\u20ff",WC=BC+HC+zC,VC="\\ufe0e\\ufe0f",UC="["+H0+"]",Sl="["+WC+"]",Rl="\\ud83c[\\udffb-\\udfff]",GC="(?:"+Sl+"|"+Rl+")",z0="[^"+H0+"]",W0="(?:\\ud83c[\\udde6-\\uddff]){2}",V0="[\\ud800-\\udbff][\\udc00-\\udfff]",YC="\\u200d",U0=GC+"?",G0="["+VC+"]?",qC="(?:"+YC+"(?:"+[z0,W0,V0].join("|")+")"+G0+U0+")*",XC=G0+U0+qC,KC="(?:"+[z0+Sl+"?",Sl,W0,V0,UC].join("|")+")",QC=RegExp(Rl+"(?="+Rl+")|"+KC+XC,"g");function ZC(e){return e.match(QC)||[]}function _l(e){return B0(e)?ZC(e):AC(e)}function JC(e,t,r){if(e=f.toString(e),e&&(r||t===void 0))return f.baseTrim(e);if(!e||!(t=f.baseToString(t)))return e;var n=_l(e),o=_l(t),i=kC(n,o),a=OC(n,o)+1;return j0(n,i,a).join("")}const Y0=",";function e3(e){return e.join(`${Y0} `)}function t3(e){return e.split(Y0).map(JC)}function r3(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function n3(e,t){const{name:r,rawName:n,coordinates:o,value:i,colorValue:a,details:s}=e,c={geo:t.locations.map((d,p)=>$(w({},f.getDataPointMetadata(`geo.${p}`,d)),{value:n[p]}))};if(t.size&&(c.size=$(w({},f.getDataPointMetadata("size",t.size)),{value:i})),t.colorBy&&(c.colorBy=$(w({},f.getDataPointMetadata("colorBy",t.colorBy)),{value:a})),t.details){const d=f.getDataPointMetadata("details",t.details);d.measure&&(c.details=$(w({},d),{value:s}))}return{categories:n,displayName:r,coordinates:{lat:o.lat,lng:o.lng},value:i,entries:c}}const o3=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function i3(e,t){const r=o3[e.toLowerCase()];return r&&(t[r]=e),r||e}function a3(e,t){return t[e.toLowerCase()]||e}const s3=(e,t)=>{const{app:r}=f.useSisenseContext(),[n,o]=S.useState([]),i=S.useRef(e),a=S.useCallback(()=>_t(exports,null,function*(){if(!r||!e)return;const s={},l=r3(t),c=yield r.httpClient.post("api/v1/geo/locations",w({locations:e.map(v=>({name:i3(v.name,s)}))},l&&{geoLevel:l})),d=i.current!==e;if(!c||d)return;const p=c.reduce((v,g)=>{const y=$(w({},g),{name:a3(g.name,s)});return v[y.name]=y,v},{}),h=[],m=e.map(v=>(p[v.name]||h.push(v.name),w(w({},v),p[v.name]?{coordinates:p[v.name].latLng}:null)));h.length&&console.warn(`Locations "${h.join(", ")}" coordinates not found`),o(m)}),[r,o,e,t]);return S.useEffect(()=>{e&&(i.current=e,e.some(l=>!!l.coordinates)?o(e):a())},[e,r,a,o]),n};function l3(e){let t=Number.MAX_VALUE,r=Number.MIN_VALUE;return e.forEach(n=>{isNaN(n)||(t=Math.min(t,n),r=Math.max(r,n))}),{min:t,max:r}}function c3(e,t=4,r=24){let n=0;const{min:o,max:i}=l3(e.map(({value:s})=>s)),a=r-t;return n=i-o,e.map(s=>n===0?t:(s.value-o)/n*a+t)}const u3=()=>{const{app:e}=f.useSisenseContext(),[t,r]=S.useState(null),n=S.useCallback(()=>_t(exports,null,function*(){if(!e)return;const o=yield e.httpClient.get("api/v1/settings/system");o&&r(o.geo)}),[r,e]);return S.useEffect(()=>{n()},[e,n]),t},d3="#00cee6",f3=f.createDataColoringFunction({getValueFromDataStructure:({colorValue:e})=>parseFloat(`${e}`),applyColorToDataStructure:(e,t)=>$(w({},e),{color:t})});function p3(e,t){return t?f3(e.map(({colorValue:r})=>({colorValue:r})),t).map(({color:r})=>r):e.map(()=>d3)}function q0(e){return{isLight:["hollow","filled-light"].includes(e),isFilled:["filled","filled-light"].includes(e)}}function X0(e){const{color:t,size:r,fill:n,blur:o}=e,{isFilled:i}=q0(n),l=o?{filled:.1,"filled-light":.1,hollow:.2,"hollow-bold":.25}[n]:{filled:.5,"filled-light":.2,hollow:.35,"hollow-bold":.9}[n];return{radius:r,fillOpacity:l,opacity:l,fillColor:i?t:"transparent",color:i?"transparent":t,stroke:!i,weight:i?0:2,customStyle:e}}function h3({coordinates:e,style:t}){const r=new f.Leaflet.CircleMarker({lat:e.lat,lng:e.lng},X0(t));return r.on("mouseover",g3),r.on("mouseout",m3),r}function g3(e){const t=e.target,r=t.options.customStyle,{isFilled:n,isLight:o}=q0(r.fill);return t.setStyle(n?{stroke:!0,weight:2,opacity:o?.5:.7,fillOpacity:o?.5:.7}:{weight:3,opacity:o?.6:1}),t}function m3(e){const t=e.target,r=t.options.customStyle;t.setStyle(X0(r))}function v3(e){e.forEach(t=>t.remove())}function y3(e,t){const r=`
179
179
  © <a href='https://www.mapbox.com/about/maps/'>Mapbox</a>
180
180
  © <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>
181
181
  <strong>
182
182
  <a href='https://www.mapbox.com/map-feedback/' target='_blank' aria-label='Improve this map (opens in a new tab)'>
183
183
  Improve this map
184
184
  </a>
185
- </strong>`,n="© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",o=f.Leaflet.control.attribution();return t.indexOf("mapbox")>-1?o.addAttribution(r).addTo(e):t.indexOf("openstreetmap")>-1&&o.addAttribution(n).addTo(e),o}var b3="Expected a function";function w3(e,t,r){if(typeof e!="function")throw new TypeError(b3);return setTimeout(function(){e.apply(void 0,r)},t)}var x3=f.baseRest(function(e,t,r){return w3(e,f.toNumber(t)||0,r)}),$s=function(e){return e[e.YES=0]="YES",e[e.NO=1]="NO",e[e.LOADING=2]="LOADING",e}({});const rf="N/A",Ns=10,C3=`
185
+ </strong>`,n="© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",o=f.Leaflet.control.attribution();return t.indexOf("mapbox")>-1?o.addAttribution(r).addTo(e):t.indexOf("openstreetmap")>-1&&o.addAttribution(n).addTo(e),o}var b3="Expected a function";function w3(e,t,r){if(typeof e!="function")throw new TypeError(b3);return setTimeout(function(){e.apply(void 0,r)},t)}var x3=f.baseRest(function(e,t,r){return w3(e,f.toNumber(t)||0,r)}),Ls=function(e){return e[e.YES=0]="YES",e[e.NO=1]="NO",e[e.LOADING=2]="LOADING",e}({});const of="N/A",Fs=10,C3=`
186
186
  <svg
187
187
  xmlns="http://www.w3.org/2000/svg"
188
188
  width="24"
@@ -208,14 +208,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
208
208
  `,tr=e=>`<span class="csdk-scattermap-tooltip-label">${e}</span>`,E3=e=>{const t=`
209
209
  <div>
210
210
  <div>${tr("...")}</div>
211
- <div>${tr(`Showing first ${Ns} results`)}</div>
211
+ <div>${tr(`Showing first ${Fs} results`)}</div>
212
212
  </div>
213
213
  `;return`
214
214
  <div>
215
- ${e.slice(0,Ns).map(r=>`<div>${tr(r)}</div>`).join("")}
216
- ${e.length>Ns?t:""}
215
+ ${e.slice(0,Fs).map(r=>`<div>${tr(r)}</div>`).join("")}
216
+ ${e.length>Fs?t:""}
217
217
  </div>
218
- `},Ls=e=>`
218
+ `},js=e=>`
219
219
  <span class="csdk-scattermap-tooltip-category">
220
220
  ${tr(e)}
221
221
  </span>
@@ -224,46 +224,46 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
224
224
  <div class="csdk-scattermap-tooltip-content">
225
225
  <div>${tr(e.name)}</div>
226
226
  <div class="csdk-scattermap-tooltip-row">
227
- ${t.size?Ls(f.getDataOptionTitle(t.size)):""}
227
+ ${t.size?js(f.getDataOptionTitle(t.size)):""}
228
228
  ${t.size?tr(n):""}
229
229
  </div>
230
230
  <div class="csdk-scattermap-tooltip-row">
231
- ${t.colorBy?Ls(f.getDataOptionTitle(t.colorBy)):""}
232
- ${t.colorBy?tr(o||rf):""}
231
+ ${t.colorBy?js(f.getDataOptionTitle(t.colorBy)):""}
232
+ ${t.colorBy?tr(o||of):""}
233
233
  </div>
234
234
  <div class="csdk-scattermap-tooltip-row">
235
- ${(r===2||r===0)&&t.details?Ls(f.getDataOptionTitle(t.details)):""}
235
+ ${(r===2||r===0)&&t.details?js(f.getDataOptionTitle(t.details)):""}
236
236
  ${r===2?T3():""}
237
- ${r===0&&t.details&&f.isMeasureColumn(t.details)?tr(i||rf):""}
237
+ ${r===0&&t.details&&f.isMeasureColumn(t.details)?tr(i||of):""}
238
238
  </div>
239
239
  <div>
240
240
  ${r===0&&t.details&&!f.isMeasureColumn(t.details)?E3(e.details):""}
241
241
  </div>
242
242
  </div>
243
243
  </div>
244
- `},S3=600,R3=11,_3=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=f.useSisenseContext(),o=S.useCallback(a=>_t(exports,null,function*(){if(!n||!e.details||f.isMeasureColumn(e.details))return[];const s=e.locations.map((d,p)=>{const h=f.translateColumnToAttribute(d),m=t3(a)[p];return f.members(h,[m])}),l={dataSource:t,dimensions:[f.translateColumnToAttribute(e.details)],filters:At(r,s),count:R3};return(yield f.executeQuery(l,n)).rows.map(([d])=>d.text)}),[n,e,t,r]);return S.useCallback(a=>{if(!e.details||e.details&&!f.isMeasureColumn(e.details)&&!t)return{content:yi(a,e)};if(f.isMeasureColumn(e.details))return{content:yi(a,e,$s.YES)};const s=new Promise(c=>x3(c,S3)),l=Promise.all([o(a.name),s]).then(([c])=>yi($(w({},a),{details:c}),e,$s.YES));return{content:yi(a,e,$s.LOADING),postponedContent:l}},[e,t,o])},M3=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=u3(),{themeSettings:l}=f.useThemeContext(),c=s3(a,t.locationLevel),{filters:d}=f.getFilterListAndRelationsJaql(n),p=_3({dataOptions:t,dataSource:r,filters:d}),h=S.useRef(null),m=S.useRef(null),v=S.useMemo(()=>c3(c,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[c,t,o]),g=S.useMemo(()=>{var x;return p3(c,(x=t.colorBy)==null?void 0:x.color)},[c,t]),y=S.useRef([]),b=S.useRef(f.Leaflet.layerGroup([])),T=S.useRef(null),E=S.useRef(null);return S.useEffect(()=>{h.current&&!m.current&&(m.current=f.Leaflet.map(h.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),b.current.addTo(m.current),m.current.fitWorld())},[]),S.useEffect(()=>{y.current&&(v3(y.current),y.current=[]),c&&(c.forEach((x,C)=>{if(!x.coordinates)return;const _=h3({coordinates:x.coordinates,style:{color:g[C],size:v[C],fill:o.markers.fill,blur:!!x.blur}});y.current.push(_),_.addTo(b.current),i&&_.on("click",O=>{i(n3(x,t),O.originalEvent)}),_.bindTooltip(()=>{const{content:O,postponedContent:k}=p(x);return k==null||k.then(D=>_.setTooltipContent(D)),O})}),f.fitMapToBounds(m.current,y.current,f.prepareFitBoundsAnimationOptions(l)))},[c,g,v,o,l,t,p,i]),S.useEffect(()=>{var x;s&&(T.current&&T.current.remove(),T.current=f.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),m.current&&(T.current.addTo(m.current),(x=E.current)==null||x.remove(),E.current=y3(m.current,s.maps_api_provider)))},[s]),f.jsx("div",{className:"csdk-map-container",ref:h,style:{width:"100%",height:"100%"}})},q0=e=>e.type==="scattermap"&&"locations"in e,O3=e=>"locations"in e,k3=e=>"markers"in e,A3=e=>!!e.chartData&&q0(e.chartData)&&O3(e.dataOptions)&&k3(e.designOptions),I3="_wrapper_g0ngm_1",P3="_title_g0ngm_7",D3="_image_g0ngm_18",Fs={wrapper:I3,title:P3,image:D3},$3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='50.5'%20y='558.5'%20fill='%23E4E4E4'%20width='466'%20height='2'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M487.5,531.5h-410v-68.9l0.3-0.3l144-155.7l104.2,88.1l161.6-179.5V531.5z%20M79.5,529.5h406V220.4%20L326.1,397.5l-104.2-88.2l-142.4,154V529.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",N3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='25.5'%20y='558.5'%20fill='%23E4E4E4'%20width='516'%20height='2'/%3e%3cpath%20fill='%23E4E4E4'%20d='M518.9,188.1c-18.1,0-32.8,14.7-32.8,32.8c0,10,4.5,19,11.7,25.1l-129,162.8c-5.5-4.1-12.2-6.5-19.6-6.5%20c-10.4,0-19.7,4.9-25.7,12.5l-96.4-71.5c3.7-5.3,5.9-11.8,5.9-18.7c0-18.1-14.7-32.8-32.8-32.8c-18.1,0-32.8,14.7-32.8,32.8%20c0,9.2,3.8,17.5,9.9,23.5L69.5,465.4c-5.8-5-13.2-8-21.4-8c-18.1,0-32.8,14.7-32.8,32.8S30,523,48.1,523s32.8-14.7,32.8-32.8%20c0-9.2-3.8-17.5-9.9-23.5l107.8-117.4c5.8,5,13.2,8,21.4,8c10.4,0,19.7-4.9,25.7-12.5l96.4,71.5c-3.7,5.3-5.9,11.8-5.9,18.7%20c0,18.1,14.7,32.8,32.8,32.8s32.8-14.7,32.8-32.8c0-10-4.5-19-11.7-25.1l129-162.8c5.5,4.1,12.2,6.5,19.6,6.5%20c18.1,0,32.8-14.7,32.8-32.8S537,188.1,518.9,188.1z%20M48.1,521c-17,0-30.8-13.8-30.8-30.8s13.8-30.8,30.8-30.8%20c7.7,0,14.7,2.8,20.1,7.5c0.5,0.4,1,0.9,1.5,1.4c5.7,5.6,9.3,13.4,9.3,22C78.9,507.2,65,521,48.1,521z%20M200.2,355.4%20c-7.7,0-14.7-2.8-20.1-7.5c-0.5-0.4-1-0.9-1.5-1.4c-5.7-5.6-9.3-13.4-9.3-22c0-17,13.8-30.8,30.8-30.8c17,0,30.8,13.8,30.8,30.8%20c0,6.5-2,12.5-5.5,17.5c-0.4,0.5-0.8,1.1-1.2,1.6C218.7,350.8,210,355.4,200.2,355.4z%20M349.3,465.9c-17,0-30.8-13.8-30.8-30.8%20c0-6.5,2-12.5,5.5-17.5c0.4-0.5,0.8-1.1,1.2-1.6c5.6-7.1,14.4-11.7,24.1-11.7c6.9,0,13.2,2.3,18.3,6.1c0.5,0.4,1.1,0.8,1.6,1.2%20c6.7,5.7,10.9,14.1,10.9,23.5C380.1,452,366.3,465.9,349.3,465.9z%20M518.9,251.7c-6.9,0-13.2-2.3-18.3-6.1c-0.5-0.4-1.1-0.8-1.6-1.2%20c-6.7-5.7-10.9-14.1-10.9-23.5c0-17,13.8-30.8,30.8-30.8s30.8,13.8,30.8,30.8S535.9,251.7,518.9,251.7z'/%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",L3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='64.5'%20y='201.5'%20fill='%23E4E4E4'%20width='2'%20height='381'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M447.5,560.5h-357v-60h357V560.5z%20M92.5,558.5h353v-56h-353V558.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M292.5,468.5h-202v-60h202V468.5z%20M92.5,466.5h198v-56h-198V466.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M526.5,377.5h-436v-60h436V377.5z%20M92.5,375.5h432v-56h-432V375.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M368.5,285.5h-278v-59h278V285.5z%20M92.5,283.5h274v-55h-274V283.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='78'%20y='558.5'%20fill='%23E4E4E4'%20width='410'%20height='2'/%3e%3cg%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M463,533.5h-61v-207h61V533.5z%20M404,531.5h57v-203h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M363,533.5h-61v-152h61V533.5z%20M304,531.5h57v-148h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M263,533.5h-61v-316h61V533.5z%20M204,531.5h57v-312h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M163,533.5h-62v-248h62V533.5z%20M103,531.5h58v-244h-58V531.5z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",j3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M298.5,607.2c-12.6,0-25.3-1.1-37.6-3.2l-1-0.2l29.6-198l-27.1,61l-20.3-12.1l45.2-52.6L126.8,524.6%20l-0.6-0.8c-12.1-15.5-21.8-32.7-29-50.9l-0.4-0.9l0.9-0.4l181.4-70.1l-149.6,20.9v-47.1l158.4,22.1L97.5,323.8l0.4-0.9%20c7.3-18,17.1-34.9,29.3-50.4l0.6-0.8L282,389.2l-76.9-89.5l34.5-20.2l49.9,112.2l-29.6-198l1-0.2c12.4-2.1,25-3.2,37.6-3.2%20c8,0,16.1,0.4,23.9,1.3l1,0.1l-0.2,1l-29.7,198.8l83.2-187.1l0.9,0.3c19.5,7.5,37.7,17.7,54.3,30.3l0.8,0.6L301.2,389.2l132.5-101%20l28,44.9l-166,64.2L511.5,367l0.1,1c1.6,10.2,2.4,20.6,2.4,30.8c0,10.2-0.8,20.6-2.4,30.8l-0.1,1l-207.1-29l95.5,36.9l-18.5,28.9%20l-85.5-65.1l108.5,126.3l-45.5,23.8l-65.1-146.5l29.9,199.9l-1,0.1C314.4,606.8,306.4,607.2,298.5,607.2z%20M262.2,602.2%20c12,2,24.2,3,36.3,3c7.4,0,15.1-0.4,22.7-1.2l-29.7-198.5L262.2,602.2z%20M295.3,404.7l64.5,144.9l41.4-21.7L295.3,404.7l0.1,0.1%20L295.3,404.7z%20M99.4,473.1c7,17.4,16.3,33.8,27.8,48.7l158.3-120.6L99.4,473.1z%20M297.8,401.2l83.1,63.3l16-25L297.8,401.2z%20M245.2,454.3l16.3,9.7l26.4-59.4L245.2,454.3z%20M298.8,398.8l211,29.5c1.4-9.8,2.2-19.7,2.2-29.5c0-9.8-0.7-19.7-2.2-29.5%20L298.8,398.8z%20M131.5,377.6V420l152.2-21.2L131.5,377.6z%20M433.2,291.1L297.8,394.2l160.9-62.2L433.2,291.1z%20M100.1,322.6%20l185.2,71.6L128.2,274.5C116.6,289.3,107.2,305.5,100.1,322.6z%20M377.9,207.1L295.3,393l0,0l0,0L430,236.1%20C414,224.1,396.5,214.3,377.9,207.1z%20M287.9,393L287.9,393l-49.2-110.6l-30.5,17.8L287.9,393L287.9,393z%20M262.2,195.3L291.6,392%20l29.6-198.5c-7.5-0.8-15.1-1.2-22.7-1.2C286.4,192.3,274.2,193.4,262.2,195.3z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B3="data:image/svg+xml,%3csvg%20width='616'%20height='559'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3cpath%20fill='none'%20stroke='%23E4E4E4'%20id='svg_1'%20stroke-width='2'%20d='m97.44781,156.99998l419.1042,0l-24.42354,59.30477l-370.25707,0l-24.42359,-59.30477zm29.93028,72.6737l359.24347,0l-24.42354,59.30458l-310.39633,0l-24.42361,-59.30458zm54.35357,131.97891l-24.4232,-59.30521l299.38335,0l-24.42422,59.30521l-250.53593,0zm220.60617,72.6737l-190.67573,0l-24.42491,-59.30458l239.52554,0l-24.42491,59.30458zm-3.92305,72.6737l-182.82963,0l1.26325,-59.30458l180.30313,0l1.26325,59.30458z'/%3e%3c/g%3e%3c/svg%3e",H3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M480.4,506.2l-162.3-106L509.4,431l-0.2,1c-4.3,26.5-13.8,51.2-28.4,73.4L480.4,506.2z%20M327,403.7%20l152.7,99.8c13.9-21.5,23.1-45.3,27.3-70.8L327,403.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M275.3,586.8C170.9,586.8,86,502,86,397.7c0-50.6,19.6-98.1,55.1-133.8c35.6-35.7,83-55.5,133.5-55.5h1%20v188.7l158.3,103.1l-0.5,0.8C398.1,554.8,339.1,586.8,275.3,586.8z%20M273.5,210.7c-49.6,0.3-96.1,19.7-131.1,54.8%20C107.3,300.7,88,347.7,88,397.7c0,103.2,84,187.1,187.4,187.1c62.7,0,120.9-31.4,155.7-83.9L273.5,398.3V210.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M482.8,408.7l-1-0.2l-187.3-30V188.5h1c74.8,0,142.7,44.1,173.1,112.2c15.2,34.1,20.2,71.1,14.4,107%20L482.8,408.7z%20M296.5,376.9l184.6,29.5c5.5-35.2,0.5-71.4-14.4-104.9c-29.9-67.1-96.6-110.5-170.2-110.9V376.9z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",z3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cpolygon%20fill='%23E4E4E4'%20points='80,575%2080,233%2078,233%2078,575%2078,577%2080,577%20497,577%20497,575%20'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M374.7,480.1c-29.7,0-53.9-24.2-53.9-53.9c0-29.7,24.2-53.9,53.9-53.9s53.9,24.2,53.9,53.9%20C428.6,455.9,404.4,480.1,374.7,480.1z%20M374.7,374.3c-28.6,0-51.9,23.3-51.9,51.9s23.3,51.9,51.9,51.9s51.9-23.3,51.9-51.9%20S403.3,374.3,374.7,374.3z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M264.2,395.2c-22,0-40-17.9-40-40c0-22,17.9-40,40-40s40,17.9,40,40C304.2,377.3,286.2,395.2,264.2,395.2z%20M264.2,317.3c-20.9,0-38,17-38,38c0,20.9,17,38,38,38s38-17,38-38C302.2,334.3,285.1,317.3,264.2,317.3z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M413.7,351.2c-38.8,0-70.3-31.6-70.3-70.3c0-38.8,31.6-70.3,70.3-70.3s70.3,31.5,70.3,70.3%20C484,319.6,452.4,351.2,413.7,351.2z%20M413.7,212.5c-37.7,0-68.3,30.7-68.3,68.3c0,37.7,30.7,68.3,68.3,68.3%20c37.7,0,68.3-30.7,68.3-68.3C482,243.2,451.3,212.5,413.7,212.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M228.9,489C228.9,489,228.9,489,228.9,489c-15.8,0-29.7-10.1-34.5-25.2c-3-9.2-2.2-19,2.3-27.7%20c4.4-8.6,11.9-15,21.2-18c3.6-1.2,7.4-1.8,11.1-1.8c15.8,0,29.7,10.1,34.5,25.2c3,9.2,2.2,19.1-2.3,27.7c-4.4,8.6-11.9,15-21.2,18%20C236.4,488.4,232.6,489,228.9,489z%20M228.9,418.4c-3.6,0-7.1,0.6-10.5,1.7c-8.7,2.8-15.8,8.8-20,17c-4.2,8.1-4.9,17.4-2.1,26.1%20c4.6,14.2,17.7,23.8,32.6,23.8c3.6,0,7.1-0.6,10.5-1.7c8.7-2.8,15.8-8.8,20-17c4.2-8.1,4.9-17.4,2.1-26.2%20C256.9,428,243.8,418.4,228.9,418.4z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M147.5,548C147.5,548,147.5,548,147.5,548c-9.4,0-17.6-6-20.4-14.9c-3.6-11.3,2.6-23.4,13.9-27%20c2.1-0.7,4.4-1,6.6-1c9.3,0,17.6,6,20.4,14.9c3.6,11.3-2.6,23.3-13.9,27C152,547.7,149.7,548,147.5,548z%20M147.5,507.1%20c-2,0-4,0.3-6,0.9c-10.2,3.3-15.9,14.2-12.6,24.4c2.6,8.1,10,13.5,18.5,13.5c0,0,0,0,0,0c2,0,4-0.3,6-0.9%20c10.2-3.3,15.8-14.3,12.6-24.5C163.4,512.5,156,507.1,147.5,507.1z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",W3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M307.6,337.5h-28.6l-3.4,41.7h28.6L307.6,337.5z%20M278.4,376.7l3-36.7h23.5l-3,36.7H278.4z'/%3e%3cpath%20fill='%23E4E4E4'%20d='M262.9,415.9h12l2.4-28.6h23.5l-2.4,28.6h12l2.4-28.6h18.6v-10.5h-17.5l3-36.7h17.7v-10.5h-16.8l2.4-28.6%20h-12l-2.4,28.6h-23.5l2.4-28.6h-12l-2.4,28.6h-18.5V340h17.5l-3,36.7h-17.7v10.5h16.8L262.9,415.9z%20M251.1,384.7v-5.5h17.5%20l3.4-41.7h-17.8V332h18.3l2.4-28.6h7l-2.4,28.6h28.6l2.4-28.6h7l-2.4,28.6h17v5.5h-17.5l-3.4,41.7H329v5.5h-18.4l-2.4,28.6h-7%20l2.4-28.6h-28.6l-2.4,28.6h-7l2.4-28.6H251.1z'/%3e%3cpath%20fill='%23E4E4E4'%20d='M84,269.1v178.8h396.6V269.1H84z%20M478.2,445.4H86.5V271.6h391.6V445.4z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",V3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2018.1.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566.5%20700.5'%20enable-background='new%200%200%20566.5%20700.5'%20xml:space='preserve'%3e%3cg%20id='Layer_2'%3e%3crect%20x='-5057'%20y='-6963'%20fill='transparent'%20stroke='%23000000'%20stroke-miterlimit='10'%20width='16156.4'%20height='16115.1'/%3e%3c/g%3e%3cg%20id='Layer_1'%3e%3cpath%20fill='%23E4E4E4'%20d='M399,207h-2H284h-2H170h-2H53v35v4v31v2v31v2v30v2v31v2v30v2v31v2v31v2v34h115h2h112h2h113h2h116v-34v-2%20v-31v-2v-31v-2v-30v-2v-31v-2v-30v-2v-31v-2v-31v-4v-35H399z%20M397,211v31H284v-31H397z%20M282,279v31H170v-31H282z%20M170,277v-31h112%20v31H170z%20M282,312v30H170v-30H282z%20M282,344v31H170v-31H282z%20M282,377v30H170v-30H282z%20M282,409v31H170v-31H282z%20M282,442v31H170%20v-31H282z%20M284,442h113v31H284V442z%20M284,440v-31h113v31H284z%20M284,407v-30h113v30H284z%20M284,375v-31h113v31H284z%20M284,342v-30h113%20v30H284z%20M284,310v-31h113v31H284z%20M284,277v-31h113v31H284z%20M282,211v31H170v-31H282z%20M57,211h111v31H57V211z%20M57,246h111v31H57%20V246z%20M57,279h111v31H57V279z%20M57,312h111v30H57V312z%20M57,344h111v31H57V344z%20M57,377h111v30H57V377z%20M57,409h111v31H57V409z%20M57,442h111v31H57V442z%20M57,505v-30h111v30H57z%20M170,505v-30h112v30H170z%20M284,505v-30h113v30H284z%20M511,505H399v-30h112V505z%20M511,473H399v-31h112V473z%20M511,440H399v-31h112V440z%20M511,407H399v-30h112V407z%20M511,375H399v-31h112V375z%20M511,342H399v-30h112%20V342z%20M511,310H399v-31h112V310z%20M511,277H399v-31h112V277z%20M399,242v-31h112v31H399z'/%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3cpath%20fill='%23E4E4E4'%20d='M52,202.5v200v2v104h462v-306H52z%20M510,402.5H225v-196h285V402.5z%20M56,206.5h167v196H56V206.5z%20M56,404.5%20h298v100H56V404.5z%20M356,504.5v-100h154v100H356z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",nf="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M276.8,521.3c-0.5,0-0.9-0.1-1.3-0.2l-0.3-0.1l-0.2-0.2c-0.5-0.6-1-1.3-0.8-1.9c-1-0.6-2.6-0.6-4-0.6%20c-1,0-1.8,0-2.5-0.2l-0.3-0.1l-0.2-0.2c-0.5-0.6-2.8-1.7-4.5-2.5c-1.9-0.9-3.8-1.7-4.8-2.5l-0.2-0.2l-0.1-0.3c-2-5-2.7-6.5-3-7%20c-0.1-0.3-0.2-0.4-0.2-0.6c-0.1-0.6,0-1.1,0.1-1.4c0.1-0.5,0.2-1-1.2-3.5c-0.4-0.6-2.4-2.7-3.6-3.8l-0.2-0.2l-1.1-3%20c-1.8-1.6-3.5-5.2-5.1-8.3c-0.7-1.4-1.3-2.6-1.8-3.5c-1.1-1.6-2-2.4-2.9-3.2c-1.1-1-2.2-2-3.8-4.3c-2.1-0.3-3.7,0-5.3,0.4%20c-2,0.4-3.9,0.8-6-0.3c-0.4,0.5-1.1,1.8-1.6,2.7c-1.6,2.9-3.4,6.3-5.8,5.3c-12.1-4.7-13.8-9.4-14.9-12.4c-0.1-0.3-0.2-0.6-0.3-0.8%20l-0.1-0.2l0-0.2c0.2-2.3,0.1-2.4-0.3-3.1c-0.4-0.7-1-1.7-1.9-4.2c-4.3-2.4-8.1-7.1-10.8-10.5c-1.1-1.3-2-2.5-2.7-3.2%20c-0.1,0-0.2-0.1-0.4-0.1l0,0.2l-0.9-0.1c-2.4-0.3-7.4-0.9-14.7-1.2l-1,4.1l-0.4,0.2c-2.2,1-6.3,1.8-8.9,0.7l0,0l-9.4-1.9%20c-5.6,0.2-10.8-2.5-14.6-4.5l-0.9-0.5c-4.7-2.3-8.4-4.5-11.4-6.3c-1.2-0.7-2.2-1.3-3.2-1.9c-5.5-3.1-9.2-5.2-15.9-8.5l-0.5-0.2%20l-0.1-0.5c-0.1-0.7-0.1-1.2-0.1-1.6c0-0.1,0-0.3,0-0.4l-5.3-0.6c-6-0.7-12.2-1.3-16.2-1.5l-0.1,0.1l-0.7-0.1l0.1-1.1l-0.5-0.7%20c-0.3,0.2-0.4,0.5-0.4,0.6c0.1-1-1.4-8.7-2.7-10.8c-1.4-2.1-3.1-3.5-5.6-4.5l-0.3-0.1l-0.2-0.2c-0.7-0.9-0.8-2.2-0.8-3.1%20c-0.3-0.1-0.6-0.2-1.1-0.3c-1.8-0.6-6.9-4.8-7.6-6.2c-0.8-0.8-2.2-1.9-3.2-1.9c-2.7,0-4.7-0.8-5.8-2.4c-1.7-2.4-0.9-5.9-0.1-8%20c-1.4-2.2-2.9-5.5-4.2-8.4c-1.2-2.7-2.5-5.4-3.2-6.3l-0.2-0.2l0-0.3c-0.2-1.6-0.5-4.7,2.1-6.5c0.1-0.9-0.3-1.2-1.2-1.8%20c-0.9-0.7-2.2-1.6-2.8-3.6c-0.3-0.9-0.1-3.3,0.1-5.1c0,0-0.1,0-0.1,0c-0.2-0.1-0.5-0.4-0.7-0.9l-0.1-0.3l0.1-0.3%20c0.3-0.8,0.4-1.2,0.4-1.4c-0.1-0.1-0.3-0.4-0.4-0.7l-0.1-0.5l0,0c0,0-0.1-0.1-0.1-0.1c-0.6-0.6-1.3-1.2-1.7-2.2l-0.3-0.5l0.4-0.5%20c0.4-0.6,0.3-1.1-0.1-2.5c-0.2-0.6-0.4-1.3-0.5-2c0,0,0,0,0,0c-1.3-0.9-4-2.8-3.1-9.6c0.4-2.6,0.5-4.7,0.6-6.6%20c0.1-0.8,0.1-1.6,0.2-2.5c-0.8-1-2.8-4.1-2.3-7.1c0.3-1.6,1.2-2.9,2.8-3.9c1.5-2.9,3.3-8.8,3.6-12.7c-0.7-1.2-0.5-2.7-0.2-4.7%20c0.1-0.7,0.2-1.5,0.3-2.4c0.4-4.3,2.4-8.3,5.1-10.4c3.3-8.1,7.8-19.4,11.2-28.6l-0.4-0.3l0.3-0.9c-1-0.6-0.9-2-0.9-2.5%20c0.1-1.4,1.1-2.6,1.8-3.4c0,0,0,0,0.1-0.1c-0.6-1.6-0.6-1.9-0.4-3.7c0.2-1,0.9-1.5,1.4-1.7c0-0.9-0.2-2.8-0.3-4.4%20c-0.3-3.2-0.7-7.2-0.5-10.1c0.1-2.1,0.9-3.4,2.2-3.8c3.8-1.2,10.8,7.2,12.9,9.7l0.5,0.6l-0.4,0.6c-1.2,1.7-0.2,6.3,0.8,8.6%20c0.3-1.3,0.9-3.2,2.7-3.7l0.2-3.6l0.1,0c0-0.4-0.1-1.3-0.2-2c-0.4-2.8-0.5-4.3,0-5.1c0-0.3-0.4-1.1-0.6-1.6%20c-0.6-1.1-1.2-2.4-0.8-3.7l0.3-1.1l1,0.4c2.4,1,29.9,7.4,44.2,10.6c2.8,0.3,7.6,1.6,8.4,1.8c0.4,0,1.5,0.2,4.9,0.8%20c7.5,1.3,23.2,4,42.1,6.6c14.2,2,31.3,3.6,47.7,5.1l54.2,1.4c2.1-0.3,4.4-0.4,14.5-0.4v-1c0-2.1,0.8-2.3,2.8-2.8l0.3-0.1%20c1.4-0.2,3.3,2.6,3.6,4c0.1,0.7,0.7,2.1,1.3,2.6c1.1,0.9,1.9,1,2.7,1.1c0.4,0.1,0.8,0.1,1.2,0.2c0.1,0,0.4,0.1,0.7,0.2%20c0.8,0.2,2.8,0.7,3.3,0.6c8.4-1,8.6-0.5,9.1,0c0.1,0.1,0.1,0.4,0.1,0.9v0.2l-0.1,0.3c-0.2,0.2-0.3,0.5-0.4,0.7%20c3.4,0.4,6.8,2.2,8,3c2.4-1.1,4.4-1.3,7.2-1.6c1-0.1,2.2-0.2,3.5-0.4l5.5-0.3c3-1,6.7-2.1,7.8-1.8l0.2,0.1l0.2,0.2%20c0.6,0.5,1.3,2.4,0.5,4.1c-1,2.2-3.8,3.1-8.4,2.6l-0.2,0l-0.2-0.1c-1-0.6-6.7,1.9-8.1,2.9c-0.8,0.6-6.6,6.7-9.9,10.4%20c1.5-0.3,3.2-1,4.7-1.7c1.3-0.6,2.5-1.1,3.4-1.2l0.6-0.1l0.8,1.4c0.2,0.2,0.3,0.4,0.4,0.5c0.2,0.6-0.2,1-0.4,1.2%20c-0.1,0.1-0.1,0.1-0.2,0.2c1,0.2,1.8,0.4,2.4,0.6c0.5-0.1,2.4-0.4,2.6-1.5c0-0.2,0.1-0.5,0.2-0.7l2.1-2.9l-0.2,2.3%20c2.1-0.8,6.4-2.8,8.6-5.2c0.6-1.8,3.7-3.6,4.4-3.9c0.2-0.1,0.4-0.2,0.5-0.3c0.7-0.4,1.8-1,2.7-0.6c0.6,0.2,1,0.7,1.3,1.4l0.1,0.2%20l0,0.2c-0.2,2.4-2.1,2.5-2.8,2.6c-0.1,0-0.2,0-0.2,0c-0.1,0-0.4,0.3-0.7,0.7c0.2,0.7-0.1,1.5-0.5,2.1c2-0.2,4.5,0.4,8.1,3.9%20c0.5-0.1,1.2-0.2,1.9-0.3l0.3,0l0.3,0.2c1.3,0.9,4.8-1.3,6.3-2.2c0.8-0.5,1.2-0.7,1.6-0.8l0.1,0c0.7-0.1,1.4-0.2,2-0.3%20c1.9-0.3,3.4-0.5,4.4-1.1l1.1-0.6l0.4,1.5c0.2,0.8,0.5,1.7,1,1.9c0.6,0.3,1.8,0,3.3-0.7l1.3-0.6l0.1,1.4c0.1,0.5,1.6,2.4,2.4,3.4%20c0.5,0.7,1.1,1.6,1.4,2l1.1,1.8h-1.9c-1.3,0-3.1-0.1-4.7,0c0,0,0-0.1,0-0.1c-0.1,0.1-0.1,0.1-0.3,0.6l11.1,4.2l0.2,0.2%20c0.1,0.1,1.4,1.6,2.3,3.9l0,0.1c0.6,2.6,1.3,7.7,1.3,7.8l0.1,0.9l-0.9,0.2c-0.3,0.1-0.5,0.1-0.6,0.1c0,0,0,0,0,0%20c-0.6,2.3-1.2,3.9-2.8,4.3c-0.5,1.4-0.2,1.9-0.1,2.1c0.2,0.2,0.5,0.3,0.7,0.3l1.6-1.3c0.2-0.9,0.8-2.9,3.5-4.5l0.3-0.2l0.3,0%20c2.8,0.1,4,2.2,4.5,3.1l0.2,0.5c1.2,5.7,3.2,7.3,3.2,7.3l0.4,0.3l0,0.5c-0.1,1.8-0.3,3.9-0.2,4.4c0.2,0.8,0,2.1-0.2,2.6%20c-0.2,0.6-0.4,1-0.7,1.2c0,0.2,0.2,0.3,0.2,0.6v0.7l-0.8,0.3c-0.2,0.1-0.4,0.1-0.5,0.2c0,0,0,0,0,0l0.1,0.5l-0.3,0.4%20c-0.5,0.6-1.1,0.7-1.5,0.9c-0.4,0.1-0.4,0.1-0.5,0.2c-0.1,0.3-0.1,0.4-0.1,0.4c0,0.1,0.2,0.3,0.3,0.5l0.7,0.9l-0.7,0.6%20c-0.6,0.5-2,2.2-2.6,3.7c2.2,0.5,5.9,1.4,7.4,1.7c1.2-1.3,2.6-1.7,3.5-2c0.1,0,0.2-0.1,0.3-0.1l0-0.2l2.8-1.1l1.8-2.1%20c0.1-0.1,2.4-3.3,5.5-4.1l0.3-0.2l2.1-0.7c0.3-0.1,0.8-0.3,1.3-0.4c0.8-0.2,1.7-0.5,2.2-0.8l0.2-0.1l0.2,0c0,0,1-0.2,2.5-0.2%20c0.2-0.3,0.4-0.7,0.7-1.1c1.1-1.6,3.3-4.9,3.6-5.7l0.3-0.8l0.6,0.1c0-0.1,0.1-0.2,0.1-0.3c0.2-0.4,0.4-0.8,0.7-1.4%20c0-0.7-0.3-1.2-0.7-2c-0.4-0.7-0.9-1.4-1.1-2.4c-0.1-0.2-0.3-0.4-0.3-0.5v0c0-0.1,0.2-0.2,0.2-0.2l-0.1-0.1c0-0.3-0.1-0.5-0.1-0.7%20V291l1.6,5.8c0.1-0.1,0.3-0.1,0.5-0.2c1.3-0.5,5-1,9.2-1.5c1.5-0.2,2.8-0.3,3.4-0.4c1.8-0.4,4.6-1.2,5.3-1.7%20c0.8-0.6,1.7-1.8,2.2-2.3c0.1-1.5,0-3.8-0.6-4.4c-0.1-0.1-0.3-0.2-0.6-0.1l-1.1,0.2l-0.1-1.1c-0.1-1.6,0.9-2.8,1.3-3.1%20c5-7.8,9-11.1,9.2-11.2l0.2-0.1l12-3l0-0.4l0.8-0.2c4.5-0.9,8.2-2,11.2-2.8c1-0.3,1.9-0.6,2.7-0.8c0-0.3,0-0.6,0-0.8%20c0.2-1.4,1.6-2.8,3.3-3.3c0.1,0,0.1-0.1,0.2-0.1l1.3-3v-1.5c-0.4-0.5-0.8-1.3-0.5-2c0.2-0.4,0.6-0.9,1.7-0.8%20c0.5-0.6,1-2.9,1.2-10.6c0-0.8,0-1.5,0.1-1.8l0-0.4l0.3-0.3c0.7-0.6,1.2-2.3,1.7-3.7c0.6-2,1.2-3.9,2.6-4.7l0.8-0.4l0.5,0.8%20c0.2,0.4,1.1,1.4,2,1.3c0.9-0.2,1.5-0.7,2.1-1.3c0.8-0.7,1.7-1.5,3-1.5h0.3l0.3,0.2c3.6,2.8,4.2,3.6,4.9,4.9%20c0.2,0.3,0.4,0.7,0.7,1.1l0.1,0.3c0.2,0.6,0.6,2.1,1.1,4c0.8,2.7,1.8,6.3,2.2,7.5c0.2,0.1,0.7,0.1,1.1,0c2-0.2,2.5,1.3,2.8,2.4%20c0.1,0.4,0.3,0.9,0.6,1.4c0.1,0,0.3,0.1,0.4,0.2c0.9,0.6,1.2,2.1,1.5,3.6c0.1,0.5,0.2,1.2,0.3,1.5l0.5,0.4l-0.3,0.7%20c-0.4,0.9-1.5,2.5-2.5,4c-0.2,0.4-0.4,0.6-0.5,0.8c-0.9,2.3-2.9,4-5.4,4.7c-1.3,0.3-2.4,0.3-3.2-0.1c-0.2,1.2-0.4,2.5-0.3,3.2%20l0,0.8l-1.8,0.6c-0.4,2-2.1,4-3.6,4.9c0.1,0.7,0.4,1.6,0.6,2.5c0.6,2.3,1.3,4.7,0.8,6.3l-0.1,0.4l-0.4,0.2%20c-1.8,0.8-3.9,1.4-5.5,1.6c0.3,0.4,0.9,0.8,2,1.4l0.9,0.4l-0.5,0.9c-0.2,0.4,0.1,2.1,0.2,2.9c0.1,0.5,0.1,0.9,0.2,1.2%20c1.7,2.5,3,3.3,3.6,3.1c0.5-0.1,0.9-0.9,0.9-1.3l0.1-0.7l0.7-0.2c2.2-0.5,3.5,1.3,4.2,2.4c0.1,0.2,0.3,0.4,0.4,0.6%20c1.4,0.2,4,0.4,4.9,0.3l1.1-0.2v1.2c0,0.5,0,1.4-4.1,2.5c-1.4,0.3-2.7,0.1-3.8-0.5c-0.6,0.5-1.3,0.7-1.9,0.6%20c-0.5-0.1-0.8-0.3-1.1-0.5c-0.4,0.3-1,0.7-1.5,0.9l-1.7,0.5l0.2-0.8c-0.9-0.1-2.3-0.2-3.8-0.2c0.6,1.1,1.5,2.5,2.1,3.5l0.4,0.6%20l-0.4,0.6c-2.1,2.8-5.7,4.7-5.9,4.8l-0.2,0.1c-3,0.8-14.2,8-19.4,11.4l1.3,0.1l0.2,0.7c0,0.2,1.1,4.6,0,9%20c-1.1,4.2-3.8,8.9-3.9,9.1l-0.9,1.6l-1.5-3l-2-0.4l-2.3-1.3c0.6,1.2,1.3,2.7,1.6,3.3l0.1,0.2c0.4,3.5,1.5,5.4,1.5,5.4l0.2,0.3%20l-0.3,4.6l0.2,0.1l-0.1,0.9c0,0,0,0.2-0.1,0.4l-0.1,1.6h-0.9c-0.1,0.1-0.4,0.4-0.7,0.8c-1.1,1.2-2.5,0.8-3.4,0.4%20c-0.1,0.2-0.3,0.4-0.6,0.5c-0.3,0.1-0.6,0.1-0.8,0.1c0,0,0,0,0,0c-0.6,0.4-1.5,0.2-2.7-0.6c0.2,0.6,0.1,1.2,0,1.7%20c0,0.2-0.1,0.6-0.1,0.7c0.3,0.4,0.4,0.8,0.5,1c0.1,0.2,0.1,0.3,0.4,0.5c0.5,0.4,0.6,0.8,0.6,1.1c0,0.6-0.4,1-0.7,1.2%20c0,0-0.1,0.1-0.1,0.1c0.1,0.1,0.4,0.4,1,0.8c0.4,0.3,1.3,0.9,1.1,1.8c-0.2,0.9-1.1,1-1.9,1.2c-0.2,0-0.5,0.1-0.8,0.2%20c0.2,0.3,0.6,0.8,1.6,1.6c0.9,0.8,1.5,1.9,1.7,2.8h1.1c0.8,0,1.4,0.4,1.7,0.8c2.3-0.2,6.4-0.4,8.7,5.2c1.3,3.1-2.5,8-2.9,8.6%20l-0.1,0.1c-0.7,0.6-1.8,0.5-3,0.5c-0.1,0-0.2,0-0.3,0l0.4,0.3l-0.1,0.6c0,0.2-0.1,0.5-0.2,0.7c-0.1,0.5-0.2,0.8-0.1,1.1%20c0.1,0,0.2,0,0.2,0c0.5-0.1,1.3-0.3,2,0.2c0.5,0.4,0.7,0.9,0.8,1.8c0.2,1-0.8,2.4-1.2,2.9l-0.7,0.9l-0.7-0.7c-0.2,0-1.2,0-4.3,1.7%20c-3.3,1.4-5.3,5.8-6,9.1l-0.1,0.2l-0.2,0.2c-0.6,0.7-1.8,1.5-2,1.5l-0.2,0.1l-0.2,0c-1.7,0.1-2.5,0.5-3.1,0.9%20c-0.3,0.2-0.7,0.4-1.1,0.4c-0.2,0.4-0.6,0.9-1.1,1.5c-0.4,0.5-0.8,1-1.1,1.5c-2.2,5.6-4.7,9.1-4.8,9.3l-0.1,0.2%20c-0.1,0.1-1.3,1.2-2.8,2.1c-0.4,1.3-0.7,2.4-0.7,2.4l-0.2,0.6l-0.6,0.1c-0.8,0.1-1.9,0.5-2.7,0.8c0.6,1.4,0.2,2.4-0.2,2.9%20c-0.7,0.8-1.8,1.2-2.7,1.2c-0.3,0.8-0.7,1.5-1.1,2.1c-1.8,4-3.6,10.4-3.6,15.2c1.1,1.2,1.8,3.4,2.5,5.6c0.3,0.9,0.6,1.9,0.9,2.7%20c1.3,3.1,6.4,11.1,7.5,12.4c0.5,0.1,1.4,0.3,2.2,1.1c1.4,1.3,2.1,3.6,2.1,6.8c0,0.2,0,0.4-0.1,0.6c1.3,2.8,4.1,8.3,7.1,11.1%20l0.2,0.2l0,0.2c1.1,2.9,2.3,11,2.3,13.3v0.5l-0.4,0.3c-1.5,1-1.5,4.8-1.5,6.6c0,1.4,0,1.8-0.5,2.2l-0.4,0.3l-0.5-0.1%20c-0.7-0.2-1.5,0.3-2.3,0.7c-1,0.6-2.4,1.4-3.6,0.1c-0.4-0.4-0.3-0.9-0.3-1.1c0-0.1,0-0.1,0.1-0.2c0-0.1-0.1-0.1-0.1-0.2%20c-0.1-0.1-0.2-0.3-0.2-0.4c-0.1,0-0.4,0.1-0.8,0.5l-1.1,0.8l-0.5-1.3c-1-2.9-4.9-5.2-8.6-7.1l-0.5-0.2l-0.1-0.5%20c-0.2-1.6-1-2.9-2.1-3.5c-1.1-0.6-1.5-1.9-1.7-3c-0.5,0.1-0.9-0.1-1.1-0.2l-0.7-0.2l0-0.5c-2.6-1.4-3.9-4.2-5.2-7.1l-0.1-0.2%20l0-0.3c0.1-0.7,0.4-1.4,0.7-2.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.4,0.3-1,0.3-1.6,0.1l-0.3-0.1l-0.2-0.2c-0.3-0.3-0.5-0.4-0.6-0.5%20c-0.4-0.3-0.9-0.7-0.7-1.7c0.2-3.5,0.6-6.1,0.6-6.2c0.3-1.7,0.4-4.6-0.5-5.3l-0.1-0.1l-0.1-0.1c-0.7-1.1-1.3-1.8-2.2-2.1%20c-3.3-1-5.5-2.7-6.7-5c-1.3-0.5-2.5-1.8-3.1-2.9c-1.6-0.3-5.1-0.6-6.2,0.8l-0.1,0.1l-0.1,0.1c-1.1,0.7-1.9,1.4-2.6,2%20c-1.6,1.4-2.8,2.4-6.5,2.3c-2.6-0.2-3.3-0.9-4-2c-0.4-0.7-0.9-1.4-3.5-1.9c-1.1-0.2-1.9-0.4-2.4-0.4c0,0.2,0,0.4-0.1,0.6%20c-0.4,0.8-1.3,0.8-1.6,0.9c-2.1,0.2-2.8-0.8-3.2-1.4c-2.9,1-5.4-0.8-7.1-2c0,0-0.1-0.1-0.1-0.1c0,0,0,0-0.1,0.1l-0.2,0.3%20c0,0.1,0,0.1,0,0.2l0,0.4l-0.2,0.3c-1.1,1.3-3.5,1.8-3.7,1.8l-0.8,0.2l-0.3-0.7c-0.2-0.6-0.8-1.7-1.3-2.7c0,0.2-0.1,0.4-0.1,0.6%20c-0.2,1.2-0.3,2.2-1.1,2.6c-0.1,0.1-0.1,0.3-0.2,0.4c-0.1,0.3-0.4,1-1.1,1c-0.4,0-0.7-0.1-0.9-0.3h-0.4c-0.8,0-1-0.6-1.1-1.4%20c-2.4,0.5-7,1.7-10,3.8c0.1,0.1,0.1,0.3,0.1,0.4c0,0.8-0.6,1.2-1.3,1.5c-0.7,0.4-1.4,0.8-1.3,1.2l0,0.3c0,0.1,0,0.2,0,0.2%20c0.3,0.1,0.7,0.4,1.3,0.8l0.1-0.1l0.6,0.2c6,2.4,6.5,3.4,6.6,3.8c0.1,0.2,0.2,0.5,0.2,0.7v0c0,0.5-0.2,1.8-1.4,2.3%20c-1.3,0.6-3.3-0.3-6.3-2.7c-0.2-0.2-0.4-0.2-0.4-0.2c0,0-0.2,0.1-0.3,0.1c-0.3,0.2-1,0.5-1.7,0.2c-0.1,0.7-0.4,1.5-1.2,2.2%20l-0.5,0.4l-0.6-0.3c-3.4-1.6-4.1-1.2-4.1-1.2c0,0.1-0.1,0.3-0.1,0.4c0,0.1,0,0.3,0,0.4l-0.1,0.7l-0.7,0.1%20c-2.3,0.4-4.2,0.3-6.2-1.1l-0.3-0.2l0-0.2c-0.3-0.4-0.8-1-1.3-2.2c-0.3-0.2-0.7-0.3-1.2-0.5c-0.9-0.2-2-0.3-2.6-1.7%20c-0.3-0.1-0.8-0.1-1.2-0.1h-0.3l-0.2-0.3c-0.4-0.2-1.2-0.4-1.5-0.1c-0.2,0.2-0.1,0.5-0.1,0.8l0.2,0.7l-0.6,0.4%20c-2.9,1.9-6.9,0.5-10.8-0.9c-0.9-0.3-1.8-0.6-2.6-0.9c-2,0.7-4.3,1.2-6,1.2l-0.2,0c-0.1,0-0.1,0-0.2-0.1c-1.4,1-5.1,2.4-6.8,3%20c-0.2,0.8-0.6,2-1.8,2.6l-3.8,3.4l-4.1,2.9l-5,2.2c-0.5,0.5-1.1,0.9-1.6,1.3l0.6,0.4l-1.1,0.8c-0.5,0.3-1,0.7-1.7,1.2%20c-1.6,1.1-4,2.7-4.4,3.9l-0.5,1.9l-0.7-1c0.2,0.9-0.5,1.8-0.9,2.5c-0.1,0.2-0.2,0.3-0.3,0.4l-0.3,0.6l-0.7-0.1l-0.3,1.8%20c-0.1,0.5-0.3,2.1-0.3,2.7c0,0.6,0.3,1.8,0.6,3.1c0.6,2.7,1.4,6,1.2,8.2c0.4,0.1,0.7,0.4,0.9,0.6c0.7,0.9,0.2,2.1,0.1,2.4%20l-0.1,0.1c0,0.1-0.1,0.2-0.1,0.3c-0.1,0.3-0.3,0.8-0.9,1.1c-0.4,0.2-0.8,0.1-1.2,0C278.8,521,277.8,521.3,276.8,521.3z%20M274.9,519.6c0.1,0.2,0.3,0.3,0.4,0.3c0.2,0.1,0.4,0,0.5,0l-0.4-0.5L274.9,519.6z%20M275.5,519.3l0.5,0.4l0.2-0.5c0,0,0,0,0,0%20c0-0.1,0-0.2,0-0.3L275.5,519.3z%20M276.3,519.3c0.9,0.1,2.2-0.3,2.6-0.5l0.4-0.2l0.4,0.2c0-0.1,0.1-0.3,0.2-0.4%20c0-0.1,0-0.1,0.1-0.2c-0.1,0-0.2,0-0.3,0l-1.8,0.3l0.7-1.6c0.6-1.6-0.3-5.6-1-8.3c-0.4-1.5-0.7-2.7-0.7-3.5c0-0.3,0-0.7,0.1-1.1%20l-1.4,0.7l2.7-6.3l1,0.1l0,0c0.2-0.3,0.5-0.8,0.6-1c0,0-0.1,0-0.1-0.1l-0.9-0.4l0.4-0.9c0.3-0.7,1.3-1.3,2.2-1.4%20c0.1,0,0.1,0,0.2,0c0.9-1.5,2.9-2.8,4.8-4.1c0.1-0.1,0.3-0.2,0.4-0.3l-0.4-0.7l0.6-0.6c0.2-0.2,0.4-0.3,0.6-0.3%20c0.5-0.3,1.4-0.9,2.3-1.7l0.1-0.1l5.2-2.3l3.8-2.7l4-3.6c0.7-0.3,0.9-1.5,0.9-1.7l0.1-0.6l0.6-0.2c3-1.1,6.5-2.3,7-2.8l0.5,0.8%20h1.2v-1.1c0-0.1-0.3-0.2-0.4-0.2c0.1,0,0.2,0.1,0.3,0.1c1.5,0,3.7-0.5,5.5-1.2l0.3-0.1l0.3,0.1c1,0.3,2,0.7,3,1%20c3.1,1.1,6.3,2.2,8.5,1.3c-0.1-1.2,0.5-1.8,0.9-2.1c1-0.8,2.5-0.7,3.5-0.3c1.1,0.1,2.1,0.6,2.2,0.6l0.4,0.2l0.1,0.4%20c0.2,0.7,0.5,0.8,1.4,1c0.6,0.2,1.4,0.4,2.1,1l0.2,0.2l0.1,0.2c0.6,1.3,1,1.9,1.2,2.1c0,0,0,0,0,0c1.1,0.7,2.1,0.9,3.8,0.7%20c0.1-0.5,0.4-1.1,1-1.4c1.1-0.6,2.7-0.3,5.3,0.8c0.1-0.3,0.1-0.8,0-1.3c-0.1-0.4-0.2-1.2,0.5-1.6c0.7-0.4,1.4,0.2,1.8,0.6%20c0.2,0.2,0.3,0.2,0.3,0.2c0,0,0.1-0.1,0.2-0.1c0.2-0.1,0.6-0.3,1-0.3c-0.2-0.1-0.3-0.3-0.5-0.5c-0.3-0.2-0.5-0.4-0.6-0.5%20c-0.2,0-0.4-0.1-0.6-0.2c-0.7-0.4-0.8-1.2-0.8-1.9c-0.1-0.6-0.1-1.1,0.1-1.5c-0.3,0-0.6,0-0.9-0.1c-0.9-0.3-1.6-1.1-2.2-2.3%20l-0.2-0.4l0.2-0.4c0.3-0.5,0.6-1,0.8-1.4c0-0.1,0.1-0.1,0.1-0.2l-0.1-0.2l0.5-0.6c0.5-0.5,1.1-0.5,2.6,0.1c0.3,0,0.6,0.1,0.9,0.3%20l0.8,0.3l-0.1,0.4c0.1,0.1,0.2,0.2,0.2,0.3c0.2,0.2,0.4,0.5,0.6,0.7c3.7-2.6,9.3-3.9,11.5-4.3l0.6-0.1l0.1,0.5l0.3-0.6%20c-0.3-0.1-0.6-0.1-0.8,0l0.4-0.2l0.5,0.1c0.2,0.1,0.5,0.2,0.7,0.7l0.2,0.5c0.1-0.1,0.2-0.2,0.4-0.3c0.1-0.2,0.2-0.8,0.2-1.3%20c0.2-1.1,0.3-2.4,1.1-3.2l0.7-0.7l0.7,0.7c0.9,0.9,1.9,2.9,2.4,4c0.6-0.2,1-0.4,1.4-0.8c0-0.4,0.1-0.7,0.1-1v-0.3%20c0-0.1,0.1-0.2,0.1-0.3l0-0.1l0-0.1c0-0.2,0-0.4,0-0.5c-0.2-0.6-0.7-1.4-0.9-1.7l1.6-1.2c0.4,0.4,1,1.2,1.3,2.4%20c0.1,0.2,0.1,0.3,0.1,0.5c0.4,0.2,0.8,0.5,1.3,0.8c1.6,1.1,3.5,2.5,5.5,1.7c0.9-0.4,1.7-0.1,2.2,0.9c0.2,0.3,0.3,0.5,0.9,0.5%20c-0.1-0.3-0.1-0.6,0.1-1c0.5-0.7,1.4-0.7,5,0c3.2,0.7,4.1,1.7,4.8,2.8c0.4,0.6,0.6,0.9,2.4,1c2.9,0.2,3.6-0.4,5.1-1.8%20c0.7-0.6,1.5-1.3,2.6-2.1c2.3-2.7,7.9-1.4,8.6-1.3l0.5,0.1l0.2,0.5c0.4,0.9,1.5,2.2,2.5,2.4l0.5,0.1l0.2,0.4%20c0.8,2,2.7,3.4,5.6,4.3l0.1,0c1.2,0.5,2.2,1.4,3.1,2.8c1.9,1.8,1.2,6.2,1,7l0,0c0,0-0.4,2.6-0.6,6c0.1,0.1,0.2,0.2,0.4,0.3%20c0-0.1,0.1-0.2,0.1-0.3c0.1-0.5,0.4-1.3,1.2-1.7c0.8-0.3,1.6,0.1,2.2,0.5c0.3,0.1,0.5,0.3,0.6,0.6c0.4,0.7-0.1,1.6-0.7,2.8%20c-0.3,0.6-0.6,1.3-0.8,1.8c1.2,2.8,2.5,5.1,4.7,6.1l0.4,0.1l0-0.1l1,0l1,0l0,1c0,1,0.3,2.3,0.9,2.7c1.5,0.8,2.6,2.5,3,4.5%20c3.4,1.8,7,4.1,8.6,6.9c0.4-0.2,0.9-0.3,1.4-0.2c0.8,0.2,1.2,0.9,1.5,1.4c0.1,0.2,0.2,0.3,0.3,0.5c0.1,0.1,0.2,0.3,0.3,0.4%20c0.2-0.1,0.4-0.2,0.6-0.3c0.7-0.4,1.6-0.9,2.6-1c0-0.1,0-0.3,0-0.4c0-2.3,0.1-6,2-7.8c-0.1-2.4-1.2-9.2-2.2-11.9%20c-3.4-3.3-6.4-9.6-7.6-12.2l-2.4-5.1l2.4,2.4c-0.2-2-0.9-3-1.4-3.5c-0.6-0.5-1.1-0.6-1.1-0.6l0,0l-0.1,0l-0.1,0%20c-1.7-0.4-8-11.7-8.8-13.6c-0.4-0.9-0.7-1.9-1-2.9c-0.6-1.8-1.3-3.9-2-4.8l-0.5-0.4l0.4-0.5l-0.5,0c-0.1-5.2,1.9-12.1,3.8-16.6%20l0.1-0.2c0.5-0.7,1-1.5,1.1-2.3l0.2-1.3l1.2,0.5c0.2,0.1,1.2,0,1.5-0.4c0.3-0.4-0.2-1.2-0.5-1.5l-0.8-1.1l1.3-0.4%20c0,0,0.2-0.1,0.3-0.1c0.7-0.3,2-0.8,3.2-1.1c0.2-0.5,0.4-1.3,0.6-2.2l0.1-0.4l0.4-0.2c1.2-0.7,2.4-1.7,2.7-2%20c0.4-0.6,2.5-3.9,4.5-8.9l0.1-0.2c0.3-0.5,0.8-1.1,1.2-1.7c0.3-0.4,0.7-0.9,0.9-1.2c-0.2-0.4-0.2-0.8,0.1-1.2%20c0.5-0.6,1.2-0.3,1.6,0c0.1,0,0.1-0.1,0.2-0.1c0.6-0.4,1.7-1,3.7-1.1c0.4-0.2,0.8-0.6,1.1-0.8c0.4-1.9,2.3-8.2,7.1-10.2%20c2.3-1.3,4.2-2,5.4-1.9c0.2-0.4,0.4-0.7,0.4-0.8c0-0.2,0-0.3,0-0.3c-0.1,0-0.2,0-0.3,0.1c-0.5,0.1-1,0.2-1.6,0l-0.3-0.1l-0.2-0.2%20c-0.9-1.2-0.6-2.4-0.4-3.2c0,0,0,0,0-0.1c-0.4-0.5-0.8-1.2-0.7-1.8c0-0.5,0.3-0.9,0.8-1.1l0.3-0.1c0.5-0.1,1.2-0.1,1.9,0%20c0.5,0,1.3,0,1.6,0c1.7-2.2,3.1-5.1,2.5-6.4c-1.8-4.5-4.9-4.2-6.9-4c-0.1,0-0.3,0-0.4,0c-0.3,0.1-0.5,0.1-0.8,0%20c-0.5,0-1-0.2-1.2-0.8l0.1-0.1l-1,0v-2c-1,0-1.1,0.5-1.1,0.8c0-0.3-0.3-1.4-1.1-2.1c-1.9-1.6-2.7-2.7-2.4-3.8%20c0.2-0.9,1-1.2,1.8-1.4c-0.8-0.7-1.3-1.3-1.3-2c0-0.6,0.2-1,0.5-1.3c-0.3-0.4-0.5-0.7-0.6-1c-0.1-0.2-0.1-0.3-0.2-0.5%20c-0.5-0.8-0.4-1.6-0.3-2.2c0-0.2,0.1-0.4,0.1-0.5c-0.6-0.7-0.9-1.3-1.3-1.9l-0.6-1l1.2-0.5c0.6-0.3,1.7-0.7,2.6,0.1%20c0.5,0.4,0.9,0.7,1.2,0.9l0.4-0.3c0.2-0.1,0.4-0.2,0.7-0.1l0-0.1l0.5-0.4c0.6-0.3,1.1-0.1,1.5,0.2c1,0.6,1.4,0.7,1.7,0.4%20c0.5-0.5,0.7-0.8,0.9-0.9l0,0c0.1-0.2,0.2-0.4,0.3-0.7l0.1-1.8l0.2-3c-0.4-0.7-1.3-2.7-1.6-5.8c-0.4-1-2-4-2.5-5.1l-0.7-1.3%20l2.6-0.3l4.2,2.3l2.5,0.5l0.2,0.5c0.9-1.7,2.2-4.5,2.8-6.9c0.7-2.9,0.4-6,0.1-7.3l-2.7-0.2l0.5-2.5l0.3-0.2%20c0.7-0.5,16.6-11,20.9-12.4c0.5-0.3,3-1.7,4.7-3.7c-1.2-1.9-2.6-4.4-2.7-4.5l-0.8-1.5l1.7,0c4.2,0.1,6,0.3,6.8,0.5%20c0.4-0.2,0.9-0.6,1.2-0.9l0.4-0.4c-0.2,0.1-0.4,0.2-0.7,0.3c-1.9,0.5-3.8-1-5.9-4.2l-0.1-0.2l0-0.3c0-0.3-0.1-0.8-0.2-1.3%20c-0.2-1.3-0.4-2.3-0.3-3.1c-1.5-0.8-2.2-1.6-2.5-2.2l-0.2-0.2c-0.2-0.2-0.4-0.6-0.2-1.2c0,0,0,0,0,0c0,0.1-0.1,0.1-0.1,0.1%20c0,0,0-0.2-0.2-0.5c-0.1-0.1-0.9-1.5-0.4-2.3l0.3-0.5l0.6,0.1c0.6,0.1,0.8,0.5,1.4,2c1.1-0.1,3-0.5,4.9-1.3%20c0.1-1.1-0.5-3.1-0.9-4.7c-0.4-1.3-0.7-2.5-0.8-3.5l-0.1-0.9l0.9-0.2c1-0.2,2.9-2.4,3.1-4.1l0-0.7l1.7-0.5%20c0.1-1.6,0.5-3.9,0.7-4.7c0-0.1,0-0.2,0-0.2l0.1-0.6l0.6-0.2l1.6-0.5l-0.3,1.4c0.1,0.1,0.2,0.3,0.5,0.5c0.1,0,1,0.2,2.3-0.3%20c1-0.3,2.7-1.2,3.5-3.2c0-0.2,0.2-0.4,0.7-1.2c0.6-0.9,1.6-2.3,2.1-3.3c-0.2-0.5-0.3-1.1-0.4-1.9c-0.1-0.6-0.3-1.7-0.5-2.1%20l-0.4,0.1l-0.4-0.6c-0.5-0.8-0.8-1.6-1-2.3c-0.4-1.1-0.4-1.1-0.7-1c-0.7,0.1-2.6,0.2-3.1-1c-0.4-1-1.5-4.7-2.4-7.9%20c-0.5-1.7-0.9-3.1-1.1-3.8c-0.3-0.4-0.5-0.8-0.7-1.1c-0.6-1-0.9-1.5-4.1-4.1c-0.4,0.1-0.8,0.4-1.4,0.9c-0.8,0.7-1.7,1.5-3.1,1.8%20c-1.4,0.2-2.5-0.6-3.2-1.3c-0.4,0.7-0.8,1.9-1.1,2.9c-0.5,1.7-1,3.4-2,4.4c0,0.3,0,0.7,0,1.3c-0.1,6.6-0.5,11-2,12.2%20c-0.2,0.1-0.4,0.2-0.6,0.3l0.1,0.1l0,2.6l-3.9,8.7l0.2-3.8c-0.7,0.4-1.1,0.9-1.2,1.3l0.6-0.2l-0.1,0.8l0.4,0.2l-0.4,0.8%20c0,0,0,0,0,0.1c0,0.1,0,0.3,0,0.4c0,0,0,0,0,0.1l-1.1-0.1c-1,0.3-2.2,0.6-3.5,1c-2.8,0.8-6.3,1.9-10.5,2.7c0,0.1,0,0.2,0,0.2l0,0%20c0,0.7-0.2,1-0.9,1.1c-0.5,0-0.8-0.2-0.9-0.5l-11.3,2.8c-0.8,0.7-4.4,4-8.7,10.7l-0.2,0.2c0,0-0.3,0.3-0.6,0.8%20c0.4,0.1,0.7,0.3,1,0.6c1.7,1.6,1.3,5.6,1.2,6.4l0,0.2l-0.1,0.2c-0.1,0.1-1.4,2-2.7,3c-1.3,1-5.4,1.9-6.2,2.1%20c-0.8,0.1-2,0.3-3.6,0.5c-3,0.4-7.5,0.9-8.7,1.4c-0.4,0.2-0.5,0.3-0.5,0.4c0,0,0,0.1,0,0.2c0,0.1,0.1,0.3,0.1,0.4%20c0.1,0.7,0.4,1.3,0.8,1.9c0.5,0.9,1,1.9,0.9,3.3l0,0.3l-0.1,0.2c-0.4,0.5-0.6,1-0.8,1.4c-0.2,0.5-0.6,1.2-1.2,1.4%20c-0.6,1.1-2,3.2-3.5,5.5c0,0,0,0,0,0h0.3l-1.3,1.6c-0.5,0.6-1,0.5-1.3,0.4c-1,0-1.8,0.1-2.1,0.1c-0.7,0.3-1.6,0.6-2.4,0.9%20c-0.5,0.1-0.9,0.3-1.2,0.4l-1.5,0.5v0.1l-0.8,0.2c-2.1,0.4-4.2,2.6-4.8,3.5l-2.2,2.5l-2.5,1c-0.3,0.3-0.8,0.4-1.2,0.6%20c-0.8,0.3-2,0.6-2.9,1.8l-0.3,0.4l-0.6-0.1c-1.3-0.2-7.7-1.7-8.9-2h-1.1l0.1-1.1c0.2-1.9,1.8-4.1,2.9-5.2%20c-0.4-0.6-0.5-1.2-0.1-2.3c0.4-1,1.3-1.2,1.8-1.4c0,0,0,0,0,0c0-0.2,0-0.3,0.1-0.5c0.2-0.4,0.5-0.7,0.9-0.9c-0.2-0.5,0-1,0.4-1.4%20l0.2-0.2l0.3,0c0.2-0.1,0.4-1,0.4-1.5c-0.2-0.5-0.1-1.5,0.1-4.7c-0.8-0.8-2.4-3-3.5-7.9l0-0.1c-0.4-0.8-1-1.9-2.5-2.1%20c-2.2,1.5-2.3,3.1-2.3,3.1l0,0.5l-0.3,0.3l-2.4,2l-0.3,0c-0.2,0-1.8,0.2-2.8-1c-0.8-1-0.8-2.7,0-4.8l0.2-0.8h0.7%20c0.5,0,0.9,0.2,1.7-3.2l0.1-0.4l0.5-0.2c0.2-0.1,0.4-0.1,0.5-0.2c-0.2-1.8-0.7-4.8-1.1-6.6c-0.6-1.5-1.4-2.6-1.7-3.1l-10.5-4%20l-0.3,0.4l-1.2,1.9c0.1,0.5,0.2,1,0.3,1.3l0.3,0.8l-0.8,0.4c-0.7,0.4-1.1,0.9-1.4,1.2c0.1,0.1,0.2,0.2,0.2,0.4%20c0.6,1.2,0.8,3.8-1.4,5.5l-0.2,0.1c-1.4,0.6-2.3,0.3-2.7-0.1c-0.4-0.3-0.6-0.7-0.7-1c-3.1,4.5-2.7,8.2-2.4,10.7%20c0.1,0.5,0.1,0.9,0.1,1.3l0,0.1l0,0.1c-0.1,1.6-0.4,2.2-0.7,2.6c0,0,0,0.1,0,0.1c0.2,0.7,0.7,2,1.3,3.3c0.8,1.9,1.8,4,2.1,5.8%20c0.9,6.1-0.1,9.9-2.7,16.2l-0.3,0.6h-0.7c-0.2,0-5.4,0.3-8.5-0.4l-0.8-0.2v-0.4c-2.2-1.7-3.3-4.9-3.1-9.9h0l-0.2-0.9l0.4-0.2%20c-0.7-2.8-1.3-6-0.8-11.6l0.8-6.6c0,0,0.3-2.3,1.6-7.5c-0.2,0-0.4,0-0.6,0c-0.5,0.7-0.9,1.3-1.2,1.8c-0.5,0.9-1.1,1.9-2.3,1.6%20c-0.7-0.1-1.2-0.4-1.5-1c-0.4-1,0.2-1.9,1-3.2c0.7-1.1,1.6-2.5,1.6-3.7c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.1,0-0.2l0.4,0l0.4-0.4%20l-0.3-0.7c0.4-0.3,1.4-2.1,2-3.4c0.6-1.3,1.3-2.6,1.9-3.5l0.4-0.6l0.7,0.1c0.5,0.1,0.6,0.1,0.6,0.1h0c0,0,0.1-0.1,0.1-0.2%20c0.3-0.4,0.8-1,2-1.5l1.7-0.7l-0.2,1.1c1.1-1.6,3.7-2.2,5.3-2.6c0.3-0.1,0.5-0.1,0.7-0.2c0.1-0.1,0.2,0,0.3-0.2%20c0.3-0.4,0.8-0.9,2-0.9c0,0,0,0,0,0c2.8,0,3.9,0.3,5.2,1.2c0.1-0.2,0.2-0.4,0.3-0.6c0.1-0.1,0.1-0.2,0.2-0.3l0.3-0.4l0.5-0.1%20c1.1-0.1,2.3-0.2,3.4-0.2c-0.1-0.1-0.1-0.1-0.2-0.2c-1.2-1.5-1.9-2.5-2.4-3.3c-1.7,0.6-3,0.7-4,0.2c-1.1-0.5-1.6-1.5-1.9-2.4%20c-1.1,0.4-2.4,0.6-3.9,0.8c-0.6,0.1-1.2,0.2-1.9,0.3c-0.2,0.1-0.7,0.4-1.1,0.6c-2.2,1.3-5.7,3.5-8.1,2.3c-0.9,0.1-1.9,0.3-1.9,0.3%20l-0.5,0.1l-0.4-0.4c-4.5-4.6-6.5-4-8.8-3.2l-1.1,0.3l-0.3-1c-0.3-1.1-0.5-1.9,0-2.5c0.2-0.2,0.4-0.3,0.6-0.4l0.9-1.4%20c0.5-0.9,1-1.4,1.4-1.8c-1.3,0.7-2.7,2-2.8,2.5l-0.1,0.3l-0.2,0.2c-2,2.2-7.7,5.6-10.6,6.2c-0.8,2.2-3.9,2.7-4.6,2.7h-0.2%20l-0.2-0.1c-0.8-0.3-1.7-0.5-3.1-0.8l-0.5-0.1l-0.2-0.5c-0.4-1-0.2-1.8,0.1-2.2c-0.6,0.2-1.4,0.5-2.2,0.9c-2.2,1-4.9,2.2-7.3,1.9%20l-0.5,0.5l-1.5-1.3c0.8-1.1,11.6-12.7,12.7-13.3c0,0,7.2-4.4,10.1-3c3.3,0.3,5.4-0.1,6.1-1.3c0.4-0.6,0.3-1.3,0.1-1.7%20c-1.1,0.2-4,1-6.5,1.8l-0.3,0.1l-5.5,0.3c-1.2,0.2-2.4,0.3-3.4,0.4c-2.8,0.3-4.7,0.5-7,1.6l-0.5,0.2l-0.5-0.3c0,0-4.6-3-8.4-3%20c-0.5,0-0.9-0.2-1.1-0.7c-0.1-0.2-0.4-0.7,0.3-1.9c-1,0-2.9,0.1-6.4,0.6c-0.8,0.2-2.2-0.2-4.1-0.6c-0.3-0.1-0.5-0.1-0.7-0.2%20c-0.3-0.1-0.6-0.1-0.9-0.2c-0.9-0.1-2.2-0.3-3.7-1.6c-1.1-1-1.8-2.9-1.9-3.7c-0.2-0.8-1.1-2-1.6-2.3c-0.5,0.1-1,0.2-1.2,0.3%20c0,0.1,0,0.2,0,0.5v2.8h-1c-10.9,0-13.2,0.1-15.2,0.5l-0.1,0.1l-0.1,0l-54.3-1.4c-16.4-1.5-33.6-3.1-47.8-5.1%20c-19-2.7-34.7-5.3-42.2-6.6c-2.5-0.4-4.5-0.8-4.8-0.8l-0.2,0c-0.1,0-5.4-1.6-8.2-1.8l0.1-0.6l-0.1,0.6c-1.6-0.4-35.1-8-43.1-10.3%20c0.1,0.4,0.3,0.8,0.5,1.2c0.5,1.1,1.1,2.2,0.7,3.2l-0.1,0.3c-0.1,0.6,0.1,2.6,0.3,3.8c0.2,1.7,0.3,2.5,0.1,3.1l-0.2,4.6l-0.9,0.1%20c-1.1,0.1-1.4,0.9-1.8,2.7c-0.1,0.7-0.3,1.3-0.6,1.8c-0.2,0.4-0.6,0.6-1,0.6c-0.8,0-1.3-0.8-1.8-1.7c-1.2-2.4-2.7-7.6-1.3-10.6%20c-3.7-4.6-8.6-9.1-10.3-8.6c-0.4,0.1-0.7,0.9-0.8,2c-0.2,2.7,0.2,6.6,0.5,9.7c0.5,4.7,0.5,5.7-0.2,6.2c-0.2,0.1-0.4,0.2-0.5,0.2%20c-0.1,0.1-0.2,0.2-0.2,0.2c-0.2,1.6-0.2,1.6,0.4,3.1l0,0.1c0.2,0.6-0.2,1-0.7,1.5c-0.5,0.5-1.3,1.4-1.3,2.1c0,0.2,0,0.3,0,0.4%20L61,246l-0.9,3.3l0.5,0.4l-0.2,0.7c-3.4,9.5-8.2,21.3-11.6,29.6l-0.1,0.3l-0.2,0.2c-2.4,1.7-4.2,5.3-4.5,9.1%20c-0.1,0.9-0.2,1.7-0.3,2.4c-0.2,1.7-0.4,2.9,0,3.5l-1,0.6l1.3,0.1c-0.2,4.3-2.2,11-4,14.2l-0.1,0.2l-0.2,0.1%20c-1.2,0.7-1.9,1.6-2.1,2.7c-0.5,2.7,2.1,5.8,2.1,5.8l0.3,0.3l0,0.4c-0.1,1-0.1,1.9-0.2,2.8c-0.1,2-0.3,4.1-0.7,6.8%20c-0.7,5.6,1.2,7,2.3,7.7c0.1,0.1,0.3,0.2,0.4,0.3l0.3,0.2l0.1,0.4c0.1,0.8,0.4,1.6,0.5,2.2c0.4,1.3,0.8,2.5,0.2,3.7%20c0.3,0.4,0.7,0.7,1,1.1c0.4,0.4,0.8,0.7,1.1,1.2l0.2,0.2l0.1,0.8l-0.2,0.2c0,0.3,0,0.6-0.1,1.1l1.2-0.2l-0.6,1.6%20c-0.4,1.2-0.7,4.7-0.4,5.4c0.4,1.4,1.1,2,2,2.5c1.1,0.8,2.5,1.7,1.9,4.2l-0.1,0.5l-0.4,0.2c-1.6,0.8-1.8,2.3-1.6,4.5%20c0.9,1.2,2.1,3.7,3.3,6.5c1.4,3,2.9,6.5,4.4,8.5l0.3,0.4l-0.2,0.5c-1.1,2.8-1.3,5.3-0.3,6.6c0.7,1,2.1,1.5,4.1,1.5%20c2.3,0,4.7,2.6,4.9,2.9l1.6,1.8c1.5,1.4,3.8,3.3,4.9,3.6c0.2,0.1,0.3,0.1,0.4,0.1c0.4-0.2,0.9-0.1,1.3-0.1l1,0.2l-0.2,1%20c-0.1,0.7-0.1,2,0.2,2.7c2.7,1.1,4.7,2.7,6.2,5.1c1.1,1.7,2.8,8.1,3,11.1c4.1,0.2,10.1,0.8,16,1.5l6.9,0.8l0.1,0.8%20c0.1,0.6,0.1,1,0.1,1.5c0,0.3,0,0.5,0,0.9c6.5,3.2,10.1,5.3,15.5,8.4c1,0.5,2,1.2,3.2,1.9c2.9,1.8,6.6,4,11.2,6.2l0.9,0.5%20c3.9,2,8.7,4.5,13.8,4.2l0.1,0l9.9,2.1c1.6,0.8,4.8,0.4,7-0.5l1.1-4.7l0.8,0c6.7,0.2,11.6,0.7,14.7,1.1l0-0.2l1,0.2%20c0.7,0,1.3,0.1,1.9,0.3l0.2,0.1l0.2,0.2c0.8,0.8,1.9,2.1,3.1,3.6c2.7,3.4,6.5,8,10.5,10.2l0.4,0.2l0.1,0.4%20c0.8,2.6,1.4,3.6,1.8,4.2c0.7,1.1,0.8,1.6,0.6,4.1c0.1,0.2,0.2,0.4,0.2,0.7c1,2.9,2.5,6.9,13.7,11.3c0.8,0.3,2.6-3,3.4-4.4%20c1.2-2.3,2-3.8,3.2-3.9l0.4,0l0.3,0.2c1.7,1.1,3.1,0.8,5.1,0.4c1.7-0.4,3.8-0.8,6.4-0.3l0.4,0.1l0.2,0.4c1.6,2.4,2.6,3.3,3.7,4.4%20c0.9,0.9,1.9,1.8,3.2,3.6c0.6,1,1.2,2.3,1.9,3.7c1.4,2.9,3.2,6.6,4.8,7.9l0.2,0.2l1.1,3c0.8,0.8,3.2,3.1,3.7,4.1%20c1.7,2.9,1.7,3.8,1.5,4.9c0,0.2-0.1,0.4-0.1,0.7c0,0,0,0.1,0.1,0.1c0.3,0.6,1,2,3,6.9c1,0.7,2.6,1.4,4.2,2.2%20c2.5,1.2,4.2,2,5.1,2.8c0.4,0.1,1,0,1.6,0c2.1,0,5-0.1,6.4,2.2c0,0.1,0.1,0.1,0.1,0.1l-0.5,0.3C276.2,519,276.3,519.2,276.3,519.3%20z%20M358.2,474.6c0.2,0.1,0.5,0.3,0.8,0.5c3.2,2.7,4.1,2.5,4.1,2.5c0-0.1,0-0.5,0-0.6c0,0,0-0.1,0-0.1c-0.7-0.5-2.8-1.5-4.7-2.3%20C358.4,474.6,358.3,474.6,358.2,474.6z%20M353.7,467.1c0.3,0.5,0.6,0.8,0.8,0.8c0.1,0,0.1,0,0.1,0l0.2-0.1l0.2,0%20c0.2,0,0.5-0.1,0.8-0.2c0.1-0.1,0.3-0.1,0.5-0.2c-0.1-0.2-0.3-0.3-0.4-0.5c-0.1-0.2-0.3-0.4-0.4-0.5c-0.4-0.2-0.8-0.3-1-0.3%20c-0.1,0.1-0.1,0.2-0.2,0.3C354,466.6,353.9,466.9,353.7,467.1z%20M365.3,327.2c2.3,0.4,5.4,0.3,6.7,0.3c2.3-5.7,3.1-9.1,2.3-14.5%20c-0.3-1.5-1.2-3.5-2-5.3c-0.7-1.5-1.2-2.8-1.5-3.7c-0.1-0.8,0-1.2,0.3-1.7c0.1-0.1,0.2-0.3,0.3-1.5c0-0.3-0.1-0.7-0.1-1.1%20c-0.3-2.7-0.8-7.1,3-12.4l0.2-0.2l3.3-2.5l-0.3,2.4c-0.1,0.5,0,1.2,0.2,1.3c0,0,0.2,0.1,0.6-0.1c0.7-0.6,0.9-1.3,1-1.7%20c0-0.4,0-0.7-0.1-1l-1.3,0.4l0.5-1.8c0-0.1,0.4-1.5,2-2.7c-0.1-0.6-0.2-1.1-0.3-1.2l-0.1-0.4l2-3.2l-0.1-0.1%20c-1.3-1-1.9-1.4-4.4-1.4c-0.3,0-0.3,0-0.5,0.3c-0.2,0.2-0.4,0.6-0.9,0.9l-0.2,0.1c-0.3,0.1-0.6,0.2-1.1,0.3%20c-1.2,0.3-3.6,0.8-4.2,1.8c0.1,1.4-0.8,2.6-1.9,3.2c-0.3,0.2-0.6,0.3-0.9,0.3l-0.1,0.2l-0.9-0.3l-0.9-0.4l0.4-0.9%20c0,0,0-0.1,0.1-0.1c-0.3,0.2-0.7,0.2-1.3,0.2c-0.5,0.8-1,1.8-1.5,2.8c-0.9,1.8-1.6,3.2-2.3,3.9c0,0.9-0.3,1.7-0.6,2.5l0.3-0.1%20c0.2,0,1.8-0.3,3,0.5l0.6,0.4l-0.2,0.7c-1.4,5.7-1.7,8.1-1.7,8.1l-0.8,6.5c-0.5,5.9,0.2,8.9,1,11.8l0.3,1l-0.7,0.2%20c-0.1,4.2,0.8,7.1,2.6,8.1L365.3,327.2z%20M517,298.6l0.6,1.2c0.1,0.2,0.3,0.4,0.4,0.4c0.1,0,0.4-0.1,0.8-0.5l0.6-0.6l0.5,0.3%20c-0.1-0.2-0.3-0.4-0.4-0.6c-0.6-0.9-1-1.4-1.5-1.6C517.7,297.8,517.4,298.2,517,298.6z%20M356.1,260.5c-0.2,0-0.8,0.3-1.1,0.5%20c-0.1,0.1-0.2,0.1-0.3,0.1c0,0,0.1,0,0.1,0c0.1,0,0.3,0,0.4,0C355.9,261,356.1,261,356.1,260.5%20C356.2,260.5,356.2,260.5,356.1,260.5C356.2,260.5,356.1,260.5,356.1,260.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",G3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='477px'%20height='689px'%20viewBox='0%200%20477%20689'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20sketchtool%2040.1%20(33804)%20-%20http://www.bohemiancoding.com/sketch%20--%3e%3ctitle%3eD5222DCB-A5E7-4783-ABD3-E5AAF56D153F%3c/title%3e%3cdesc%3eCreated%20with%20sketchtool.%3c/desc%3e%3cdefs%3e%3crect%20id='path-1'%20x='0.760775862'%20y='88.8671642'%20width='90'%20height='138'%3e%3c/rect%3e%3cmask%20id='mask-2'%20maskContentUnits='userSpaceOnUse'%20maskUnits='objectBoundingBox'%20x='0'%20y='0'%20width='90'%20height='138'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3c/defs%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='box-and-whiskers-plot'%20transform='translate(-1362.000000,%20-6618.000000)'%20stroke='%23E5E5E5'%3e%3cg%20id='boxplot_small'%20transform='translate(1362.000000,%206618.000000)'%3e%3cg%20id='Group-40'%20transform='translate(193.000000,%20187.000000)'%3e%3cg%20id='Group-39'%20transform='translate(0.239224,%200.132836)'%3e%3cuse%20id='Rectangle-32'%20mask='url(%23mask-2)'%20stroke-width='2'%20xlink:href='%23path-1'%3e%3c/use%3e%3cpath%20d='M0.760775862,185.367164%20L90.7607759,185.367164'%20id='Path-63'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M0.760775862,313.367164%20L90.7607759,313.367164'%20id='Path-63'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M0.760775862,1.36716418%20L90.7607759,1.36716418'%20id='Path-63-Copy'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M46.2607759,0.867164179%20L46.2607759,88.8671642'%20id='Path-64'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M46.2607759,225.867164%20L46.2607759,313.867164'%20id='Path-64'%20fill='%23D8D8D8'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Y3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M148.3,490.8l-1-1.3c-25.5-31.2-39.6-70.6-39.6-111c0-40.4,14.1-79.8,39.6-111l1-1.3l26.9,26.9l-0.8,1%20c-38.6,49.6-38.6,118.9,0,168.6l0.8,1L148.3,490.8z%20M148.5,270.8c-24.4,30.4-37.9,68.6-37.9,107.8c0,39.1,13.4,77.4,37.9,107.8%20l22.7-22.7c-38.4-50.3-38.4-119.9,0-170.2L148.5,270.8z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M368.3,270.8l-1-0.8c-23.9-18.6-53.9-28.9-84.3-28.9c-30.4,0-60.3,10.2-84.3,28.9l-1,0.8l-26.9-26.9%20l1.3-1c31.2-25.5,70.6-39.6,111-39.6c40.4,0,79.8,14.1,111,39.6l1.3,1L368.3,270.8z%20M283,238.1c30.6,0,60.8,10.2,85.1,28.7%20l22.7-22.7c-30.4-24.4-68.6-37.9-107.8-37.9c-39.2,0-77.4,13.4-107.8,37.9l22.7,22.7C222.2,248.3,252.4,238.1,283,238.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M417.7,490.8l-26.9-26.9l0.8-1c38.6-49.6,38.6-118.9,0-168.6l-0.8-1l26.9-26.9l1,1.3%20c25.5,31.2,39.6,70.6,39.6,111c0,40.4-14.1,79.8-39.6,111L417.7,490.8z%20M394.8,463.7l22.7,22.7c24.4-30.4,37.9-68.6,37.9-107.8%20c0-39.1-13.4-77.3-37.9-107.8l-22.7,22.7C433.1,343.8,433.1,413.4,394.8,463.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,553.9L283,553.9c-40.4,0-79.8-14.1-111-39.6l-1.3-1l26.9-26.9l1,0.8c23.9,18.6,53.9,28.9,84.3,28.9%20c30.4,0,60.4-10.2,84.3-28.9l1-0.8l26.9,26.9l-1.3,1C362.8,539.9,323.4,553.9,283,553.9z%20M175.2,513.1%20c30.4,24.4,68.6,37.9,107.7,37.9h0.1c39.1,0,77.3-13.4,107.8-37.9l-22.7-22.7c-24.3,18.5-54.4,28.7-85.1,28.7%20c-30.6,0-60.8-10.2-85.1-28.7L175.2,513.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,458c-43.8,0-79.4-35.6-79.4-79.4c0-43.8,35.6-79.4,79.4-79.4c43.8,0,79.4,35.6,79.4,79.4%20C362.4,422.4,326.8,458,283,458z%20M283,302.2c-42.1,0-76.4,34.3-76.4,76.4c0,42.1,34.3,76.4,76.4,76.4c42.1,0,76.4-34.3,76.4-76.4%20C359.4,336.5,325.1,302.2,283,302.2z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,493c-63.1,0-114.4-51.3-114.4-114.4S219.9,264.2,283,264.2c63.1,0,114.4,51.3,114.4,114.4%20S346.1,493,283,493z%20M283,267.2c-61.4,0-111.4,50-111.4,111.4S221.6,490,283,490c61.4,0,111.4-50,111.4-111.4%20S344.4,267.2,283,267.2z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",of={area:$3,line:N3,bar:L3,column:F3,polar:j3,funnel:B3,pie:H3,scatter:z3,indicator:W3,table:V3,treemap:U3,areamap:nf,scattermap:nf,boxplot:G3,sunburst:Y3};function q3(e){var r;return(r=of[e])!=null?r:of["bar"]}const Xc=({iconType:e})=>{var s;const{themeSettings:t}=f.useThemeContext(),r=S.useRef(null),[n,o]=S.useState({width:null,height:null});S.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=q3(e),{t:a}=f.useTranslation();return f.jsxs("div",{ref:r,className:Fs.wrapper,children:[f.jsx("div",{className:Fs.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:X3(n.width,n.height)},children:a("chartNoData")}),i?f.jsx("img",{className:Fs.image,src:i}):null]})};function X3(e,t){return!e||!t?"18px":e<300?`${Math.max(Math.sqrt(e*e+t*t)*.045,18)}px`:`${Math.min(Math.max(t*.09,18),60)}px`}const K3=(e,t,r)=>({width:(t==null?void 0:t.width)||(e==null?void 0:e.width)||r.width,height:(t==null?void 0:t.height)||(e==null?void 0:e.height)||r.height}),Fa=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i})=>{const a=S.useRef(null),[s,l]=S.useState(),c=S.useCallback(()=>{var E,x;const T={width:(E=a.current)==null?void 0:E.offsetWidth,height:(x=a.current)==null?void 0:x.offsetHeight};l(C=>{const _=(C==null?void 0:C.width)===0&&T.width===t.width,O=(C==null?void 0:C.height)===0&&T.height===t.height,k={width:_?C.width:T.width,height:O?C.height:T.height};return f.isEqual(C,k)?C:k})},[a,t]);S.useLayoutEffect(()=>{c()},[c]),S.useEffect(()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)),[c]);const d=S.useMemo(()=>K3(s,r,t),[s,t,r]),p=!!s;S.useEffect(()=>{p&&i&&i(d)},[d,p,i]);const h={width:r!=null&&r.width&&!(o!=null&&o.width)?`${r.width}px`:"100%",height:r!=null&&r.height&&!(o!=null&&o.height)?`${r.height}px`:"100%"},m=(s==null?void 0:s.width)||(s==null?void 0:s.width)===void 0,v=(s==null?void 0:s.height)||(s==null?void 0:s.width)===void 0,g={width:m||o!=null&&o.width?"100%":`${d.width}px`,height:v||o!=null&&o.height?"100%":`${d.height}px`,position:"relative"},y=o!=null&&o.width||o!=null&&o.height?{position:"static",width:"100%",height:"100%"}:{position:"absolute",top:0,right:0,bottom:0,left:0},b=n?`${d==null?void 0:d.width}${d==null?void 0:d.height}`:"";return f.jsx("div",{style:h,ref:a,children:f.jsx("div",{style:g,children:f.jsx("div",{style:y,children:d&&(typeof e=="function"?e(d):e)})},b)})},X0={width:400,height:500},Kc=e=>f.isTable(e)?{width:400,height:500}:f.isIndicator(e)?{width:200,height:200}:{width:400,height:400},Q3=25,K0=(e,{hasHeader:t}={})=>{const r=e==="pivot"?X0:Kc(e);return t&&(r.height=r.height+Q3),r},ao=({isVisible:e,children:t})=>{const{themeSettings:r}=f.useThemeContext();return f.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&f.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:f.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:f.jsx("div",{className:"csdk-h-full csdk-flex csdk-flex-col csdk-gap-y-4 csdk-items-center csdk-justify-center csdk-bg-transparent",children:f.jsx("div",{style:{backgroundColor:r.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:f.jsx(Mc,{color:r==null?void 0:r.chart.textColor})})})})}),t]})};function Rl(e,t,r=f.getBaseDateFnsLocale(),n=f.defaultDateConfig){const o=new Map;return[...t.breakBy?t.breakBy:[],...t.x?Array.isArray(t.x)?t.x:[t.x]:[],...t.columns?t.columns:[]].forEach(function(a){if(f.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(c){return c.name===a.column.name&&f.isDatetime(a.column.type)&&f.isDatetime(c.type)});s!==-1&&o.set(s,a.dateFormat)}),o.size===0||(e.rows=e.rows.map(function(a){return a.map(function(l,c){const d=o.get(c);if(!d)return l;let p,h;if(f.isCell(l))p=w({},l);else{const v=f.createCompareValue(`${l}`,"datetime");h=new Date(v.value),p={data:h.toISOString(),text:`${l}`}}if(!p.data)return l;let m=p.text;try{m=f.applyDateFormat(f.parseISO(p.data),d,r,n)}catch(v){console.error(v)}return p.text=m,p})})),e}function Z3(e,t){return eE(e,t)}const J3={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function eE(e,t){const r=J3[e];t.category.length>r.category&&console.warn(`Maximum 'category' length is limited to ${r.category} for '${e}' chart. Taken first ${r.category} categories`);const n=t.category.slice(0,r.category);let o=t.value;return(e!=="pie"||t.category.length>0)&&(t.value.length>r.value&&console.warn(`Maximum 'value' length is limited to ${r.value} for '${e}' chart. Taken first ${r.value} values`),o=t.value.slice(0,r.value)),$(w({},t),{category:n,value:o})}const Qc=e=>{const t={},r=n=>`$measure${n}_`;return e.forEach((n,o)=>{const i=n.name,s=`${r(o)}${i}`;n.name=s,t[s]=i}),t},tE=(e,t)=>{if(t==="funnel"){const r=f.merge(e);if(r.breakBy.length>0&&r.breakBy[0].sortType===void 0&&r.y.length>0&&r.y[0].sortType===void 0)return r.y[0].sortType="sortDesc",r}return e},Q0=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new f.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name)===-1)throw new f.TranslatableError("errors.dataOptions.attributeNotFound",{attributeName:a.name})}),r.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name||l.name===n[a.name])===-1)throw new f.TranslatableError("errors.dataOptions.measureNotFound",{measureName:n[a.name]})}),o&&o.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new f.TranslatableError("errors.dataOptions.filterAttributeNotFound",{attributeName:a.attribute.name})}),i&&i.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new f.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function rE(e,t){switch(e){case"pie":case"funnel":case"treemap":return Z3(e,t);default:return t}}const Zc=()=>{const[e,t]=S.useState();if(e)throw e;return t},nE=e=>e==="funnel"?e:f.deriveChartFamily(e),oE=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:l,setIsLoading:c,enabled:d=!0,loadData:p})=>{const h=Zc(),m=S.useMemo(()=>nE(r),[r]),v=S.useMemo(()=>[void 0,t],[t]),[g,y]=S.useState({}),{app:b}=f.useSisenseContext();return S.useEffect(()=>{if(!d)return;let T=!1;const{filters:E,relations:x}=f.getFilterListAndRelationsJaql(a);if(yr(e)){if(!b)return;const C=p({app:b,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:E,filterRelations:x,highlights:s,count:b.settings.queryLimit}}),_=b==null?void 0:b.settings.loadingIndicatorConfig,O=setTimeout(()=>{_!=null&&_.enabled&&(c==null||c(!0))},_==null?void 0:_.delay);C.then(k=>{const D=Rl(k,t,b==null?void 0:b.settings.locale,b==null?void 0:b.settings.dateConfig);T||y({[m]:[D,t]})}).catch(k=>{h(k)}).finally(()=>{clearTimeout(O),_!=null&&_.enabled&&(c==null||c(!1))})}else{Q0(e,n,o,i,E,s);const C=Rl(e,t,b==null?void 0:b.settings.locale,b==null?void 0:b.settings.dateConfig);y({[m]:[C,t]})}return()=>{T=!0}},[r,t,e,a,s,b,l,d]),g[m]||v},iE=(e,t)=>{switch(t){case"iqr":return P1(e);case"extremums":return D1(e);case"standardDeviation":return $1(e)}},aE=(e,t)=>{switch(t){case"iqr":return N1(e);case"standardDeviation":return L1(e)}},sE=(e,t,r)=>{const{column:n,style:o}=f.splitColumn(e);let i=iE(n,t),a;return o&&(i=i.map(s=>w({column:s},o))),r&&(a=aE(n,t),a&&o&&(a=w({column:a},o))),{values:i,outliers:a}},lE=e=>e.value.length>1,Z0=e=>{var p;const{category:t}=e;let r,n,o;if(lE(e))r=e.value,o=e.valueTitle,n=(p=e.outliers)==null?void 0:p[0];else{const{outliersEnabled:h,boxType:m}=e,v=f.normalizeColumn(e.value[0]),{values:g,outliers:y}=sE(v,m,!!h);r=g,n=y,o=f.getDataOptionTitle(v)}const[i,a,s,l,c,d]=r;return{category:t[0]&&f.normalizeColumn(t[0]),boxMin:i&&f.normalizeMeasureColumn(i),boxMedian:a&&f.normalizeMeasureColumn(a),boxMax:s&&f.normalizeMeasureColumn(s),whiskerMin:l&&f.normalizeMeasureColumn(l),whiskerMax:c&&f.normalizeMeasureColumn(c),outliersCount:d&&f.normalizeMeasureColumn(d),outliers:n&&f.normalizeColumn(n),valueTitle:o}},af={city:4,state:3,country:2,auto:1};function cE(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>af[n]>af[r]?n:r,"auto")}function uE(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(f.normalizeColumn),size:r&&f.normalizeMeasureColumn(r),colorBy:n&&f.normalizeMeasureColumn(n),details:o&&f.normalizeAnyColumn(o),locationLevel:cE(t)}}function dE(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[f.normalizeMeasureColumn(a)];const p=a,{lowerBound:s,upperBound:l,title:c}=p,d=te(p,["lowerBound","upperBound","title"]);return[f.normalizeMeasureColumn(w({column:f.safeMerge(s,{title:c})},d)),f.normalizeMeasureColumn(w({column:f.safeMerge(l,{title:c})},d))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(f.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(f.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}const fE=(e,t)=>{if(f.emptyTable(t))return{rows:[],columns:[]};const r=f.getColumnsByName(t,e);return f.selectColumns(t,r)},_l=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case f.Sort.Ascending:return 1;case"sortDesc":case f.Sort.Descending:return-1;default:return 0}},pE=(e,t)=>{const r=e.columns.find(n=>_l(n)!==0);if(r){const n=f.getColumnByName(t,r.column.name);n&&(n.direction=_l(r))}return t},J0=e=>{if(!("sortType"in e))return e;const t=e.sortType,r=f.convertSortDirectionToSort(t);return $(w({},e),{sortType:t,column:hE(e.column,r)})};function hE(e,t){return mE(e)?gE(e,t):e}function gE(e,t){const r=e.sort(t);return f.isMeasureColumn(r)&&f.isMeasureColumn(e)&&(r.title=e.title),r}function mE(e){return"sort"in e&&typeof e.sort=="function"}const vE=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=_l(r),i=n?o===1?"sortDesc":"sortAsc":"sortNone";return r.sortType=i,J0(r)})}),yE=(e,t)=>{const r=fE(e.columns.map(({column:{name:n}})=>n),t);return pE(e,r)};function bE(e,t){if(f.isCartesian(e))return f.translateCartesianChartDataOptions(t);if(f.isCategorical(e))return wE(t);if(f.isIndicator(e))return xE(t);if(f.isScatter(e))return CE(t);if(f.isBoxplot(e))return Z0(t);if(f.isScattermap(e))return uE(t);if(f.isRange(e))return dE(t);throw new f.TranslatableError("errors.unexpectedChartType",{chartType:e})}const wE=e=>({y:e.value.map(f.normalizeMeasureColumn),breakBy:e.category.map(f.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),xE=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(f.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(f.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(f.normalizeMeasureColumn))==null?void 0:o.map(sf("min")),max:(a=(i=e.max)==null?void 0:i.map(f.normalizeMeasureColumn))==null?void 0:a.map(sf("max"))}},sf=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return $(w({},t),{column:f.safeMerge(r,{aggregation:n})})},CE=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&f.normalizeAnyColumn(t),y:r&&f.normalizeAnyColumn(r),breakByPoint:n&&f.normalizeColumn(n),breakByColor:o&&f.normalizeAnyColumn(o),size:i&&f.normalizeMeasureColumn(i),seriesToColorMap:a}};function EE(e,t){let r=[];return f.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:f.isCartesian(t)||f.isCategorical(t)||f.isRange(t)?r=["x","breakBy"]:f.isBoxplot(t)?r=["category","outliers"]:f.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!f.isMeasureColumn(o)).map(({column:o})=>o)}function TE(e,t){let r=[];return f.isIndicator(t)?r=["value","secondary","min","max"]:f.isScatter(t)?r=["x","y","breakByColor","size"]:f.isCartesian(t)||f.isCategorical(t)||f.isRange(t)?r=["y"]:f.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:f.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(f.isMeasureColumn).map(({column:o})=>o)}function eg(e){return{columns:e.columns.map(f.normalizeAnyColumn).map(J0)}}function SE(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(f.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(f.normalizeColumn),values:(n=e.values)==null?void 0:n.map(f.normalizeMeasureColumn),grandTotals:e.grandTotals}}function tg(e,t){{const r=rE(t,e),n=bE(t,r),o=tE(n,t),i=EE(o,t),a=TE(o,t);return{dataOptions:o,attributes:i,measures:a}}}const RE=(e,t)=>S.useMemo(()=>{if(f.isRestructuredChartType(t)){const r=f.getChartBuilder(t);if(!r.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return _E(r,e)}else return ME(e,t)},[e,t]);function _E(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=Qc(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function ME(e,t){const{dataOptions:r,attributes:n,measures:o}=tg(e,t),i=Qc(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function OE(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c}=e;return!o||!i?null:{dataSource:yr(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c}}const kE=(e,t)=>{const r=e.category&&f.getColumnByName(t,e.category.column.name);r&&(r.direction=f.sortDirection(e.category.sortType));const n=f.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?f.rownumColumnName:void 0),o=f.getIndexedRows(t.rows,r?[r]:[]),i=f.getColumnByName(t,e.boxMin.column.name),a=f.getColumnByName(t,e.boxMedian.column.name),s=f.getColumnByName(t,e.boxMax.column.name),l=f.getColumnByName(t,e.whiskerMin.column.name),c=f.getColumnByName(t,e.whiskerMax.column.name),d=e.outliers&&f.getColumnByName(t,e.outliers.column.name),p=[],h=[];n.forEach((v,g)=>{const y=o[v.key],b=y?y[0]:[],T=r&&!!f.isBlurred(b,r);p.push({q1:i?f.getValue(b,i):0,median:a?f.getValue(b,a):0,q3:s?f.getValue(b,s):0,low:l?f.getValue(b,l):0,high:c?f.getValue(b,c):0,blur:T});const E=d?b[d.index].rawValue.split(",").map(x=>parseFloat(x)):[];h.push(...E.map(x=>({x:g,y:x,blur:T})))});const m=[{name:e.valueTitle,title:e.valueTitle,data:p}];return h.length>0&&m.push({name:e.valueTitle,title:e.valueTitle,data:h}),{type:"boxplot",xValues:n,series:m}};function AE(e){return e.type==="boxplot"}const IE=2e4;function qn(e,t){if(e&&t){const r=t.column.name,n=e.findIndex(o=>o.name===r);return n===-1?null:n}return null}const rg=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=qn(e.columns,r.category),o=qn(e.columns,r.whiskerMin),i=qn(e.columns,r.whiskerMax),a=qn(t.columns,r.category),s=qn(t.columns,r.outliers)),f.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(c=>{const d=f.isNull(n)?null:c[n].data,p=c[i].data,h=c[o].data,m=t.rows.filter(v=>{const g=f.isNull(a)?null:v[a].data,y=v[s].data;return g===d&&(y<h||y>p)}).map(v=>v[s].data).join(",");return[...c,{data:m}]})}};function PE(e,t,r){const n=r&&Z0(r);return rg(e,t,n)}const DE=(c,d)=>_t(exports,[c,d],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},l){var g;const p={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},h=yield l(p,e);let m=h;const v=t.outliersCount?$E(h,t.outliersCount.column.name):0;if(t.outliers&&v<IE){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const b=yield l(y,e);m=rg(h,b,t)}catch(b){if((g=b==null?void 0:b.message)!=null&&g.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw b}}return m}),$E=(e,t)=>{if(!(e!=null&&e.columns))return 0;const r=e.columns.findIndex(({name:o})=>o===t);let n=0;return e.rows.forEach(o=>{n+=parseInt(o[r].data)}),n};function NE(e){return f.isRestructuredChartType(e)?f.getChartBuilder(e).data.loadData:e==="boxplot"?FE:LE}const LE=n=>_t(exports,[n],function*({app:e,queryDescription:t,executionConfig:r}){var a,s;return(((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?f.executeQueryWithCache:f.executeQuery)(t,e,r)}),FE=n=>_t(exports,[n],function*({app:e,chartDataOptionsInternal:t,queryDescription:r}){var a,s,l,c;const i=((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?f.executeQueryWithCache:f.executeQuery;return DE({app:e,chartDataOptions:t,dataSource:r.dataSource,attributes:(l=r.dimensions)!=null?l:[],measures:(c=r.measures)!=null?c:[],filters:r.filters,highlights:r.highlights,filterRelations:r.filterRelations},i)}),jE=(e,t)=>{const r=$(w({},e),{x:e.breakBy,breakBy:[]});let n=f.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>f.isNumber$1(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:l},numberFormatConfig:c},d)=>{const p=f.getCompleteNumberFormatConfig(c),h=a.xValues[d];f.isNumber$1(l)?s.push(f.applyFormatPlainText(p,parseFloat(h))):s.push(a.xValues[d])}),$(w({},a),{xValues:s})});n=$(w({},n),{xValues:i})}return $(w({},n),{type:"categorical"})},bi=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=f.getColumnByName(e,t[0].column.name);return r?[f.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},BE=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=bi(t,e.value);if(n===void 0)return r;const[o]=bi(t,e.secondary),[i]=bi(t,e.min),[a]=bi(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},HE="N\\A",zE=1,WE=(e,t)=>{const r=VE(e),n=e.locations&&f.getColumnsByName(t,e.locations.map(({column:{name:l}})=>l)),o=e.size&&f.getColumnByName(t,e.size.column.name),i=e.colorBy&&f.getColumnByName(t,e.colorBy.column.name),a=e.details&&f.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(l=>n.some(c=>f.getValue(l,c)!==HE)).map(l=>{const c=n.map(m=>f.getValue(l,m)),d=e3(c);let p;r&&(p={lat:f.getValue(l,n[0]),lng:f.getValue(l,n[1])});const h=n[0]&&!!f.isBlurred(l,n[0]);return w($(w(w({name:d,rawName:c,value:o?f.getValue(l,o):zE},i&&{colorValue:f.getValue(l,i)}),a&&{details:f.getValue(l,a)}),{blur:h}),p?{coordinates:p}:null)})}};function VE(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>f.isNumber$1(t)).length===2}const UE=(e,t,r)=>{if(f.isCartesian(e))return f.isForecastChart(t)?f.advancedAnalyticsData(t,r):f.cartesianData(t,r);if(f.isCategorical(e))return jE(t,r);if(f.isScatter(e))return f.scatterData(t,r);if(f.isScattermap(e))return WE(t,r);if(f.isIndicator(e))return BE(t,r);if(f.isBoxplot(e))return kE(t,r);if(f.isRange(e))return f.rangeData(t,r);throw new f.TranslatableError("errors.unexpectedChartType",{chartType:e})};var GE=1/0,YE=f.Set&&1/f.setToArray(new f.Set([,-0]))[1]==GE?function(e){return new f.Set(e)}:f.noop,qE=200;function Jc(e,t,r){var n=-1,o=f.arrayIncludes,i=e.length,a=!0,s=[],l=s;if(i>=qE){var c=t?null:YE(e);if(c)return f.setToArray(c);a=!1,o=f.cacheHas,l=new f.SetCache}else l=t?[]:s;e:for(;++n<i;){var d=e[n],p=t?t(d):d;if(d=d!==0?d:0,a&&p===p){for(var h=l.length;h--;)if(l[h]===p)continue e;t&&l.push(p),s.push(d)}else o(l,p,r)||(l!==s&&l.push(p),s.push(d))}return s}var XE=f.baseRest(function(e){return Jc(f.baseFlatten(e,1,f.isArrayLikeObject,!0))});const ng=(e,t,r,n={})=>{if(f.emptyTable(e))return{rows:[],columns:[]};const o=XE(f.getColumnsByName(e,t.map(d=>d.name))),i=e,s=[...r.map(d=>{var p,h;return{column:(p=n[d.name])!=null?p:d.name,title:d.name,agg:(h=d.aggregation)!=null?h:"sum"}}),{column:f.rownumColumnName,title:f.rownumColumnName,agg:"min"}],l=f.groupBy(i,o,s),c=f.getColumnByName(l,f.rownumColumnName);if(!c)throw new f.TranslatableError("errors.noRowNumColumn");return f.orderBy(l,[c])};function KE({dataSet:e,data:t,chartDataOptions:r,chartType:n,attributes:o,measures:i,dataColumnNamesMapping:a,onDataReady:s}){return S.useMemo(()=>{if(!t||!r)return null;let l;if(s&&(l=s(t),!ig(l)))throw new f.TranslatableError("errors.incorrectOnDataReadyHandler");const c=l||t;let d=f.createDataTableFromData(c);return yr(e)||(d=ng(d,o,i,a)),QE(n,r,d)},[t,n])}function QE(e,t,r){if(f.isRestructuredChartType(e)){const n=f.getChartBuilder(e);if(n.dataOptions.isCorrectDataOptionsInternal(t))return n.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return UE(e,t,r)}const ZE=e=>e,JE=({chartType:e,chartData:t,dataOptions:r,designOptions:n,onDataPointClick:o,onDataPointContextMenu:i,onDataPointsSelected:a,onBeforeRender:s=ZE})=>{const{app:l}=f.useSisenseContext(),{t:c}=f.useTranslation(),d=[],p=S.useCallback((v,g)=>f.applyDateFormat(v,g,l==null?void 0:l.settings.locale,l==null?void 0:l.settings.dateConfig),[]),{themeSettings:h}=f.useThemeContext(),m=S.useMemo(()=>{var x;const{options:v,alerts:g}=f.highchartsOptionsService(t,e,n,r,c,h,p);d.push(...g);const y=((x=l==null?void 0:l.settings.accessibilityConfig)==null?void 0:x.enabled)||!1,b=f.applyCommonHighchartsOptions(v,h,y),T=f.applyEventHandlersToChart(b,r,{onDataPointClick:o,onDataPointContextMenu:i,onDataPointsSelected:a}),E=f.applyThemeToChart(T,h);return s(E)},[e,t,r,n,h,o,i,s,c]);return m&&f.jsxs("div",{"aria-label":"chart-root",style:{display:"flex",justifyContent:"center",height:"100%",width:"100%"},children:[!!d.length&&f.jsx(f.AlertBox,{alerts:d}),f.jsx(f.HighchartsReactMemoized,{options:m})]})},eT=[...f.CARTESIAN_CHART_TYPES,...f.CATEGORICAL_CHART_TYPES,...f.SCATTER_CHART_TYPES,...f.BOXPLOT_CHART_TYPES,...f.RANGE_CHART_TYPES],og=e=>eT.includes(e),tT=e=>!!e.chartType&&og(e.chartType)&&!!e.chartData,rT=e=>e==="indicator",nT=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&f.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&q0(t)?t.locations.length===0:e==="boxplot"&&AE(t)?t.xValues.length===0:"series"in t&&t.series.length===0,Ml=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:d,onBeforeRender:p,onDataReady:h}=e,[m,v]=S.useState(!1),g=Kc(t),{themeSettings:y}=f.useThemeContext(),{dataOptions:b,attributes:T,measures:E,dataColumnNamesMapping:x}=RE(n,t),C=T.length===0&&E.length===0,_=S.useMemo(()=>NE(t),[t]),[O,k]=oE({dataSet:r,chartDataOptions:b,chartType:t,attributes:T,measures:E,dataColumnNamesMapping:x,filters:o,highlights:i,refreshCounter:s,setIsLoading:v,enabled:!C,loadData:_}),D=S.useMemo(()=>n?f.prepareChartDesignOptions(t,k,a):null,[n,t,k,a]),F=KE({dataSet:r,data:O,chartDataOptions:b,chartType:t,attributes:T,measures:E,dataColumnNamesMapping:x,onDataReady:h}),W=OE({dataSet:r,chartType:t,chartData:F,internalDataOptions:k,designOptions:D,onBeforeRender:p,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:d,filters:o});return W?f.jsx(Fa,{defaultSize:g,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:rT(t),children:()=>{if(!F&&m)return f.jsx(ga,{themeSettings:y});if(F&&nT(t,F)||C)return f.jsx(Xc,{iconType:t});if(f.isRestructuredChartType(t)){const R=f.getChartBuilder(t);return R.renderer.isCorrectRendererProps(W)?f.jsx(ao,{isVisible:m,children:f.jsx(R.renderer.ChartRendererComponent,w({},W))}):null}return t==="scattermap"&&A3(W)?f.jsx(ao,{isVisible:m,children:f.jsx(M3,w({},W))}):t==="indicator"&&MC(W)?f.jsx(ao,{isVisible:m,children:f.jsx(TC,w({},W))}):og(t)&&tT(W)?f.jsx(ao,{isVisible:m,children:f.jsx(JE,$(w({},W),{designOptions:w({},W.designOptions)}))}):null}}):null};function ig(e){return e&&typeof e=="object"&&"columns"in e&&f.isArray(e.columns)&&"rows"in e&&f.isArray(e.rows)}function oT(e){return Oe("MuiPagination",e)}ke("MuiPagination",["root","ul","outlined","text"]);function iT(e={}){const D=e,{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:d=!1,showLastButton:p=!1,siblingCount:h=1}=D,m=te(D,["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"]),[v,g]=Lc({controlled:c,default:o,name:r,state:"page"}),y=(F,W)=>{c||g(W),l&&l(F,W)},b=(F,W)=>{const R=W-F+1;return Array.from({length:R},(A,B)=>F+B)},T=b(1,Math.min(t,n)),E=b(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(v-h,n-t-h*2-1),t+2),C=Math.min(Math.max(v+h,t+h*2+2),n-t-1),_=[...d?["first"]:[],...s?[]:["previous"],...T,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...b(x,C),...C<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...E,...a?[]:["next"],...p?["last"]:[]],O=F=>{switch(F){case"first":return 1;case"previous":return v-1;case"next":return v+1;case"last":return n;default:return null}},k=_.map(F=>typeof F=="number"?{onClick:W=>{y(W,F)},type:"page",page:F,selected:F===v,disabled:i,"aria-current":F===v?"page":void 0}:{onClick:W=>{y(W,O(F))},type:F,page:O(F),selected:!1,disabled:i||!F.includes("ellipsis")&&(F==="next"||F==="last"?v>=n:v<=1)});return w({items:k},m)}function aT(e){return Oe("MuiPaginationItem",e)}const lt=ke("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),sT=In(Z.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),lT=In(Z.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),cT=In(Z.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),uT=In(Z.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),ag=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.variant==="text"&&t[`text${fe(r.color)}`],r.variant==="outlined"&&t[`outlined${fe(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},dT=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${fe(i)}`,l,a,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${l}${fe(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return Be(c,aT,t)},fT=de("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:ag})(Ye(({theme:e})=>$(w({},e.typography.body2),{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),pT=de(Yr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:ag})(Ye(({theme:e})=>$(w({},e.typography.body2),{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${lt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${lt.selected}`]:{[`&.${lt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${lt.selected}`]:{[`&.${lt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(Cr(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${lt.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${lt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(Cr(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${lt.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:Ne(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Ne(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}}))]}))),hT=de("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(Ye(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),sg=L.forwardRef(function(t,r){var H,Y,P,V;const n=Fe({props:t,name:"MuiPaginationItem"}),I=n,{className:o,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:d=!1,shape:p="circular",size:h="medium",slots:m={},slotProps:v={},type:g="page",variant:y="text"}=I,b=te(I,["className","color","component","components","disabled","page","selected","shape","size","slots","slotProps","type","variant"]),T=$(w({},n),{color:i,disabled:l,selected:d,shape:p,size:h,type:g,variant:y}),E=va(),x=dT(T),C={slots:{previous:(H=m.previous)!=null?H:s.previous,next:(Y=m.next)!=null?Y:s.next,first:(P=m.first)!=null?P:s.first,last:(V=m.last)!=null?V:s.last},slotProps:v},[_,O]=tt("previous",{elementType:cT,externalForwardedProps:C,ownerState:T}),[k,D]=tt("next",{elementType:uT,externalForwardedProps:C,ownerState:T}),[F,W]=tt("first",{elementType:sT,externalForwardedProps:C,ownerState:T}),[R,A]=tt("last",{elementType:lT,externalForwardedProps:C,ownerState:T}),B=E?{previous:"next",next:"previous",first:"last",last:"first"}[g]:g,j={previous:_,next:k,first:F,last:R}[B],N={previous:O,next:D,first:W,last:A}[B];return g==="start-ellipsis"||g==="end-ellipsis"?Z.jsx(fT,{ref:r,ownerState:T,className:he(x.root,o),children:"…"}):Z.jsxs(pT,$(w({ref:r,ownerState:T,component:a,disabled:l,className:he(x.root,o)},b),{children:[g==="page"&&c,j?Z.jsx(hT,$(w({},N),{className:x.icon,as:j})):null]}))});process.env.NODE_ENV!=="production"&&(sg.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","standard"]),u.string]),component:u.elementType,components:u.shape({first:u.elementType,last:u.elementType,next:u.elementType,previous:u.elementType}),disabled:u.bool,page:u.node,selected:u.bool,shape:u.oneOf(["circular","rounded"]),size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),slotProps:u.shape({first:u.oneOfType([u.func,u.object]),last:u.oneOfType([u.func,u.object]),next:u.oneOfType([u.func,u.object]),previous:u.oneOfType([u.func,u.object])}),slots:u.shape({first:u.elementType,last:u.elementType,next:u.elementType,previous:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),type:u.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:u.oneOfType([u.oneOf(["outlined","text"]),u.string])});const gT=e=>{const{classes:t,variant:r}=e;return Be({root:["root",r],ul:["ul"]},oT,t)},mT=de("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),vT=de("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function yT(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const lg=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiPagination"}),F=n,{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:d=yT,hideNextButton:p=!1,hidePrevButton:h=!1,onChange:m,page:v,renderItem:g=W=>Z.jsx(sg,w({},W)),shape:y="circular",showFirstButton:b=!1,showLastButton:T=!1,siblingCount:E=1,size:x="medium",variant:C="text"}=F,_=te(F,["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"]),{items:O}=iT($(w({},n),{componentName:"Pagination"})),k=$(w({},n),{boundaryCount:o,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:d,hideNextButton:p,hidePrevButton:h,renderItem:g,shape:y,showFirstButton:b,showLastButton:T,siblingCount:E,size:x,variant:C}),D=gT(k);return Z.jsx(mT,$(w({"aria-label":"pagination navigation",className:he(D.root,i),ownerState:k,ref:r},_),{children:Z.jsx(vT,{className:D.ul,ownerState:k,children:O.map((W,R)=>Z.jsx("li",{children:g($(w({},W),{color:a,"aria-label":d(W.type,W.page,W.selected),shape:y,size:x,variant:C}))},R))})}))});process.env.NODE_ENV!=="production"&&(lg.propTypes={boundaryCount:Ut,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","standard"]),u.string]),count:Ut,defaultPage:Ut,disabled:u.bool,getItemAriaLabel:u.func,hideNextButton:u.bool,hidePrevButton:u.bool,onChange:u.func,page:Ut,renderItem:u.func,shape:u.oneOf(["circular","rounded"]),showFirstButton:u.bool,showLastButton:u.bool,siblingCount:Ut,size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["outlined","text"]),u.string])});const cg=e=>{const t=[],r=[];for(const n of e.columns)f.isMeasureColumn(n)?r.push(f.translateColumnToMeasure(n)):t.push(f.translateColumnToAttribute(n));return{attributes:t,measures:r}},bT=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=Zc(),[s,l]=S.useState(yr(e)?null:e),[c,d]=S.useState(!1),p=S.useRef(!0),{isInitialized:h,app:m}=f.useSisenseContext(),[v,g]=S.useState(t);return S.useEffect(()=>{var E;let y=!1;if(!t)return;const{attributes:b,measures:T}=cg(t);if(yr(e)){if(!h){a(new f.TranslatableError("errors.chartNoSisenseContext"));return}if(!m||!p.current&&i>0)return;d(!0),((E=m.settings.queryCacheConfig)!=null&&E.enabled?f.executeQueryWithCache:f.executeQuery)({dataSource:e,dimensions:b,measures:T,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},m).then(C=>{if(y)return;p.current=C.rows.length>o;const _=p.current?C.rows.slice(0,o):C.rows;i>0?l(O=>{const k=O==null?void 0:O.rows.length,D=k?k>i?O.rows.slice(0,i):O.rows:null;return{columns:C.columns,rows:D?[...D,..._]:_}}):l({columns:C.columns,rows:_}),g(t)}).finally(()=>{d(!1)}).catch(C=>{y||a(C)})}else l(e),g(t);return()=>{y=!0}},[m,e,t,r,n,i,o,h,a]),[c?null:s,v]},wT=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=f.useSisenseContext();return S.useMemo(()=>{if(!e||!t)return null;let i=f.createDataTableFromData(Rl(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(l=>!f.isMeasureColumn(l)).map(f.translateColumnToAttribute),s=t.columns.filter(l=>f.isMeasureColumn(l)).map(f.translateColumnToMeasure);return Q0(i,a,s,r),n&&(i=ng(i,a,s,r)),yE(t,i)},[e,t,n,r,o])};function Le(){return Le=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},Le.apply(null,arguments)}function Ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){"@babel/helpers - typeof";return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(e)}function xT(e,t){if(ir(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ir(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ug(e){var t=xT(e,"string");return ir(t)=="symbol"?t:t+""}function lf(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,ug(n.key),n)}}function Ie(e,t,r){return t&&lf(e.prototype,t),r&&lf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ol(e,t){return Ol=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Ol(e,t)}function Ke(e,t){if(typeof t!="function"&&t!==null)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&&Ol(e,t)}function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function at(e,t){if(t&&(ir(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q(e)}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},me(e)}function G(e,t,r){return(t=ug(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gt=function(t,r,n,o,i,a,s,l){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,o,i,a,s,l],p=0;c=new Error("Invariant Violation: "+r.replace(/%s/g,function(){return d[p++]}))}throw c.framesToPop=1,c}},wi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},CT=Array.isArray,Lt=CT,ET=typeof wi=="object"&&wi&&wi.Object===Object&&wi,dg=ET,TT=dg,ST=typeof self=="object"&&self&&self.Object===Object&&self,RT=TT||ST||Function("return this")(),Zt=RT,_T=Zt,MT=_T.Symbol,Qo=MT,cf=Qo,fg=Object.prototype,OT=fg.hasOwnProperty,kT=fg.toString,Xn=cf?cf.toStringTag:void 0;function AT(e){var t=OT.call(e,Xn),r=e[Xn];try{e[Xn]=void 0;var n=!0}catch(i){}var o=kT.call(e);return n&&(t?e[Xn]=r:delete e[Xn]),o}var IT=AT,PT=Object.prototype,DT=PT.toString;function $T(e){return DT.call(e)}var NT=$T,uf=Qo,LT=IT,FT=NT,jT="[object Null]",BT="[object Undefined]",df=uf?uf.toStringTag:void 0;function HT(e){return e==null?e===void 0?BT:jT:df&&df in Object(e)?LT(e):FT(e)}var qr=HT;function zT(e){return e!=null&&typeof e=="object"}var Sr=zT,WT=qr,VT=Sr,UT="[object Symbol]";function GT(e){return typeof e=="symbol"||VT(e)&&WT(e)==UT}var ja=GT,YT=Lt,qT=ja,XT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,KT=/^\w*$/;function QT(e,t){if(YT(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||qT(e)?!0:KT.test(e)||!XT.test(e)||t!=null&&e in Object(t)}var ZT=QT;function JT(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xr=JT,eS=qr,tS=Xr,rS="[object AsyncFunction]",nS="[object Function]",oS="[object GeneratorFunction]",iS="[object Proxy]";function aS(e){if(!tS(e))return!1;var t=eS(e);return t==nS||t==oS||t==rS||t==iS}var pg=aS,sS=Zt,lS=sS["__core-js_shared__"],cS=lS,js=cS,ff=function(){var e=/[^.]+$/.exec(js&&js.keys&&js.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function uS(e){return!!ff&&ff in e}var dS=uS,fS=Function.prototype,pS=fS.toString;function hS(e){if(e!=null){try{return pS.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var hg=hS,gS=pg,mS=dS,vS=Xr,yS=hg,bS=/[\\^$.*+?()[\]{}|]/g,wS=/^\[object .+?Constructor\]$/,xS=Function.prototype,CS=Object.prototype,ES=xS.toString,TS=CS.hasOwnProperty,SS=RegExp("^"+ES.call(TS).replace(bS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function RS(e){if(!vS(e)||mS(e))return!1;var t=gS(e)?SS:wS;return t.test(yS(e))}var _S=RS;function MS(e,t){return e==null?void 0:e[t]}var OS=MS,kS=_S,AS=OS;function IS(e,t){var r=AS(e,t);return kS(r)?r:void 0}var Kr=IS,PS=Kr,DS=PS(Object,"create"),Ba=DS,pf=Ba;function $S(){this.__data__=pf?pf(null):{},this.size=0}var NS=$S;function LS(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var FS=LS,jS=Ba,BS="__lodash_hash_undefined__",HS=Object.prototype,zS=HS.hasOwnProperty;function WS(e){var t=this.__data__;if(jS){var r=t[e];return r===BS?void 0:r}return zS.call(t,e)?t[e]:void 0}var VS=WS,US=Ba,GS=Object.prototype,YS=GS.hasOwnProperty;function qS(e){var t=this.__data__;return US?t[e]!==void 0:YS.call(t,e)}var XS=qS,KS=Ba,QS="__lodash_hash_undefined__";function ZS(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=KS&&t===void 0?QS:t,this}var JS=ZS,eR=NS,tR=FS,rR=VS,nR=XS,oR=JS;function Pn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pn.prototype.clear=eR;Pn.prototype.delete=tR;Pn.prototype.get=rR;Pn.prototype.has=nR;Pn.prototype.set=oR;var iR=Pn;function aR(){this.__data__=[],this.size=0}var sR=aR;function lR(e,t){return e===t||e!==e&&t!==t}var gg=lR,cR=gg;function uR(e,t){for(var r=e.length;r--;)if(cR(e[r][0],t))return r;return-1}var Ha=uR,dR=Ha,fR=Array.prototype,pR=fR.splice;function hR(e){var t=this.__data__,r=dR(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():pR.call(t,r,1),--this.size,!0}var gR=hR,mR=Ha;function vR(e){var t=this.__data__,r=mR(t,e);return r<0?void 0:t[r][1]}var yR=vR,bR=Ha;function wR(e){return bR(this.__data__,e)>-1}var xR=wR,CR=Ha;function ER(e,t){var r=this.__data__,n=CR(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var TR=ER,SR=sR,RR=gR,_R=yR,MR=xR,OR=TR;function Dn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Dn.prototype.clear=SR;Dn.prototype.delete=RR;Dn.prototype.get=_R;Dn.prototype.has=MR;Dn.prototype.set=OR;var za=Dn,kR=Kr,AR=Zt,IR=kR(AR,"Map"),eu=IR,hf=iR,PR=za,DR=eu;function $R(){this.size=0,this.__data__={hash:new hf,map:new(DR||PR),string:new hf}}var NR=$R;function LR(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var FR=LR,jR=FR;function BR(e,t){var r=e.__data__;return jR(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Wa=BR,HR=Wa;function zR(e){var t=HR(this,e).delete(e);return this.size-=t?1:0,t}var WR=zR,VR=Wa;function UR(e){return VR(this,e).get(e)}var GR=UR,YR=Wa;function qR(e){return YR(this,e).has(e)}var XR=qR,KR=Wa;function QR(e,t){var r=KR(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var ZR=QR,JR=NR,e_=WR,t_=GR,r_=XR,n_=ZR;function $n(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}$n.prototype.clear=JR;$n.prototype.delete=e_;$n.prototype.get=t_;$n.prototype.has=r_;$n.prototype.set=n_;var mg=$n,vg=mg,o_="Expected a function";function tu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(o_);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(tu.Cache||vg),r}tu.Cache=vg;var i_=tu,a_=i_,s_=500;function l_(e){var t=a_(e,function(n){return r.size===s_&&r.clear(),n}),r=t.cache;return t}var c_=l_,u_=c_,d_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f_=/\\(\\)?/g,p_=u_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(d_,function(r,n,o,i){t.push(o?i.replace(f_,"$1"):n||r)}),t}),h_=p_;function g_(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var m_=g_,gf=Qo,v_=m_,y_=Lt,b_=ja,w_=1/0,mf=gf?gf.prototype:void 0,vf=mf?mf.toString:void 0;function yg(e){if(typeof e=="string")return e;if(y_(e))return v_(e,yg)+"";if(b_(e))return vf?vf.call(e):"";var t=e+"";return t=="0"&&1/e==-w_?"-0":t}var x_=yg,C_=x_;function E_(e){return e==null?"":C_(e)}var bg=E_,T_=Lt,S_=ZT,R_=h_,__=bg;function M_(e,t){return T_(e)?e:S_(e,t)?[e]:R_(__(e))}var Va=M_,O_=ja,k_=1/0;function A_(e){if(typeof e=="string"||O_(e))return e;var t=e+"";return t=="0"&&1/e==-k_?"-0":t}var ru=A_,I_=Va,P_=ru;function D_(e,t){t=I_(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[P_(t[r++])];return r&&r==n?e:void 0}var wg=D_,$_=Kr,N_=function(){try{var e=$_(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),xg=N_,yf=xg;function L_(e,t,r){t=="__proto__"&&yf?yf(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Cg=L_,F_=Cg,j_=gg,B_=Object.prototype,H_=B_.hasOwnProperty;function z_(e,t,r){var n=e[t];(!(H_.call(e,t)&&j_(n,r))||r===void 0&&!(t in e))&&F_(e,t,r)}var nu=z_,W_=9007199254740991,V_=/^(?:0|[1-9]\d*)$/;function U_(e,t){var r=typeof e;return t=t==null?W_:t,!!t&&(r=="number"||r!="symbol"&&V_.test(e))&&e>-1&&e%1==0&&e<t}var ou=U_,G_=nu,Y_=Va,q_=ou,bf=Xr,X_=ru;function K_(e,t,r,n){if(!bf(e))return e;t=Y_(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var l=X_(t[o]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=a){var d=s[l];c=n?n(d,l,s):void 0,c===void 0&&(c=bf(d)?d:q_(t[o+1])?[]:{})}G_(s,l,c),s=s[l]}return e}var Q_=K_,Z_=wg,J_=Q_,e4=Va;function t4(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=Z_(e,a);r(s,a)&&J_(i,e4(a,e),s)}return i}var r4=t4;function n4(e,t){return e!=null&&t in Object(e)}var o4=n4,i4=qr,a4=Sr,s4="[object Arguments]";function l4(e){return a4(e)&&i4(e)==s4}var c4=l4,wf=c4,u4=Sr,Eg=Object.prototype,d4=Eg.hasOwnProperty,f4=Eg.propertyIsEnumerable,p4=wf(function(){return arguments}())?wf:function(e){return u4(e)&&d4.call(e,"callee")&&!f4.call(e,"callee")},Ua=p4,h4=9007199254740991;function g4(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=h4}var iu=g4,m4=Va,v4=Ua,y4=Lt,b4=ou,w4=iu,x4=ru;function C4(e,t,r){t=m4(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=x4(t[n]);if(!(i=e!=null&&r(e,a)))break;e=e[a]}return i||++n!=o?i:(o=e==null?0:e.length,!!o&&w4(o)&&b4(a,o)&&(y4(e)||v4(e)))}var E4=C4,T4=o4,S4=E4;function R4(e,t){return e!=null&&S4(e,t,T4)}var _4=R4,M4=r4,O4=_4;function k4(e,t){return M4(e,t,function(r,n){return O4(e,n)})}var A4=k4;function I4(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Ga=I4,xf=Qo,P4=Ua,D4=Lt,Cf=xf?xf.isConcatSpreadable:void 0;function $4(e){return D4(e)||P4(e)||!!(Cf&&e&&e[Cf])}var N4=$4,L4=Ga,F4=N4;function Tg(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=F4),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?Tg(s,t-1,r,n,o):L4(o,s):n||(o[o.length]=s)}return o}var Sg=Tg,j4=Sg;function B4(e){var t=e==null?0:e.length;return t?j4(e,1):[]}var H4=B4;function z4(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var W4=z4,V4=W4,Ef=Math.max;function U4(e,t,r){return t=Ef(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=Ef(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),V4(e,this,s)}}var G4=U4;function Y4(e){return function(){return e}}var q4=Y4;function X4(e){return e}var Rg=X4,K4=q4,Tf=xg,Q4=Rg,Z4=Tf?function(e,t){return Tf(e,"toString",{configurable:!0,enumerable:!1,value:K4(t),writable:!0})}:Q4,J4=Z4,eM=800,tM=16,rM=Date.now;function nM(e){var t=0,r=0;return function(){var n=rM(),o=tM-(n-r);if(r=n,o>0){if(++t>=eM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var oM=nM,iM=J4,aM=oM,sM=aM(iM),lM=sM,cM=H4,uM=G4,dM=lM;function fM(e){return dM(uM(e,void 0,cM),e+"")}var pM=fM,hM=A4,gM=pM,mM=gM(function(e,t){return e==null?{}:hM(e,t)}),so=mM;function Sf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Rf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sf(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function it(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var _f=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Bs=function(){return Math.random().toString(36).substring(7).split("").join(".")},jr={INIT:"@@redux/INIT"+Bs(),REPLACE:"@@redux/REPLACE"+Bs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Bs()}};function _g(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vM(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(wM(e))return"date";if(bM(e))return"error";var r=yM(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function yM(e){return typeof e.constructor=="function"?e.constructor.name:null}function bM(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function wM(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function fr(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=vM(e)),t}function Mg(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?it(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?it(1):"Expected the enhancer to be a function. Instead, received: '"+fr(r)+"'");return r(Mg)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?it(2):"Expected the root reducer to be a function. Instead, received: '"+fr(e)+"'");var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(process.env.NODE_ENV==="production"?it(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function p(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?it(4):"Expected the listener to be a function. Instead, received: '"+fr(g)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?it(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return c(),s.push(g),function(){if(y){if(l)throw new Error(process.env.NODE_ENV==="production"?it(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c();var T=s.indexOf(g);s.splice(T,1),a=null}}}function h(g){if(!_g(g))throw new Error(process.env.NODE_ENV==="production"?it(7):"Actions must be plain objects. Instead, the actual type was: '"+fr(g)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof g.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?it(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?it(9):"Reducers may not dispatch actions.");try{l=!0,i=o(i,g)}finally{l=!1}for(var y=a=s,b=0;b<y.length;b++){var T=y[b];T()}return g}function m(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?it(10):"Expected the nextReducer to be a function. Instead, received: '"+fr(g));o=g,h({type:jr.REPLACE})}function v(){var g,y=p;return g={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(process.env.NODE_ENV==="production"?it(11):"Expected the observer to be an object. Instead, received: '"+fr(T)+"'");function E(){T.next&&T.next(d())}E();var x=y(E);return{unsubscribe:x}}},g[_f]=function(){return this},g}return h({type:jr.INIT}),n={dispatch:h,subscribe:p,getState:d,replaceReducer:m},n[_f]=v,n}function kl(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function xM(e,t,r,n){var o=Object.keys(t),i=r&&r.type===jr.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!_g(e))return"The "+i+' has unexpected type of "'+fr(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===jr.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function CM(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:jr.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?it(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:jr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?it(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+jr.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function EM(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];process.env.NODE_ENV!=="production"&&typeof e[o]=="undefined"&&kl('No reducer provided for key "'+o+'"'),typeof e[o]=="function"&&(r[o]=e[o])}var i=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{CM(r)}catch(l){s=l}return function(c,d){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var p=xM(c,r,d,a);p&&kl(p)}for(var h=!1,m={},v=0;v<i.length;v++){var g=i[v],y=r[g],b=c[g],T=y(b,d);if(typeof T=="undefined"){var E=d&&d.type;throw new Error(process.env.NODE_ENV==="production"?it(14):"When called with an action of type "+(E?'"'+String(E)+'"':"(unknown type)")+', the slice reducer for key "'+g+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}m[g]=T,h=h||T!==b}return h=h||i.length!==Object.keys(c).length,h?m:c}}function Mf(e,t){return function(){return t(e.apply(this,arguments))}}function Og(e,t){if(typeof e=="function")return Mf(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?it(16):"bindActionCreators expected an object or a function, but instead received: '"+fr(e)+`'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);var r={};for(var n in e){var o=e[n];typeof o=="function"&&(r[n]=Mf(o,t))}return r}function Qi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function TM(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?it(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=Qi.apply(void 0,s)(o.dispatch),Rf(Rf({},o),{},{dispatch:i})}}}function Of(){}process.env.NODE_ENV!=="production"&&typeof Of.name=="string"&&Of.name!=="isCrushed"&&kl('You are currently using minified code outside of NODE_ENV === "production". This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) to ensure you have the correct code for your production build.');var SM=za;function RM(){this.__data__=new SM,this.size=0}var _M=RM;function MM(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var OM=MM;function kM(e){return this.__data__.get(e)}var AM=kM;function IM(e){return this.__data__.has(e)}var PM=IM,DM=za,$M=eu,NM=mg,LM=200;function FM(e,t){var r=this.__data__;if(r instanceof DM){var n=r.__data__;if(!$M||n.length<LM-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new NM(n)}return r.set(e,t),this.size=r.size,this}var jM=FM,BM=za,HM=_M,zM=OM,WM=AM,VM=PM,UM=jM;function Nn(e){var t=this.__data__=new BM(e);this.size=t.size}Nn.prototype.clear=HM;Nn.prototype.delete=zM;Nn.prototype.get=WM;Nn.prototype.has=VM;Nn.prototype.set=UM;var GM=Nn;function YM(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var kg=YM,qM=nu,XM=Cg;function KM(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=n?n(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),o?XM(r,s,l):qM(r,s,l)}return r}var Ya=KM;function QM(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var ZM=QM,ko={exports:{}};function JM(){return!1}var e5=JM;(function(e,t){var r=Zt,n=e5,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(ko,ko.exports);var t5=qr,r5=iu,n5=Sr,o5="[object Arguments]",i5="[object Array]",a5="[object Boolean]",s5="[object Date]",l5="[object Error]",c5="[object Function]",u5="[object Map]",d5="[object Number]",f5="[object Object]",p5="[object RegExp]",h5="[object Set]",g5="[object String]",m5="[object WeakMap]",v5="[object ArrayBuffer]",y5="[object DataView]",b5="[object Float32Array]",w5="[object Float64Array]",x5="[object Int8Array]",C5="[object Int16Array]",E5="[object Int32Array]",T5="[object Uint8Array]",S5="[object Uint8ClampedArray]",R5="[object Uint16Array]",_5="[object Uint32Array]",Pe={};Pe[b5]=Pe[w5]=Pe[x5]=Pe[C5]=Pe[E5]=Pe[T5]=Pe[S5]=Pe[R5]=Pe[_5]=!0;Pe[o5]=Pe[i5]=Pe[v5]=Pe[a5]=Pe[y5]=Pe[s5]=Pe[l5]=Pe[c5]=Pe[u5]=Pe[d5]=Pe[f5]=Pe[p5]=Pe[h5]=Pe[g5]=Pe[m5]=!1;function M5(e){return n5(e)&&r5(e.length)&&!!Pe[t5(e)]}var O5=M5;function k5(e){return function(t){return e(t)}}var au=k5,Ao={exports:{}};(function(e,t){var r=dg,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=s})(Ao,Ao.exports);var A5=O5,I5=au,kf=Ao.exports,Af=kf&&kf.isTypedArray,P5=Af?I5(Af):A5,Ag=P5,D5=ZM,$5=Ua,N5=Lt,L5=ko.exports,F5=ou,j5=Ag,B5=Object.prototype,H5=B5.hasOwnProperty;function z5(e,t){var r=N5(e),n=!r&&$5(e),o=!r&&!n&&L5(e),i=!r&&!n&&!o&&j5(e),a=r||n||o||i,s=a?D5(e.length,String):[],l=s.length;for(var c in e)(t||H5.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||F5(c,l)))&&s.push(c);return s}var Ig=z5,W5=Object.prototype;function V5(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||W5;return e===r}var qa=V5;function U5(e,t){return function(r){return e(t(r))}}var Pg=U5,G5=Pg,Y5=G5(Object.keys,Object),q5=Y5,X5=qa,K5=q5,Q5=Object.prototype,Z5=Q5.hasOwnProperty;function J5(e){if(!X5(e))return K5(e);var t=[];for(var r in Object(e))Z5.call(e,r)&&r!="constructor"&&t.push(r);return t}var su=J5,eO=pg,tO=iu;function rO(e){return e!=null&&tO(e.length)&&!eO(e)}var Zo=rO,nO=Ig,oO=su,iO=Zo;function aO(e){return iO(e)?nO(e):oO(e)}var Xa=aO,sO=Ya,lO=Xa;function cO(e,t){return e&&sO(t,lO(t),e)}var uO=cO;function dO(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var fO=dO,pO=Xr,hO=qa,gO=fO,mO=Object.prototype,vO=mO.hasOwnProperty;function yO(e){if(!pO(e))return gO(e);var t=hO(e),r=[];for(var n in e)n=="constructor"&&(t||!vO.call(e,n))||r.push(n);return r}var bO=yO,wO=Ig,xO=bO,CO=Zo;function EO(e){return CO(e)?wO(e,!0):xO(e)}var lu=EO,TO=Ya,SO=lu;function RO(e,t){return e&&TO(t,SO(t),e)}var _O=RO,Al={exports:{}};(function(e,t){var r=Zt,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(c,d){if(d)return c.slice();var p=c.length,h=s?s(p):new c.constructor(p);return c.copy(h),h}e.exports=l})(Al,Al.exports);function MO(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Dg=MO;function OO(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}var kO=OO;function AO(){return[]}var $g=AO,IO=kO,PO=$g,DO=Object.prototype,$O=DO.propertyIsEnumerable,If=Object.getOwnPropertySymbols,NO=If?function(e){return e==null?[]:(e=Object(e),IO(If(e),function(t){return $O.call(e,t)}))}:PO,cu=NO,LO=Ya,FO=cu;function jO(e,t){return LO(e,FO(e),t)}var BO=jO,HO=Pg,zO=HO(Object.getPrototypeOf,Object),Ng=zO,WO=Ga,VO=Ng,UO=cu,GO=$g,YO=Object.getOwnPropertySymbols,qO=YO?function(e){for(var t=[];e;)WO(t,UO(e)),e=VO(e);return t}:GO,Lg=qO,XO=Ya,KO=Lg;function QO(e,t){return XO(e,KO(e),t)}var ZO=QO,JO=Ga,ek=Lt;function tk(e,t,r){var n=t(e);return ek(e)?n:JO(n,r(e))}var Fg=tk,rk=Fg,nk=cu,ok=Xa;function ik(e){return rk(e,ok,nk)}var ak=ik,sk=Fg,lk=Lg,ck=lu;function uk(e){return sk(e,ck,lk)}var dk=uk,fk=Kr,pk=Zt,hk=fk(pk,"DataView"),gk=hk,mk=Kr,vk=Zt,yk=mk(vk,"Promise"),bk=yk,wk=Kr,xk=Zt,Ck=wk(xk,"Set"),Ek=Ck,Tk=Kr,Sk=Zt,Rk=Tk(Sk,"WeakMap"),_k=Rk,Il=gk,Pl=eu,Dl=bk,$l=Ek,Nl=_k,jg=qr,Ln=hg,Pf="[object Map]",Mk="[object Object]",Df="[object Promise]",$f="[object Set]",Nf="[object WeakMap]",Lf="[object DataView]",Ok=Ln(Il),kk=Ln(Pl),Ak=Ln(Dl),Ik=Ln($l),Pk=Ln(Nl),Ir=jg;(Il&&Ir(new Il(new ArrayBuffer(1)))!=Lf||Pl&&Ir(new Pl)!=Pf||Dl&&Ir(Dl.resolve())!=Df||$l&&Ir(new $l)!=$f||Nl&&Ir(new Nl)!=Nf)&&(Ir=function(e){var t=jg(e),r=t==Mk?e.constructor:void 0,n=r?Ln(r):"";if(n)switch(n){case Ok:return Lf;case kk:return Pf;case Ak:return Df;case Ik:return $f;case Pk:return Nf}return t});var Jo=Ir,Dk=Object.prototype,$k=Dk.hasOwnProperty;function Nk(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&$k.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Lk=Nk,Fk=Zt,jk=Fk.Uint8Array,Bk=jk,Ff=Bk;function Hk(e){var t=new e.constructor(e.byteLength);return new Ff(t).set(new Ff(e)),t}var uu=Hk,zk=uu;function Wk(e,t){var r=t?zk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Vk=Wk,Uk=/\w*$/;function Gk(e){var t=new e.constructor(e.source,Uk.exec(e));return t.lastIndex=e.lastIndex,t}var Yk=Gk,jf=Qo,Bf=jf?jf.prototype:void 0,Hf=Bf?Bf.valueOf:void 0;function qk(e){return Hf?Object(Hf.call(e)):{}}var Xk=qk,Kk=uu;function Qk(e,t){var r=t?Kk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Zk=Qk,Jk=uu,eA=Vk,tA=Yk,rA=Xk,nA=Zk,oA="[object Boolean]",iA="[object Date]",aA="[object Map]",sA="[object Number]",lA="[object RegExp]",cA="[object Set]",uA="[object String]",dA="[object Symbol]",fA="[object ArrayBuffer]",pA="[object DataView]",hA="[object Float32Array]",gA="[object Float64Array]",mA="[object Int8Array]",vA="[object Int16Array]",yA="[object Int32Array]",bA="[object Uint8Array]",wA="[object Uint8ClampedArray]",xA="[object Uint16Array]",CA="[object Uint32Array]";function EA(e,t,r){var n=e.constructor;switch(t){case fA:return Jk(e);case oA:case iA:return new n(+e);case pA:return eA(e,r);case hA:case gA:case mA:case vA:case yA:case bA:case wA:case xA:case CA:return nA(e,r);case aA:return new n;case sA:case uA:return new n(e);case lA:return tA(e);case cA:return new n;case dA:return rA(e)}}var TA=EA,SA=Xr,zf=Object.create,RA=function(){function e(){}return function(t){if(!SA(t))return{};if(zf)return zf(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),_A=RA,MA=_A,OA=Ng,kA=qa;function AA(e){return typeof e.constructor=="function"&&!kA(e)?MA(OA(e)):{}}var IA=AA,PA=Jo,DA=Sr,$A="[object Map]";function NA(e){return DA(e)&&PA(e)==$A}var LA=NA,FA=LA,jA=au,Wf=Ao.exports,Vf=Wf&&Wf.isMap,BA=Vf?jA(Vf):FA,HA=BA,zA=Jo,WA=Sr,VA="[object Set]";function UA(e){return WA(e)&&zA(e)==VA}var GA=UA,YA=GA,qA=au,Uf=Ao.exports,Gf=Uf&&Uf.isSet,XA=Gf?qA(Gf):YA,KA=XA,QA=GM,ZA=kg,JA=nu,eI=uO,tI=_O,rI=Al.exports,nI=Dg,oI=BO,iI=ZO,aI=ak,sI=dk,lI=Jo,cI=Lk,uI=TA,dI=IA,fI=Lt,pI=ko.exports,hI=HA,gI=Xr,mI=KA,vI=Xa,yI=lu,bI=1,wI=2,xI=4,Bg="[object Arguments]",CI="[object Array]",EI="[object Boolean]",TI="[object Date]",SI="[object Error]",Hg="[object Function]",RI="[object GeneratorFunction]",_I="[object Map]",MI="[object Number]",zg="[object Object]",OI="[object RegExp]",kI="[object Set]",AI="[object String]",II="[object Symbol]",PI="[object WeakMap]",DI="[object ArrayBuffer]",$I="[object DataView]",NI="[object Float32Array]",LI="[object Float64Array]",FI="[object Int8Array]",jI="[object Int16Array]",BI="[object Int32Array]",HI="[object Uint8Array]",zI="[object Uint8ClampedArray]",WI="[object Uint16Array]",VI="[object Uint32Array]",Me={};Me[Bg]=Me[CI]=Me[DI]=Me[$I]=Me[EI]=Me[TI]=Me[NI]=Me[LI]=Me[FI]=Me[jI]=Me[BI]=Me[_I]=Me[MI]=Me[zg]=Me[OI]=Me[kI]=Me[AI]=Me[II]=Me[HI]=Me[zI]=Me[WI]=Me[VI]=!0;Me[SI]=Me[Hg]=Me[PI]=!1;function Di(e,t,r,n,o,i){var a,s=t&bI,l=t&wI,c=t&xI;if(r&&(a=o?r(e,n,o,i):r(e)),a!==void 0)return a;if(!gI(e))return e;var d=fI(e);if(d){if(a=cI(e),!s)return nI(e,a)}else{var p=lI(e),h=p==Hg||p==RI;if(pI(e))return rI(e,s);if(p==zg||p==Bg||h&&!o){if(a=l||h?{}:dI(e),!s)return l?iI(e,tI(a,e)):oI(e,eI(a,e))}else{if(!Me[p])return o?e:{};a=uI(e,p,s)}}i||(i=new QA);var m=i.get(e);if(m)return m;i.set(e,a),mI(e)?e.forEach(function(y){a.add(Di(y,t,r,y,e,i))}):hI(e)&&e.forEach(function(y,b){a.set(b,Di(y,t,r,b,e,i))});var v=c?l?sI:aI:l?yI:vI,g=d?void 0:v(e);return ZA(g||e,function(y,b){g&&(b=y,y=e[b]),JA(a,b,Di(y,t,r,b,e,i))}),a}var UI=Di,GI=UI,YI=4;function qI(e){return GI(e,YI)}var XI=qI;function KI(e,t){return e<t}var xi=function(){function e(t,r){Ae(this,e),this._items=t||[],this._size=this._items.length,this._comparator=r||KI,this._heapify()}return Ie(e,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var r=this._items[0],n=this._items.pop();return this._size--,this._size>0&&(this._items[0]=n,this._sinkDown(0)),r}}},{key:"push",value:function(r){this._items[this._size++]=r,this._bubbleUp(this._size-1)}},{key:"size",value:function(){return this._size}},{key:"peek",value:function(){if(this._size!==0)return this._items[0]}},{key:"_heapify",value:function(){for(var r=Math.floor((this._size+1)/2);r>=0;r--)this._sinkDown(r)}},{key:"_bubbleUp",value:function(r){for(var n=this._items[r];r>0;){var o=Math.floor((r+1)/2)-1,i=this._items[o];if(this._comparator(i,n))return;this._items[o]=n,this._items[r]=i,r=o}}},{key:"_sinkDown",value:function(r){for(var n=this._items[r];;){var o=2*(r+1)-1,i=2*(r+1),a=-1;if(o<this._size){var s=this._items[o];this._comparator(s,n)&&(a=o)}if(i<this._size){var l=this._items[i];this._comparator(l,n)&&(a===-1||this._comparator(l,this._items[a]))&&(a=i)}if(a===-1)return;this._items[r]=this._items[a],this._items[a]=n,r=a}}}]),e}(),Wg=function(){function e(){Ae(this,e),this._valueToPositionMap={},this._size=0,this._smallValues=new xi([],this._smallerComparator),this._largeValues=new xi([],this._greaterComparator),this.getNewPositionForValue=this.getNewPositionForValue.bind(this),this.getValuePosition=this.getValuePosition.bind(this),this.getSize=this.getSize.bind(this),this.replaceFurthestValuePosition=this.replaceFurthestValuePosition.bind(this)}return Ie(e,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(r){return this._valueToPositionMap[r]===void 0?null:this._valueToPositionMap[r]}},{key:"getNewPositionForValue",value:function(r){Gt(this._valueToPositionMap[r]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var n=this._size;return this._size++,this._pushToHeaps(n,r),this._valueToPositionMap[r]=n,n}},{key:"replaceFurthestValuePosition",value:function(r,n,o){if(Gt(this._valueToPositionMap[o]===void 0,"Shouldn't try to replace values with value already stored value in BufferSet"),this._cleanHeaps(),this._smallValues.empty()||this._largeValues.empty())return null;var i=this._smallValues.peek().value,a=this._largeValues.peek().value;if(i>=r&&a<=n)return null;var s;r-i>a-n?(s=i,this._smallValues.pop()):(s=a,this._largeValues.pop());var l=this._valueToPositionMap[s];return delete this._valueToPositionMap[s],this._valueToPositionMap[o]=l,this._pushToHeaps(l,o),l}},{key:"_pushToHeaps",value:function(r,n){var o={position:r,value:n};this._smallValues.push(o),this._largeValues.push(o)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var r=Math.min(this._smallValues.size(),this._largeValues.size()),n=Math.max(this._smallValues.size(),this._largeValues.size());n>10*r&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var r=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,n=new xi([],this._smallerComparator),o=new xi([],this._greaterComparator);!r.empty();){var i=r.pop();this._valueToPositionMap[i.value]!==void 0&&(n.push(i),o.push(i))}this._smallValues=n,this._largeValues=o}},{key:"_cleanHeap",value:function(r){for(;!r.empty()&&this._valueToPositionMap[r.peek().value]===void 0;)r.pop()}},{key:"_smallerComparator",value:function(r,n){return r.value<n.value}},{key:"_greaterComparator",value:function(r,n){return r.value>n.value}}]),e}(),ct=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Hs=function(t){return Math.floor(t/2)},QI=ct.Int32Array||function(e){for(var t=[],r=e-1;r>=0;--r)t[r]=0;return t};function ZI(e){for(var t=1;t<e;)t*=2;return t}var JI=function(){function e(t){Ae(this,e),this._size=t.length,this._half=ZI(this._size),this._heap=new QI(2*this._half);var r;for(r=0;r<this._size;++r)this._heap[this._half+r]=t[r];for(r=this._half-1;r>0;--r)this._heap[r]=this._heap[2*r]+this._heap[2*r+1]}return Ie(e,[{key:"set",value:function(r,n){Gt(0<=r&&r<this._size,"Index out of range %s",r);var o=this._half+r;for(this._heap[o]=n,o=Hs(o);o!==0;o=Hs(o))this._heap[o]=this._heap[2*o]+this._heap[2*o+1]}},{key:"get",value:function(r){Gt(0<=r&&r<this._size,"Index out of range %s",r);var n=this._half+r;return this._heap[n]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(r){if(Gt(0<=r&&r<this._size+1,"Index out of range %s",r),r===0)return 0;for(var n=this._half+r-1,o=this._heap[n];n!==1;n=Hs(n))n%2===1&&(o+=this._heap[n-1]);return o}},{key:"sumTo",value:function(r){return Gt(0<=r&&r<this._size,"Index out of range %s",r),this.sumUntil(r+1)}},{key:"sum",value:function(r,n){return Gt(r<=n,"Begin must precede end"),this.sumUntil(n)-this.sumUntil(r)}},{key:"greatestLowerBound",value:function(r){if(r<0)return-1;var n=1;if(this._heap[n]<=r)return this._size;for(;n<this._half;){var o=this._heap[2*n];r<o?n=2*n:(n=2*n+1,r-=o)}return n-this._half}},{key:"greatestStrictLowerBound",value:function(r){if(r<=0)return-1;var n=1;if(this._heap[n]<r)return this._size;for(;n<this._half;){var o=this._heap[2*n];r<=o?n=2*n:(n=2*n+1,r-=o)}return n-this._half}},{key:"leastUpperBound",value:function(r){return this.greatestStrictLowerBound(r)+1}},{key:"leastStrictUpperBound",value:function(r){return this.greatestLowerBound(r)+1}}],[{key:"uniform",value:function(r,n){for(var o=[],i=r-1;i>=0;--i)o[i]=n;return new e(o)}},{key:"empty",value:function(r){return e.uniform(r,0)}}]),e}();function Io(e,t){if(e===t)return!0;if(ir(e)!=="object"||e===null||ir(t)!=="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!o(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}var le={FIXED:"fixed",FIXED_RIGHT:"fixedRight",SCROLLABLE:"scrollable"};function Ll(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=eP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
245
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function eP(e,t){if(e){if(typeof e=="string")return Yf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yf(e,t)}}function Yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zs(e){var t=e.props,r=t.align,n=t.allowCellsRecycling,o=t.cellClassName,i=t.columnKey,a=t.flexGrow,s=t.fixed,l=t.fixedRight,c=t.maxWidth,d=t.minWidth,p=t.isReorderable,h=t.isResizable,m=t.pureRendering,v=t.width;return{align:r,allowCellsRecycling:n,cellClassName:o,columnKey:i,flexGrow:a,fixed:s,fixedRight:l,maxWidth:c,minWidth:d,isReorderable:p,isResizable:h,pureRendering:m,width:v}}function qf(e,t){e.cell.push(t.props.cell),e.footer.push(t.props.footer),e.header.push(t.props.header)}function Fl(e){var t,r;return e!=null&&(t=e.props)!==null&&t!==void 0&&t.fixed?le.FIXED:e!=null&&(r=e.props)!==null&&r!==void 0&&r.fixedRight?le.FIXED_RIGHT:le.SCROLLABLE}function Po(){var e;return e={},G(e,le.FIXED,[]),G(e,le.SCROLLABLE,[]),G(e,le.FIXED_RIGHT,[]),e}function tP(){return{groupHeader:[],header:[],cell:[],footer:[]}}function Xf(e){var t=Po(),r=Ll(e),n;try{for(r.s();!(n=r.n()).done;){var o=n.value,i=Fl(o);t[i].push(o)}}catch(s){r.e(s)}finally{r.f()}var a=[];return a.push.apply(a,t[le.FIXED]),a.push.apply(a,t[le.SCROLLABLE]),a.push.apply(a,t[le.FIXED_RIGHT]),a}function Kf(e,t){return t===le.FIXED?e[le.FIXED].length:t===le.SCROLLABLE?e[le.FIXED].length+e[le.SCROLLABLE].length:e[le.FIXED].length+e[le.SCROLLABLE].length+e[le.FIXED_RIGHT].length}function rP(e){var t,r,n=[];S.Children.forEach(e,function(m,v){m!=null&&(Gt(m.type.__TableColumnGroup__||m.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),n.push(m))});var o=Po(),i=Po(),a=tP(),s=(t=(r=n[0])===null||r===void 0?void 0:r.type.__TableColumnGroup__)!==null&&t!==void 0?t:!1;if(s)(function(){var m=0,v=Ll(Xf(n)),g;try{var y=function(){var T=g.value,E=Fl(T),x=zs(T);x.index=Kf(i,E),i[E].push(x),a.groupHeader.push(T.props.header),S.Children.forEach(T.props.children,function(C){var _=zs(C);_.index=m++,_.groupIdx=x.index,o[E].push(_),qf(a,C)})};for(v.s();!(g=v.n()).done;)y()}catch(b){v.e(b)}finally{v.f()}})();else{var l=Ll(Xf(n)),c;try{for(l.s();!(c=l.n()).done;){var d=c.value,p=Fl(d),h=zs(d);h.index=Kf(o,p),o[p].push(h),qf(a,d)}}catch(m){l.e(m)}finally{l.f()}}return{columnGroupElements:i,columnElements:o,elementTemplates:a,useGroupHeader:s}}function Ka(e,t,r){return e<t?t:e>r?r:e}var Zi="NOT_FOUND";function nP(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Zi},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function oP(e,t){var r=[];function n(s){var l=r.findIndex(function(d){return t(s,d.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Zi}function o(s,l){n(s)===Zi&&(r.unshift({key:s,value:l}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var iP=function(t,r){return t===r};function aP(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i<o;i++)if(!e(r[i],n[i]))return!1;return!0}}function sP(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?iP:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,l=aP(o),c=a===1?nP(l):oP(a,l);function d(){var p=c.get(arguments);if(p===Zi){if(p=e.apply(null,arguments),s){var h=c.getEntries(),m=h.find(function(v){return s(v.value,p)});m&&(p=m.value)}c.put(arguments,p)}return p}return d.clearCache=function(){return c.clear()},d}function lP(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(n){return typeof n=="function"})){var r=t.map(function(n){return typeof n=="function"?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function cP(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=0,d,p={memoizeOptions:void 0},h=s.pop();if(typeof h=="object"&&(p=h,h=s.pop()),typeof h!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof h+"]");var m=p,v=m.memoizeOptions,g=v===void 0?r:v,y=Array.isArray(g)?g:[g],b=lP(s),T=e.apply(void 0,[function(){return c++,h.apply(null,arguments)}].concat(y)),E=e(function(){for(var C=[],_=b.length,O=0;O<_;O++)C.push(b[O].apply(null,arguments));return d=T.apply(null,C),d});return Object.assign(E,{resultFunc:h,memoizedResultFunc:T,dependencies:b,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),E};return o}var Qa=cP(sP),cr=Qa;function uP(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
246
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function dP(e,t){if(e){if(typeof e=="string")return Qf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qf(e,t)}}function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Vg=[],fP={},du={memoizeOptions:{maxSize:12}},$i=Qa(function(e){return e||Vg},function(e){return e.reduce(function(t,r){return t+r.props.width},0)},du),yn=Qa(function(e){return e||Vg},function(e){return e.reduce(function(t,r){return t+r.width},0)},du);function Ug(e){return yn(e.fixed)+yn(e.fixedRight)+yn(e.scrollable)}var pP=Qa(function(e){return e||fP},function(e){var t=Array.prototype.concat.call(e.fixed,e.scrollable,e.fixedRight),r=0,n=uP(t),o;try{for(n.s();!(o=n.n()).done;){var i=o.value;r+=i.flexGrow||0}}catch(a){n.e(a)}finally{n.f()}return r},du),hP=1,gP=3,mP=6,mr={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};function vP(e,t,r,n,o,i,a){var s=t.cellGroupWrapperHeight,l=t.footerHeight,c=t.headerHeight,d=t.groupHeaderHeight,p=s?0:2*hP,h=l+c+d+p,m=o.height,v=o.maxHeight,g=o.useMaxHeight,y=o.width,b=Math.round(g?v:m),T=b-h,E=yP(e,n,y,a),x=T,C=T;switch(E){case mr.VISIBLE:{x-=i,C-=i;break}case mr.JOINT_SCROLLBARS:{x-=i;break}}return{bufferRowCount:bP(C,r),minAvailableHeight:Math.max(x,0),maxAvailableHeight:Math.max(C,0),reservedHeight:h,scrollStateX:E}}function yP(e,t,r,n){var o=t.overflowX,i=t.showScrollbarX,a=Ug(e);return o==="hidden"||i===!1?mr.HIDDEN:a>r?mr.VISIBLE:a>r-n?mr.JOINT_SCROLLBARS:mr.HIDDEN}function bP(e,t){var r=t.bufferRowCount,n=t.rowHeight,o=t.subRowHeight;if(r!==void 0)return r;var i=n+o,a=Math.ceil(e/i)+1;return Ka(Math.floor(a/2),gP,mP)}var fu=cr([function(e){return e.columnElements},function(e){return e.elementHeights},function(e){return e.rowSettings},function(e){return e.scrollFlags},function(e){return e.tableSize},function(e){return e.scrollbarXHeight},function(e){return e.scrollbarYWidth}],vP);function wP(e,t,r){var n=r.overflowY,o=r.showScrollbarY,i=n!=="hidden"&&o!==!1,a=e.minAvailableHeight,s=e.maxAvailableHeight,l=e.scrollStateX,c=!1,d=!1;l===mr.VISIBLE&&(d=!0),i&&t>s&&(c=!0),c&&l===mr.JOINT_SCROLLBARS&&(d=!0);var p=s;return d&&(p=a),{availableHeight:p,scrollEnabledX:d,scrollEnabledY:c}}var Wr=cr([fu,function(e){return e.scrollContentHeight},function(e){return e.scrollFlags}],wP);function Nr(e,t){var r=e.rowSettings,n=e.getInternal(),o=n.storedHeights,i=n.rowOffsetIntervalTree,a=r.rowHeightGetter,s=r.subRowHeightGetter,l=a(t)+s(t),c=o[t];return l!==c&&(i.set(t,l),o[t]=l,e.scrollContentHeight+=l-c),o[t]}function Zf(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?xP(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?jl(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function jl(e,t){var r=Wr(e),n=r.availableHeight,o=e.rowSettings,i=e.scrollContentHeight,a=e.getInternal(),s=a.rowOffsetIntervalTree,l=o.rowsCount;if(e.rowSettings.rowHeightGetter!=null&&e.isVerticalScrollExact){for(var c=e.getInternal(),d=c.rowUntilOffsetsAreExact;d<l;)Nr(e,d++);e.getInternal().rowUntilOffsetsAreExact=l}if(l===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var p=0,h=0,m=void 0;if(!(t<=0))if(t>=i-n)p=void 0,m=l-1;else{var v=s.greatestLowerBound(t);p=Ka(v,0,Math.max(l-1,0));var g=s.sumUntil(p);h=g-t}return{firstIndex:p,firstOffset:h,lastIndex:m,changed:!0}}function xP(e,t){var r=Wr(e),n=r.availableHeight,o=e.rowSettings,i=e.scrollY,a=e.getInternal(),s=a.rowOffsetIntervalTree,l=a.storedHeights,c=o.rowsCount;if(c===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=Ka(t,0,Math.max(c-1,0)),Nr(e,t);var d=s.sumUntil(t),p=d+l[t],h=t,m=void 0;if(!(d<i))if(i+n<p)h=void 0,m=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:h,firstOffset:0,lastIndex:m,changed:!0}}function CP(e){return e==null}var mo=CP;function EP(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var TP=EP,SP=/\s/;function RP(e){for(var t=e.length;t--&&SP.test(e.charAt(t)););return t}var _P=RP,MP=_P,OP=/^\s+/;function kP(e){return e&&e.slice(0,MP(e)+1).replace(OP,"")}var AP=kP,IP=AP,Jf=Xr,PP=ja,ep=NaN,DP=/^[-+]0x[0-9a-f]+$/i,$P=/^0b[01]+$/i,NP=/^0o[0-7]+$/i,LP=parseInt;function FP(e){if(typeof e=="number")return e;if(PP(e))return ep;if(Jf(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Jf(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=IP(e);var r=$P.test(e);return r||NP.test(e)?LP(e.slice(2),r?2:8):DP.test(e)?ep:+e}var pu=FP,jP=TP,Ws=pu;function BP(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=Ws(r),r=r===r?r:0),t!==void 0&&(t=Ws(t),t=t===t?t:0),jP(Ws(e),t,r)}var Za=BP,HP=Ga,zP=Sg,WP=Dg,VP=Lt;function UP(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return HP(VP(r)?WP(r):[r],zP(t,1))}var tp=UP;function rp(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=GP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
247
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function GP(e,t){if(e){if(typeof e=="string")return np(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return np(e,t)}}function np(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function YP(e,t,r,n,o){var i=r?o:0,a=n-i,s=qP(e,t,a),l=s.columnGroupElements,c=s.columnElements,d=op(c),p=d.fixed,h=d.fixedRight,m=d.scrollable,v=op(l),g=v.fixed,y=v.fixedRight,b=v.scrollable,T=yn(p),E=yn(h),x=yn(m),C=a-T-E,_=Math.max(0,T+E+x-a);return{columnGroupProps:tp(g,b,y),columnProps:tp(p,m,h),availableScrollWidth:C,fixedColumns:p,fixedRightColumns:h,scrollableColumns:m,fixedColumnGroups:g,fixedRightColumnGroups:y,scrollableColumnGroups:b,maxScrollX:_}}function qP(e,t,r){var n=Po(),o=Po(),i=Ug(t),a=pP(t),s=Math.max(r-i,0),l=[];for(var c in t){var d=t[c],p=0,h=0,m=rp(d),v;try{for(m.s();!(v=m.n()).done;){var g=v.value,y=g.flexGrow||0,b=0;y&&(b=Math.floor(y*s/a));var T=g.width+b;a-=y,s-=b;var E=Le({},g,{width:T,offset:p});p+=T,l[g.groupIdx]=T+(l[g.groupIdx]||0),o[c][h]=E,h++}}catch(A){m.e(A)}finally{m.f()}}for(var x in e){var C=e[x],_=0,O=0,k=rp(C),D;try{for(k.s();!(D=k.n()).done;){var F=D.value,W=l[F.index],R=Le({},F,{width:W,offset:_});_+=W,n[x][O]=R,O++}}catch(A){k.e(A)}finally{k.f()}}return{columnGroupElements:n,columnElements:o}}function op(e){return{fixed:e.fixed,fixedRight:e.fixedRight,scrollable:e.scrollable}}var ei=cr([function(e){return e.columnGroupElements},function(e){return e.columnElements},function(e){return Wr(e).scrollEnabledY},function(e){return e.tableSize.width},function(e){return e.scrollbarYWidth}],YP);function XP(e,t,r){var n=t.scrollLeft,o=e.scrollX;n!==void 0&&(!r||n!==r.scrollLeft)&&(o=n),o=KP(e,t,r.scrollToColumn,o);var i=ei(e),a=i.maxScrollX;o=Za(o,0,a),Le(e,{maxScrollX:a,scrollX:o})}function KP(e,t,r,n){var o=t.scrollToColumn;if(mo(o))return n;var i=ei(e),a=i.availableScrollWidth,s=i.fixedColumns,l=i.scrollableColumns,c=s.length,d=l.length,p=d===0,h=o===r,m=o<c,v=o>=c+d;if(h||m||v||p)return n;for(var g=Math.min(o-c,l.length-1),y=0,b=0;b<g;++b)y+=l[b].width;var T=l[g].width,E=y+T-a;return n<E?E:n>y?y:n}var ip={initialize:XP};function QP(e,t,r,n,o,i,a){var s=o.availableHeight,l=o.scrollEnabledX,c=r;l&&(c+=a);var d=Math.min(s,n),p=i?d:s,h=p+c,m=p;t<h&&(m=t-c);var v=i?n:Math.max(n,s),g=v+c;t&&(g=Math.max(t,g));var y=e.footerHeight,b=e.groupHeaderHeight,T=e.headerHeight,E=b+T,x=E+m,C=x+y,_=Math.max(0,x-E);return{bodyHeight:d,bodyOffsetTop:E,componentHeight:h,contentHeight:g,footOffsetTop:x,scrollbarXOffsetTop:C,scrollbarYHeight:_,visibleRowsHeight:m}}var hn=cr([function(e){return e.elementHeights},function(e){return e.tableSize.ownerHeight},function(e){return fu(e).reservedHeight},function(e){return e.scrollContentHeight},Wr,function(e){return e.tableSize.useMaxHeight},function(e){return e.scrollbarXHeight}],QP);function Kn(e,t){var r=ap(e,t),n=e.rowSettings,o=e.scrollContentHeight,i=n.rowsCount,a=hn(e),s=a.bodyHeight,l=o-s,c;l===0?(r.firstViewportIdx>0&&(r=ap(e,{firstOffset:0,lastIndex:i-1})),c=0):c=r.firstOffset;var d=r.firstViewportIdx,p=r.endViewportIdx;ZP(e,r,e.scrolling);var h=0;i>0&&(h=e.rowOffsets[r.firstViewportIdx]-c),h=Za(h,0,l),Le(e,{firstRowIndex:d,firstRowOffset:c,endRowIndex:p,maxScrollY:l,scrollY:h})}function ap(e,t){var r=fu(e),n=r.bufferRowCount,o=r.maxAvailableHeight,i=e.rowSettings.rowsCount;if(i===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var a=t.firstIndex,s=t.firstOffset,l=t.lastIndex;(a>=i||l>=i)&&(l=i-1);var c=1,d=a,p=s;l!==void 0&&(c=-1,d=l,p=0);for(var h=d,m=h;h<i&&h>=0&&p<o;)p+=Nr(e,h),m=h,h+=c;var v=!1;if(p<o&&h===i&&l===void 0)for(v=!0,h=a-1;h>=0&&p<o;)p+=Nr(e,h),d=h,--h;var g=Math.min(d,m),y=Math.max(g-n,0);for(h=y;h<g;h++)Nr(e,h);var b=Math.max(d,m)+1,T=Math.min(b+n,i);for(h=b;h<T;h++)Nr(e,h);var E=Wr(e),x=E.availableHeight;if(l!==void 0||v){s=s+Math.min(x-p,0);var C=e.getInternal(),_=C.storedHeights;-1*s>=_[g]&&(g+=1,s+=_[g])}return{endBufferIdx:T,endViewportIdx:b,firstBufferIdx:y,firstOffset:s,firstViewportIdx:g}}function ZP(e,t,r){var n=e.getInternal(),o=n.rowBufferSet,i=n.rowOffsetIntervalTree,a=n.storedHeights,s=t.endBufferIdx,l=t.endViewportIdx,c=t.firstBufferIdx,d=t.firstViewportIdx,p=s-c;if(p===0){e.rowOffsets={},e.rows=[];return}for(var h=r?d:c,m=r?l:s,v=[],g={},y=i.sumUntil(h),b=h;b<m;b++){g[b]=y,y+=a[b];var T=JP(b,o,h,m,p);v[T]=b}e.rows=v,e.rowOffsets=g}function JP(e,t,r,n,o){var i=t.getValuePosition(e);return i===null&&t.getSize()>=o&&(i=t.replaceFurthestValuePosition(r,n-1,e)),i===null&&(i=t.getNewPositionForValue(e)),i}var Bl={exports:{}},Ji={exports:{}},xe={};/** @license React v16.13.1
244
+ `},S3=600,R3=11,_3=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=f.useSisenseContext(),o=S.useCallback(a=>_t(exports,null,function*(){if(!n||!e.details||f.isMeasureColumn(e.details))return[];const s=e.locations.map((d,p)=>{const h=f.translateColumnToAttribute(d),m=t3(a)[p];return f.members(h,[m])}),l={dataSource:t,dimensions:[f.translateColumnToAttribute(e.details)],filters:At(r,s),count:R3};return(yield f.executeQuery(l,n)).rows.map(([d])=>d.text)}),[n,e,t,r]);return S.useCallback(a=>{if(!e.details||e.details&&!f.isMeasureColumn(e.details)&&!t)return{content:yi(a,e)};if(f.isMeasureColumn(e.details))return{content:yi(a,e,Ls.YES)};const s=new Promise(c=>x3(c,S3)),l=Promise.all([o(a.name),s]).then(([c])=>yi($(w({},a),{details:c}),e,Ls.YES));return{content:yi(a,e,Ls.LOADING),postponedContent:l}},[e,t,o])},M3=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=u3(),{themeSettings:l}=f.useThemeContext(),c=s3(a,t.locationLevel),{filters:d}=f.getFilterListAndRelationsJaql(n),p=_3({dataOptions:t,dataSource:r,filters:d}),h=S.useRef(null),m=S.useRef(null),v=S.useMemo(()=>c3(c,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[c,t,o]),g=S.useMemo(()=>{var x;return p3(c,(x=t.colorBy)==null?void 0:x.color)},[c,t]),y=S.useRef([]),b=S.useRef(f.Leaflet.layerGroup([])),T=S.useRef(null),E=S.useRef(null);return S.useEffect(()=>{h.current&&!m.current&&(m.current=f.Leaflet.map(h.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),b.current.addTo(m.current),m.current.fitWorld())},[]),S.useEffect(()=>{y.current&&(v3(y.current),y.current=[]),c&&(c.forEach((x,C)=>{if(!x.coordinates)return;const _=h3({coordinates:x.coordinates,style:{color:g[C],size:v[C],fill:o.markers.fill,blur:!!x.blur}});y.current.push(_),_.addTo(b.current),i&&_.on("click",k=>{i(n3(x,t),k.originalEvent)}),_.bindTooltip(()=>{const{content:k,postponedContent:O}=p(x);return O==null||O.then(P=>_.setTooltipContent(P)),k})}),f.fitMapToBounds(m.current,y.current,f.prepareFitBoundsAnimationOptions(l)))},[c,g,v,o,l,t,p,i]),S.useEffect(()=>{var x;s&&(T.current&&T.current.remove(),T.current=f.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),m.current&&(T.current.addTo(m.current),(x=E.current)==null||x.remove(),E.current=y3(m.current,s.maps_api_provider)))},[s]),f.jsx("div",{className:"csdk-map-container",ref:h,style:{width:"100%",height:"100%"}})},K0=e=>e.type==="scattermap"&&"locations"in e,O3=e=>"locations"in e,k3=e=>"markers"in e,A3=e=>!!e.chartData&&K0(e.chartData)&&O3(e.dataOptions)&&k3(e.designOptions),I3="_wrapper_g0ngm_1",P3="_title_g0ngm_7",D3="_image_g0ngm_18",Bs={wrapper:I3,title:P3,image:D3},$3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='50.5'%20y='558.5'%20fill='%23E4E4E4'%20width='466'%20height='2'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M487.5,531.5h-410v-68.9l0.3-0.3l144-155.7l104.2,88.1l161.6-179.5V531.5z%20M79.5,529.5h406V220.4%20L326.1,397.5l-104.2-88.2l-142.4,154V529.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",N3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='25.5'%20y='558.5'%20fill='%23E4E4E4'%20width='516'%20height='2'/%3e%3cpath%20fill='%23E4E4E4'%20d='M518.9,188.1c-18.1,0-32.8,14.7-32.8,32.8c0,10,4.5,19,11.7,25.1l-129,162.8c-5.5-4.1-12.2-6.5-19.6-6.5%20c-10.4,0-19.7,4.9-25.7,12.5l-96.4-71.5c3.7-5.3,5.9-11.8,5.9-18.7c0-18.1-14.7-32.8-32.8-32.8c-18.1,0-32.8,14.7-32.8,32.8%20c0,9.2,3.8,17.5,9.9,23.5L69.5,465.4c-5.8-5-13.2-8-21.4-8c-18.1,0-32.8,14.7-32.8,32.8S30,523,48.1,523s32.8-14.7,32.8-32.8%20c0-9.2-3.8-17.5-9.9-23.5l107.8-117.4c5.8,5,13.2,8,21.4,8c10.4,0,19.7-4.9,25.7-12.5l96.4,71.5c-3.7,5.3-5.9,11.8-5.9,18.7%20c0,18.1,14.7,32.8,32.8,32.8s32.8-14.7,32.8-32.8c0-10-4.5-19-11.7-25.1l129-162.8c5.5,4.1,12.2,6.5,19.6,6.5%20c18.1,0,32.8-14.7,32.8-32.8S537,188.1,518.9,188.1z%20M48.1,521c-17,0-30.8-13.8-30.8-30.8s13.8-30.8,30.8-30.8%20c7.7,0,14.7,2.8,20.1,7.5c0.5,0.4,1,0.9,1.5,1.4c5.7,5.6,9.3,13.4,9.3,22C78.9,507.2,65,521,48.1,521z%20M200.2,355.4%20c-7.7,0-14.7-2.8-20.1-7.5c-0.5-0.4-1-0.9-1.5-1.4c-5.7-5.6-9.3-13.4-9.3-22c0-17,13.8-30.8,30.8-30.8c17,0,30.8,13.8,30.8,30.8%20c0,6.5-2,12.5-5.5,17.5c-0.4,0.5-0.8,1.1-1.2,1.6C218.7,350.8,210,355.4,200.2,355.4z%20M349.3,465.9c-17,0-30.8-13.8-30.8-30.8%20c0-6.5,2-12.5,5.5-17.5c0.4-0.5,0.8-1.1,1.2-1.6c5.6-7.1,14.4-11.7,24.1-11.7c6.9,0,13.2,2.3,18.3,6.1c0.5,0.4,1.1,0.8,1.6,1.2%20c6.7,5.7,10.9,14.1,10.9,23.5C380.1,452,366.3,465.9,349.3,465.9z%20M518.9,251.7c-6.9,0-13.2-2.3-18.3-6.1c-0.5-0.4-1.1-0.8-1.6-1.2%20c-6.7-5.7-10.9-14.1-10.9-23.5c0-17,13.8-30.8,30.8-30.8s30.8,13.8,30.8,30.8S535.9,251.7,518.9,251.7z'/%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",L3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='64.5'%20y='201.5'%20fill='%23E4E4E4'%20width='2'%20height='381'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M447.5,560.5h-357v-60h357V560.5z%20M92.5,558.5h353v-56h-353V558.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M292.5,468.5h-202v-60h202V468.5z%20M92.5,466.5h198v-56h-198V466.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M526.5,377.5h-436v-60h436V377.5z%20M92.5,375.5h432v-56h-432V375.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M368.5,285.5h-278v-59h278V285.5z%20M92.5,283.5h274v-55h-274V283.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",F3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3crect%20x='78'%20y='558.5'%20fill='%23E4E4E4'%20width='410'%20height='2'/%3e%3cg%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M463,533.5h-61v-207h61V533.5z%20M404,531.5h57v-203h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M363,533.5h-61v-152h61V533.5z%20M304,531.5h57v-148h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M263,533.5h-61v-316h61V533.5z%20M204,531.5h57v-312h-57V531.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M163,533.5h-62v-248h62V533.5z%20M103,531.5h58v-244h-58V531.5z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",j3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M298.5,607.2c-12.6,0-25.3-1.1-37.6-3.2l-1-0.2l29.6-198l-27.1,61l-20.3-12.1l45.2-52.6L126.8,524.6%20l-0.6-0.8c-12.1-15.5-21.8-32.7-29-50.9l-0.4-0.9l0.9-0.4l181.4-70.1l-149.6,20.9v-47.1l158.4,22.1L97.5,323.8l0.4-0.9%20c7.3-18,17.1-34.9,29.3-50.4l0.6-0.8L282,389.2l-76.9-89.5l34.5-20.2l49.9,112.2l-29.6-198l1-0.2c12.4-2.1,25-3.2,37.6-3.2%20c8,0,16.1,0.4,23.9,1.3l1,0.1l-0.2,1l-29.7,198.8l83.2-187.1l0.9,0.3c19.5,7.5,37.7,17.7,54.3,30.3l0.8,0.6L301.2,389.2l132.5-101%20l28,44.9l-166,64.2L511.5,367l0.1,1c1.6,10.2,2.4,20.6,2.4,30.8c0,10.2-0.8,20.6-2.4,30.8l-0.1,1l-207.1-29l95.5,36.9l-18.5,28.9%20l-85.5-65.1l108.5,126.3l-45.5,23.8l-65.1-146.5l29.9,199.9l-1,0.1C314.4,606.8,306.4,607.2,298.5,607.2z%20M262.2,602.2%20c12,2,24.2,3,36.3,3c7.4,0,15.1-0.4,22.7-1.2l-29.7-198.5L262.2,602.2z%20M295.3,404.7l64.5,144.9l41.4-21.7L295.3,404.7l0.1,0.1%20L295.3,404.7z%20M99.4,473.1c7,17.4,16.3,33.8,27.8,48.7l158.3-120.6L99.4,473.1z%20M297.8,401.2l83.1,63.3l16-25L297.8,401.2z%20M245.2,454.3l16.3,9.7l26.4-59.4L245.2,454.3z%20M298.8,398.8l211,29.5c1.4-9.8,2.2-19.7,2.2-29.5c0-9.8-0.7-19.7-2.2-29.5%20L298.8,398.8z%20M131.5,377.6V420l152.2-21.2L131.5,377.6z%20M433.2,291.1L297.8,394.2l160.9-62.2L433.2,291.1z%20M100.1,322.6%20l185.2,71.6L128.2,274.5C116.6,289.3,107.2,305.5,100.1,322.6z%20M377.9,207.1L295.3,393l0,0l0,0L430,236.1%20C414,224.1,396.5,214.3,377.9,207.1z%20M287.9,393L287.9,393l-49.2-110.6l-30.5,17.8L287.9,393L287.9,393z%20M262.2,195.3L291.6,392%20l29.6-198.5c-7.5-0.8-15.1-1.2-22.7-1.2C286.4,192.3,274.2,193.4,262.2,195.3z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",B3="data:image/svg+xml,%3csvg%20width='616'%20height='559'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3cpath%20fill='none'%20stroke='%23E4E4E4'%20id='svg_1'%20stroke-width='2'%20d='m97.44781,156.99998l419.1042,0l-24.42354,59.30477l-370.25707,0l-24.42359,-59.30477zm29.93028,72.6737l359.24347,0l-24.42354,59.30458l-310.39633,0l-24.42361,-59.30458zm54.35357,131.97891l-24.4232,-59.30521l299.38335,0l-24.42422,59.30521l-250.53593,0zm220.60617,72.6737l-190.67573,0l-24.42491,-59.30458l239.52554,0l-24.42491,59.30458zm-3.92305,72.6737l-182.82963,0l1.26325,-59.30458l180.30313,0l1.26325,59.30458z'/%3e%3c/g%3e%3c/svg%3e",H3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M480.4,506.2l-162.3-106L509.4,431l-0.2,1c-4.3,26.5-13.8,51.2-28.4,73.4L480.4,506.2z%20M327,403.7%20l152.7,99.8c13.9-21.5,23.1-45.3,27.3-70.8L327,403.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M275.3,586.8C170.9,586.8,86,502,86,397.7c0-50.6,19.6-98.1,55.1-133.8c35.6-35.7,83-55.5,133.5-55.5h1%20v188.7l158.3,103.1l-0.5,0.8C398.1,554.8,339.1,586.8,275.3,586.8z%20M273.5,210.7c-49.6,0.3-96.1,19.7-131.1,54.8%20C107.3,300.7,88,347.7,88,397.7c0,103.2,84,187.1,187.4,187.1c62.7,0,120.9-31.4,155.7-83.9L273.5,398.3V210.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M482.8,408.7l-1-0.2l-187.3-30V188.5h1c74.8,0,142.7,44.1,173.1,112.2c15.2,34.1,20.2,71.1,14.4,107%20L482.8,408.7z%20M296.5,376.9l184.6,29.5c5.5-35.2,0.5-71.4-14.4-104.9c-29.9-67.1-96.6-110.5-170.2-110.9V376.9z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",z3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cpolygon%20fill='%23E4E4E4'%20points='80,575%2080,233%2078,233%2078,575%2078,577%2080,577%20497,577%20497,575%20'/%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M374.7,480.1c-29.7,0-53.9-24.2-53.9-53.9c0-29.7,24.2-53.9,53.9-53.9s53.9,24.2,53.9,53.9%20C428.6,455.9,404.4,480.1,374.7,480.1z%20M374.7,374.3c-28.6,0-51.9,23.3-51.9,51.9s23.3,51.9,51.9,51.9s51.9-23.3,51.9-51.9%20S403.3,374.3,374.7,374.3z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M264.2,395.2c-22,0-40-17.9-40-40c0-22,17.9-40,40-40s40,17.9,40,40C304.2,377.3,286.2,395.2,264.2,395.2z%20M264.2,317.3c-20.9,0-38,17-38,38c0,20.9,17,38,38,38s38-17,38-38C302.2,334.3,285.1,317.3,264.2,317.3z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M413.7,351.2c-38.8,0-70.3-31.6-70.3-70.3c0-38.8,31.6-70.3,70.3-70.3s70.3,31.5,70.3,70.3%20C484,319.6,452.4,351.2,413.7,351.2z%20M413.7,212.5c-37.7,0-68.3,30.7-68.3,68.3c0,37.7,30.7,68.3,68.3,68.3%20c37.7,0,68.3-30.7,68.3-68.3C482,243.2,451.3,212.5,413.7,212.5z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M228.9,489C228.9,489,228.9,489,228.9,489c-15.8,0-29.7-10.1-34.5-25.2c-3-9.2-2.2-19,2.3-27.7%20c4.4-8.6,11.9-15,21.2-18c3.6-1.2,7.4-1.8,11.1-1.8c15.8,0,29.7,10.1,34.5,25.2c3,9.2,2.2,19.1-2.3,27.7c-4.4,8.6-11.9,15-21.2,18%20C236.4,488.4,232.6,489,228.9,489z%20M228.9,418.4c-3.6,0-7.1,0.6-10.5,1.7c-8.7,2.8-15.8,8.8-20,17c-4.2,8.1-4.9,17.4-2.1,26.1%20c4.6,14.2,17.7,23.8,32.6,23.8c3.6,0,7.1-0.6,10.5-1.7c8.7-2.8,15.8-8.8,20-17c4.2-8.1,4.9-17.4,2.1-26.2%20C256.9,428,243.8,418.4,228.9,418.4z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M147.5,548C147.5,548,147.5,548,147.5,548c-9.4,0-17.6-6-20.4-14.9c-3.6-11.3,2.6-23.4,13.9-27%20c2.1-0.7,4.4-1,6.6-1c9.3,0,17.6,6,20.4,14.9c3.6,11.3-2.6,23.3-13.9,27C152,547.7,149.7,548,147.5,548z%20M147.5,507.1%20c-2,0-4,0.3-6,0.9c-10.2,3.3-15.9,14.2-12.6,24.4c2.6,8.1,10,13.5,18.5,13.5c0,0,0,0,0,0c2,0,4-0.3,6-0.9%20c10.2-3.3,15.8-14.3,12.6-24.5C163.4,512.5,156,507.1,147.5,507.1z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",W3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M307.6,337.5h-28.6l-3.4,41.7h28.6L307.6,337.5z%20M278.4,376.7l3-36.7h23.5l-3,36.7H278.4z'/%3e%3cpath%20fill='%23E4E4E4'%20d='M262.9,415.9h12l2.4-28.6h23.5l-2.4,28.6h12l2.4-28.6h18.6v-10.5h-17.5l3-36.7h17.7v-10.5h-16.8l2.4-28.6%20h-12l-2.4,28.6h-23.5l2.4-28.6h-12l-2.4,28.6h-18.5V340h17.5l-3,36.7h-17.7v10.5h16.8L262.9,415.9z%20M251.1,384.7v-5.5h17.5%20l3.4-41.7h-17.8V332h18.3l2.4-28.6h7l-2.4,28.6h28.6l2.4-28.6h7l-2.4,28.6h17v5.5h-17.5l-3.4,41.7H329v5.5h-18.4l-2.4,28.6h-7%20l2.4-28.6h-28.6l-2.4,28.6h-7l2.4-28.6H251.1z'/%3e%3cpath%20fill='%23E4E4E4'%20d='M84,269.1v178.8h396.6V269.1H84z%20M478.2,445.4H86.5V271.6h391.6V445.4z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",V3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2018.1.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566.5%20700.5'%20enable-background='new%200%200%20566.5%20700.5'%20xml:space='preserve'%3e%3cg%20id='Layer_2'%3e%3crect%20x='-5057'%20y='-6963'%20fill='transparent'%20stroke='%23000000'%20stroke-miterlimit='10'%20width='16156.4'%20height='16115.1'/%3e%3c/g%3e%3cg%20id='Layer_1'%3e%3cpath%20fill='%23E4E4E4'%20d='M399,207h-2H284h-2H170h-2H53v35v4v31v2v31v2v30v2v31v2v30v2v31v2v31v2v34h115h2h112h2h113h2h116v-34v-2%20v-31v-2v-31v-2v-30v-2v-31v-2v-30v-2v-31v-2v-31v-4v-35H399z%20M397,211v31H284v-31H397z%20M282,279v31H170v-31H282z%20M170,277v-31h112%20v31H170z%20M282,312v30H170v-30H282z%20M282,344v31H170v-31H282z%20M282,377v30H170v-30H282z%20M282,409v31H170v-31H282z%20M282,442v31H170%20v-31H282z%20M284,442h113v31H284V442z%20M284,440v-31h113v31H284z%20M284,407v-30h113v30H284z%20M284,375v-31h113v31H284z%20M284,342v-30h113%20v30H284z%20M284,310v-31h113v31H284z%20M284,277v-31h113v31H284z%20M282,211v31H170v-31H282z%20M57,211h111v31H57V211z%20M57,246h111v31H57%20V246z%20M57,279h111v31H57V279z%20M57,312h111v30H57V312z%20M57,344h111v31H57V344z%20M57,377h111v30H57V377z%20M57,409h111v31H57V409z%20M57,442h111v31H57V442z%20M57,505v-30h111v30H57z%20M170,505v-30h112v30H170z%20M284,505v-30h113v30H284z%20M511,505H399v-30h112V505z%20M511,473H399v-31h112V473z%20M511,440H399v-31h112V440z%20M511,407H399v-30h112V407z%20M511,375H399v-31h112V375z%20M511,342H399v-30h112%20V342z%20M511,310H399v-31h112V310z%20M511,277H399v-31h112V277z%20M399,242v-31h112v31H399z'/%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",U3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3cpath%20fill='%23E4E4E4'%20d='M52,202.5v200v2v104h462v-306H52z%20M510,402.5H225v-196h285V402.5z%20M56,206.5h167v196H56V206.5z%20M56,404.5%20h298v100H56V404.5z%20M356,504.5v-100h154v100H356z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",af="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M276.8,521.3c-0.5,0-0.9-0.1-1.3-0.2l-0.3-0.1l-0.2-0.2c-0.5-0.6-1-1.3-0.8-1.9c-1-0.6-2.6-0.6-4-0.6%20c-1,0-1.8,0-2.5-0.2l-0.3-0.1l-0.2-0.2c-0.5-0.6-2.8-1.7-4.5-2.5c-1.9-0.9-3.8-1.7-4.8-2.5l-0.2-0.2l-0.1-0.3c-2-5-2.7-6.5-3-7%20c-0.1-0.3-0.2-0.4-0.2-0.6c-0.1-0.6,0-1.1,0.1-1.4c0.1-0.5,0.2-1-1.2-3.5c-0.4-0.6-2.4-2.7-3.6-3.8l-0.2-0.2l-1.1-3%20c-1.8-1.6-3.5-5.2-5.1-8.3c-0.7-1.4-1.3-2.6-1.8-3.5c-1.1-1.6-2-2.4-2.9-3.2c-1.1-1-2.2-2-3.8-4.3c-2.1-0.3-3.7,0-5.3,0.4%20c-2,0.4-3.9,0.8-6-0.3c-0.4,0.5-1.1,1.8-1.6,2.7c-1.6,2.9-3.4,6.3-5.8,5.3c-12.1-4.7-13.8-9.4-14.9-12.4c-0.1-0.3-0.2-0.6-0.3-0.8%20l-0.1-0.2l0-0.2c0.2-2.3,0.1-2.4-0.3-3.1c-0.4-0.7-1-1.7-1.9-4.2c-4.3-2.4-8.1-7.1-10.8-10.5c-1.1-1.3-2-2.5-2.7-3.2%20c-0.1,0-0.2-0.1-0.4-0.1l0,0.2l-0.9-0.1c-2.4-0.3-7.4-0.9-14.7-1.2l-1,4.1l-0.4,0.2c-2.2,1-6.3,1.8-8.9,0.7l0,0l-9.4-1.9%20c-5.6,0.2-10.8-2.5-14.6-4.5l-0.9-0.5c-4.7-2.3-8.4-4.5-11.4-6.3c-1.2-0.7-2.2-1.3-3.2-1.9c-5.5-3.1-9.2-5.2-15.9-8.5l-0.5-0.2%20l-0.1-0.5c-0.1-0.7-0.1-1.2-0.1-1.6c0-0.1,0-0.3,0-0.4l-5.3-0.6c-6-0.7-12.2-1.3-16.2-1.5l-0.1,0.1l-0.7-0.1l0.1-1.1l-0.5-0.7%20c-0.3,0.2-0.4,0.5-0.4,0.6c0.1-1-1.4-8.7-2.7-10.8c-1.4-2.1-3.1-3.5-5.6-4.5l-0.3-0.1l-0.2-0.2c-0.7-0.9-0.8-2.2-0.8-3.1%20c-0.3-0.1-0.6-0.2-1.1-0.3c-1.8-0.6-6.9-4.8-7.6-6.2c-0.8-0.8-2.2-1.9-3.2-1.9c-2.7,0-4.7-0.8-5.8-2.4c-1.7-2.4-0.9-5.9-0.1-8%20c-1.4-2.2-2.9-5.5-4.2-8.4c-1.2-2.7-2.5-5.4-3.2-6.3l-0.2-0.2l0-0.3c-0.2-1.6-0.5-4.7,2.1-6.5c0.1-0.9-0.3-1.2-1.2-1.8%20c-0.9-0.7-2.2-1.6-2.8-3.6c-0.3-0.9-0.1-3.3,0.1-5.1c0,0-0.1,0-0.1,0c-0.2-0.1-0.5-0.4-0.7-0.9l-0.1-0.3l0.1-0.3%20c0.3-0.8,0.4-1.2,0.4-1.4c-0.1-0.1-0.3-0.4-0.4-0.7l-0.1-0.5l0,0c0,0-0.1-0.1-0.1-0.1c-0.6-0.6-1.3-1.2-1.7-2.2l-0.3-0.5l0.4-0.5%20c0.4-0.6,0.3-1.1-0.1-2.5c-0.2-0.6-0.4-1.3-0.5-2c0,0,0,0,0,0c-1.3-0.9-4-2.8-3.1-9.6c0.4-2.6,0.5-4.7,0.6-6.6%20c0.1-0.8,0.1-1.6,0.2-2.5c-0.8-1-2.8-4.1-2.3-7.1c0.3-1.6,1.2-2.9,2.8-3.9c1.5-2.9,3.3-8.8,3.6-12.7c-0.7-1.2-0.5-2.7-0.2-4.7%20c0.1-0.7,0.2-1.5,0.3-2.4c0.4-4.3,2.4-8.3,5.1-10.4c3.3-8.1,7.8-19.4,11.2-28.6l-0.4-0.3l0.3-0.9c-1-0.6-0.9-2-0.9-2.5%20c0.1-1.4,1.1-2.6,1.8-3.4c0,0,0,0,0.1-0.1c-0.6-1.6-0.6-1.9-0.4-3.7c0.2-1,0.9-1.5,1.4-1.7c0-0.9-0.2-2.8-0.3-4.4%20c-0.3-3.2-0.7-7.2-0.5-10.1c0.1-2.1,0.9-3.4,2.2-3.8c3.8-1.2,10.8,7.2,12.9,9.7l0.5,0.6l-0.4,0.6c-1.2,1.7-0.2,6.3,0.8,8.6%20c0.3-1.3,0.9-3.2,2.7-3.7l0.2-3.6l0.1,0c0-0.4-0.1-1.3-0.2-2c-0.4-2.8-0.5-4.3,0-5.1c0-0.3-0.4-1.1-0.6-1.6%20c-0.6-1.1-1.2-2.4-0.8-3.7l0.3-1.1l1,0.4c2.4,1,29.9,7.4,44.2,10.6c2.8,0.3,7.6,1.6,8.4,1.8c0.4,0,1.5,0.2,4.9,0.8%20c7.5,1.3,23.2,4,42.1,6.6c14.2,2,31.3,3.6,47.7,5.1l54.2,1.4c2.1-0.3,4.4-0.4,14.5-0.4v-1c0-2.1,0.8-2.3,2.8-2.8l0.3-0.1%20c1.4-0.2,3.3,2.6,3.6,4c0.1,0.7,0.7,2.1,1.3,2.6c1.1,0.9,1.9,1,2.7,1.1c0.4,0.1,0.8,0.1,1.2,0.2c0.1,0,0.4,0.1,0.7,0.2%20c0.8,0.2,2.8,0.7,3.3,0.6c8.4-1,8.6-0.5,9.1,0c0.1,0.1,0.1,0.4,0.1,0.9v0.2l-0.1,0.3c-0.2,0.2-0.3,0.5-0.4,0.7%20c3.4,0.4,6.8,2.2,8,3c2.4-1.1,4.4-1.3,7.2-1.6c1-0.1,2.2-0.2,3.5-0.4l5.5-0.3c3-1,6.7-2.1,7.8-1.8l0.2,0.1l0.2,0.2%20c0.6,0.5,1.3,2.4,0.5,4.1c-1,2.2-3.8,3.1-8.4,2.6l-0.2,0l-0.2-0.1c-1-0.6-6.7,1.9-8.1,2.9c-0.8,0.6-6.6,6.7-9.9,10.4%20c1.5-0.3,3.2-1,4.7-1.7c1.3-0.6,2.5-1.1,3.4-1.2l0.6-0.1l0.8,1.4c0.2,0.2,0.3,0.4,0.4,0.5c0.2,0.6-0.2,1-0.4,1.2%20c-0.1,0.1-0.1,0.1-0.2,0.2c1,0.2,1.8,0.4,2.4,0.6c0.5-0.1,2.4-0.4,2.6-1.5c0-0.2,0.1-0.5,0.2-0.7l2.1-2.9l-0.2,2.3%20c2.1-0.8,6.4-2.8,8.6-5.2c0.6-1.8,3.7-3.6,4.4-3.9c0.2-0.1,0.4-0.2,0.5-0.3c0.7-0.4,1.8-1,2.7-0.6c0.6,0.2,1,0.7,1.3,1.4l0.1,0.2%20l0,0.2c-0.2,2.4-2.1,2.5-2.8,2.6c-0.1,0-0.2,0-0.2,0c-0.1,0-0.4,0.3-0.7,0.7c0.2,0.7-0.1,1.5-0.5,2.1c2-0.2,4.5,0.4,8.1,3.9%20c0.5-0.1,1.2-0.2,1.9-0.3l0.3,0l0.3,0.2c1.3,0.9,4.8-1.3,6.3-2.2c0.8-0.5,1.2-0.7,1.6-0.8l0.1,0c0.7-0.1,1.4-0.2,2-0.3%20c1.9-0.3,3.4-0.5,4.4-1.1l1.1-0.6l0.4,1.5c0.2,0.8,0.5,1.7,1,1.9c0.6,0.3,1.8,0,3.3-0.7l1.3-0.6l0.1,1.4c0.1,0.5,1.6,2.4,2.4,3.4%20c0.5,0.7,1.1,1.6,1.4,2l1.1,1.8h-1.9c-1.3,0-3.1-0.1-4.7,0c0,0,0-0.1,0-0.1c-0.1,0.1-0.1,0.1-0.3,0.6l11.1,4.2l0.2,0.2%20c0.1,0.1,1.4,1.6,2.3,3.9l0,0.1c0.6,2.6,1.3,7.7,1.3,7.8l0.1,0.9l-0.9,0.2c-0.3,0.1-0.5,0.1-0.6,0.1c0,0,0,0,0,0%20c-0.6,2.3-1.2,3.9-2.8,4.3c-0.5,1.4-0.2,1.9-0.1,2.1c0.2,0.2,0.5,0.3,0.7,0.3l1.6-1.3c0.2-0.9,0.8-2.9,3.5-4.5l0.3-0.2l0.3,0%20c2.8,0.1,4,2.2,4.5,3.1l0.2,0.5c1.2,5.7,3.2,7.3,3.2,7.3l0.4,0.3l0,0.5c-0.1,1.8-0.3,3.9-0.2,4.4c0.2,0.8,0,2.1-0.2,2.6%20c-0.2,0.6-0.4,1-0.7,1.2c0,0.2,0.2,0.3,0.2,0.6v0.7l-0.8,0.3c-0.2,0.1-0.4,0.1-0.5,0.2c0,0,0,0,0,0l0.1,0.5l-0.3,0.4%20c-0.5,0.6-1.1,0.7-1.5,0.9c-0.4,0.1-0.4,0.1-0.5,0.2c-0.1,0.3-0.1,0.4-0.1,0.4c0,0.1,0.2,0.3,0.3,0.5l0.7,0.9l-0.7,0.6%20c-0.6,0.5-2,2.2-2.6,3.7c2.2,0.5,5.9,1.4,7.4,1.7c1.2-1.3,2.6-1.7,3.5-2c0.1,0,0.2-0.1,0.3-0.1l0-0.2l2.8-1.1l1.8-2.1%20c0.1-0.1,2.4-3.3,5.5-4.1l0.3-0.2l2.1-0.7c0.3-0.1,0.8-0.3,1.3-0.4c0.8-0.2,1.7-0.5,2.2-0.8l0.2-0.1l0.2,0c0,0,1-0.2,2.5-0.2%20c0.2-0.3,0.4-0.7,0.7-1.1c1.1-1.6,3.3-4.9,3.6-5.7l0.3-0.8l0.6,0.1c0-0.1,0.1-0.2,0.1-0.3c0.2-0.4,0.4-0.8,0.7-1.4%20c0-0.7-0.3-1.2-0.7-2c-0.4-0.7-0.9-1.4-1.1-2.4c-0.1-0.2-0.3-0.4-0.3-0.5v0c0-0.1,0.2-0.2,0.2-0.2l-0.1-0.1c0-0.3-0.1-0.5-0.1-0.7%20V291l1.6,5.8c0.1-0.1,0.3-0.1,0.5-0.2c1.3-0.5,5-1,9.2-1.5c1.5-0.2,2.8-0.3,3.4-0.4c1.8-0.4,4.6-1.2,5.3-1.7%20c0.8-0.6,1.7-1.8,2.2-2.3c0.1-1.5,0-3.8-0.6-4.4c-0.1-0.1-0.3-0.2-0.6-0.1l-1.1,0.2l-0.1-1.1c-0.1-1.6,0.9-2.8,1.3-3.1%20c5-7.8,9-11.1,9.2-11.2l0.2-0.1l12-3l0-0.4l0.8-0.2c4.5-0.9,8.2-2,11.2-2.8c1-0.3,1.9-0.6,2.7-0.8c0-0.3,0-0.6,0-0.8%20c0.2-1.4,1.6-2.8,3.3-3.3c0.1,0,0.1-0.1,0.2-0.1l1.3-3v-1.5c-0.4-0.5-0.8-1.3-0.5-2c0.2-0.4,0.6-0.9,1.7-0.8%20c0.5-0.6,1-2.9,1.2-10.6c0-0.8,0-1.5,0.1-1.8l0-0.4l0.3-0.3c0.7-0.6,1.2-2.3,1.7-3.7c0.6-2,1.2-3.9,2.6-4.7l0.8-0.4l0.5,0.8%20c0.2,0.4,1.1,1.4,2,1.3c0.9-0.2,1.5-0.7,2.1-1.3c0.8-0.7,1.7-1.5,3-1.5h0.3l0.3,0.2c3.6,2.8,4.2,3.6,4.9,4.9%20c0.2,0.3,0.4,0.7,0.7,1.1l0.1,0.3c0.2,0.6,0.6,2.1,1.1,4c0.8,2.7,1.8,6.3,2.2,7.5c0.2,0.1,0.7,0.1,1.1,0c2-0.2,2.5,1.3,2.8,2.4%20c0.1,0.4,0.3,0.9,0.6,1.4c0.1,0,0.3,0.1,0.4,0.2c0.9,0.6,1.2,2.1,1.5,3.6c0.1,0.5,0.2,1.2,0.3,1.5l0.5,0.4l-0.3,0.7%20c-0.4,0.9-1.5,2.5-2.5,4c-0.2,0.4-0.4,0.6-0.5,0.8c-0.9,2.3-2.9,4-5.4,4.7c-1.3,0.3-2.4,0.3-3.2-0.1c-0.2,1.2-0.4,2.5-0.3,3.2%20l0,0.8l-1.8,0.6c-0.4,2-2.1,4-3.6,4.9c0.1,0.7,0.4,1.6,0.6,2.5c0.6,2.3,1.3,4.7,0.8,6.3l-0.1,0.4l-0.4,0.2%20c-1.8,0.8-3.9,1.4-5.5,1.6c0.3,0.4,0.9,0.8,2,1.4l0.9,0.4l-0.5,0.9c-0.2,0.4,0.1,2.1,0.2,2.9c0.1,0.5,0.1,0.9,0.2,1.2%20c1.7,2.5,3,3.3,3.6,3.1c0.5-0.1,0.9-0.9,0.9-1.3l0.1-0.7l0.7-0.2c2.2-0.5,3.5,1.3,4.2,2.4c0.1,0.2,0.3,0.4,0.4,0.6%20c1.4,0.2,4,0.4,4.9,0.3l1.1-0.2v1.2c0,0.5,0,1.4-4.1,2.5c-1.4,0.3-2.7,0.1-3.8-0.5c-0.6,0.5-1.3,0.7-1.9,0.6%20c-0.5-0.1-0.8-0.3-1.1-0.5c-0.4,0.3-1,0.7-1.5,0.9l-1.7,0.5l0.2-0.8c-0.9-0.1-2.3-0.2-3.8-0.2c0.6,1.1,1.5,2.5,2.1,3.5l0.4,0.6%20l-0.4,0.6c-2.1,2.8-5.7,4.7-5.9,4.8l-0.2,0.1c-3,0.8-14.2,8-19.4,11.4l1.3,0.1l0.2,0.7c0,0.2,1.1,4.6,0,9%20c-1.1,4.2-3.8,8.9-3.9,9.1l-0.9,1.6l-1.5-3l-2-0.4l-2.3-1.3c0.6,1.2,1.3,2.7,1.6,3.3l0.1,0.2c0.4,3.5,1.5,5.4,1.5,5.4l0.2,0.3%20l-0.3,4.6l0.2,0.1l-0.1,0.9c0,0,0,0.2-0.1,0.4l-0.1,1.6h-0.9c-0.1,0.1-0.4,0.4-0.7,0.8c-1.1,1.2-2.5,0.8-3.4,0.4%20c-0.1,0.2-0.3,0.4-0.6,0.5c-0.3,0.1-0.6,0.1-0.8,0.1c0,0,0,0,0,0c-0.6,0.4-1.5,0.2-2.7-0.6c0.2,0.6,0.1,1.2,0,1.7%20c0,0.2-0.1,0.6-0.1,0.7c0.3,0.4,0.4,0.8,0.5,1c0.1,0.2,0.1,0.3,0.4,0.5c0.5,0.4,0.6,0.8,0.6,1.1c0,0.6-0.4,1-0.7,1.2%20c0,0-0.1,0.1-0.1,0.1c0.1,0.1,0.4,0.4,1,0.8c0.4,0.3,1.3,0.9,1.1,1.8c-0.2,0.9-1.1,1-1.9,1.2c-0.2,0-0.5,0.1-0.8,0.2%20c0.2,0.3,0.6,0.8,1.6,1.6c0.9,0.8,1.5,1.9,1.7,2.8h1.1c0.8,0,1.4,0.4,1.7,0.8c2.3-0.2,6.4-0.4,8.7,5.2c1.3,3.1-2.5,8-2.9,8.6%20l-0.1,0.1c-0.7,0.6-1.8,0.5-3,0.5c-0.1,0-0.2,0-0.3,0l0.4,0.3l-0.1,0.6c0,0.2-0.1,0.5-0.2,0.7c-0.1,0.5-0.2,0.8-0.1,1.1%20c0.1,0,0.2,0,0.2,0c0.5-0.1,1.3-0.3,2,0.2c0.5,0.4,0.7,0.9,0.8,1.8c0.2,1-0.8,2.4-1.2,2.9l-0.7,0.9l-0.7-0.7c-0.2,0-1.2,0-4.3,1.7%20c-3.3,1.4-5.3,5.8-6,9.1l-0.1,0.2l-0.2,0.2c-0.6,0.7-1.8,1.5-2,1.5l-0.2,0.1l-0.2,0c-1.7,0.1-2.5,0.5-3.1,0.9%20c-0.3,0.2-0.7,0.4-1.1,0.4c-0.2,0.4-0.6,0.9-1.1,1.5c-0.4,0.5-0.8,1-1.1,1.5c-2.2,5.6-4.7,9.1-4.8,9.3l-0.1,0.2%20c-0.1,0.1-1.3,1.2-2.8,2.1c-0.4,1.3-0.7,2.4-0.7,2.4l-0.2,0.6l-0.6,0.1c-0.8,0.1-1.9,0.5-2.7,0.8c0.6,1.4,0.2,2.4-0.2,2.9%20c-0.7,0.8-1.8,1.2-2.7,1.2c-0.3,0.8-0.7,1.5-1.1,2.1c-1.8,4-3.6,10.4-3.6,15.2c1.1,1.2,1.8,3.4,2.5,5.6c0.3,0.9,0.6,1.9,0.9,2.7%20c1.3,3.1,6.4,11.1,7.5,12.4c0.5,0.1,1.4,0.3,2.2,1.1c1.4,1.3,2.1,3.6,2.1,6.8c0,0.2,0,0.4-0.1,0.6c1.3,2.8,4.1,8.3,7.1,11.1%20l0.2,0.2l0,0.2c1.1,2.9,2.3,11,2.3,13.3v0.5l-0.4,0.3c-1.5,1-1.5,4.8-1.5,6.6c0,1.4,0,1.8-0.5,2.2l-0.4,0.3l-0.5-0.1%20c-0.7-0.2-1.5,0.3-2.3,0.7c-1,0.6-2.4,1.4-3.6,0.1c-0.4-0.4-0.3-0.9-0.3-1.1c0-0.1,0-0.1,0.1-0.2c0-0.1-0.1-0.1-0.1-0.2%20c-0.1-0.1-0.2-0.3-0.2-0.4c-0.1,0-0.4,0.1-0.8,0.5l-1.1,0.8l-0.5-1.3c-1-2.9-4.9-5.2-8.6-7.1l-0.5-0.2l-0.1-0.5%20c-0.2-1.6-1-2.9-2.1-3.5c-1.1-0.6-1.5-1.9-1.7-3c-0.5,0.1-0.9-0.1-1.1-0.2l-0.7-0.2l0-0.5c-2.6-1.4-3.9-4.2-5.2-7.1l-0.1-0.2%20l0-0.3c0.1-0.7,0.4-1.4,0.7-2.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.4,0.3-1,0.3-1.6,0.1l-0.3-0.1l-0.2-0.2c-0.3-0.3-0.5-0.4-0.6-0.5%20c-0.4-0.3-0.9-0.7-0.7-1.7c0.2-3.5,0.6-6.1,0.6-6.2c0.3-1.7,0.4-4.6-0.5-5.3l-0.1-0.1l-0.1-0.1c-0.7-1.1-1.3-1.8-2.2-2.1%20c-3.3-1-5.5-2.7-6.7-5c-1.3-0.5-2.5-1.8-3.1-2.9c-1.6-0.3-5.1-0.6-6.2,0.8l-0.1,0.1l-0.1,0.1c-1.1,0.7-1.9,1.4-2.6,2%20c-1.6,1.4-2.8,2.4-6.5,2.3c-2.6-0.2-3.3-0.9-4-2c-0.4-0.7-0.9-1.4-3.5-1.9c-1.1-0.2-1.9-0.4-2.4-0.4c0,0.2,0,0.4-0.1,0.6%20c-0.4,0.8-1.3,0.8-1.6,0.9c-2.1,0.2-2.8-0.8-3.2-1.4c-2.9,1-5.4-0.8-7.1-2c0,0-0.1-0.1-0.1-0.1c0,0,0,0-0.1,0.1l-0.2,0.3%20c0,0.1,0,0.1,0,0.2l0,0.4l-0.2,0.3c-1.1,1.3-3.5,1.8-3.7,1.8l-0.8,0.2l-0.3-0.7c-0.2-0.6-0.8-1.7-1.3-2.7c0,0.2-0.1,0.4-0.1,0.6%20c-0.2,1.2-0.3,2.2-1.1,2.6c-0.1,0.1-0.1,0.3-0.2,0.4c-0.1,0.3-0.4,1-1.1,1c-0.4,0-0.7-0.1-0.9-0.3h-0.4c-0.8,0-1-0.6-1.1-1.4%20c-2.4,0.5-7,1.7-10,3.8c0.1,0.1,0.1,0.3,0.1,0.4c0,0.8-0.6,1.2-1.3,1.5c-0.7,0.4-1.4,0.8-1.3,1.2l0,0.3c0,0.1,0,0.2,0,0.2%20c0.3,0.1,0.7,0.4,1.3,0.8l0.1-0.1l0.6,0.2c6,2.4,6.5,3.4,6.6,3.8c0.1,0.2,0.2,0.5,0.2,0.7v0c0,0.5-0.2,1.8-1.4,2.3%20c-1.3,0.6-3.3-0.3-6.3-2.7c-0.2-0.2-0.4-0.2-0.4-0.2c0,0-0.2,0.1-0.3,0.1c-0.3,0.2-1,0.5-1.7,0.2c-0.1,0.7-0.4,1.5-1.2,2.2%20l-0.5,0.4l-0.6-0.3c-3.4-1.6-4.1-1.2-4.1-1.2c0,0.1-0.1,0.3-0.1,0.4c0,0.1,0,0.3,0,0.4l-0.1,0.7l-0.7,0.1%20c-2.3,0.4-4.2,0.3-6.2-1.1l-0.3-0.2l0-0.2c-0.3-0.4-0.8-1-1.3-2.2c-0.3-0.2-0.7-0.3-1.2-0.5c-0.9-0.2-2-0.3-2.6-1.7%20c-0.3-0.1-0.8-0.1-1.2-0.1h-0.3l-0.2-0.3c-0.4-0.2-1.2-0.4-1.5-0.1c-0.2,0.2-0.1,0.5-0.1,0.8l0.2,0.7l-0.6,0.4%20c-2.9,1.9-6.9,0.5-10.8-0.9c-0.9-0.3-1.8-0.6-2.6-0.9c-2,0.7-4.3,1.2-6,1.2l-0.2,0c-0.1,0-0.1,0-0.2-0.1c-1.4,1-5.1,2.4-6.8,3%20c-0.2,0.8-0.6,2-1.8,2.6l-3.8,3.4l-4.1,2.9l-5,2.2c-0.5,0.5-1.1,0.9-1.6,1.3l0.6,0.4l-1.1,0.8c-0.5,0.3-1,0.7-1.7,1.2%20c-1.6,1.1-4,2.7-4.4,3.9l-0.5,1.9l-0.7-1c0.2,0.9-0.5,1.8-0.9,2.5c-0.1,0.2-0.2,0.3-0.3,0.4l-0.3,0.6l-0.7-0.1l-0.3,1.8%20c-0.1,0.5-0.3,2.1-0.3,2.7c0,0.6,0.3,1.8,0.6,3.1c0.6,2.7,1.4,6,1.2,8.2c0.4,0.1,0.7,0.4,0.9,0.6c0.7,0.9,0.2,2.1,0.1,2.4%20l-0.1,0.1c0,0.1-0.1,0.2-0.1,0.3c-0.1,0.3-0.3,0.8-0.9,1.1c-0.4,0.2-0.8,0.1-1.2,0C278.8,521,277.8,521.3,276.8,521.3z%20M274.9,519.6c0.1,0.2,0.3,0.3,0.4,0.3c0.2,0.1,0.4,0,0.5,0l-0.4-0.5L274.9,519.6z%20M275.5,519.3l0.5,0.4l0.2-0.5c0,0,0,0,0,0%20c0-0.1,0-0.2,0-0.3L275.5,519.3z%20M276.3,519.3c0.9,0.1,2.2-0.3,2.6-0.5l0.4-0.2l0.4,0.2c0-0.1,0.1-0.3,0.2-0.4%20c0-0.1,0-0.1,0.1-0.2c-0.1,0-0.2,0-0.3,0l-1.8,0.3l0.7-1.6c0.6-1.6-0.3-5.6-1-8.3c-0.4-1.5-0.7-2.7-0.7-3.5c0-0.3,0-0.7,0.1-1.1%20l-1.4,0.7l2.7-6.3l1,0.1l0,0c0.2-0.3,0.5-0.8,0.6-1c0,0-0.1,0-0.1-0.1l-0.9-0.4l0.4-0.9c0.3-0.7,1.3-1.3,2.2-1.4%20c0.1,0,0.1,0,0.2,0c0.9-1.5,2.9-2.8,4.8-4.1c0.1-0.1,0.3-0.2,0.4-0.3l-0.4-0.7l0.6-0.6c0.2-0.2,0.4-0.3,0.6-0.3%20c0.5-0.3,1.4-0.9,2.3-1.7l0.1-0.1l5.2-2.3l3.8-2.7l4-3.6c0.7-0.3,0.9-1.5,0.9-1.7l0.1-0.6l0.6-0.2c3-1.1,6.5-2.3,7-2.8l0.5,0.8%20h1.2v-1.1c0-0.1-0.3-0.2-0.4-0.2c0.1,0,0.2,0.1,0.3,0.1c1.5,0,3.7-0.5,5.5-1.2l0.3-0.1l0.3,0.1c1,0.3,2,0.7,3,1%20c3.1,1.1,6.3,2.2,8.5,1.3c-0.1-1.2,0.5-1.8,0.9-2.1c1-0.8,2.5-0.7,3.5-0.3c1.1,0.1,2.1,0.6,2.2,0.6l0.4,0.2l0.1,0.4%20c0.2,0.7,0.5,0.8,1.4,1c0.6,0.2,1.4,0.4,2.1,1l0.2,0.2l0.1,0.2c0.6,1.3,1,1.9,1.2,2.1c0,0,0,0,0,0c1.1,0.7,2.1,0.9,3.8,0.7%20c0.1-0.5,0.4-1.1,1-1.4c1.1-0.6,2.7-0.3,5.3,0.8c0.1-0.3,0.1-0.8,0-1.3c-0.1-0.4-0.2-1.2,0.5-1.6c0.7-0.4,1.4,0.2,1.8,0.6%20c0.2,0.2,0.3,0.2,0.3,0.2c0,0,0.1-0.1,0.2-0.1c0.2-0.1,0.6-0.3,1-0.3c-0.2-0.1-0.3-0.3-0.5-0.5c-0.3-0.2-0.5-0.4-0.6-0.5%20c-0.2,0-0.4-0.1-0.6-0.2c-0.7-0.4-0.8-1.2-0.8-1.9c-0.1-0.6-0.1-1.1,0.1-1.5c-0.3,0-0.6,0-0.9-0.1c-0.9-0.3-1.6-1.1-2.2-2.3%20l-0.2-0.4l0.2-0.4c0.3-0.5,0.6-1,0.8-1.4c0-0.1,0.1-0.1,0.1-0.2l-0.1-0.2l0.5-0.6c0.5-0.5,1.1-0.5,2.6,0.1c0.3,0,0.6,0.1,0.9,0.3%20l0.8,0.3l-0.1,0.4c0.1,0.1,0.2,0.2,0.2,0.3c0.2,0.2,0.4,0.5,0.6,0.7c3.7-2.6,9.3-3.9,11.5-4.3l0.6-0.1l0.1,0.5l0.3-0.6%20c-0.3-0.1-0.6-0.1-0.8,0l0.4-0.2l0.5,0.1c0.2,0.1,0.5,0.2,0.7,0.7l0.2,0.5c0.1-0.1,0.2-0.2,0.4-0.3c0.1-0.2,0.2-0.8,0.2-1.3%20c0.2-1.1,0.3-2.4,1.1-3.2l0.7-0.7l0.7,0.7c0.9,0.9,1.9,2.9,2.4,4c0.6-0.2,1-0.4,1.4-0.8c0-0.4,0.1-0.7,0.1-1v-0.3%20c0-0.1,0.1-0.2,0.1-0.3l0-0.1l0-0.1c0-0.2,0-0.4,0-0.5c-0.2-0.6-0.7-1.4-0.9-1.7l1.6-1.2c0.4,0.4,1,1.2,1.3,2.4%20c0.1,0.2,0.1,0.3,0.1,0.5c0.4,0.2,0.8,0.5,1.3,0.8c1.6,1.1,3.5,2.5,5.5,1.7c0.9-0.4,1.7-0.1,2.2,0.9c0.2,0.3,0.3,0.5,0.9,0.5%20c-0.1-0.3-0.1-0.6,0.1-1c0.5-0.7,1.4-0.7,5,0c3.2,0.7,4.1,1.7,4.8,2.8c0.4,0.6,0.6,0.9,2.4,1c2.9,0.2,3.6-0.4,5.1-1.8%20c0.7-0.6,1.5-1.3,2.6-2.1c2.3-2.7,7.9-1.4,8.6-1.3l0.5,0.1l0.2,0.5c0.4,0.9,1.5,2.2,2.5,2.4l0.5,0.1l0.2,0.4%20c0.8,2,2.7,3.4,5.6,4.3l0.1,0c1.2,0.5,2.2,1.4,3.1,2.8c1.9,1.8,1.2,6.2,1,7l0,0c0,0-0.4,2.6-0.6,6c0.1,0.1,0.2,0.2,0.4,0.3%20c0-0.1,0.1-0.2,0.1-0.3c0.1-0.5,0.4-1.3,1.2-1.7c0.8-0.3,1.6,0.1,2.2,0.5c0.3,0.1,0.5,0.3,0.6,0.6c0.4,0.7-0.1,1.6-0.7,2.8%20c-0.3,0.6-0.6,1.3-0.8,1.8c1.2,2.8,2.5,5.1,4.7,6.1l0.4,0.1l0-0.1l1,0l1,0l0,1c0,1,0.3,2.3,0.9,2.7c1.5,0.8,2.6,2.5,3,4.5%20c3.4,1.8,7,4.1,8.6,6.9c0.4-0.2,0.9-0.3,1.4-0.2c0.8,0.2,1.2,0.9,1.5,1.4c0.1,0.2,0.2,0.3,0.3,0.5c0.1,0.1,0.2,0.3,0.3,0.4%20c0.2-0.1,0.4-0.2,0.6-0.3c0.7-0.4,1.6-0.9,2.6-1c0-0.1,0-0.3,0-0.4c0-2.3,0.1-6,2-7.8c-0.1-2.4-1.2-9.2-2.2-11.9%20c-3.4-3.3-6.4-9.6-7.6-12.2l-2.4-5.1l2.4,2.4c-0.2-2-0.9-3-1.4-3.5c-0.6-0.5-1.1-0.6-1.1-0.6l0,0l-0.1,0l-0.1,0%20c-1.7-0.4-8-11.7-8.8-13.6c-0.4-0.9-0.7-1.9-1-2.9c-0.6-1.8-1.3-3.9-2-4.8l-0.5-0.4l0.4-0.5l-0.5,0c-0.1-5.2,1.9-12.1,3.8-16.6%20l0.1-0.2c0.5-0.7,1-1.5,1.1-2.3l0.2-1.3l1.2,0.5c0.2,0.1,1.2,0,1.5-0.4c0.3-0.4-0.2-1.2-0.5-1.5l-0.8-1.1l1.3-0.4%20c0,0,0.2-0.1,0.3-0.1c0.7-0.3,2-0.8,3.2-1.1c0.2-0.5,0.4-1.3,0.6-2.2l0.1-0.4l0.4-0.2c1.2-0.7,2.4-1.7,2.7-2%20c0.4-0.6,2.5-3.9,4.5-8.9l0.1-0.2c0.3-0.5,0.8-1.1,1.2-1.7c0.3-0.4,0.7-0.9,0.9-1.2c-0.2-0.4-0.2-0.8,0.1-1.2%20c0.5-0.6,1.2-0.3,1.6,0c0.1,0,0.1-0.1,0.2-0.1c0.6-0.4,1.7-1,3.7-1.1c0.4-0.2,0.8-0.6,1.1-0.8c0.4-1.9,2.3-8.2,7.1-10.2%20c2.3-1.3,4.2-2,5.4-1.9c0.2-0.4,0.4-0.7,0.4-0.8c0-0.2,0-0.3,0-0.3c-0.1,0-0.2,0-0.3,0.1c-0.5,0.1-1,0.2-1.6,0l-0.3-0.1l-0.2-0.2%20c-0.9-1.2-0.6-2.4-0.4-3.2c0,0,0,0,0-0.1c-0.4-0.5-0.8-1.2-0.7-1.8c0-0.5,0.3-0.9,0.8-1.1l0.3-0.1c0.5-0.1,1.2-0.1,1.9,0%20c0.5,0,1.3,0,1.6,0c1.7-2.2,3.1-5.1,2.5-6.4c-1.8-4.5-4.9-4.2-6.9-4c-0.1,0-0.3,0-0.4,0c-0.3,0.1-0.5,0.1-0.8,0%20c-0.5,0-1-0.2-1.2-0.8l0.1-0.1l-1,0v-2c-1,0-1.1,0.5-1.1,0.8c0-0.3-0.3-1.4-1.1-2.1c-1.9-1.6-2.7-2.7-2.4-3.8%20c0.2-0.9,1-1.2,1.8-1.4c-0.8-0.7-1.3-1.3-1.3-2c0-0.6,0.2-1,0.5-1.3c-0.3-0.4-0.5-0.7-0.6-1c-0.1-0.2-0.1-0.3-0.2-0.5%20c-0.5-0.8-0.4-1.6-0.3-2.2c0-0.2,0.1-0.4,0.1-0.5c-0.6-0.7-0.9-1.3-1.3-1.9l-0.6-1l1.2-0.5c0.6-0.3,1.7-0.7,2.6,0.1%20c0.5,0.4,0.9,0.7,1.2,0.9l0.4-0.3c0.2-0.1,0.4-0.2,0.7-0.1l0-0.1l0.5-0.4c0.6-0.3,1.1-0.1,1.5,0.2c1,0.6,1.4,0.7,1.7,0.4%20c0.5-0.5,0.7-0.8,0.9-0.9l0,0c0.1-0.2,0.2-0.4,0.3-0.7l0.1-1.8l0.2-3c-0.4-0.7-1.3-2.7-1.6-5.8c-0.4-1-2-4-2.5-5.1l-0.7-1.3%20l2.6-0.3l4.2,2.3l2.5,0.5l0.2,0.5c0.9-1.7,2.2-4.5,2.8-6.9c0.7-2.9,0.4-6,0.1-7.3l-2.7-0.2l0.5-2.5l0.3-0.2%20c0.7-0.5,16.6-11,20.9-12.4c0.5-0.3,3-1.7,4.7-3.7c-1.2-1.9-2.6-4.4-2.7-4.5l-0.8-1.5l1.7,0c4.2,0.1,6,0.3,6.8,0.5%20c0.4-0.2,0.9-0.6,1.2-0.9l0.4-0.4c-0.2,0.1-0.4,0.2-0.7,0.3c-1.9,0.5-3.8-1-5.9-4.2l-0.1-0.2l0-0.3c0-0.3-0.1-0.8-0.2-1.3%20c-0.2-1.3-0.4-2.3-0.3-3.1c-1.5-0.8-2.2-1.6-2.5-2.2l-0.2-0.2c-0.2-0.2-0.4-0.6-0.2-1.2c0,0,0,0,0,0c0,0.1-0.1,0.1-0.1,0.1%20c0,0,0-0.2-0.2-0.5c-0.1-0.1-0.9-1.5-0.4-2.3l0.3-0.5l0.6,0.1c0.6,0.1,0.8,0.5,1.4,2c1.1-0.1,3-0.5,4.9-1.3%20c0.1-1.1-0.5-3.1-0.9-4.7c-0.4-1.3-0.7-2.5-0.8-3.5l-0.1-0.9l0.9-0.2c1-0.2,2.9-2.4,3.1-4.1l0-0.7l1.7-0.5%20c0.1-1.6,0.5-3.9,0.7-4.7c0-0.1,0-0.2,0-0.2l0.1-0.6l0.6-0.2l1.6-0.5l-0.3,1.4c0.1,0.1,0.2,0.3,0.5,0.5c0.1,0,1,0.2,2.3-0.3%20c1-0.3,2.7-1.2,3.5-3.2c0-0.2,0.2-0.4,0.7-1.2c0.6-0.9,1.6-2.3,2.1-3.3c-0.2-0.5-0.3-1.1-0.4-1.9c-0.1-0.6-0.3-1.7-0.5-2.1%20l-0.4,0.1l-0.4-0.6c-0.5-0.8-0.8-1.6-1-2.3c-0.4-1.1-0.4-1.1-0.7-1c-0.7,0.1-2.6,0.2-3.1-1c-0.4-1-1.5-4.7-2.4-7.9%20c-0.5-1.7-0.9-3.1-1.1-3.8c-0.3-0.4-0.5-0.8-0.7-1.1c-0.6-1-0.9-1.5-4.1-4.1c-0.4,0.1-0.8,0.4-1.4,0.9c-0.8,0.7-1.7,1.5-3.1,1.8%20c-1.4,0.2-2.5-0.6-3.2-1.3c-0.4,0.7-0.8,1.9-1.1,2.9c-0.5,1.7-1,3.4-2,4.4c0,0.3,0,0.7,0,1.3c-0.1,6.6-0.5,11-2,12.2%20c-0.2,0.1-0.4,0.2-0.6,0.3l0.1,0.1l0,2.6l-3.9,8.7l0.2-3.8c-0.7,0.4-1.1,0.9-1.2,1.3l0.6-0.2l-0.1,0.8l0.4,0.2l-0.4,0.8%20c0,0,0,0,0,0.1c0,0.1,0,0.3,0,0.4c0,0,0,0,0,0.1l-1.1-0.1c-1,0.3-2.2,0.6-3.5,1c-2.8,0.8-6.3,1.9-10.5,2.7c0,0.1,0,0.2,0,0.2l0,0%20c0,0.7-0.2,1-0.9,1.1c-0.5,0-0.8-0.2-0.9-0.5l-11.3,2.8c-0.8,0.7-4.4,4-8.7,10.7l-0.2,0.2c0,0-0.3,0.3-0.6,0.8%20c0.4,0.1,0.7,0.3,1,0.6c1.7,1.6,1.3,5.6,1.2,6.4l0,0.2l-0.1,0.2c-0.1,0.1-1.4,2-2.7,3c-1.3,1-5.4,1.9-6.2,2.1%20c-0.8,0.1-2,0.3-3.6,0.5c-3,0.4-7.5,0.9-8.7,1.4c-0.4,0.2-0.5,0.3-0.5,0.4c0,0,0,0.1,0,0.2c0,0.1,0.1,0.3,0.1,0.4%20c0.1,0.7,0.4,1.3,0.8,1.9c0.5,0.9,1,1.9,0.9,3.3l0,0.3l-0.1,0.2c-0.4,0.5-0.6,1-0.8,1.4c-0.2,0.5-0.6,1.2-1.2,1.4%20c-0.6,1.1-2,3.2-3.5,5.5c0,0,0,0,0,0h0.3l-1.3,1.6c-0.5,0.6-1,0.5-1.3,0.4c-1,0-1.8,0.1-2.1,0.1c-0.7,0.3-1.6,0.6-2.4,0.9%20c-0.5,0.1-0.9,0.3-1.2,0.4l-1.5,0.5v0.1l-0.8,0.2c-2.1,0.4-4.2,2.6-4.8,3.5l-2.2,2.5l-2.5,1c-0.3,0.3-0.8,0.4-1.2,0.6%20c-0.8,0.3-2,0.6-2.9,1.8l-0.3,0.4l-0.6-0.1c-1.3-0.2-7.7-1.7-8.9-2h-1.1l0.1-1.1c0.2-1.9,1.8-4.1,2.9-5.2%20c-0.4-0.6-0.5-1.2-0.1-2.3c0.4-1,1.3-1.2,1.8-1.4c0,0,0,0,0,0c0-0.2,0-0.3,0.1-0.5c0.2-0.4,0.5-0.7,0.9-0.9c-0.2-0.5,0-1,0.4-1.4%20l0.2-0.2l0.3,0c0.2-0.1,0.4-1,0.4-1.5c-0.2-0.5-0.1-1.5,0.1-4.7c-0.8-0.8-2.4-3-3.5-7.9l0-0.1c-0.4-0.8-1-1.9-2.5-2.1%20c-2.2,1.5-2.3,3.1-2.3,3.1l0,0.5l-0.3,0.3l-2.4,2l-0.3,0c-0.2,0-1.8,0.2-2.8-1c-0.8-1-0.8-2.7,0-4.8l0.2-0.8h0.7%20c0.5,0,0.9,0.2,1.7-3.2l0.1-0.4l0.5-0.2c0.2-0.1,0.4-0.1,0.5-0.2c-0.2-1.8-0.7-4.8-1.1-6.6c-0.6-1.5-1.4-2.6-1.7-3.1l-10.5-4%20l-0.3,0.4l-1.2,1.9c0.1,0.5,0.2,1,0.3,1.3l0.3,0.8l-0.8,0.4c-0.7,0.4-1.1,0.9-1.4,1.2c0.1,0.1,0.2,0.2,0.2,0.4%20c0.6,1.2,0.8,3.8-1.4,5.5l-0.2,0.1c-1.4,0.6-2.3,0.3-2.7-0.1c-0.4-0.3-0.6-0.7-0.7-1c-3.1,4.5-2.7,8.2-2.4,10.7%20c0.1,0.5,0.1,0.9,0.1,1.3l0,0.1l0,0.1c-0.1,1.6-0.4,2.2-0.7,2.6c0,0,0,0.1,0,0.1c0.2,0.7,0.7,2,1.3,3.3c0.8,1.9,1.8,4,2.1,5.8%20c0.9,6.1-0.1,9.9-2.7,16.2l-0.3,0.6h-0.7c-0.2,0-5.4,0.3-8.5-0.4l-0.8-0.2v-0.4c-2.2-1.7-3.3-4.9-3.1-9.9h0l-0.2-0.9l0.4-0.2%20c-0.7-2.8-1.3-6-0.8-11.6l0.8-6.6c0,0,0.3-2.3,1.6-7.5c-0.2,0-0.4,0-0.6,0c-0.5,0.7-0.9,1.3-1.2,1.8c-0.5,0.9-1.1,1.9-2.3,1.6%20c-0.7-0.1-1.2-0.4-1.5-1c-0.4-1,0.2-1.9,1-3.2c0.7-1.1,1.6-2.5,1.6-3.7c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.1,0-0.2l0.4,0l0.4-0.4%20l-0.3-0.7c0.4-0.3,1.4-2.1,2-3.4c0.6-1.3,1.3-2.6,1.9-3.5l0.4-0.6l0.7,0.1c0.5,0.1,0.6,0.1,0.6,0.1h0c0,0,0.1-0.1,0.1-0.2%20c0.3-0.4,0.8-1,2-1.5l1.7-0.7l-0.2,1.1c1.1-1.6,3.7-2.2,5.3-2.6c0.3-0.1,0.5-0.1,0.7-0.2c0.1-0.1,0.2,0,0.3-0.2%20c0.3-0.4,0.8-0.9,2-0.9c0,0,0,0,0,0c2.8,0,3.9,0.3,5.2,1.2c0.1-0.2,0.2-0.4,0.3-0.6c0.1-0.1,0.1-0.2,0.2-0.3l0.3-0.4l0.5-0.1%20c1.1-0.1,2.3-0.2,3.4-0.2c-0.1-0.1-0.1-0.1-0.2-0.2c-1.2-1.5-1.9-2.5-2.4-3.3c-1.7,0.6-3,0.7-4,0.2c-1.1-0.5-1.6-1.5-1.9-2.4%20c-1.1,0.4-2.4,0.6-3.9,0.8c-0.6,0.1-1.2,0.2-1.9,0.3c-0.2,0.1-0.7,0.4-1.1,0.6c-2.2,1.3-5.7,3.5-8.1,2.3c-0.9,0.1-1.9,0.3-1.9,0.3%20l-0.5,0.1l-0.4-0.4c-4.5-4.6-6.5-4-8.8-3.2l-1.1,0.3l-0.3-1c-0.3-1.1-0.5-1.9,0-2.5c0.2-0.2,0.4-0.3,0.6-0.4l0.9-1.4%20c0.5-0.9,1-1.4,1.4-1.8c-1.3,0.7-2.7,2-2.8,2.5l-0.1,0.3l-0.2,0.2c-2,2.2-7.7,5.6-10.6,6.2c-0.8,2.2-3.9,2.7-4.6,2.7h-0.2%20l-0.2-0.1c-0.8-0.3-1.7-0.5-3.1-0.8l-0.5-0.1l-0.2-0.5c-0.4-1-0.2-1.8,0.1-2.2c-0.6,0.2-1.4,0.5-2.2,0.9c-2.2,1-4.9,2.2-7.3,1.9%20l-0.5,0.5l-1.5-1.3c0.8-1.1,11.6-12.7,12.7-13.3c0,0,7.2-4.4,10.1-3c3.3,0.3,5.4-0.1,6.1-1.3c0.4-0.6,0.3-1.3,0.1-1.7%20c-1.1,0.2-4,1-6.5,1.8l-0.3,0.1l-5.5,0.3c-1.2,0.2-2.4,0.3-3.4,0.4c-2.8,0.3-4.7,0.5-7,1.6l-0.5,0.2l-0.5-0.3c0,0-4.6-3-8.4-3%20c-0.5,0-0.9-0.2-1.1-0.7c-0.1-0.2-0.4-0.7,0.3-1.9c-1,0-2.9,0.1-6.4,0.6c-0.8,0.2-2.2-0.2-4.1-0.6c-0.3-0.1-0.5-0.1-0.7-0.2%20c-0.3-0.1-0.6-0.1-0.9-0.2c-0.9-0.1-2.2-0.3-3.7-1.6c-1.1-1-1.8-2.9-1.9-3.7c-0.2-0.8-1.1-2-1.6-2.3c-0.5,0.1-1,0.2-1.2,0.3%20c0,0.1,0,0.2,0,0.5v2.8h-1c-10.9,0-13.2,0.1-15.2,0.5l-0.1,0.1l-0.1,0l-54.3-1.4c-16.4-1.5-33.6-3.1-47.8-5.1%20c-19-2.7-34.7-5.3-42.2-6.6c-2.5-0.4-4.5-0.8-4.8-0.8l-0.2,0c-0.1,0-5.4-1.6-8.2-1.8l0.1-0.6l-0.1,0.6c-1.6-0.4-35.1-8-43.1-10.3%20c0.1,0.4,0.3,0.8,0.5,1.2c0.5,1.1,1.1,2.2,0.7,3.2l-0.1,0.3c-0.1,0.6,0.1,2.6,0.3,3.8c0.2,1.7,0.3,2.5,0.1,3.1l-0.2,4.6l-0.9,0.1%20c-1.1,0.1-1.4,0.9-1.8,2.7c-0.1,0.7-0.3,1.3-0.6,1.8c-0.2,0.4-0.6,0.6-1,0.6c-0.8,0-1.3-0.8-1.8-1.7c-1.2-2.4-2.7-7.6-1.3-10.6%20c-3.7-4.6-8.6-9.1-10.3-8.6c-0.4,0.1-0.7,0.9-0.8,2c-0.2,2.7,0.2,6.6,0.5,9.7c0.5,4.7,0.5,5.7-0.2,6.2c-0.2,0.1-0.4,0.2-0.5,0.2%20c-0.1,0.1-0.2,0.2-0.2,0.2c-0.2,1.6-0.2,1.6,0.4,3.1l0,0.1c0.2,0.6-0.2,1-0.7,1.5c-0.5,0.5-1.3,1.4-1.3,2.1c0,0.2,0,0.3,0,0.4%20L61,246l-0.9,3.3l0.5,0.4l-0.2,0.7c-3.4,9.5-8.2,21.3-11.6,29.6l-0.1,0.3l-0.2,0.2c-2.4,1.7-4.2,5.3-4.5,9.1%20c-0.1,0.9-0.2,1.7-0.3,2.4c-0.2,1.7-0.4,2.9,0,3.5l-1,0.6l1.3,0.1c-0.2,4.3-2.2,11-4,14.2l-0.1,0.2l-0.2,0.1%20c-1.2,0.7-1.9,1.6-2.1,2.7c-0.5,2.7,2.1,5.8,2.1,5.8l0.3,0.3l0,0.4c-0.1,1-0.1,1.9-0.2,2.8c-0.1,2-0.3,4.1-0.7,6.8%20c-0.7,5.6,1.2,7,2.3,7.7c0.1,0.1,0.3,0.2,0.4,0.3l0.3,0.2l0.1,0.4c0.1,0.8,0.4,1.6,0.5,2.2c0.4,1.3,0.8,2.5,0.2,3.7%20c0.3,0.4,0.7,0.7,1,1.1c0.4,0.4,0.8,0.7,1.1,1.2l0.2,0.2l0.1,0.8l-0.2,0.2c0,0.3,0,0.6-0.1,1.1l1.2-0.2l-0.6,1.6%20c-0.4,1.2-0.7,4.7-0.4,5.4c0.4,1.4,1.1,2,2,2.5c1.1,0.8,2.5,1.7,1.9,4.2l-0.1,0.5l-0.4,0.2c-1.6,0.8-1.8,2.3-1.6,4.5%20c0.9,1.2,2.1,3.7,3.3,6.5c1.4,3,2.9,6.5,4.4,8.5l0.3,0.4l-0.2,0.5c-1.1,2.8-1.3,5.3-0.3,6.6c0.7,1,2.1,1.5,4.1,1.5%20c2.3,0,4.7,2.6,4.9,2.9l1.6,1.8c1.5,1.4,3.8,3.3,4.9,3.6c0.2,0.1,0.3,0.1,0.4,0.1c0.4-0.2,0.9-0.1,1.3-0.1l1,0.2l-0.2,1%20c-0.1,0.7-0.1,2,0.2,2.7c2.7,1.1,4.7,2.7,6.2,5.1c1.1,1.7,2.8,8.1,3,11.1c4.1,0.2,10.1,0.8,16,1.5l6.9,0.8l0.1,0.8%20c0.1,0.6,0.1,1,0.1,1.5c0,0.3,0,0.5,0,0.9c6.5,3.2,10.1,5.3,15.5,8.4c1,0.5,2,1.2,3.2,1.9c2.9,1.8,6.6,4,11.2,6.2l0.9,0.5%20c3.9,2,8.7,4.5,13.8,4.2l0.1,0l9.9,2.1c1.6,0.8,4.8,0.4,7-0.5l1.1-4.7l0.8,0c6.7,0.2,11.6,0.7,14.7,1.1l0-0.2l1,0.2%20c0.7,0,1.3,0.1,1.9,0.3l0.2,0.1l0.2,0.2c0.8,0.8,1.9,2.1,3.1,3.6c2.7,3.4,6.5,8,10.5,10.2l0.4,0.2l0.1,0.4%20c0.8,2.6,1.4,3.6,1.8,4.2c0.7,1.1,0.8,1.6,0.6,4.1c0.1,0.2,0.2,0.4,0.2,0.7c1,2.9,2.5,6.9,13.7,11.3c0.8,0.3,2.6-3,3.4-4.4%20c1.2-2.3,2-3.8,3.2-3.9l0.4,0l0.3,0.2c1.7,1.1,3.1,0.8,5.1,0.4c1.7-0.4,3.8-0.8,6.4-0.3l0.4,0.1l0.2,0.4c1.6,2.4,2.6,3.3,3.7,4.4%20c0.9,0.9,1.9,1.8,3.2,3.6c0.6,1,1.2,2.3,1.9,3.7c1.4,2.9,3.2,6.6,4.8,7.9l0.2,0.2l1.1,3c0.8,0.8,3.2,3.1,3.7,4.1%20c1.7,2.9,1.7,3.8,1.5,4.9c0,0.2-0.1,0.4-0.1,0.7c0,0,0,0.1,0.1,0.1c0.3,0.6,1,2,3,6.9c1,0.7,2.6,1.4,4.2,2.2%20c2.5,1.2,4.2,2,5.1,2.8c0.4,0.1,1,0,1.6,0c2.1,0,5-0.1,6.4,2.2c0,0.1,0.1,0.1,0.1,0.1l-0.5,0.3C276.2,519,276.3,519.2,276.3,519.3%20z%20M358.2,474.6c0.2,0.1,0.5,0.3,0.8,0.5c3.2,2.7,4.1,2.5,4.1,2.5c0-0.1,0-0.5,0-0.6c0,0,0-0.1,0-0.1c-0.7-0.5-2.8-1.5-4.7-2.3%20C358.4,474.6,358.3,474.6,358.2,474.6z%20M353.7,467.1c0.3,0.5,0.6,0.8,0.8,0.8c0.1,0,0.1,0,0.1,0l0.2-0.1l0.2,0%20c0.2,0,0.5-0.1,0.8-0.2c0.1-0.1,0.3-0.1,0.5-0.2c-0.1-0.2-0.3-0.3-0.4-0.5c-0.1-0.2-0.3-0.4-0.4-0.5c-0.4-0.2-0.8-0.3-1-0.3%20c-0.1,0.1-0.1,0.2-0.2,0.3C354,466.6,353.9,466.9,353.7,467.1z%20M365.3,327.2c2.3,0.4,5.4,0.3,6.7,0.3c2.3-5.7,3.1-9.1,2.3-14.5%20c-0.3-1.5-1.2-3.5-2-5.3c-0.7-1.5-1.2-2.8-1.5-3.7c-0.1-0.8,0-1.2,0.3-1.7c0.1-0.1,0.2-0.3,0.3-1.5c0-0.3-0.1-0.7-0.1-1.1%20c-0.3-2.7-0.8-7.1,3-12.4l0.2-0.2l3.3-2.5l-0.3,2.4c-0.1,0.5,0,1.2,0.2,1.3c0,0,0.2,0.1,0.6-0.1c0.7-0.6,0.9-1.3,1-1.7%20c0-0.4,0-0.7-0.1-1l-1.3,0.4l0.5-1.8c0-0.1,0.4-1.5,2-2.7c-0.1-0.6-0.2-1.1-0.3-1.2l-0.1-0.4l2-3.2l-0.1-0.1%20c-1.3-1-1.9-1.4-4.4-1.4c-0.3,0-0.3,0-0.5,0.3c-0.2,0.2-0.4,0.6-0.9,0.9l-0.2,0.1c-0.3,0.1-0.6,0.2-1.1,0.3%20c-1.2,0.3-3.6,0.8-4.2,1.8c0.1,1.4-0.8,2.6-1.9,3.2c-0.3,0.2-0.6,0.3-0.9,0.3l-0.1,0.2l-0.9-0.3l-0.9-0.4l0.4-0.9%20c0,0,0-0.1,0.1-0.1c-0.3,0.2-0.7,0.2-1.3,0.2c-0.5,0.8-1,1.8-1.5,2.8c-0.9,1.8-1.6,3.2-2.3,3.9c0,0.9-0.3,1.7-0.6,2.5l0.3-0.1%20c0.2,0,1.8-0.3,3,0.5l0.6,0.4l-0.2,0.7c-1.4,5.7-1.7,8.1-1.7,8.1l-0.8,6.5c-0.5,5.9,0.2,8.9,1,11.8l0.3,1l-0.7,0.2%20c-0.1,4.2,0.8,7.1,2.6,8.1L365.3,327.2z%20M517,298.6l0.6,1.2c0.1,0.2,0.3,0.4,0.4,0.4c0.1,0,0.4-0.1,0.8-0.5l0.6-0.6l0.5,0.3%20c-0.1-0.2-0.3-0.4-0.4-0.6c-0.6-0.9-1-1.4-1.5-1.6C517.7,297.8,517.4,298.2,517,298.6z%20M356.1,260.5c-0.2,0-0.8,0.3-1.1,0.5%20c-0.1,0.1-0.2,0.1-0.3,0.1c0,0,0.1,0,0.1,0c0.1,0,0.3,0,0.4,0C355.9,261,356.1,261,356.1,260.5%20C356.2,260.5,356.2,260.5,356.1,260.5C356.2,260.5,356.1,260.5,356.1,260.5z'/%3e%3c/g%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3c/g%3e%3c/g%3e%3c/svg%3e",G3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='477px'%20height='689px'%20viewBox='0%200%20477%20689'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20sketchtool%2040.1%20(33804)%20-%20http://www.bohemiancoding.com/sketch%20--%3e%3ctitle%3eD5222DCB-A5E7-4783-ABD3-E5AAF56D153F%3c/title%3e%3cdesc%3eCreated%20with%20sketchtool.%3c/desc%3e%3cdefs%3e%3crect%20id='path-1'%20x='0.760775862'%20y='88.8671642'%20width='90'%20height='138'%3e%3c/rect%3e%3cmask%20id='mask-2'%20maskContentUnits='userSpaceOnUse'%20maskUnits='objectBoundingBox'%20x='0'%20y='0'%20width='90'%20height='138'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3c/defs%3e%3cg%20id='Page-1'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='box-and-whiskers-plot'%20transform='translate(-1362.000000,%20-6618.000000)'%20stroke='%23E5E5E5'%3e%3cg%20id='boxplot_small'%20transform='translate(1362.000000,%206618.000000)'%3e%3cg%20id='Group-40'%20transform='translate(193.000000,%20187.000000)'%3e%3cg%20id='Group-39'%20transform='translate(0.239224,%200.132836)'%3e%3cuse%20id='Rectangle-32'%20mask='url(%23mask-2)'%20stroke-width='2'%20xlink:href='%23path-1'%3e%3c/use%3e%3cpath%20d='M0.760775862,185.367164%20L90.7607759,185.367164'%20id='Path-63'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M0.760775862,313.367164%20L90.7607759,313.367164'%20id='Path-63'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M0.760775862,1.36716418%20L90.7607759,1.36716418'%20id='Path-63-Copy'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M46.2607759,0.867164179%20L46.2607759,88.8671642'%20id='Path-64'%20fill='%23D8D8D8'%3e%3c/path%3e%3cpath%20d='M46.2607759,225.867164%20L46.2607759,313.867164'%20id='Path-64'%20fill='%23D8D8D8'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Y3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3c/g%3e%3cg%20id='specctr'%3e%3cg%20id='Dimensions'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M148.3,490.8l-1-1.3c-25.5-31.2-39.6-70.6-39.6-111c0-40.4,14.1-79.8,39.6-111l1-1.3l26.9,26.9l-0.8,1%20c-38.6,49.6-38.6,118.9,0,168.6l0.8,1L148.3,490.8z%20M148.5,270.8c-24.4,30.4-37.9,68.6-37.9,107.8c0,39.1,13.4,77.4,37.9,107.8%20l22.7-22.7c-38.4-50.3-38.4-119.9,0-170.2L148.5,270.8z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M368.3,270.8l-1-0.8c-23.9-18.6-53.9-28.9-84.3-28.9c-30.4,0-60.3,10.2-84.3,28.9l-1,0.8l-26.9-26.9%20l1.3-1c31.2-25.5,70.6-39.6,111-39.6c40.4,0,79.8,14.1,111,39.6l1.3,1L368.3,270.8z%20M283,238.1c30.6,0,60.8,10.2,85.1,28.7%20l22.7-22.7c-30.4-24.4-68.6-37.9-107.8-37.9c-39.2,0-77.4,13.4-107.8,37.9l22.7,22.7C222.2,248.3,252.4,238.1,283,238.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M417.7,490.8l-26.9-26.9l0.8-1c38.6-49.6,38.6-118.9,0-168.6l-0.8-1l26.9-26.9l1,1.3%20c25.5,31.2,39.6,70.6,39.6,111c0,40.4-14.1,79.8-39.6,111L417.7,490.8z%20M394.8,463.7l22.7,22.7c24.4-30.4,37.9-68.6,37.9-107.8%20c0-39.1-13.4-77.3-37.9-107.8l-22.7,22.7C433.1,343.8,433.1,413.4,394.8,463.7z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,553.9L283,553.9c-40.4,0-79.8-14.1-111-39.6l-1.3-1l26.9-26.9l1,0.8c23.9,18.6,53.9,28.9,84.3,28.9%20c30.4,0,60.4-10.2,84.3-28.9l1-0.8l26.9,26.9l-1.3,1C362.8,539.9,323.4,553.9,283,553.9z%20M175.2,513.1%20c30.4,24.4,68.6,37.9,107.7,37.9h0.1c39.1,0,77.3-13.4,107.8-37.9l-22.7-22.7c-24.3,18.5-54.4,28.7-85.1,28.7%20c-30.6,0-60.8-10.2-85.1-28.7L175.2,513.1z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,458c-43.8,0-79.4-35.6-79.4-79.4c0-43.8,35.6-79.4,79.4-79.4c43.8,0,79.4,35.6,79.4,79.4%20C362.4,422.4,326.8,458,283,458z%20M283,302.2c-42.1,0-76.4,34.3-76.4,76.4c0,42.1,34.3,76.4,76.4,76.4c42.1,0,76.4-34.3,76.4-76.4%20C359.4,336.5,325.1,302.2,283,302.2z'/%3e%3c/g%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='M283,493c-63.1,0-114.4-51.3-114.4-114.4S219.9,264.2,283,264.2c63.1,0,114.4,51.3,114.4,114.4%20S346.1,493,283,493z%20M283,267.2c-61.4,0-111.4,50-111.4,111.4S221.6,490,283,490c61.4,0,111.4-50,111.4-111.4%20S344.4,267.2,283,267.2z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",sf={area:$3,line:N3,bar:L3,column:F3,polar:j3,funnel:B3,pie:H3,scatter:z3,indicator:W3,table:V3,treemap:U3,areamap:af,scattermap:af,boxplot:G3,sunburst:Y3};function q3(e){var r;return(r=sf[e])!=null?r:sf["bar"]}const Zc=({iconType:e})=>{var s;const{themeSettings:t}=f.useThemeContext(),r=S.useRef(null),[n,o]=S.useState({width:null,height:null});S.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=q3(e),{t:a}=f.useTranslation();return f.jsxs("div",{ref:r,className:Bs.wrapper,children:[f.jsx("div",{className:Bs.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:X3(n.width,n.height)},children:a("chartNoData")}),i?f.jsx("img",{className:Bs.image,src:i}):null]})};function X3(e,t){return!e||!t?"18px":e<300?`${Math.max(Math.sqrt(e*e+t*t)*.045,18)}px`:`${Math.min(Math.max(t*.09,18),60)}px`}const K3=(e,t,r)=>({width:(t==null?void 0:t.width)||(e==null?void 0:e.width)||r.width,height:(t==null?void 0:t.height)||(e==null?void 0:e.height)||r.height}),ja=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i,debounceMs:a=300})=>{const s=S.useRef(null),[l,c]=S.useState(),d=S.useRef(null),p=S.useCallback(()=>{var _,k;const C={width:(_=s.current)==null?void 0:_.offsetWidth,height:(k=s.current)==null?void 0:k.offsetHeight};c(O=>{const P=(O==null?void 0:O.width)===0&&C.width===t.width,F=(O==null?void 0:O.height)===0&&C.height===t.height,W={width:P?O.width:C.width,height:F?O.height:C.height};return f.isEqual(O,W)?O:W})},[t]),h=S.useCallback(()=>{d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{p()},a)},[p,a]);S.useLayoutEffect(()=>{p()},[p]),S.useEffect(()=>{const C=s.current;if(!C)return;const _=new ResizeObserver(()=>{h()});return _.observe(C),()=>{_.disconnect(),d.current&&clearTimeout(d.current)}},[h]);const m=S.useMemo(()=>K3(l,r,t),[l,t,r]),v=!!l;S.useEffect(()=>{v&&i&&i(m)},[m,v,i]);const g={width:r!=null&&r.width&&!(o!=null&&o.width)?`${r.width}px`:"100%",height:r!=null&&r.height&&!(o!=null&&o.height)?`${r.height}px`:"100%"},y=(l==null?void 0:l.width)||(l==null?void 0:l.width)===void 0,b=(l==null?void 0:l.height)||(l==null?void 0:l.width)===void 0,T={width:y||o!=null&&o.width?"100%":`${m.width}px`,height:b||o!=null&&o.height?"100%":`${m.height}px`,position:"relative"},E=o!=null&&o.width||o!=null&&o.height?{position:"static",width:"100%",height:"100%"}:{position:"absolute",top:0,right:0,bottom:0,left:0},x=n?`${m==null?void 0:m.width}${m==null?void 0:m.height}`:"";return f.jsx("div",{style:g,ref:s,children:f.jsx("div",{style:T,children:f.jsx("div",{style:E,children:m&&(typeof e=="function"?e(m):e)})},x)})},Q0={width:400,height:500},Ba=e=>f.isTable(e)?{width:400,height:500}:f.isIndicator(e)?{width:200,height:200}:{width:400,height:400},Q3=25,Z0=(e,{hasHeader:t}={})=>{const r=e==="pivot"?Q0:Ba(e);return t&&(r.height=r.height+Q3),r},ao=({isVisible:e,children:t})=>{const{themeSettings:r}=f.useThemeContext();return f.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&f.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:f.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:f.jsx("div",{className:"csdk-h-full csdk-flex csdk-flex-col csdk-gap-y-4 csdk-items-center csdk-justify-center csdk-bg-transparent",children:f.jsx("div",{style:{backgroundColor:r.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:f.jsx(Ac,{color:r==null?void 0:r.chart.textColor})})})})}),t]})};function Ml(e,t,r=f.getBaseDateFnsLocale(),n=f.defaultDateConfig){const o=new Map;return[...t.breakBy?t.breakBy:[],...t.x?Array.isArray(t.x)?t.x:[t.x]:[],...t.columns?t.columns:[]].forEach(function(a){if(f.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(c){return c.name===a.column.name&&f.isDatetime(a.column.type)&&f.isDatetime(c.type)});s!==-1&&o.set(s,a.dateFormat)}),o.size===0||(e.rows=e.rows.map(function(a){return a.map(function(l,c){const d=o.get(c);if(!d)return l;let p,h;if(f.isCell(l))p=w({},l);else{const v=f.createCompareValue(`${l}`,"datetime");h=new Date(v.value),p={data:h.toISOString(),text:`${l}`}}if(!p.data)return l;let m=p.text;try{m=f.applyDateFormat(f.parseISOWithTimezoneCheck(p.data),d,r,n)}catch(v){console.error(v)}return p.text=m,p})})),e}function Z3(e,t){return eE(e,t)}const J3={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function eE(e,t){const r=J3[e];t.category.length>r.category&&console.warn(`Maximum 'category' length is limited to ${r.category} for '${e}' chart. Taken first ${r.category} categories`);const n=t.category.slice(0,r.category);let o=t.value;return(e!=="pie"||t.category.length>0)&&(t.value.length>r.value&&console.warn(`Maximum 'value' length is limited to ${r.value} for '${e}' chart. Taken first ${r.value} values`),o=t.value.slice(0,r.value)),$(w({},t),{category:n,value:o})}const Jc=e=>{const t={},r=n=>`$measure${n}_`;return e.forEach((n,o)=>{const i=n.name,s=`${r(o)}${i}`;n.name=s,t[s]=i}),t},tE=(e,t)=>{if(t==="funnel"){const r=f.merge(e);if(r.breakBy.length>0&&r.breakBy[0].sortType===void 0&&r.y.length>0&&r.y[0].sortType===void 0)return r.y[0].sortType="sortDesc",r}return e},J0=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new f.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name)===-1)throw new f.TranslatableError("errors.dataOptions.attributeNotFound",{attributeName:a.name})}),r.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name||l.name===n[a.name])===-1)throw new f.TranslatableError("errors.dataOptions.measureNotFound",{measureName:n[a.name]})}),o&&o.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new f.TranslatableError("errors.dataOptions.filterAttributeNotFound",{attributeName:a.attribute.name})}),i&&i.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new f.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function rE(e,t){switch(e){case"pie":case"funnel":case"treemap":return Z3(e,t);default:return t}}const eu=()=>{const[e,t]=S.useState();if(e)throw e;return t},nE=e=>e==="funnel"?e:f.deriveChartFamily(e),oE=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:l,setIsLoading:c,enabled:d=!0,loadData:p})=>{const h=eu(),m=S.useMemo(()=>nE(r),[r]),v=S.useMemo(()=>[void 0,t],[t]),[g,y]=S.useState({}),{app:b}=f.useSisenseContext();return S.useEffect(()=>{if(!d)return;let T=!1;const{filters:E,relations:x}=f.getFilterListAndRelationsJaql(a);if(yr(e)){if(!b)return;const C=p({app:b,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:E,filterRelations:x,highlights:s,count:b.settings.queryLimit}}),_=b==null?void 0:b.settings.loadingIndicatorConfig,k=setTimeout(()=>{_!=null&&_.enabled&&(c==null||c(!0))},_==null?void 0:_.delay);C.then(O=>{const P=Ml(O,t,b==null?void 0:b.settings.locale,b==null?void 0:b.settings.dateConfig);T||y({[m]:[P,t]})}).catch(O=>{h(O)}).finally(()=>{clearTimeout(k),_!=null&&_.enabled&&(c==null||c(!1))})}else{J0(e,n,o,i,E,s);const C=Ml(e,t,b==null?void 0:b.settings.locale,b==null?void 0:b.settings.dateConfig);y({[m]:[C,t]})}return()=>{T=!0}},[r,t,e,a,s,b,l,d]),g[m]||v},iE=(e,t)=>{switch(t){case"iqr":return D1(e);case"extremums":return $1(e);case"standardDeviation":return N1(e)}},aE=(e,t)=>{switch(t){case"iqr":return L1(e);case"standardDeviation":return F1(e)}},sE=(e,t,r)=>{const{column:n,style:o}=f.splitColumn(e);let i=iE(n,t),a;return o&&(i=i.map(s=>w({column:s},o))),r&&(a=aE(n,t),a&&o&&(a=w({column:a},o))),{values:i,outliers:a}},lE=e=>e.value.length>1,eg=e=>{var p;const{category:t}=e;let r,n,o;if(lE(e))r=e.value,o=e.valueTitle,n=(p=e.outliers)==null?void 0:p[0];else{const{outliersEnabled:h,boxType:m}=e,v=f.normalizeColumn(e.value[0]),{values:g,outliers:y}=sE(v,m,!!h);r=g,n=y,o=f.getDataOptionTitle(v)}const[i,a,s,l,c,d]=r;return{category:t[0]&&f.normalizeColumn(t[0]),boxMin:i&&f.normalizeMeasureColumn(i),boxMedian:a&&f.normalizeMeasureColumn(a),boxMax:s&&f.normalizeMeasureColumn(s),whiskerMin:l&&f.normalizeMeasureColumn(l),whiskerMax:c&&f.normalizeMeasureColumn(c),outliersCount:d&&f.normalizeMeasureColumn(d),outliers:n&&f.normalizeColumn(n),valueTitle:o}},lf={city:4,state:3,country:2,auto:1};function cE(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>lf[n]>lf[r]?n:r,"auto")}function uE(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(f.normalizeColumn),size:r&&f.normalizeMeasureColumn(r),colorBy:n&&f.normalizeMeasureColumn(n),details:o&&f.normalizeAnyColumn(o),locationLevel:cE(t)}}function dE(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[f.normalizeMeasureColumn(a)];const p=a,{lowerBound:s,upperBound:l,title:c}=p,d=te(p,["lowerBound","upperBound","title"]);return[f.normalizeMeasureColumn(w({column:f.safeMerge(s,{title:c})},d)),f.normalizeMeasureColumn(w({column:f.safeMerge(l,{title:c})},d))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(f.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(f.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}const fE=(e,t)=>{if(f.emptyTable(t))return{rows:[],columns:[]};const r=f.getColumnsByName(t,e);return f.selectColumns(t,r)},Ol=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case f.Sort.Ascending:return 1;case"sortDesc":case f.Sort.Descending:return-1;default:return 0}},pE=(e,t)=>{const r=e.columns.find(n=>Ol(n)!==0);if(r){const n=f.getColumnByName(t,r.column.name);n&&(n.direction=Ol(r))}return t},tg=e=>{if(!("sortType"in e))return e;const t=e.sortType,r=f.convertSortDirectionToSort(t);return $(w({},e),{sortType:t,column:hE(e.column,r)})};function hE(e,t){return mE(e)?gE(e,t):e}function gE(e,t){const r=e.sort(t);return f.isMeasureColumn(r)&&f.isMeasureColumn(e)&&(r.title=e.title),r}function mE(e){return"sort"in e&&typeof e.sort=="function"}const vE=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=Ol(r),i=n?o===1?"sortDesc":"sortAsc":"sortNone";return r.sortType=i,tg(r)})}),yE=(e,t)=>{const r=fE(e.columns.map(({column:{name:n}})=>n),t);return pE(e,r)};function bE(e,t){if(f.isCartesian(e))return f.translateCartesianChartDataOptions(t);if(f.isCategorical(e))return wE(t);if(f.isIndicator(e))return xE(t);if(f.isScatter(e))return CE(t);if(f.isBoxplot(e))return eg(t);if(f.isScattermap(e))return uE(t);if(f.isRange(e))return dE(t);throw new f.TranslatableError("errors.unexpectedChartType",{chartType:e})}const wE=e=>({y:e.value.map(f.normalizeMeasureColumn),breakBy:e.category.map(f.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),xE=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(f.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(f.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(f.normalizeMeasureColumn))==null?void 0:o.map(cf("min")),max:(a=(i=e.max)==null?void 0:i.map(f.normalizeMeasureColumn))==null?void 0:a.map(cf("max"))}},cf=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return $(w({},t),{column:f.safeMerge(r,{aggregation:n})})},CE=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&f.normalizeAnyColumn(t),y:r&&f.normalizeAnyColumn(r),breakByPoint:n&&f.normalizeColumn(n),breakByColor:o&&f.normalizeAnyColumn(o),size:i&&f.normalizeMeasureColumn(i),seriesToColorMap:a}};function EE(e,t){let r=[];return f.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:f.isCartesian(t)||f.isCategorical(t)||f.isRange(t)?r=["x","breakBy"]:f.isBoxplot(t)?r=["category","outliers"]:f.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!f.isMeasureColumn(o)).map(({column:o})=>o)}function TE(e,t){let r=[];return f.isIndicator(t)?r=["value","secondary","min","max"]:f.isScatter(t)?r=["x","y","breakByColor","size"]:f.isCartesian(t)||f.isCategorical(t)||f.isRange(t)?r=["y"]:f.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:f.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(f.isMeasureColumn).map(({column:o})=>o)}function rg(e){return{columns:e.columns.map(f.normalizeAnyColumn).map(tg)}}function SE(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(f.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(f.normalizeColumn),values:(n=e.values)==null?void 0:n.map(f.normalizeMeasureColumn),grandTotals:e.grandTotals}}function ng(e,t){{const r=rE(t,e),n=bE(t,r),o=tE(n,t),i=EE(o,t),a=TE(o,t);return{dataOptions:o,attributes:i,measures:a}}}const RE=(e,t)=>S.useMemo(()=>{if(f.isRestructuredChartType(t)){const r=f.getChartBuilder(t);if(!r.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return _E(r,e)}else return ME(e,t)},[e,t]);function _E(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=Jc(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function ME(e,t){const{dataOptions:r,attributes:n,measures:o}=ng(e,t),i=Jc(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function OE(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c}=e;return!o||!i?null:{dataSource:yr(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c}}const kE=(e,t)=>{const r=e.category&&f.getColumnByName(t,e.category.column.name);r&&(r.direction=f.sortDirection(e.category.sortType));const n=f.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?f.rownumColumnName:void 0),o=f.getIndexedRows(t.rows,r?[r]:[]),i=f.getColumnByName(t,e.boxMin.column.name),a=f.getColumnByName(t,e.boxMedian.column.name),s=f.getColumnByName(t,e.boxMax.column.name),l=f.getColumnByName(t,e.whiskerMin.column.name),c=f.getColumnByName(t,e.whiskerMax.column.name),d=e.outliers&&f.getColumnByName(t,e.outliers.column.name),p=[],h=[];n.forEach((v,g)=>{const y=o[v.key],b=y?y[0]:[],T=r&&!!f.isBlurred(b,r);p.push({q1:i?f.getValue(b,i):0,median:a?f.getValue(b,a):0,q3:s?f.getValue(b,s):0,low:l?f.getValue(b,l):0,high:c?f.getValue(b,c):0,blur:T});const E=d?b[d.index].rawValue.split(",").map(x=>parseFloat(x)):[];h.push(...E.map(x=>({x:g,y:x,blur:T})))});const m=[{name:e.valueTitle,title:e.valueTitle,data:p}];return h.length>0&&m.push({name:e.valueTitle,title:e.valueTitle,data:h}),{type:"boxplot",xValues:n,series:m}};function AE(e){return e.type==="boxplot"}const IE=2e4;function qn(e,t){if(e&&t){const r=t.column.name,n=e.findIndex(o=>o.name===r);return n===-1?null:n}return null}const og=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=qn(e.columns,r.category),o=qn(e.columns,r.whiskerMin),i=qn(e.columns,r.whiskerMax),a=qn(t.columns,r.category),s=qn(t.columns,r.outliers)),f.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(c=>{const d=f.isNull(n)?null:c[n].data,p=c[i].data,h=c[o].data,m=t.rows.filter(v=>{const g=f.isNull(a)?null:v[a].data,y=v[s].data;return g===d&&(y<h||y>p)}).map(v=>v[s].data).join(",");return[...c,{data:m}]})}};function PE(e,t,r){const n=r&&eg(r);return og(e,t,n)}const DE=(c,d)=>_t(exports,[c,d],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},l){var g;const p={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},h=yield l(p,e);let m=h;const v=t.outliersCount?$E(h,t.outliersCount.column.name):0;if(t.outliers&&v<IE){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const b=yield l(y,e);m=og(h,b,t)}catch(b){if((g=b==null?void 0:b.message)!=null&&g.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw b}}return m}),$E=(e,t)=>{if(!(e!=null&&e.columns))return 0;const r=e.columns.findIndex(({name:o})=>o===t);let n=0;return e.rows.forEach(o=>{n+=parseInt(o[r].data)}),n};function NE(e){return f.isRestructuredChartType(e)?f.getChartBuilder(e).data.loadData:e==="boxplot"?FE:LE}const LE=n=>_t(exports,[n],function*({app:e,queryDescription:t,executionConfig:r}){var a,s;return(((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?f.executeQueryWithCache:f.executeQuery)(t,e,r)}),FE=n=>_t(exports,[n],function*({app:e,chartDataOptionsInternal:t,queryDescription:r}){var a,s,l,c;const i=((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?f.executeQueryWithCache:f.executeQuery;return DE({app:e,chartDataOptions:t,dataSource:r.dataSource,attributes:(l=r.dimensions)!=null?l:[],measures:(c=r.measures)!=null?c:[],filters:r.filters,highlights:r.highlights,filterRelations:r.filterRelations},i)}),jE=(e,t)=>{const r=$(w({},e),{x:e.breakBy,breakBy:[]});let n=f.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>f.isNumber$1(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:l},numberFormatConfig:c},d)=>{const p=f.getCompleteNumberFormatConfig(c),h=a.xValues[d];f.isNumber$1(l)?s.push(f.applyFormatPlainText(p,parseFloat(h))):s.push(a.xValues[d])}),$(w({},a),{xValues:s})});n=$(w({},n),{xValues:i})}return $(w({},n),{type:"categorical"})},bi=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=f.getColumnByName(e,t[0].column.name);return r?[f.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},BE=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=bi(t,e.value);if(n===void 0)return r;const[o]=bi(t,e.secondary),[i]=bi(t,e.min),[a]=bi(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},HE="N\\A",zE=1,WE=(e,t)=>{const r=VE(e),n=e.locations&&f.getColumnsByName(t,e.locations.map(({column:{name:l}})=>l)),o=e.size&&f.getColumnByName(t,e.size.column.name),i=e.colorBy&&f.getColumnByName(t,e.colorBy.column.name),a=e.details&&f.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(l=>n.some(c=>f.getValue(l,c)!==HE)).map(l=>{const c=n.map(m=>f.getValue(l,m)),d=e3(c);let p;r&&(p={lat:f.getValue(l,n[0]),lng:f.getValue(l,n[1])});const h=n[0]&&!!f.isBlurred(l,n[0]);return w($(w(w({name:d,rawName:c,value:o?f.getValue(l,o):zE},i&&{colorValue:f.getValue(l,i)}),a&&{details:f.getValue(l,a)}),{blur:h}),p?{coordinates:p}:null)})}};function VE(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>f.isNumber$1(t)).length===2}const UE=(e,t,r)=>{if(f.isCartesian(e))return f.isForecastChart(t)?f.advancedAnalyticsData(t,r):f.cartesianData(t,r);if(f.isCategorical(e))return jE(t,r);if(f.isScatter(e))return f.scatterData(t,r);if(f.isScattermap(e))return WE(t,r);if(f.isIndicator(e))return BE(t,r);if(f.isBoxplot(e))return kE(t,r);if(f.isRange(e))return f.rangeData(t,r);throw new f.TranslatableError("errors.unexpectedChartType",{chartType:e})};var GE=1/0,YE=f.Set&&1/f.setToArray(new f.Set([,-0]))[1]==GE?function(e){return new f.Set(e)}:f.noop,qE=200;function tu(e,t,r){var n=-1,o=f.arrayIncludes,i=e.length,a=!0,s=[],l=s;if(i>=qE){var c=t?null:YE(e);if(c)return f.setToArray(c);a=!1,o=f.cacheHas,l=new f.SetCache}else l=t?[]:s;e:for(;++n<i;){var d=e[n],p=t?t(d):d;if(d=d!==0?d:0,a&&p===p){for(var h=l.length;h--;)if(l[h]===p)continue e;t&&l.push(p),s.push(d)}else o(l,p,r)||(l!==s&&l.push(p),s.push(d))}return s}var XE=f.baseRest(function(e){return tu(f.baseFlatten(e,1,f.isArrayLikeObject,!0))});const ig=(e,t,r,n={})=>{if(f.emptyTable(e))return{rows:[],columns:[]};const o=XE(f.getColumnsByName(e,t.map(d=>d.name))),i=e,s=[...r.map(d=>{var p,h;return{column:(p=n[d.name])!=null?p:d.name,title:d.name,agg:(h=d.aggregation)!=null?h:"sum"}}),{column:f.rownumColumnName,title:f.rownumColumnName,agg:"min"}],l=f.groupBy(i,o,s),c=f.getColumnByName(l,f.rownumColumnName);if(!c)throw new f.TranslatableError("errors.noRowNumColumn");return f.orderBy(l,[c])};function KE({dataSet:e,data:t,chartDataOptions:r,chartType:n,attributes:o,measures:i,dataColumnNamesMapping:a,onDataReady:s}){return S.useMemo(()=>{if(!t||!r)return null;let l;if(s&&(l=s(t),!sg(l)))throw new f.TranslatableError("errors.incorrectOnDataReadyHandler");const c=l||t;let d=f.createDataTableFromData(c);return yr(e)||(d=ig(d,o,i,a)),QE(n,r,d)},[t,n])}function QE(e,t,r){if(f.isRestructuredChartType(e)){const n=f.getChartBuilder(e);if(n.dataOptions.isCorrectDataOptionsInternal(t))return n.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return UE(e,t,r)}const ZE=e=>e,JE=({chartType:e,chartData:t,dataOptions:r,designOptions:n,onDataPointClick:o,onDataPointContextMenu:i,onDataPointsSelected:a,onBeforeRender:s=ZE,size:l})=>{const{app:c}=f.useSisenseContext(),{t:d}=f.useTranslation(),p=[],h=S.useCallback((y,b)=>f.applyDateFormat(y,b,c==null?void 0:c.settings.locale,c==null?void 0:c.settings.dateConfig),[]),{themeSettings:m}=f.useThemeContext(),v=S.useMemo(()=>{var _;const{options:y,alerts:b}=f.highchartsOptionsService(t,e,n,r,d,m,h);p.push(...b);const T=((_=c==null?void 0:c.settings.accessibilityConfig)==null?void 0:_.enabled)||!1,E=f.applyCommonHighchartsOptions(y,m,T),x=f.applyEventHandlersToChart(E,r,{onDataPointClick:o,onDataPointContextMenu:i,onDataPointsSelected:a}),C=f.applyThemeToChart(x,m);return s(C)},[e,t,r,n,m,o,i,s,d]),g=S.useMemo(()=>v?$(w({},v),{chart:w(w(w({},v.chart),(l==null?void 0:l.width)&&{width:l.width}),(l==null?void 0:l.height)&&{height:l.height})}):null,[v,l]);return g&&f.jsxs("div",{"aria-label":"chart-root",style:{display:"flex",justifyContent:"center",height:"100%",width:"100%"},children:[!!p.length&&f.jsx(f.AlertBox,{alerts:p}),f.jsx(f.HighchartsReactMemoized,{options:g})]})},eT=[...f.CARTESIAN_CHART_TYPES,...f.CATEGORICAL_CHART_TYPES,...f.SCATTER_CHART_TYPES,...f.BOXPLOT_CHART_TYPES,...f.RANGE_CHART_TYPES],ag=e=>eT.includes(e),tT=e=>!!e.chartType&&ag(e.chartType)&&!!e.chartData,rT=e=>e==="indicator",nT=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&f.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&K0(t)?t.locations.length===0:e==="boxplot"&&AE(t)?t.xValues.length===0:"series"in t&&t.series.length===0,Di=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:d,onBeforeRender:p,onDataReady:h}=e,[m,v]=S.useState(!1),g=Ba(t),{themeSettings:y}=f.useThemeContext(),{dataOptions:b,attributes:T,measures:E,dataColumnNamesMapping:x}=RE(n,t),C=T.length===0&&E.length===0,_=S.useMemo(()=>NE(t),[t]),[k,O]=oE({dataSet:r,chartDataOptions:b,chartType:t,attributes:T,measures:E,dataColumnNamesMapping:x,filters:o,highlights:i,refreshCounter:s,setIsLoading:v,enabled:!C,loadData:_}),P=S.useMemo(()=>n?f.prepareChartDesignOptions(t,O,a):null,[n,t,O,a]),F=KE({dataSet:r,data:k,chartDataOptions:b,chartType:t,attributes:T,measures:E,dataColumnNamesMapping:x,onDataReady:h}),W=OE({dataSet:r,chartType:t,chartData:F,internalDataOptions:O,designOptions:P,onBeforeRender:p,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:d,filters:o});return W?f.jsx(ja,{defaultSize:g,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:rT(t),children:R=>{if(!F&&m)return f.jsx(ma,{themeSettings:y});if(F&&nT(t,F)||C)return f.jsx(Zc,{iconType:t});if(f.isRestructuredChartType(t)){const A=f.getChartBuilder(t);return A.renderer.isCorrectRendererProps(W)?f.jsx(ao,{isVisible:m,children:f.jsx(A.renderer.ChartRendererComponent,$(w({},W),{size:R}))}):null}return t==="scattermap"&&A3(W)?f.jsx(ao,{isVisible:m,children:f.jsx(M3,w({},W))}):t==="indicator"&&MC(W)?f.jsx(ao,{isVisible:m,children:f.jsx(TC,w({},W))}):ag(t)&&tT(W)?f.jsx(ao,{isVisible:m,children:f.jsx(JE,$(w({},W),{designOptions:w({},W.designOptions),size:R}))}):null}}):null};function sg(e){return e&&typeof e=="object"&&"columns"in e&&f.isArray(e.columns)&&"rows"in e&&f.isArray(e.rows)}function oT(e){return Oe("MuiPagination",e)}ke("MuiPagination",["root","ul","outlined","text"]);function iT(e={}){const P=e,{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:d=!1,showLastButton:p=!1,siblingCount:h=1}=P,m=te(P,["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"]),[v,g]=Bc({controlled:c,default:o,name:r,state:"page"}),y=(F,W)=>{c||g(W),l&&l(F,W)},b=(F,W)=>{const R=W-F+1;return Array.from({length:R},(A,B)=>F+B)},T=b(1,Math.min(t,n)),E=b(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(v-h,n-t-h*2-1),t+2),C=Math.min(Math.max(v+h,t+h*2+2),n-t-1),_=[...d?["first"]:[],...s?[]:["previous"],...T,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...b(x,C),...C<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...E,...a?[]:["next"],...p?["last"]:[]],k=F=>{switch(F){case"first":return 1;case"previous":return v-1;case"next":return v+1;case"last":return n;default:return null}},O=_.map(F=>typeof F=="number"?{onClick:W=>{y(W,F)},type:"page",page:F,selected:F===v,disabled:i,"aria-current":F===v?"page":void 0}:{onClick:W=>{y(W,k(F))},type:F,page:k(F),selected:!1,disabled:i||!F.includes("ellipsis")&&(F==="next"||F==="last"?v>=n:v<=1)});return w({items:O},m)}function aT(e){return Oe("MuiPaginationItem",e)}const lt=ke("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),sT=In(Z.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),lT=In(Z.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),cT=In(Z.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),uT=In(Z.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),lg=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.variant==="text"&&t[`text${fe(r.color)}`],r.variant==="outlined"&&t[`outlined${fe(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},dT=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${fe(i)}`,l,a,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${l}${fe(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return Be(c,aT,t)},fT=de("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:lg})(Ye(({theme:e})=>$(w({},e.typography.body2),{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),pT=de(Yr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:lg})(Ye(({theme:e})=>$(w({},e.typography.body2),{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ne(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${lt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${lt.selected}`]:{[`&.${lt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${lt.selected}`]:{[`&.${lt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(Cr(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${lt.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${lt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(Cr(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${lt.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:Ne(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Ne(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ne(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}}))]}))),hT=de("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(Ye(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),cg=L.forwardRef(function(t,r){var H,Y,D,V;const n=Fe({props:t,name:"MuiPaginationItem"}),I=n,{className:o,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:d=!1,shape:p="circular",size:h="medium",slots:m={},slotProps:v={},type:g="page",variant:y="text"}=I,b=te(I,["className","color","component","components","disabled","page","selected","shape","size","slots","slotProps","type","variant"]),T=$(w({},n),{color:i,disabled:l,selected:d,shape:p,size:h,type:g,variant:y}),E=ya(),x=dT(T),C={slots:{previous:(H=m.previous)!=null?H:s.previous,next:(Y=m.next)!=null?Y:s.next,first:(D=m.first)!=null?D:s.first,last:(V=m.last)!=null?V:s.last},slotProps:v},[_,k]=tt("previous",{elementType:cT,externalForwardedProps:C,ownerState:T}),[O,P]=tt("next",{elementType:uT,externalForwardedProps:C,ownerState:T}),[F,W]=tt("first",{elementType:sT,externalForwardedProps:C,ownerState:T}),[R,A]=tt("last",{elementType:lT,externalForwardedProps:C,ownerState:T}),B=E?{previous:"next",next:"previous",first:"last",last:"first"}[g]:g,j={previous:_,next:O,first:F,last:R}[B],N={previous:k,next:P,first:W,last:A}[B];return g==="start-ellipsis"||g==="end-ellipsis"?Z.jsx(fT,{ref:r,ownerState:T,className:he(x.root,o),children:"…"}):Z.jsxs(pT,$(w({ref:r,ownerState:T,component:a,disabled:l,className:he(x.root,o)},b),{children:[g==="page"&&c,j?Z.jsx(hT,$(w({},N),{className:x.icon,as:j})):null]}))});process.env.NODE_ENV!=="production"&&(cg.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","standard"]),u.string]),component:u.elementType,components:u.shape({first:u.elementType,last:u.elementType,next:u.elementType,previous:u.elementType}),disabled:u.bool,page:u.node,selected:u.bool,shape:u.oneOf(["circular","rounded"]),size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),slotProps:u.shape({first:u.oneOfType([u.func,u.object]),last:u.oneOfType([u.func,u.object]),next:u.oneOfType([u.func,u.object]),previous:u.oneOfType([u.func,u.object])}),slots:u.shape({first:u.elementType,last:u.elementType,next:u.elementType,previous:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),type:u.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:u.oneOfType([u.oneOf(["outlined","text"]),u.string])});const gT=e=>{const{classes:t,variant:r}=e;return Be({root:["root",r],ul:["ul"]},oT,t)},mT=de("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),vT=de("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function yT(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const ug=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiPagination"}),F=n,{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:d=yT,hideNextButton:p=!1,hidePrevButton:h=!1,onChange:m,page:v,renderItem:g=W=>Z.jsx(cg,w({},W)),shape:y="circular",showFirstButton:b=!1,showLastButton:T=!1,siblingCount:E=1,size:x="medium",variant:C="text"}=F,_=te(F,["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"]),{items:k}=iT($(w({},n),{componentName:"Pagination"})),O=$(w({},n),{boundaryCount:o,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:d,hideNextButton:p,hidePrevButton:h,renderItem:g,shape:y,showFirstButton:b,showLastButton:T,siblingCount:E,size:x,variant:C}),P=gT(O);return Z.jsx(mT,$(w({"aria-label":"pagination navigation",className:he(P.root,i),ownerState:O,ref:r},_),{children:Z.jsx(vT,{className:P.ul,ownerState:O,children:k.map((W,R)=>Z.jsx("li",{children:g($(w({},W),{color:a,"aria-label":d(W.type,W.page,W.selected),shape:y,size:x,variant:C}))},R))})}))});process.env.NODE_ENV!=="production"&&(ug.propTypes={boundaryCount:Ut,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","standard"]),u.string]),count:Ut,defaultPage:Ut,disabled:u.bool,getItemAriaLabel:u.func,hideNextButton:u.bool,hidePrevButton:u.bool,onChange:u.func,page:Ut,renderItem:u.func,shape:u.oneOf(["circular","rounded"]),showFirstButton:u.bool,showLastButton:u.bool,siblingCount:Ut,size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["outlined","text"]),u.string])});const dg=e=>{const t=[],r=[];for(const n of e.columns)f.isMeasureColumn(n)?r.push(f.translateColumnToMeasure(n)):t.push(f.translateColumnToAttribute(n));return{attributes:t,measures:r}},bT=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=eu(),[s,l]=S.useState(yr(e)?null:e),[c,d]=S.useState(!1),p=S.useRef(!0),{isInitialized:h,app:m}=f.useSisenseContext(),[v,g]=S.useState(t);return S.useEffect(()=>{var E;let y=!1;if(!t)return;const{attributes:b,measures:T}=dg(t);if(yr(e)){if(!h){a(new f.TranslatableError("errors.chartNoSisenseContext"));return}if(!m||!p.current&&i>0)return;d(!0),((E=m.settings.queryCacheConfig)!=null&&E.enabled?f.executeQueryWithCache:f.executeQuery)({dataSource:e,dimensions:b,measures:T,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},m).then(C=>{if(y)return;p.current=C.rows.length>o;const _=p.current?C.rows.slice(0,o):C.rows;i>0?l(k=>{const O=k==null?void 0:k.rows.length,P=O?O>i?k.rows.slice(0,i):k.rows:null;return{columns:C.columns,rows:P?[...P,..._]:_}}):l({columns:C.columns,rows:_}),g(t)}).finally(()=>{d(!1)}).catch(C=>{y||a(C)})}else l(e),g(t);return()=>{y=!0}},[m,e,t,r,n,i,o,h,a]),[c?null:s,v]},wT=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=f.useSisenseContext();return S.useMemo(()=>{if(!e||!t)return null;let i=f.createDataTableFromData(Ml(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(l=>!f.isMeasureColumn(l)).map(f.translateColumnToAttribute),s=t.columns.filter(l=>f.isMeasureColumn(l)).map(f.translateColumnToMeasure);return J0(i,a,s,r),n&&(i=ig(i,a,s,r)),yE(t,i)},[e,t,n,r,o])};function Le(){return Le=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},Le.apply(null,arguments)}function Ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e){"@babel/helpers - typeof";return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(e)}function xT(e,t){if(ir(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ir(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fg(e){var t=xT(e,"string");return ir(t)=="symbol"?t:t+""}function uf(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,fg(n.key),n)}}function Ie(e,t,r){return t&&uf(e.prototype,t),r&&uf(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function kl(e,t){return kl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},kl(e,t)}function Ke(e,t){if(typeof t!="function"&&t!==null)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&&kl(e,t)}function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function at(e,t){if(t&&(ir(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q(e)}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},me(e)}function G(e,t,r){return(t=fg(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gt=function(t,r,n,o,i,a,s,l){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,o,i,a,s,l],p=0;c=new Error("Invariant Violation: "+r.replace(/%s/g,function(){return d[p++]}))}throw c.framesToPop=1,c}},wi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},CT=Array.isArray,Lt=CT,ET=typeof wi=="object"&&wi&&wi.Object===Object&&wi,pg=ET,TT=pg,ST=typeof self=="object"&&self&&self.Object===Object&&self,RT=TT||ST||Function("return this")(),Zt=RT,_T=Zt,MT=_T.Symbol,Qo=MT,df=Qo,hg=Object.prototype,OT=hg.hasOwnProperty,kT=hg.toString,Xn=df?df.toStringTag:void 0;function AT(e){var t=OT.call(e,Xn),r=e[Xn];try{e[Xn]=void 0;var n=!0}catch(i){}var o=kT.call(e);return n&&(t?e[Xn]=r:delete e[Xn]),o}var IT=AT,PT=Object.prototype,DT=PT.toString;function $T(e){return DT.call(e)}var NT=$T,ff=Qo,LT=IT,FT=NT,jT="[object Null]",BT="[object Undefined]",pf=ff?ff.toStringTag:void 0;function HT(e){return e==null?e===void 0?BT:jT:pf&&pf in Object(e)?LT(e):FT(e)}var qr=HT;function zT(e){return e!=null&&typeof e=="object"}var Sr=zT,WT=qr,VT=Sr,UT="[object Symbol]";function GT(e){return typeof e=="symbol"||VT(e)&&WT(e)==UT}var Ha=GT,YT=Lt,qT=Ha,XT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,KT=/^\w*$/;function QT(e,t){if(YT(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||qT(e)?!0:KT.test(e)||!XT.test(e)||t!=null&&e in Object(t)}var ZT=QT;function JT(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xr=JT,eS=qr,tS=Xr,rS="[object AsyncFunction]",nS="[object Function]",oS="[object GeneratorFunction]",iS="[object Proxy]";function aS(e){if(!tS(e))return!1;var t=eS(e);return t==nS||t==oS||t==rS||t==iS}var gg=aS,sS=Zt,lS=sS["__core-js_shared__"],cS=lS,Hs=cS,hf=function(){var e=/[^.]+$/.exec(Hs&&Hs.keys&&Hs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function uS(e){return!!hf&&hf in e}var dS=uS,fS=Function.prototype,pS=fS.toString;function hS(e){if(e!=null){try{return pS.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var mg=hS,gS=gg,mS=dS,vS=Xr,yS=mg,bS=/[\\^$.*+?()[\]{}|]/g,wS=/^\[object .+?Constructor\]$/,xS=Function.prototype,CS=Object.prototype,ES=xS.toString,TS=CS.hasOwnProperty,SS=RegExp("^"+ES.call(TS).replace(bS,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function RS(e){if(!vS(e)||mS(e))return!1;var t=gS(e)?SS:wS;return t.test(yS(e))}var _S=RS;function MS(e,t){return e==null?void 0:e[t]}var OS=MS,kS=_S,AS=OS;function IS(e,t){var r=AS(e,t);return kS(r)?r:void 0}var Kr=IS,PS=Kr,DS=PS(Object,"create"),za=DS,gf=za;function $S(){this.__data__=gf?gf(null):{},this.size=0}var NS=$S;function LS(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var FS=LS,jS=za,BS="__lodash_hash_undefined__",HS=Object.prototype,zS=HS.hasOwnProperty;function WS(e){var t=this.__data__;if(jS){var r=t[e];return r===BS?void 0:r}return zS.call(t,e)?t[e]:void 0}var VS=WS,US=za,GS=Object.prototype,YS=GS.hasOwnProperty;function qS(e){var t=this.__data__;return US?t[e]!==void 0:YS.call(t,e)}var XS=qS,KS=za,QS="__lodash_hash_undefined__";function ZS(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=KS&&t===void 0?QS:t,this}var JS=ZS,eR=NS,tR=FS,rR=VS,nR=XS,oR=JS;function Pn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pn.prototype.clear=eR;Pn.prototype.delete=tR;Pn.prototype.get=rR;Pn.prototype.has=nR;Pn.prototype.set=oR;var iR=Pn;function aR(){this.__data__=[],this.size=0}var sR=aR;function lR(e,t){return e===t||e!==e&&t!==t}var vg=lR,cR=vg;function uR(e,t){for(var r=e.length;r--;)if(cR(e[r][0],t))return r;return-1}var Wa=uR,dR=Wa,fR=Array.prototype,pR=fR.splice;function hR(e){var t=this.__data__,r=dR(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():pR.call(t,r,1),--this.size,!0}var gR=hR,mR=Wa;function vR(e){var t=this.__data__,r=mR(t,e);return r<0?void 0:t[r][1]}var yR=vR,bR=Wa;function wR(e){return bR(this.__data__,e)>-1}var xR=wR,CR=Wa;function ER(e,t){var r=this.__data__,n=CR(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var TR=ER,SR=sR,RR=gR,_R=yR,MR=xR,OR=TR;function Dn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Dn.prototype.clear=SR;Dn.prototype.delete=RR;Dn.prototype.get=_R;Dn.prototype.has=MR;Dn.prototype.set=OR;var Va=Dn,kR=Kr,AR=Zt,IR=kR(AR,"Map"),ru=IR,mf=iR,PR=Va,DR=ru;function $R(){this.size=0,this.__data__={hash:new mf,map:new(DR||PR),string:new mf}}var NR=$R;function LR(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var FR=LR,jR=FR;function BR(e,t){var r=e.__data__;return jR(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Ua=BR,HR=Ua;function zR(e){var t=HR(this,e).delete(e);return this.size-=t?1:0,t}var WR=zR,VR=Ua;function UR(e){return VR(this,e).get(e)}var GR=UR,YR=Ua;function qR(e){return YR(this,e).has(e)}var XR=qR,KR=Ua;function QR(e,t){var r=KR(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var ZR=QR,JR=NR,e_=WR,t_=GR,r_=XR,n_=ZR;function $n(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}$n.prototype.clear=JR;$n.prototype.delete=e_;$n.prototype.get=t_;$n.prototype.has=r_;$n.prototype.set=n_;var yg=$n,bg=yg,o_="Expected a function";function nu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(o_);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(nu.Cache||bg),r}nu.Cache=bg;var i_=nu,a_=i_,s_=500;function l_(e){var t=a_(e,function(n){return r.size===s_&&r.clear(),n}),r=t.cache;return t}var c_=l_,u_=c_,d_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f_=/\\(\\)?/g,p_=u_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(d_,function(r,n,o,i){t.push(o?i.replace(f_,"$1"):n||r)}),t}),h_=p_;function g_(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var m_=g_,vf=Qo,v_=m_,y_=Lt,b_=Ha,w_=1/0,yf=vf?vf.prototype:void 0,bf=yf?yf.toString:void 0;function wg(e){if(typeof e=="string")return e;if(y_(e))return v_(e,wg)+"";if(b_(e))return bf?bf.call(e):"";var t=e+"";return t=="0"&&1/e==-w_?"-0":t}var x_=wg,C_=x_;function E_(e){return e==null?"":C_(e)}var xg=E_,T_=Lt,S_=ZT,R_=h_,__=xg;function M_(e,t){return T_(e)?e:S_(e,t)?[e]:R_(__(e))}var Ga=M_,O_=Ha,k_=1/0;function A_(e){if(typeof e=="string"||O_(e))return e;var t=e+"";return t=="0"&&1/e==-k_?"-0":t}var ou=A_,I_=Ga,P_=ou;function D_(e,t){t=I_(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[P_(t[r++])];return r&&r==n?e:void 0}var Cg=D_,$_=Kr,N_=function(){try{var e=$_(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Eg=N_,wf=Eg;function L_(e,t,r){t=="__proto__"&&wf?wf(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Tg=L_,F_=Tg,j_=vg,B_=Object.prototype,H_=B_.hasOwnProperty;function z_(e,t,r){var n=e[t];(!(H_.call(e,t)&&j_(n,r))||r===void 0&&!(t in e))&&F_(e,t,r)}var iu=z_,W_=9007199254740991,V_=/^(?:0|[1-9]\d*)$/;function U_(e,t){var r=typeof e;return t=t==null?W_:t,!!t&&(r=="number"||r!="symbol"&&V_.test(e))&&e>-1&&e%1==0&&e<t}var au=U_,G_=iu,Y_=Ga,q_=au,xf=Xr,X_=ou;function K_(e,t,r,n){if(!xf(e))return e;t=Y_(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var l=X_(t[o]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=a){var d=s[l];c=n?n(d,l,s):void 0,c===void 0&&(c=xf(d)?d:q_(t[o+1])?[]:{})}G_(s,l,c),s=s[l]}return e}var Q_=K_,Z_=Cg,J_=Q_,e4=Ga;function t4(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=Z_(e,a);r(s,a)&&J_(i,e4(a,e),s)}return i}var r4=t4;function n4(e,t){return e!=null&&t in Object(e)}var o4=n4,i4=qr,a4=Sr,s4="[object Arguments]";function l4(e){return a4(e)&&i4(e)==s4}var c4=l4,Cf=c4,u4=Sr,Sg=Object.prototype,d4=Sg.hasOwnProperty,f4=Sg.propertyIsEnumerable,p4=Cf(function(){return arguments}())?Cf:function(e){return u4(e)&&d4.call(e,"callee")&&!f4.call(e,"callee")},Ya=p4,h4=9007199254740991;function g4(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=h4}var su=g4,m4=Ga,v4=Ya,y4=Lt,b4=au,w4=su,x4=ou;function C4(e,t,r){t=m4(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=x4(t[n]);if(!(i=e!=null&&r(e,a)))break;e=e[a]}return i||++n!=o?i:(o=e==null?0:e.length,!!o&&w4(o)&&b4(a,o)&&(y4(e)||v4(e)))}var E4=C4,T4=o4,S4=E4;function R4(e,t){return e!=null&&S4(e,t,T4)}var _4=R4,M4=r4,O4=_4;function k4(e,t){return M4(e,t,function(r,n){return O4(e,n)})}var A4=k4;function I4(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var qa=I4,Ef=Qo,P4=Ya,D4=Lt,Tf=Ef?Ef.isConcatSpreadable:void 0;function $4(e){return D4(e)||P4(e)||!!(Tf&&e&&e[Tf])}var N4=$4,L4=qa,F4=N4;function Rg(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=F4),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?Rg(s,t-1,r,n,o):L4(o,s):n||(o[o.length]=s)}return o}var _g=Rg,j4=_g;function B4(e){var t=e==null?0:e.length;return t?j4(e,1):[]}var H4=B4;function z4(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var W4=z4,V4=W4,Sf=Math.max;function U4(e,t,r){return t=Sf(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=Sf(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),V4(e,this,s)}}var G4=U4;function Y4(e){return function(){return e}}var q4=Y4;function X4(e){return e}var Mg=X4,K4=q4,Rf=Eg,Q4=Mg,Z4=Rf?function(e,t){return Rf(e,"toString",{configurable:!0,enumerable:!1,value:K4(t),writable:!0})}:Q4,J4=Z4,eM=800,tM=16,rM=Date.now;function nM(e){var t=0,r=0;return function(){var n=rM(),o=tM-(n-r);if(r=n,o>0){if(++t>=eM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var oM=nM,iM=J4,aM=oM,sM=aM(iM),lM=sM,cM=H4,uM=G4,dM=lM;function fM(e){return dM(uM(e,void 0,cM),e+"")}var pM=fM,hM=A4,gM=pM,mM=gM(function(e,t){return e==null?{}:hM(e,t)}),so=mM;function _f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Mf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_f(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_f(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function it(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Of=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zs=function(){return Math.random().toString(36).substring(7).split("").join(".")},jr={INIT:"@@redux/INIT"+zs(),REPLACE:"@@redux/REPLACE"+zs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zs()}};function Og(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function vM(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(wM(e))return"date";if(bM(e))return"error";var r=yM(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function yM(e){return typeof e.constructor=="function"?e.constructor.name:null}function bM(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function wM(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function fr(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=vM(e)),t}function kg(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?it(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?it(1):"Expected the enhancer to be a function. Instead, received: '"+fr(r)+"'");return r(kg)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?it(2):"Expected the root reducer to be a function. Instead, received: '"+fr(e)+"'");var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(process.env.NODE_ENV==="production"?it(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function p(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?it(4):"Expected the listener to be a function. Instead, received: '"+fr(g)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?it(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return c(),s.push(g),function(){if(y){if(l)throw new Error(process.env.NODE_ENV==="production"?it(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c();var T=s.indexOf(g);s.splice(T,1),a=null}}}function h(g){if(!Og(g))throw new Error(process.env.NODE_ENV==="production"?it(7):"Actions must be plain objects. Instead, the actual type was: '"+fr(g)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof g.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?it(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?it(9):"Reducers may not dispatch actions.");try{l=!0,i=o(i,g)}finally{l=!1}for(var y=a=s,b=0;b<y.length;b++){var T=y[b];T()}return g}function m(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?it(10):"Expected the nextReducer to be a function. Instead, received: '"+fr(g));o=g,h({type:jr.REPLACE})}function v(){var g,y=p;return g={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(process.env.NODE_ENV==="production"?it(11):"Expected the observer to be an object. Instead, received: '"+fr(T)+"'");function E(){T.next&&T.next(d())}E();var x=y(E);return{unsubscribe:x}}},g[Of]=function(){return this},g}return h({type:jr.INIT}),n={dispatch:h,subscribe:p,getState:d,replaceReducer:m},n[Of]=v,n}function Al(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function xM(e,t,r,n){var o=Object.keys(t),i=r&&r.type===jr.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Og(e))return"The "+i+' has unexpected type of "'+fr(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===jr.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function CM(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:jr.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?it(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:jr.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?it(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+jr.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function EM(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];process.env.NODE_ENV!=="production"&&typeof e[o]=="undefined"&&Al('No reducer provided for key "'+o+'"'),typeof e[o]=="function"&&(r[o]=e[o])}var i=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{CM(r)}catch(l){s=l}return function(c,d){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var p=xM(c,r,d,a);p&&Al(p)}for(var h=!1,m={},v=0;v<i.length;v++){var g=i[v],y=r[g],b=c[g],T=y(b,d);if(typeof T=="undefined"){var E=d&&d.type;throw new Error(process.env.NODE_ENV==="production"?it(14):"When called with an action of type "+(E?'"'+String(E)+'"':"(unknown type)")+', the slice reducer for key "'+g+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}m[g]=T,h=h||T!==b}return h=h||i.length!==Object.keys(c).length,h?m:c}}function kf(e,t){return function(){return t(e.apply(this,arguments))}}function Ag(e,t){if(typeof e=="function")return kf(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?it(16):"bindActionCreators expected an object or a function, but instead received: '"+fr(e)+`'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);var r={};for(var n in e){var o=e[n];typeof o=="function"&&(r[n]=kf(o,t))}return r}function Zi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function TM(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?it(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=Zi.apply(void 0,s)(o.dispatch),Mf(Mf({},o),{},{dispatch:i})}}}function Af(){}process.env.NODE_ENV!=="production"&&typeof Af.name=="string"&&Af.name!=="isCrushed"&&Al('You are currently using minified code outside of NODE_ENV === "production". This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) to ensure you have the correct code for your production build.');var SM=Va;function RM(){this.__data__=new SM,this.size=0}var _M=RM;function MM(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var OM=MM;function kM(e){return this.__data__.get(e)}var AM=kM;function IM(e){return this.__data__.has(e)}var PM=IM,DM=Va,$M=ru,NM=yg,LM=200;function FM(e,t){var r=this.__data__;if(r instanceof DM){var n=r.__data__;if(!$M||n.length<LM-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new NM(n)}return r.set(e,t),this.size=r.size,this}var jM=FM,BM=Va,HM=_M,zM=OM,WM=AM,VM=PM,UM=jM;function Nn(e){var t=this.__data__=new BM(e);this.size=t.size}Nn.prototype.clear=HM;Nn.prototype.delete=zM;Nn.prototype.get=WM;Nn.prototype.has=VM;Nn.prototype.set=UM;var GM=Nn;function YM(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var Ig=YM,qM=iu,XM=Tg;function KM(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=n?n(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),o?XM(r,s,l):qM(r,s,l)}return r}var Xa=KM;function QM(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var ZM=QM,ko={exports:{}};function JM(){return!1}var e5=JM;(function(e,t){var r=Zt,n=e5,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(ko,ko.exports);var t5=qr,r5=su,n5=Sr,o5="[object Arguments]",i5="[object Array]",a5="[object Boolean]",s5="[object Date]",l5="[object Error]",c5="[object Function]",u5="[object Map]",d5="[object Number]",f5="[object Object]",p5="[object RegExp]",h5="[object Set]",g5="[object String]",m5="[object WeakMap]",v5="[object ArrayBuffer]",y5="[object DataView]",b5="[object Float32Array]",w5="[object Float64Array]",x5="[object Int8Array]",C5="[object Int16Array]",E5="[object Int32Array]",T5="[object Uint8Array]",S5="[object Uint8ClampedArray]",R5="[object Uint16Array]",_5="[object Uint32Array]",Pe={};Pe[b5]=Pe[w5]=Pe[x5]=Pe[C5]=Pe[E5]=Pe[T5]=Pe[S5]=Pe[R5]=Pe[_5]=!0;Pe[o5]=Pe[i5]=Pe[v5]=Pe[a5]=Pe[y5]=Pe[s5]=Pe[l5]=Pe[c5]=Pe[u5]=Pe[d5]=Pe[f5]=Pe[p5]=Pe[h5]=Pe[g5]=Pe[m5]=!1;function M5(e){return n5(e)&&r5(e.length)&&!!Pe[t5(e)]}var O5=M5;function k5(e){return function(t){return e(t)}}var lu=k5,Ao={exports:{}};(function(e,t){var r=pg,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=s})(Ao,Ao.exports);var A5=O5,I5=lu,If=Ao.exports,Pf=If&&If.isTypedArray,P5=Pf?I5(Pf):A5,Pg=P5,D5=ZM,$5=Ya,N5=Lt,L5=ko.exports,F5=au,j5=Pg,B5=Object.prototype,H5=B5.hasOwnProperty;function z5(e,t){var r=N5(e),n=!r&&$5(e),o=!r&&!n&&L5(e),i=!r&&!n&&!o&&j5(e),a=r||n||o||i,s=a?D5(e.length,String):[],l=s.length;for(var c in e)(t||H5.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||F5(c,l)))&&s.push(c);return s}var Dg=z5,W5=Object.prototype;function V5(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||W5;return e===r}var Ka=V5;function U5(e,t){return function(r){return e(t(r))}}var $g=U5,G5=$g,Y5=G5(Object.keys,Object),q5=Y5,X5=Ka,K5=q5,Q5=Object.prototype,Z5=Q5.hasOwnProperty;function J5(e){if(!X5(e))return K5(e);var t=[];for(var r in Object(e))Z5.call(e,r)&&r!="constructor"&&t.push(r);return t}var cu=J5,eO=gg,tO=su;function rO(e){return e!=null&&tO(e.length)&&!eO(e)}var Zo=rO,nO=Dg,oO=cu,iO=Zo;function aO(e){return iO(e)?nO(e):oO(e)}var Qa=aO,sO=Xa,lO=Qa;function cO(e,t){return e&&sO(t,lO(t),e)}var uO=cO;function dO(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var fO=dO,pO=Xr,hO=Ka,gO=fO,mO=Object.prototype,vO=mO.hasOwnProperty;function yO(e){if(!pO(e))return gO(e);var t=hO(e),r=[];for(var n in e)n=="constructor"&&(t||!vO.call(e,n))||r.push(n);return r}var bO=yO,wO=Dg,xO=bO,CO=Zo;function EO(e){return CO(e)?wO(e,!0):xO(e)}var uu=EO,TO=Xa,SO=uu;function RO(e,t){return e&&TO(t,SO(t),e)}var _O=RO,Il={exports:{}};(function(e,t){var r=Zt,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(c,d){if(d)return c.slice();var p=c.length,h=s?s(p):new c.constructor(p);return c.copy(h),h}e.exports=l})(Il,Il.exports);function MO(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Ng=MO;function OO(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}var kO=OO;function AO(){return[]}var Lg=AO,IO=kO,PO=Lg,DO=Object.prototype,$O=DO.propertyIsEnumerable,Df=Object.getOwnPropertySymbols,NO=Df?function(e){return e==null?[]:(e=Object(e),IO(Df(e),function(t){return $O.call(e,t)}))}:PO,du=NO,LO=Xa,FO=du;function jO(e,t){return LO(e,FO(e),t)}var BO=jO,HO=$g,zO=HO(Object.getPrototypeOf,Object),Fg=zO,WO=qa,VO=Fg,UO=du,GO=Lg,YO=Object.getOwnPropertySymbols,qO=YO?function(e){for(var t=[];e;)WO(t,UO(e)),e=VO(e);return t}:GO,jg=qO,XO=Xa,KO=jg;function QO(e,t){return XO(e,KO(e),t)}var ZO=QO,JO=qa,ek=Lt;function tk(e,t,r){var n=t(e);return ek(e)?n:JO(n,r(e))}var Bg=tk,rk=Bg,nk=du,ok=Qa;function ik(e){return rk(e,ok,nk)}var ak=ik,sk=Bg,lk=jg,ck=uu;function uk(e){return sk(e,ck,lk)}var dk=uk,fk=Kr,pk=Zt,hk=fk(pk,"DataView"),gk=hk,mk=Kr,vk=Zt,yk=mk(vk,"Promise"),bk=yk,wk=Kr,xk=Zt,Ck=wk(xk,"Set"),Ek=Ck,Tk=Kr,Sk=Zt,Rk=Tk(Sk,"WeakMap"),_k=Rk,Pl=gk,Dl=ru,$l=bk,Nl=Ek,Ll=_k,Hg=qr,Ln=mg,$f="[object Map]",Mk="[object Object]",Nf="[object Promise]",Lf="[object Set]",Ff="[object WeakMap]",jf="[object DataView]",Ok=Ln(Pl),kk=Ln(Dl),Ak=Ln($l),Ik=Ln(Nl),Pk=Ln(Ll),Ir=Hg;(Pl&&Ir(new Pl(new ArrayBuffer(1)))!=jf||Dl&&Ir(new Dl)!=$f||$l&&Ir($l.resolve())!=Nf||Nl&&Ir(new Nl)!=Lf||Ll&&Ir(new Ll)!=Ff)&&(Ir=function(e){var t=Hg(e),r=t==Mk?e.constructor:void 0,n=r?Ln(r):"";if(n)switch(n){case Ok:return jf;case kk:return $f;case Ak:return Nf;case Ik:return Lf;case Pk:return Ff}return t});var Jo=Ir,Dk=Object.prototype,$k=Dk.hasOwnProperty;function Nk(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&$k.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Lk=Nk,Fk=Zt,jk=Fk.Uint8Array,Bk=jk,Bf=Bk;function Hk(e){var t=new e.constructor(e.byteLength);return new Bf(t).set(new Bf(e)),t}var fu=Hk,zk=fu;function Wk(e,t){var r=t?zk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Vk=Wk,Uk=/\w*$/;function Gk(e){var t=new e.constructor(e.source,Uk.exec(e));return t.lastIndex=e.lastIndex,t}var Yk=Gk,Hf=Qo,zf=Hf?Hf.prototype:void 0,Wf=zf?zf.valueOf:void 0;function qk(e){return Wf?Object(Wf.call(e)):{}}var Xk=qk,Kk=fu;function Qk(e,t){var r=t?Kk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Zk=Qk,Jk=fu,eA=Vk,tA=Yk,rA=Xk,nA=Zk,oA="[object Boolean]",iA="[object Date]",aA="[object Map]",sA="[object Number]",lA="[object RegExp]",cA="[object Set]",uA="[object String]",dA="[object Symbol]",fA="[object ArrayBuffer]",pA="[object DataView]",hA="[object Float32Array]",gA="[object Float64Array]",mA="[object Int8Array]",vA="[object Int16Array]",yA="[object Int32Array]",bA="[object Uint8Array]",wA="[object Uint8ClampedArray]",xA="[object Uint16Array]",CA="[object Uint32Array]";function EA(e,t,r){var n=e.constructor;switch(t){case fA:return Jk(e);case oA:case iA:return new n(+e);case pA:return eA(e,r);case hA:case gA:case mA:case vA:case yA:case bA:case wA:case xA:case CA:return nA(e,r);case aA:return new n;case sA:case uA:return new n(e);case lA:return tA(e);case cA:return new n;case dA:return rA(e)}}var TA=EA,SA=Xr,Vf=Object.create,RA=function(){function e(){}return function(t){if(!SA(t))return{};if(Vf)return Vf(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),_A=RA,MA=_A,OA=Fg,kA=Ka;function AA(e){return typeof e.constructor=="function"&&!kA(e)?MA(OA(e)):{}}var IA=AA,PA=Jo,DA=Sr,$A="[object Map]";function NA(e){return DA(e)&&PA(e)==$A}var LA=NA,FA=LA,jA=lu,Uf=Ao.exports,Gf=Uf&&Uf.isMap,BA=Gf?jA(Gf):FA,HA=BA,zA=Jo,WA=Sr,VA="[object Set]";function UA(e){return WA(e)&&zA(e)==VA}var GA=UA,YA=GA,qA=lu,Yf=Ao.exports,qf=Yf&&Yf.isSet,XA=qf?qA(qf):YA,KA=XA,QA=GM,ZA=Ig,JA=iu,eI=uO,tI=_O,rI=Il.exports,nI=Ng,oI=BO,iI=ZO,aI=ak,sI=dk,lI=Jo,cI=Lk,uI=TA,dI=IA,fI=Lt,pI=ko.exports,hI=HA,gI=Xr,mI=KA,vI=Qa,yI=uu,bI=1,wI=2,xI=4,zg="[object Arguments]",CI="[object Array]",EI="[object Boolean]",TI="[object Date]",SI="[object Error]",Wg="[object Function]",RI="[object GeneratorFunction]",_I="[object Map]",MI="[object Number]",Vg="[object Object]",OI="[object RegExp]",kI="[object Set]",AI="[object String]",II="[object Symbol]",PI="[object WeakMap]",DI="[object ArrayBuffer]",$I="[object DataView]",NI="[object Float32Array]",LI="[object Float64Array]",FI="[object Int8Array]",jI="[object Int16Array]",BI="[object Int32Array]",HI="[object Uint8Array]",zI="[object Uint8ClampedArray]",WI="[object Uint16Array]",VI="[object Uint32Array]",Me={};Me[zg]=Me[CI]=Me[DI]=Me[$I]=Me[EI]=Me[TI]=Me[NI]=Me[LI]=Me[FI]=Me[jI]=Me[BI]=Me[_I]=Me[MI]=Me[Vg]=Me[OI]=Me[kI]=Me[AI]=Me[II]=Me[HI]=Me[zI]=Me[WI]=Me[VI]=!0;Me[SI]=Me[Wg]=Me[PI]=!1;function $i(e,t,r,n,o,i){var a,s=t&bI,l=t&wI,c=t&xI;if(r&&(a=o?r(e,n,o,i):r(e)),a!==void 0)return a;if(!gI(e))return e;var d=fI(e);if(d){if(a=cI(e),!s)return nI(e,a)}else{var p=lI(e),h=p==Wg||p==RI;if(pI(e))return rI(e,s);if(p==Vg||p==zg||h&&!o){if(a=l||h?{}:dI(e),!s)return l?iI(e,tI(a,e)):oI(e,eI(a,e))}else{if(!Me[p])return o?e:{};a=uI(e,p,s)}}i||(i=new QA);var m=i.get(e);if(m)return m;i.set(e,a),mI(e)?e.forEach(function(y){a.add($i(y,t,r,y,e,i))}):hI(e)&&e.forEach(function(y,b){a.set(b,$i(y,t,r,b,e,i))});var v=c?l?sI:aI:l?yI:vI,g=d?void 0:v(e);return ZA(g||e,function(y,b){g&&(b=y,y=e[b]),JA(a,b,$i(y,t,r,b,e,i))}),a}var UI=$i,GI=UI,YI=4;function qI(e){return GI(e,YI)}var XI=qI;function KI(e,t){return e<t}var xi=function(){function e(t,r){Ae(this,e),this._items=t||[],this._size=this._items.length,this._comparator=r||KI,this._heapify()}return Ie(e,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var r=this._items[0],n=this._items.pop();return this._size--,this._size>0&&(this._items[0]=n,this._sinkDown(0)),r}}},{key:"push",value:function(r){this._items[this._size++]=r,this._bubbleUp(this._size-1)}},{key:"size",value:function(){return this._size}},{key:"peek",value:function(){if(this._size!==0)return this._items[0]}},{key:"_heapify",value:function(){for(var r=Math.floor((this._size+1)/2);r>=0;r--)this._sinkDown(r)}},{key:"_bubbleUp",value:function(r){for(var n=this._items[r];r>0;){var o=Math.floor((r+1)/2)-1,i=this._items[o];if(this._comparator(i,n))return;this._items[o]=n,this._items[r]=i,r=o}}},{key:"_sinkDown",value:function(r){for(var n=this._items[r];;){var o=2*(r+1)-1,i=2*(r+1),a=-1;if(o<this._size){var s=this._items[o];this._comparator(s,n)&&(a=o)}if(i<this._size){var l=this._items[i];this._comparator(l,n)&&(a===-1||this._comparator(l,this._items[a]))&&(a=i)}if(a===-1)return;this._items[r]=this._items[a],this._items[a]=n,r=a}}}]),e}(),Ug=function(){function e(){Ae(this,e),this._valueToPositionMap={},this._size=0,this._smallValues=new xi([],this._smallerComparator),this._largeValues=new xi([],this._greaterComparator),this.getNewPositionForValue=this.getNewPositionForValue.bind(this),this.getValuePosition=this.getValuePosition.bind(this),this.getSize=this.getSize.bind(this),this.replaceFurthestValuePosition=this.replaceFurthestValuePosition.bind(this)}return Ie(e,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(r){return this._valueToPositionMap[r]===void 0?null:this._valueToPositionMap[r]}},{key:"getNewPositionForValue",value:function(r){Gt(this._valueToPositionMap[r]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var n=this._size;return this._size++,this._pushToHeaps(n,r),this._valueToPositionMap[r]=n,n}},{key:"replaceFurthestValuePosition",value:function(r,n,o){if(Gt(this._valueToPositionMap[o]===void 0,"Shouldn't try to replace values with value already stored value in BufferSet"),this._cleanHeaps(),this._smallValues.empty()||this._largeValues.empty())return null;var i=this._smallValues.peek().value,a=this._largeValues.peek().value;if(i>=r&&a<=n)return null;var s;r-i>a-n?(s=i,this._smallValues.pop()):(s=a,this._largeValues.pop());var l=this._valueToPositionMap[s];return delete this._valueToPositionMap[s],this._valueToPositionMap[o]=l,this._pushToHeaps(l,o),l}},{key:"_pushToHeaps",value:function(r,n){var o={position:r,value:n};this._smallValues.push(o),this._largeValues.push(o)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var r=Math.min(this._smallValues.size(),this._largeValues.size()),n=Math.max(this._smallValues.size(),this._largeValues.size());n>10*r&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var r=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,n=new xi([],this._smallerComparator),o=new xi([],this._greaterComparator);!r.empty();){var i=r.pop();this._valueToPositionMap[i.value]!==void 0&&(n.push(i),o.push(i))}this._smallValues=n,this._largeValues=o}},{key:"_cleanHeap",value:function(r){for(;!r.empty()&&this._valueToPositionMap[r.peek().value]===void 0;)r.pop()}},{key:"_smallerComparator",value:function(r,n){return r.value<n.value}},{key:"_greaterComparator",value:function(r,n){return r.value>n.value}}]),e}(),ct=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ws=function(t){return Math.floor(t/2)},QI=ct.Int32Array||function(e){for(var t=[],r=e-1;r>=0;--r)t[r]=0;return t};function ZI(e){for(var t=1;t<e;)t*=2;return t}var JI=function(){function e(t){Ae(this,e),this._size=t.length,this._half=ZI(this._size),this._heap=new QI(2*this._half);var r;for(r=0;r<this._size;++r)this._heap[this._half+r]=t[r];for(r=this._half-1;r>0;--r)this._heap[r]=this._heap[2*r]+this._heap[2*r+1]}return Ie(e,[{key:"set",value:function(r,n){Gt(0<=r&&r<this._size,"Index out of range %s",r);var o=this._half+r;for(this._heap[o]=n,o=Ws(o);o!==0;o=Ws(o))this._heap[o]=this._heap[2*o]+this._heap[2*o+1]}},{key:"get",value:function(r){Gt(0<=r&&r<this._size,"Index out of range %s",r);var n=this._half+r;return this._heap[n]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(r){if(Gt(0<=r&&r<this._size+1,"Index out of range %s",r),r===0)return 0;for(var n=this._half+r-1,o=this._heap[n];n!==1;n=Ws(n))n%2===1&&(o+=this._heap[n-1]);return o}},{key:"sumTo",value:function(r){return Gt(0<=r&&r<this._size,"Index out of range %s",r),this.sumUntil(r+1)}},{key:"sum",value:function(r,n){return Gt(r<=n,"Begin must precede end"),this.sumUntil(n)-this.sumUntil(r)}},{key:"greatestLowerBound",value:function(r){if(r<0)return-1;var n=1;if(this._heap[n]<=r)return this._size;for(;n<this._half;){var o=this._heap[2*n];r<o?n=2*n:(n=2*n+1,r-=o)}return n-this._half}},{key:"greatestStrictLowerBound",value:function(r){if(r<=0)return-1;var n=1;if(this._heap[n]<r)return this._size;for(;n<this._half;){var o=this._heap[2*n];r<=o?n=2*n:(n=2*n+1,r-=o)}return n-this._half}},{key:"leastUpperBound",value:function(r){return this.greatestStrictLowerBound(r)+1}},{key:"leastStrictUpperBound",value:function(r){return this.greatestLowerBound(r)+1}}],[{key:"uniform",value:function(r,n){for(var o=[],i=r-1;i>=0;--i)o[i]=n;return new e(o)}},{key:"empty",value:function(r){return e.uniform(r,0)}}]),e}();function Io(e,t){if(e===t)return!0;if(ir(e)!=="object"||e===null||ir(t)!=="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!o(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}var le={FIXED:"fixed",FIXED_RIGHT:"fixedRight",SCROLLABLE:"scrollable"};function Fl(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=eP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
245
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function eP(e,t){if(e){if(typeof e=="string")return Xf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xf(e,t)}}function Xf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vs(e){var t=e.props,r=t.align,n=t.allowCellsRecycling,o=t.cellClassName,i=t.columnKey,a=t.flexGrow,s=t.fixed,l=t.fixedRight,c=t.maxWidth,d=t.minWidth,p=t.isReorderable,h=t.isResizable,m=t.pureRendering,v=t.width;return{align:r,allowCellsRecycling:n,cellClassName:o,columnKey:i,flexGrow:a,fixed:s,fixedRight:l,maxWidth:c,minWidth:d,isReorderable:p,isResizable:h,pureRendering:m,width:v}}function Kf(e,t){e.cell.push(t.props.cell),e.footer.push(t.props.footer),e.header.push(t.props.header)}function jl(e){var t,r;return e!=null&&(t=e.props)!==null&&t!==void 0&&t.fixed?le.FIXED:e!=null&&(r=e.props)!==null&&r!==void 0&&r.fixedRight?le.FIXED_RIGHT:le.SCROLLABLE}function Po(){var e;return e={},G(e,le.FIXED,[]),G(e,le.SCROLLABLE,[]),G(e,le.FIXED_RIGHT,[]),e}function tP(){return{groupHeader:[],header:[],cell:[],footer:[]}}function Qf(e){var t=Po(),r=Fl(e),n;try{for(r.s();!(n=r.n()).done;){var o=n.value,i=jl(o);t[i].push(o)}}catch(s){r.e(s)}finally{r.f()}var a=[];return a.push.apply(a,t[le.FIXED]),a.push.apply(a,t[le.SCROLLABLE]),a.push.apply(a,t[le.FIXED_RIGHT]),a}function Zf(e,t){return t===le.FIXED?e[le.FIXED].length:t===le.SCROLLABLE?e[le.FIXED].length+e[le.SCROLLABLE].length:e[le.FIXED].length+e[le.SCROLLABLE].length+e[le.FIXED_RIGHT].length}function rP(e){var t,r,n=[];S.Children.forEach(e,function(m,v){m!=null&&(Gt(m.type.__TableColumnGroup__||m.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),n.push(m))});var o=Po(),i=Po(),a=tP(),s=(t=(r=n[0])===null||r===void 0?void 0:r.type.__TableColumnGroup__)!==null&&t!==void 0?t:!1;if(s)(function(){var m=0,v=Fl(Qf(n)),g;try{var y=function(){var T=g.value,E=jl(T),x=Vs(T);x.index=Zf(i,E),i[E].push(x),a.groupHeader.push(T.props.header),S.Children.forEach(T.props.children,function(C){var _=Vs(C);_.index=m++,_.groupIdx=x.index,o[E].push(_),Kf(a,C)})};for(v.s();!(g=v.n()).done;)y()}catch(b){v.e(b)}finally{v.f()}})();else{var l=Fl(Qf(n)),c;try{for(l.s();!(c=l.n()).done;){var d=c.value,p=jl(d),h=Vs(d);h.index=Zf(o,p),o[p].push(h),Kf(a,d)}}catch(m){l.e(m)}finally{l.f()}}return{columnGroupElements:i,columnElements:o,elementTemplates:a,useGroupHeader:s}}function Za(e,t,r){return e<t?t:e>r?r:e}var Ji="NOT_FOUND";function nP(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Ji},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function oP(e,t){var r=[];function n(s){var l=r.findIndex(function(d){return t(s,d.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Ji}function o(s,l){n(s)===Ji&&(r.unshift({key:s,value:l}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var iP=function(t,r){return t===r};function aP(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var o=r.length,i=0;i<o;i++)if(!e(r[i],n[i]))return!1;return!0}}function sP(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?iP:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,l=aP(o),c=a===1?nP(l):oP(a,l);function d(){var p=c.get(arguments);if(p===Ji){if(p=e.apply(null,arguments),s){var h=c.getEntries(),m=h.find(function(v){return s(v.value,p)});m&&(p=m.value)}c.put(arguments,p)}return p}return d.clearCache=function(){return c.clear()},d}function lP(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(n){return typeof n=="function"})){var r=t.map(function(n){return typeof n=="function"?"function "+(n.name||"unnamed")+"()":typeof n}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function cP(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=0,d,p={memoizeOptions:void 0},h=s.pop();if(typeof h=="object"&&(p=h,h=s.pop()),typeof h!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof h+"]");var m=p,v=m.memoizeOptions,g=v===void 0?r:v,y=Array.isArray(g)?g:[g],b=lP(s),T=e.apply(void 0,[function(){return c++,h.apply(null,arguments)}].concat(y)),E=e(function(){for(var C=[],_=b.length,k=0;k<_;k++)C.push(b[k].apply(null,arguments));return d=T.apply(null,C),d});return Object.assign(E,{resultFunc:h,memoizedResultFunc:T,dependencies:b,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),E};return o}var Ja=cP(sP),cr=Ja;function uP(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
246
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function dP(e,t){if(e){if(typeof e=="string")return Jf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jf(e,t)}}function Jf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Gg=[],fP={},pu={memoizeOptions:{maxSize:12}},Ni=Ja(function(e){return e||Gg},function(e){return e.reduce(function(t,r){return t+r.props.width},0)},pu),yn=Ja(function(e){return e||Gg},function(e){return e.reduce(function(t,r){return t+r.width},0)},pu);function Yg(e){return yn(e.fixed)+yn(e.fixedRight)+yn(e.scrollable)}var pP=Ja(function(e){return e||fP},function(e){var t=Array.prototype.concat.call(e.fixed,e.scrollable,e.fixedRight),r=0,n=uP(t),o;try{for(n.s();!(o=n.n()).done;){var i=o.value;r+=i.flexGrow||0}}catch(a){n.e(a)}finally{n.f()}return r},pu),hP=1,gP=3,mP=6,mr={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};function vP(e,t,r,n,o,i,a){var s=t.cellGroupWrapperHeight,l=t.footerHeight,c=t.headerHeight,d=t.groupHeaderHeight,p=s?0:2*hP,h=l+c+d+p,m=o.height,v=o.maxHeight,g=o.useMaxHeight,y=o.width,b=Math.round(g?v:m),T=b-h,E=yP(e,n,y,a),x=T,C=T;switch(E){case mr.VISIBLE:{x-=i,C-=i;break}case mr.JOINT_SCROLLBARS:{x-=i;break}}return{bufferRowCount:bP(C,r),minAvailableHeight:Math.max(x,0),maxAvailableHeight:Math.max(C,0),reservedHeight:h,scrollStateX:E}}function yP(e,t,r,n){var o=t.overflowX,i=t.showScrollbarX,a=Yg(e);return o==="hidden"||i===!1?mr.HIDDEN:a>r?mr.VISIBLE:a>r-n?mr.JOINT_SCROLLBARS:mr.HIDDEN}function bP(e,t){var r=t.bufferRowCount,n=t.rowHeight,o=t.subRowHeight;if(r!==void 0)return r;var i=n+o,a=Math.ceil(e/i)+1;return Za(Math.floor(a/2),gP,mP)}var hu=cr([function(e){return e.columnElements},function(e){return e.elementHeights},function(e){return e.rowSettings},function(e){return e.scrollFlags},function(e){return e.tableSize},function(e){return e.scrollbarXHeight},function(e){return e.scrollbarYWidth}],vP);function wP(e,t,r){var n=r.overflowY,o=r.showScrollbarY,i=n!=="hidden"&&o!==!1,a=e.minAvailableHeight,s=e.maxAvailableHeight,l=e.scrollStateX,c=!1,d=!1;l===mr.VISIBLE&&(d=!0),i&&t>s&&(c=!0),c&&l===mr.JOINT_SCROLLBARS&&(d=!0);var p=s;return d&&(p=a),{availableHeight:p,scrollEnabledX:d,scrollEnabledY:c}}var Wr=cr([hu,function(e){return e.scrollContentHeight},function(e){return e.scrollFlags}],wP);function Nr(e,t){var r=e.rowSettings,n=e.getInternal(),o=n.storedHeights,i=n.rowOffsetIntervalTree,a=r.rowHeightGetter,s=r.subRowHeightGetter,l=a(t)+s(t),c=o[t];return l!==c&&(i.set(t,l),o[t]=l,e.scrollContentHeight+=l-c),o[t]}function ep(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?xP(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?Bl(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function Bl(e,t){var r=Wr(e),n=r.availableHeight,o=e.rowSettings,i=e.scrollContentHeight,a=e.getInternal(),s=a.rowOffsetIntervalTree,l=o.rowsCount;if(e.rowSettings.rowHeightGetter!=null&&e.isVerticalScrollExact){for(var c=e.getInternal(),d=c.rowUntilOffsetsAreExact;d<l;)Nr(e,d++);e.getInternal().rowUntilOffsetsAreExact=l}if(l===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var p=0,h=0,m=void 0;if(!(t<=0))if(t>=i-n)p=void 0,m=l-1;else{var v=s.greatestLowerBound(t);p=Za(v,0,Math.max(l-1,0));var g=s.sumUntil(p);h=g-t}return{firstIndex:p,firstOffset:h,lastIndex:m,changed:!0}}function xP(e,t){var r=Wr(e),n=r.availableHeight,o=e.rowSettings,i=e.scrollY,a=e.getInternal(),s=a.rowOffsetIntervalTree,l=a.storedHeights,c=o.rowsCount;if(c===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=Za(t,0,Math.max(c-1,0)),Nr(e,t);var d=s.sumUntil(t),p=d+l[t],h=t,m=void 0;if(!(d<i))if(i+n<p)h=void 0,m=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:h,firstOffset:0,lastIndex:m,changed:!0}}function CP(e){return e==null}var mo=CP;function EP(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var TP=EP,SP=/\s/;function RP(e){for(var t=e.length;t--&&SP.test(e.charAt(t)););return t}var _P=RP,MP=_P,OP=/^\s+/;function kP(e){return e&&e.slice(0,MP(e)+1).replace(OP,"")}var AP=kP,IP=AP,tp=Xr,PP=Ha,rp=NaN,DP=/^[-+]0x[0-9a-f]+$/i,$P=/^0b[01]+$/i,NP=/^0o[0-7]+$/i,LP=parseInt;function FP(e){if(typeof e=="number")return e;if(PP(e))return rp;if(tp(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=tp(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=IP(e);var r=$P.test(e);return r||NP.test(e)?LP(e.slice(2),r?2:8):DP.test(e)?rp:+e}var gu=FP,jP=TP,Us=gu;function BP(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=Us(r),r=r===r?r:0),t!==void 0&&(t=Us(t),t=t===t?t:0),jP(Us(e),t,r)}var es=BP,HP=qa,zP=_g,WP=Ng,VP=Lt;function UP(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return HP(VP(r)?WP(r):[r],zP(t,1))}var np=UP;function op(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=GP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
247
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function GP(e,t){if(e){if(typeof e=="string")return ip(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ip(e,t)}}function ip(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function YP(e,t,r,n,o){var i=r?o:0,a=n-i,s=qP(e,t,a),l=s.columnGroupElements,c=s.columnElements,d=ap(c),p=d.fixed,h=d.fixedRight,m=d.scrollable,v=ap(l),g=v.fixed,y=v.fixedRight,b=v.scrollable,T=yn(p),E=yn(h),x=yn(m),C=a-T-E,_=Math.max(0,T+E+x-a);return{columnGroupProps:np(g,b,y),columnProps:np(p,m,h),availableScrollWidth:C,fixedColumns:p,fixedRightColumns:h,scrollableColumns:m,fixedColumnGroups:g,fixedRightColumnGroups:y,scrollableColumnGroups:b,maxScrollX:_}}function qP(e,t,r){var n=Po(),o=Po(),i=Yg(t),a=pP(t),s=Math.max(r-i,0),l=[];for(var c in t){var d=t[c],p=0,h=0,m=op(d),v;try{for(m.s();!(v=m.n()).done;){var g=v.value,y=g.flexGrow||0,b=0;y&&(b=Math.floor(y*s/a));var T=g.width+b;a-=y,s-=b;var E=Le({},g,{width:T,offset:p});p+=T,l[g.groupIdx]=T+(l[g.groupIdx]||0),o[c][h]=E,h++}}catch(A){m.e(A)}finally{m.f()}}for(var x in e){var C=e[x],_=0,k=0,O=op(C),P;try{for(O.s();!(P=O.n()).done;){var F=P.value,W=l[F.index],R=Le({},F,{width:W,offset:_});_+=W,n[x][k]=R,k++}}catch(A){O.e(A)}finally{O.f()}}return{columnGroupElements:n,columnElements:o}}function ap(e){return{fixed:e.fixed,fixedRight:e.fixedRight,scrollable:e.scrollable}}var ei=cr([function(e){return e.columnGroupElements},function(e){return e.columnElements},function(e){return Wr(e).scrollEnabledY},function(e){return e.tableSize.width},function(e){return e.scrollbarYWidth}],YP);function XP(e,t,r){var n=t.scrollLeft,o=e.scrollX;n!==void 0&&(!r||n!==r.scrollLeft)&&(o=n),o=KP(e,t,r.scrollToColumn,o);var i=ei(e),a=i.maxScrollX;o=es(o,0,a),Le(e,{maxScrollX:a,scrollX:o})}function KP(e,t,r,n){var o=t.scrollToColumn;if(mo(o))return n;var i=ei(e),a=i.availableScrollWidth,s=i.fixedColumns,l=i.scrollableColumns,c=s.length,d=l.length,p=d===0,h=o===r,m=o<c,v=o>=c+d;if(h||m||v||p)return n;for(var g=Math.min(o-c,l.length-1),y=0,b=0;b<g;++b)y+=l[b].width;var T=l[g].width,E=y+T-a;return n<E?E:n>y?y:n}var sp={initialize:XP};function QP(e,t,r,n,o,i,a){var s=o.availableHeight,l=o.scrollEnabledX,c=r;l&&(c+=a);var d=Math.min(s,n),p=i?d:s,h=p+c,m=p;t<h&&(m=t-c);var v=i?n:Math.max(n,s),g=v+c;t&&(g=Math.max(t,g));var y=e.footerHeight,b=e.groupHeaderHeight,T=e.headerHeight,E=b+T,x=E+m,C=x+y,_=Math.max(0,x-E);return{bodyHeight:d,bodyOffsetTop:E,componentHeight:h,contentHeight:g,footOffsetTop:x,scrollbarXOffsetTop:C,scrollbarYHeight:_,visibleRowsHeight:m}}var hn=cr([function(e){return e.elementHeights},function(e){return e.tableSize.ownerHeight},function(e){return hu(e).reservedHeight},function(e){return e.scrollContentHeight},Wr,function(e){return e.tableSize.useMaxHeight},function(e){return e.scrollbarXHeight}],QP);function Kn(e,t){var r=lp(e,t),n=e.rowSettings,o=e.scrollContentHeight,i=n.rowsCount,a=hn(e),s=a.bodyHeight,l=o-s,c;l===0?(r.firstViewportIdx>0&&(r=lp(e,{firstOffset:0,lastIndex:i-1})),c=0):c=r.firstOffset;var d=r.firstViewportIdx,p=r.endViewportIdx;ZP(e,r,e.scrolling);var h=0;i>0&&(h=e.rowOffsets[r.firstViewportIdx]-c),h=es(h,0,l),Le(e,{firstRowIndex:d,firstRowOffset:c,endRowIndex:p,maxScrollY:l,scrollY:h})}function lp(e,t){var r=hu(e),n=r.bufferRowCount,o=r.maxAvailableHeight,i=e.rowSettings.rowsCount;if(i===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var a=t.firstIndex,s=t.firstOffset,l=t.lastIndex;(a>=i||l>=i)&&(l=i-1);var c=1,d=a,p=s;l!==void 0&&(c=-1,d=l,p=0);for(var h=d,m=h;h<i&&h>=0&&p<o;)p+=Nr(e,h),m=h,h+=c;var v=!1;if(p<o&&h===i&&l===void 0)for(v=!0,h=a-1;h>=0&&p<o;)p+=Nr(e,h),d=h,--h;var g=Math.min(d,m),y=Math.max(g-n,0);for(h=y;h<g;h++)Nr(e,h);var b=Math.max(d,m)+1,T=Math.min(b+n,i);for(h=b;h<T;h++)Nr(e,h);var E=Wr(e),x=E.availableHeight;if(l!==void 0||v){s=s+Math.min(x-p,0);var C=e.getInternal(),_=C.storedHeights;-1*s>=_[g]&&(g+=1,s+=_[g])}return{endBufferIdx:T,endViewportIdx:b,firstBufferIdx:y,firstOffset:s,firstViewportIdx:g}}function ZP(e,t,r){var n=e.getInternal(),o=n.rowBufferSet,i=n.rowOffsetIntervalTree,a=n.storedHeights,s=t.endBufferIdx,l=t.endViewportIdx,c=t.firstBufferIdx,d=t.firstViewportIdx,p=s-c;if(p===0){e.rowOffsets={},e.rows=[];return}for(var h=r?d:c,m=r?l:s,v=[],g={},y=i.sumUntil(h),b=h;b<m;b++){g[b]=y,y+=a[b];var T=JP(b,o,h,m,p);v[T]=b}e.rows=v,e.rowOffsets=g}function JP(e,t,r,n,o){var i=t.getValuePosition(e);return i===null&&t.getSize()>=o&&(i=t.replaceFurthestValuePosition(r,n-1,e)),i===null&&(i=t.getNewPositionForValue(e)),i}var Hl={exports:{}},ea={exports:{}},xe={};/** @license React v16.13.1
248
248
  * react-is.production.min.js
249
249
  *
250
250
  * Copyright (c) Facebook, Inc. and its affiliates.
251
251
  *
252
252
  * This source code is licensed under the MIT license found in the
253
253
  * LICENSE file in the root directory of this source tree.
254
- */var nt=typeof Symbol=="function"&&Symbol.for,hu=nt?Symbol.for("react.element"):60103,gu=nt?Symbol.for("react.portal"):60106,Ja=nt?Symbol.for("react.fragment"):60107,es=nt?Symbol.for("react.strict_mode"):60108,ts=nt?Symbol.for("react.profiler"):60114,rs=nt?Symbol.for("react.provider"):60109,ns=nt?Symbol.for("react.context"):60110,mu=nt?Symbol.for("react.async_mode"):60111,os=nt?Symbol.for("react.concurrent_mode"):60111,is=nt?Symbol.for("react.forward_ref"):60112,as=nt?Symbol.for("react.suspense"):60113,e6=nt?Symbol.for("react.suspense_list"):60120,ss=nt?Symbol.for("react.memo"):60115,ls=nt?Symbol.for("react.lazy"):60116,t6=nt?Symbol.for("react.block"):60121,r6=nt?Symbol.for("react.fundamental"):60117,n6=nt?Symbol.for("react.responder"):60118,o6=nt?Symbol.for("react.scope"):60119;function Tt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hu:switch(e=e.type,e){case mu:case os:case Ja:case ts:case es:case as:return e;default:switch(e=e&&e.$$typeof,e){case ns:case is:case ls:case ss:case rs:return e;default:return t}}case gu:return t}}}function Gg(e){return Tt(e)===os}xe.AsyncMode=mu;xe.ConcurrentMode=os;xe.ContextConsumer=ns;xe.ContextProvider=rs;xe.Element=hu;xe.ForwardRef=is;xe.Fragment=Ja;xe.Lazy=ls;xe.Memo=ss;xe.Portal=gu;xe.Profiler=ts;xe.StrictMode=es;xe.Suspense=as;xe.isAsyncMode=function(e){return Gg(e)||Tt(e)===mu};xe.isConcurrentMode=Gg;xe.isContextConsumer=function(e){return Tt(e)===ns};xe.isContextProvider=function(e){return Tt(e)===rs};xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hu};xe.isForwardRef=function(e){return Tt(e)===is};xe.isFragment=function(e){return Tt(e)===Ja};xe.isLazy=function(e){return Tt(e)===ls};xe.isMemo=function(e){return Tt(e)===ss};xe.isPortal=function(e){return Tt(e)===gu};xe.isProfiler=function(e){return Tt(e)===ts};xe.isStrictMode=function(e){return Tt(e)===es};xe.isSuspense=function(e){return Tt(e)===as};xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ja||e===os||e===ts||e===es||e===as||e===e6||typeof e=="object"&&e!==null&&(e.$$typeof===ls||e.$$typeof===ss||e.$$typeof===rs||e.$$typeof===ns||e.$$typeof===is||e.$$typeof===r6||e.$$typeof===n6||e.$$typeof===o6||e.$$typeof===t6)};xe.typeOf=Tt;var we={};/** @license React v16.13.1
254
+ */var nt=typeof Symbol=="function"&&Symbol.for,mu=nt?Symbol.for("react.element"):60103,vu=nt?Symbol.for("react.portal"):60106,ts=nt?Symbol.for("react.fragment"):60107,rs=nt?Symbol.for("react.strict_mode"):60108,ns=nt?Symbol.for("react.profiler"):60114,os=nt?Symbol.for("react.provider"):60109,is=nt?Symbol.for("react.context"):60110,yu=nt?Symbol.for("react.async_mode"):60111,as=nt?Symbol.for("react.concurrent_mode"):60111,ss=nt?Symbol.for("react.forward_ref"):60112,ls=nt?Symbol.for("react.suspense"):60113,e6=nt?Symbol.for("react.suspense_list"):60120,cs=nt?Symbol.for("react.memo"):60115,us=nt?Symbol.for("react.lazy"):60116,t6=nt?Symbol.for("react.block"):60121,r6=nt?Symbol.for("react.fundamental"):60117,n6=nt?Symbol.for("react.responder"):60118,o6=nt?Symbol.for("react.scope"):60119;function Tt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case mu:switch(e=e.type,e){case yu:case as:case ts:case ns:case rs:case ls:return e;default:switch(e=e&&e.$$typeof,e){case is:case ss:case us:case cs:case os:return e;default:return t}}case vu:return t}}}function qg(e){return Tt(e)===as}xe.AsyncMode=yu;xe.ConcurrentMode=as;xe.ContextConsumer=is;xe.ContextProvider=os;xe.Element=mu;xe.ForwardRef=ss;xe.Fragment=ts;xe.Lazy=us;xe.Memo=cs;xe.Portal=vu;xe.Profiler=ns;xe.StrictMode=rs;xe.Suspense=ls;xe.isAsyncMode=function(e){return qg(e)||Tt(e)===yu};xe.isConcurrentMode=qg;xe.isContextConsumer=function(e){return Tt(e)===is};xe.isContextProvider=function(e){return Tt(e)===os};xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===mu};xe.isForwardRef=function(e){return Tt(e)===ss};xe.isFragment=function(e){return Tt(e)===ts};xe.isLazy=function(e){return Tt(e)===us};xe.isMemo=function(e){return Tt(e)===cs};xe.isPortal=function(e){return Tt(e)===vu};xe.isProfiler=function(e){return Tt(e)===ns};xe.isStrictMode=function(e){return Tt(e)===rs};xe.isSuspense=function(e){return Tt(e)===ls};xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ts||e===as||e===ns||e===rs||e===ls||e===e6||typeof e=="object"&&e!==null&&(e.$$typeof===us||e.$$typeof===cs||e.$$typeof===os||e.$$typeof===is||e.$$typeof===ss||e.$$typeof===r6||e.$$typeof===n6||e.$$typeof===o6||e.$$typeof===t6)};xe.typeOf=Tt;var we={};/** @license React v16.13.1
255
255
  * react-is.development.js
256
256
  *
257
257
  * Copyright (c) Facebook, Inc. and its affiliates.
258
258
  *
259
259
  * This source code is licensed under the MIT license found in the
260
260
  * LICENSE file in the root directory of this source tree.
261
- */process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(z){return typeof z=="string"||typeof z=="function"||z===n||z===c||z===i||z===o||z===p||z===h||typeof z=="object"&&z!==null&&(z.$$typeof===v||z.$$typeof===m||z.$$typeof===a||z.$$typeof===s||z.$$typeof===d||z.$$typeof===y||z.$$typeof===b||z.$$typeof===T||z.$$typeof===g)}function x(z){if(typeof z=="object"&&z!==null){var re=z.$$typeof;switch(re){case t:var ce=z.type;switch(ce){case l:case c:case n:case i:case o:case p:return ce;default:var ge=ce&&ce.$$typeof;switch(ge){case s:case d:case v:case m:case a:return ge;default:return re}}case r:return re}}}var C=l,_=c,O=s,k=a,D=t,F=d,W=n,R=v,A=m,B=r,j=i,N=o,I=p,H=!1;function Y(z){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(z)||x(z)===l}function P(z){return x(z)===c}function V(z){return x(z)===s}function K(z){return x(z)===a}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function X(z){return x(z)===d}function J(z){return x(z)===n}function ee(z){return x(z)===v}function oe(z){return x(z)===m}function ne(z){return x(z)===r}function ue(z){return x(z)===i}function ie(z){return x(z)===o}function ve(z){return x(z)===p}we.AsyncMode=C,we.ConcurrentMode=_,we.ContextConsumer=O,we.ContextProvider=k,we.Element=D,we.ForwardRef=F,we.Fragment=W,we.Lazy=R,we.Memo=A,we.Portal=B,we.Profiler=j,we.StrictMode=N,we.Suspense=I,we.isAsyncMode=Y,we.isConcurrentMode=P,we.isContextConsumer=V,we.isContextProvider=K,we.isElement=q,we.isForwardRef=X,we.isFragment=J,we.isLazy=ee,we.isMemo=oe,we.isPortal=ne,we.isProfiler=ue,we.isStrictMode=ie,we.isSuspense=ve,we.isValidElementType=E,we.typeOf=x}();process.env.NODE_ENV==="production"?Ji.exports=xe:Ji.exports=we;/*
261
+ */process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(z){return typeof z=="string"||typeof z=="function"||z===n||z===c||z===i||z===o||z===p||z===h||typeof z=="object"&&z!==null&&(z.$$typeof===v||z.$$typeof===m||z.$$typeof===a||z.$$typeof===s||z.$$typeof===d||z.$$typeof===y||z.$$typeof===b||z.$$typeof===T||z.$$typeof===g)}function x(z){if(typeof z=="object"&&z!==null){var re=z.$$typeof;switch(re){case t:var ce=z.type;switch(ce){case l:case c:case n:case i:case o:case p:return ce;default:var ge=ce&&ce.$$typeof;switch(ge){case s:case d:case v:case m:case a:return ge;default:return re}}case r:return re}}}var C=l,_=c,k=s,O=a,P=t,F=d,W=n,R=v,A=m,B=r,j=i,N=o,I=p,H=!1;function Y(z){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(z)||x(z)===l}function D(z){return x(z)===c}function V(z){return x(z)===s}function K(z){return x(z)===a}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function X(z){return x(z)===d}function J(z){return x(z)===n}function ee(z){return x(z)===v}function oe(z){return x(z)===m}function ne(z){return x(z)===r}function ue(z){return x(z)===i}function ie(z){return x(z)===o}function ve(z){return x(z)===p}we.AsyncMode=C,we.ConcurrentMode=_,we.ContextConsumer=k,we.ContextProvider=O,we.Element=P,we.ForwardRef=F,we.Fragment=W,we.Lazy=R,we.Memo=A,we.Portal=B,we.Profiler=j,we.StrictMode=N,we.Suspense=I,we.isAsyncMode=Y,we.isConcurrentMode=D,we.isContextConsumer=V,we.isContextProvider=K,we.isElement=q,we.isForwardRef=X,we.isFragment=J,we.isLazy=ee,we.isMemo=oe,we.isPortal=ne,we.isProfiler=ue,we.isStrictMode=ie,we.isSuspense=ve,we.isValidElementType=E,we.typeOf=x}();process.env.NODE_ENV==="production"?ea.exports=xe:ea.exports=we;/*
262
262
  object-assign
263
263
  (c) Sindre Sorhus
264
264
  @license MIT
265
- */var sp=Object.getOwnPropertySymbols,i6=Object.prototype.hasOwnProperty,a6=Object.prototype.propertyIsEnumerable;function s6(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function l6(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch(i){return!1}}var c6=l6()?Object.assign:function(e,t){for(var r,n=s6(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var a in r)i6.call(r,a)&&(n[a]=r[a]);if(sp){o=sp(r);for(var s=0;s<o.length;s++)a6.call(r,o[s])&&(n[o[s]]=r[o[s]])}}return n},u6="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",vu=u6,Yg=Function.call.bind(Object.prototype.hasOwnProperty),Hl=function(){};if(process.env.NODE_ENV!=="production"){var d6=vu,zl={},f6=Yg;Hl=function(e){var t="Warning: "+e;typeof console!="undefined"&&console.error(t);try{throw new Error(t)}catch(r){}}}function qg(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(f6(e,i)){var a;try{if(typeof e[i]!="function"){var s=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[i](t,i,n,r,null,d6)}catch(c){a=c}if(a&&!(a instanceof Error)&&Hl((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in zl)){zl[a.message]=!0;var l=o?o():"";Hl("Failed "+r+" type: "+a.message+(l!=null?l:""))}}}}qg.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(zl={})};var p6=qg,h6=Ji.exports,g6=c6,sn=vu,Vs=Yg,lp=p6,fn=function(){};process.env.NODE_ENV!=="production"&&(fn=function(e){var t="Warning: "+e;typeof console!="undefined"&&console.error(t);try{throw new Error(t)}catch(r){}});function Ci(){return null}var m6=function(e,t){var r=typeof Symbol=="function"&&Symbol.iterator,n="@@iterator";function o(A){var B=A&&(r&&A[r]||A[n]);if(typeof B=="function")return B}var i="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(),arrayOf:h,element:m(),elementType:v(),instanceOf:g,node:E(),objectOf:b,oneOf:y,oneOfType:T,shape:C,exact:_};function s(A,B){return A===B?A!==0||1/A===1/B:A!==A&&B!==B}function l(A,B){this.message=A,this.data=B&&typeof B=="object"?B:{},this.stack=""}l.prototype=Error.prototype;function c(A){if(process.env.NODE_ENV!=="production")var B={},j=0;function N(H,Y,P,V,K,q,X){if(V=V||i,q=q||P,X!==sn){if(t){var J=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 J.name="Invariant Violation",J}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var ee=V+":"+P;!B[ee]&&j<3&&(fn("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+V+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),B[ee]=!0,j++)}}return Y[P]==null?H?Y[P]===null?new l("The "+K+" `"+q+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new l("The "+K+" `"+q+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:A(Y,P,V,K,q)}var I=N.bind(null,!1);return I.isRequired=N.bind(null,!0),I}function d(A){function B(j,N,I,H,Y,P){var V=j[N],K=D(V);if(K!==A){var q=F(V);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+q+"` supplied to `"+I+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return c(B)}function p(){return c(Ci)}function h(A){function B(j,N,I,H,Y){if(typeof A!="function")return new l("Property `"+Y+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var P=j[N];if(!Array.isArray(P)){var V=D(P);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an array."))}for(var K=0;K<P.length;K++){var q=A(P,K,I,H,Y+"["+K+"]",sn);if(q instanceof Error)return q}return null}return c(B)}function m(){function A(B,j,N,I,H){var Y=B[j];if(!e(Y)){var P=D(Y);return new l("Invalid "+I+" `"+H+"` of type "+("`"+P+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return c(A)}function v(){function A(B,j,N,I,H){var Y=B[j];if(!h6.isValidElementType(Y)){var P=D(Y);return new l("Invalid "+I+" `"+H+"` of type "+("`"+P+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return c(A)}function g(A){function B(j,N,I,H,Y){if(!(j[N]instanceof A)){var P=A.name||i,V=R(j[N]);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+V+"` supplied to `"+I+"`, expected ")+("instance of `"+P+"`."))}return null}return c(B)}function y(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?fn("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):fn("Invalid argument supplied to oneOf, expected an array.")),Ci;function B(j,N,I,H,Y){for(var P=j[N],V=0;V<A.length;V++)if(s(P,A[V]))return null;var K=JSON.stringify(A,function(X,J){var ee=F(J);return ee==="symbol"?String(J):J});return new l("Invalid "+H+" `"+Y+"` of value `"+String(P)+"` "+("supplied to `"+I+"`, expected one of "+K+"."))}return c(B)}function b(A){function B(j,N,I,H,Y){if(typeof A!="function")return new l("Property `"+Y+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var P=j[N],V=D(P);if(V!=="object")return new l("Invalid "+H+" `"+Y+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an object."));for(var K in P)if(Vs(P,K)){var q=A(P,K,I,H,Y+"."+K,sn);if(q instanceof Error)return q}return null}return c(B)}function T(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&fn("Invalid argument supplied to oneOfType, expected an instance of array."),Ci;for(var B=0;B<A.length;B++){var j=A[B];if(typeof j!="function")return fn("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+W(j)+" at index "+B+"."),Ci}function N(I,H,Y,P,V){for(var K=[],q=0;q<A.length;q++){var X=A[q],J=X(I,H,Y,P,V,sn);if(J==null)return null;J.data&&Vs(J.data,"expectedType")&&K.push(J.data.expectedType)}var ee=K.length>0?", expected one of type ["+K.join(", ")+"]":"";return new l("Invalid "+P+" `"+V+"` supplied to "+("`"+Y+"`"+ee+"."))}return c(N)}function E(){function A(B,j,N,I,H){return O(B[j])?null:new l("Invalid "+I+" `"+H+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return c(A)}function x(A,B,j,N,I){return new l((A||"React class")+": "+B+" type `"+j+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function C(A){function B(j,N,I,H,Y){var P=j[N],V=D(P);if(V!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));for(var K in A){var q=A[K];if(typeof q!="function")return x(I,H,Y,K,F(q));var X=q(P,K,I,H,Y+"."+K,sn);if(X)return X}return null}return c(B)}function _(A){function B(j,N,I,H,Y){var P=j[N],V=D(P);if(V!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));var K=g6({},j[N],A);for(var q in K){var X=A[q];if(Vs(A,q)&&typeof X!="function")return x(I,H,Y,q,F(X));if(!X)return new l("Invalid "+H+" `"+Y+"` key `"+q+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(j[N],null," ")+`
266
- Valid keys: `+JSON.stringify(Object.keys(A),null," "));var J=X(P,q,I,H,Y+"."+q,sn);if(J)return J}return null}return c(B)}function O(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(O);if(A===null||e(A))return!0;var B=o(A);if(B){var j=B.call(A),N;if(B!==A.entries){for(;!(N=j.next()).done;)if(!O(N.value))return!1}else for(;!(N=j.next()).done;){var I=N.value;if(I&&!O(I[1]))return!1}}else return!1;return!0;default:return!1}}function k(A,B){return A==="symbol"?!0:B?B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol:!1}function D(A){var B=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":k(B,A)?"symbol":B}function F(A){if(typeof A=="undefined"||A===null)return""+A;var B=D(A);if(B==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return B}function W(A){var B=F(A);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function R(A){return!A.constructor||!A.constructor.name?i:A.constructor.name}return a.checkPropTypes=lp,a.resetWarningCache=lp.resetWarningCache,a.PropTypes=a,a},v6=vu;function Xg(){}function Kg(){}Kg.resetWarningCache=Xg;var y6=function(){function e(n,o,i,a,s,l){if(l!==v6){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return 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:Kg,resetWarningCache:Xg};return r.PropTypes=r,r};if(process.env.NODE_ENV!=="production"){var b6=Ji.exports,w6=!0;Bl.exports=m6(b6.isElement,w6)}else Bl.exports=y6();var M=Bl.exports,x6=/\//g,Ei={};function C6(e){return Ei[e]||(Ei[e]=e.replace(x6,"_")),Ei[e]}function ae(e){var t;return ir(e)=="object"?t=Object.keys(e).filter(function(r){return e[r]}):t=Array.prototype.slice.call(arguments),t.map(C6).join(" ")}function cs(e){return function(){return e}}function rt(){}rt.thatReturns=cs;rt.thatReturnsFalse=cs(!1);rt.thatReturnsTrue=cs(!0);rt.thatReturnsNull=cs(null);rt.thatReturnsThis=function(){return this};rt.thatReturnsArgument=function(e){return e};var Wt={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},cp=!1,Pr,Wl,Vl,Ni,Li,Qg,Fi,Ul,Gl,Yl,Zg,ql,Xl,Jg,em;function pt(){if(!cp){cp=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),r=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(ql=/\b(iPhone|iP[ao]d)/.exec(e),Xl=/\b(iP[ao]d)/.exec(e),Yl=/Android/i.exec(e),Jg=/FBAN\/\w+;/i.exec(e),em=/Mobile/i.exec(e),Zg=!!/Win64/.exec(e),t){Pr=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Pr&&document&&document.documentMode&&(Pr=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);Qg=n?parseFloat(n[1])+4:Pr,Wl=t[2]?parseFloat(t[2]):NaN,Vl=t[3]?parseFloat(t[3]):NaN,Ni=t[4]?parseFloat(t[4]):NaN,Ni?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Li=t&&t[1]?parseFloat(t[1]):NaN):Li=NaN}else Pr=Wl=Vl=Li=Ni=NaN;if(r){if(r[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);Fi=o?parseFloat(o[1].replace("_",".")):!0}else Fi=!1;Ul=!!r[2],Gl=!!r[3]}else Fi=Ul=Gl=!1}}var Kl={ie:function(){return pt()||Pr},ieCompatibilityMode:function(){return pt()||Qg>Pr},ie64:function(){return Kl.ie()&&Zg},firefox:function(){return pt()||Wl},opera:function(){return pt()||Vl},webkit:function(){return pt()||Ni},safari:function(){return Kl.webkit()},chrome:function(){return pt()||Li},windows:function(){return pt()||Ul},osx:function(){return pt()||Fi},linux:function(){return pt()||Gl},iphone:function(){return pt()||ql},mobile:function(){return pt()||ql||Xl||Yl||em},nativeApp:function(){return pt()||Jg},android:function(){return pt()||Yl},ipad:function(){return pt()||Xl}},Ti=!!(typeof window!="undefined"&&window.document&&window.document.createElement),yu={canUseDOM:Ti,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:Ti&&!!(window.addEventListener||window.attachEvent),canUseViewport:Ti&&!!window.screen,isInWorker:!Ti},tm;yu.canUseDOM&&(tm=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
265
+ */var cp=Object.getOwnPropertySymbols,i6=Object.prototype.hasOwnProperty,a6=Object.prototype.propertyIsEnumerable;function s6(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function l6(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch(i){return!1}}var c6=l6()?Object.assign:function(e,t){for(var r,n=s6(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var a in r)i6.call(r,a)&&(n[a]=r[a]);if(cp){o=cp(r);for(var s=0;s<o.length;s++)a6.call(r,o[s])&&(n[o[s]]=r[o[s]])}}return n},u6="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",bu=u6,Xg=Function.call.bind(Object.prototype.hasOwnProperty),zl=function(){};if(process.env.NODE_ENV!=="production"){var d6=bu,Wl={},f6=Xg;zl=function(e){var t="Warning: "+e;typeof console!="undefined"&&console.error(t);try{throw new Error(t)}catch(r){}}}function Kg(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(f6(e,i)){var a;try{if(typeof e[i]!="function"){var s=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[i](t,i,n,r,null,d6)}catch(c){a=c}if(a&&!(a instanceof Error)&&zl((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in Wl)){Wl[a.message]=!0;var l=o?o():"";zl("Failed "+r+" type: "+a.message+(l!=null?l:""))}}}}Kg.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Wl={})};var p6=Kg,h6=ea.exports,g6=c6,sn=bu,Gs=Xg,up=p6,fn=function(){};process.env.NODE_ENV!=="production"&&(fn=function(e){var t="Warning: "+e;typeof console!="undefined"&&console.error(t);try{throw new Error(t)}catch(r){}});function Ci(){return null}var m6=function(e,t){var r=typeof Symbol=="function"&&Symbol.iterator,n="@@iterator";function o(A){var B=A&&(r&&A[r]||A[n]);if(typeof B=="function")return B}var i="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(),arrayOf:h,element:m(),elementType:v(),instanceOf:g,node:E(),objectOf:b,oneOf:y,oneOfType:T,shape:C,exact:_};function s(A,B){return A===B?A!==0||1/A===1/B:A!==A&&B!==B}function l(A,B){this.message=A,this.data=B&&typeof B=="object"?B:{},this.stack=""}l.prototype=Error.prototype;function c(A){if(process.env.NODE_ENV!=="production")var B={},j=0;function N(H,Y,D,V,K,q,X){if(V=V||i,q=q||D,X!==sn){if(t){var J=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 J.name="Invariant Violation",J}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var ee=V+":"+D;!B[ee]&&j<3&&(fn("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+V+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),B[ee]=!0,j++)}}return Y[D]==null?H?Y[D]===null?new l("The "+K+" `"+q+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new l("The "+K+" `"+q+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:A(Y,D,V,K,q)}var I=N.bind(null,!1);return I.isRequired=N.bind(null,!0),I}function d(A){function B(j,N,I,H,Y,D){var V=j[N],K=P(V);if(K!==A){var q=F(V);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+q+"` supplied to `"+I+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return c(B)}function p(){return c(Ci)}function h(A){function B(j,N,I,H,Y){if(typeof A!="function")return new l("Property `"+Y+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var D=j[N];if(!Array.isArray(D)){var V=P(D);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an array."))}for(var K=0;K<D.length;K++){var q=A(D,K,I,H,Y+"["+K+"]",sn);if(q instanceof Error)return q}return null}return c(B)}function m(){function A(B,j,N,I,H){var Y=B[j];if(!e(Y)){var D=P(Y);return new l("Invalid "+I+" `"+H+"` of type "+("`"+D+"` supplied to `"+N+"`, expected a single ReactElement."))}return null}return c(A)}function v(){function A(B,j,N,I,H){var Y=B[j];if(!h6.isValidElementType(Y)){var D=P(Y);return new l("Invalid "+I+" `"+H+"` of type "+("`"+D+"` supplied to `"+N+"`, expected a single ReactElement type."))}return null}return c(A)}function g(A){function B(j,N,I,H,Y){if(!(j[N]instanceof A)){var D=A.name||i,V=R(j[N]);return new l("Invalid "+H+" `"+Y+"` of type "+("`"+V+"` supplied to `"+I+"`, expected ")+("instance of `"+D+"`."))}return null}return c(B)}function y(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?fn("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):fn("Invalid argument supplied to oneOf, expected an array.")),Ci;function B(j,N,I,H,Y){for(var D=j[N],V=0;V<A.length;V++)if(s(D,A[V]))return null;var K=JSON.stringify(A,function(X,J){var ee=F(J);return ee==="symbol"?String(J):J});return new l("Invalid "+H+" `"+Y+"` of value `"+String(D)+"` "+("supplied to `"+I+"`, expected one of "+K+"."))}return c(B)}function b(A){function B(j,N,I,H,Y){if(typeof A!="function")return new l("Property `"+Y+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var D=j[N],V=P(D);if(V!=="object")return new l("Invalid "+H+" `"+Y+"` of type "+("`"+V+"` supplied to `"+I+"`, expected an object."));for(var K in D)if(Gs(D,K)){var q=A(D,K,I,H,Y+"."+K,sn);if(q instanceof Error)return q}return null}return c(B)}function T(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&fn("Invalid argument supplied to oneOfType, expected an instance of array."),Ci;for(var B=0;B<A.length;B++){var j=A[B];if(typeof j!="function")return fn("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+W(j)+" at index "+B+"."),Ci}function N(I,H,Y,D,V){for(var K=[],q=0;q<A.length;q++){var X=A[q],J=X(I,H,Y,D,V,sn);if(J==null)return null;J.data&&Gs(J.data,"expectedType")&&K.push(J.data.expectedType)}var ee=K.length>0?", expected one of type ["+K.join(", ")+"]":"";return new l("Invalid "+D+" `"+V+"` supplied to "+("`"+Y+"`"+ee+"."))}return c(N)}function E(){function A(B,j,N,I,H){return k(B[j])?null:new l("Invalid "+I+" `"+H+"` supplied to "+("`"+N+"`, expected a ReactNode."))}return c(A)}function x(A,B,j,N,I){return new l((A||"React class")+": "+B+" type `"+j+"."+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function C(A){function B(j,N,I,H,Y){var D=j[N],V=P(D);if(V!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));for(var K in A){var q=A[K];if(typeof q!="function")return x(I,H,Y,K,F(q));var X=q(D,K,I,H,Y+"."+K,sn);if(X)return X}return null}return c(B)}function _(A){function B(j,N,I,H,Y){var D=j[N],V=P(D);if(V!=="object")return new l("Invalid "+H+" `"+Y+"` of type `"+V+"` "+("supplied to `"+I+"`, expected `object`."));var K=g6({},j[N],A);for(var q in K){var X=A[q];if(Gs(A,q)&&typeof X!="function")return x(I,H,Y,q,F(X));if(!X)return new l("Invalid "+H+" `"+Y+"` key `"+q+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(j[N],null," ")+`
266
+ Valid keys: `+JSON.stringify(Object.keys(A),null," "));var J=X(D,q,I,H,Y+"."+q,sn);if(J)return J}return null}return c(B)}function k(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(k);if(A===null||e(A))return!0;var B=o(A);if(B){var j=B.call(A),N;if(B!==A.entries){for(;!(N=j.next()).done;)if(!k(N.value))return!1}else for(;!(N=j.next()).done;){var I=N.value;if(I&&!k(I[1]))return!1}}else return!1;return!0;default:return!1}}function O(A,B){return A==="symbol"?!0:B?B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol:!1}function P(A){var B=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":O(B,A)?"symbol":B}function F(A){if(typeof A=="undefined"||A===null)return""+A;var B=P(A);if(B==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return B}function W(A){var B=F(A);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function R(A){return!A.constructor||!A.constructor.name?i:A.constructor.name}return a.checkPropTypes=up,a.resetWarningCache=up.resetWarningCache,a.PropTypes=a,a},v6=bu;function Qg(){}function Zg(){}Zg.resetWarningCache=Qg;var y6=function(){function e(n,o,i,a,s,l){if(l!==v6){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return 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:Zg,resetWarningCache:Qg};return r.PropTypes=r,r};if(process.env.NODE_ENV!=="production"){var b6=ea.exports,w6=!0;Hl.exports=m6(b6.isElement,w6)}else Hl.exports=y6();var M=Hl.exports,x6=/\//g,Ei={};function C6(e){return Ei[e]||(Ei[e]=e.replace(x6,"_")),Ei[e]}function ae(e){var t;return ir(e)=="object"?t=Object.keys(e).filter(function(r){return e[r]}):t=Array.prototype.slice.call(arguments),t.map(C6).join(" ")}function ds(e){return function(){return e}}function rt(){}rt.thatReturns=ds;rt.thatReturnsFalse=ds(!1);rt.thatReturnsTrue=ds(!0);rt.thatReturnsNull=ds(null);rt.thatReturnsThis=function(){return this};rt.thatReturnsArgument=function(e){return e};var Wt={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105},dp=!1,Pr,Vl,Ul,Li,Fi,Jg,ji,Gl,Yl,ql,em,Xl,Kl,tm,rm;function pt(){if(!dp){dp=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),r=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Xl=/\b(iPhone|iP[ao]d)/.exec(e),Kl=/\b(iP[ao]d)/.exec(e),ql=/Android/i.exec(e),tm=/FBAN\/\w+;/i.exec(e),rm=/Mobile/i.exec(e),em=!!/Win64/.exec(e),t){Pr=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Pr&&document&&document.documentMode&&(Pr=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);Jg=n?parseFloat(n[1])+4:Pr,Vl=t[2]?parseFloat(t[2]):NaN,Ul=t[3]?parseFloat(t[3]):NaN,Li=t[4]?parseFloat(t[4]):NaN,Li?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Fi=t&&t[1]?parseFloat(t[1]):NaN):Fi=NaN}else Pr=Vl=Ul=Fi=Li=NaN;if(r){if(r[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);ji=o?parseFloat(o[1].replace("_",".")):!0}else ji=!1;Gl=!!r[2],Yl=!!r[3]}else ji=Gl=Yl=!1}}var Ql={ie:function(){return pt()||Pr},ieCompatibilityMode:function(){return pt()||Jg>Pr},ie64:function(){return Ql.ie()&&em},firefox:function(){return pt()||Vl},opera:function(){return pt()||Ul},webkit:function(){return pt()||Li},safari:function(){return Ql.webkit()},chrome:function(){return pt()||Fi},windows:function(){return pt()||Gl},osx:function(){return pt()||ji},linux:function(){return pt()||Yl},iphone:function(){return pt()||Xl},mobile:function(){return pt()||Xl||Kl||ql||rm},nativeApp:function(){return pt()||tm},android:function(){return pt()||ql},ipad:function(){return pt()||Kl}},Ti=!!(typeof window!="undefined"&&window.document&&window.document.createElement),wu={canUseDOM:Ti,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:Ti&&!!(window.addEventListener||window.attachEvent),canUseViewport:Ti&&!!window.screen,isInWorker:!Ti},nm;wu.canUseDOM&&(nm=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
267
267
  * Checks if an event is supported in the current execution environment.
268
268
  *
269
269
  * NOTE: This will not work correctly for non-generic events such as `change`,
@@ -276,14 +276,14 @@ Valid keys: `+JSON.stringify(Object.keys(A),null," "));var J=X(P,q,I,H,Y+"."+q,
276
276
  * @return {boolean} True if the event is supported.
277
277
  * @internal
278
278
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
279
- */function E6(e,t){if(!yu.canUseDOM||t)return!1;var r="on"+e,n=r in document;if(!n){var o=document.createElement("div");o.setAttribute(r,"return;"),n=typeof o[r]=="function"}return!n&&tm&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var up=10,dp=40,fp=800;function rm(e){var t=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*up,o=r*up,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(e.deltaMode==1?(n*=dp,o*=dp):(n*=fp,o*=fp)),n&&!t&&(t=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:o}}rm.getEventType=function(){return Kl.firefox()?"DOMMouseScroll":E6("wheel")?"wheel":"mousewheel"};var T6=ct.requestAnimationFrame||ct.webkitRequestAnimationFrame||ct.mozRequestAnimationFrame||ct.oRequestAnimationFrame||ct.msRequestAnimationFrame,pp=0,vr=T6||function(e){var t=Date.now(),r=Math.max(0,16-(t-pp));return pp=t+r,ct.setTimeout(function(){e(Date.now())},r)};vr(rt);var nm=function(){function e(t,r,n,o,i,a){Ae(this,e),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof r!="function"&&(r=r?rt.thatReturnsTrue:rt.thatReturnsFalse),typeof n!="function"&&(n=n?rt.thatReturnsTrue:rt.thatReturnsFalse),this._handleScrollX=r,this._handleScrollY=n,this._preventDefault=i,this._stopPropagation=a,this._onWheelCallback=t,this.onWheel=this.onWheel.bind(this),this._isRTL=o}return Ie(e,[{key:"onWheel",value:function(r){this._preventDefault&&r.preventDefault();var n=rm(r);r.shiftKey&&e._allowInternalAxesSwap()?n=e._swapNormalizedWheelAxis(n):r.shiftKey||(n.pixelX*=this._isRTL?-1:1);var o=this._deltaX+n.pixelX,i=this._deltaY+n.pixelY,a=this._handleScrollX(o,i),s=this._handleScrollY(i,o);if(!(!a&&!s)&&!(this._rootRef&&!this._contains(r.target))){this._deltaX+=a?n.pixelX:0,this._deltaY+=s?n.pixelY:0,r.defaultPrevented||r.preventDefault();var l;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&r.stopPropagation(),l=!0),l===!0&&this._animationFrameID===null&&(this._animationFrameID=vr(this._didWheel))}}},{key:"setRoot",value:function(r){this._rootRef=r}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(r){for(var n=r;n!=document.body;){if(n===this._rootRef)return!0;n=n.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(r){return{spinX:r.spinY,spinY:r.spinX,pixelX:r.pixelY,pixelY:r.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),e}(),ln={listen:function(t,r,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t.addEventListener)return t.addEventListener(r,n,o||!1),{remove:function(){t.removeEventListener(r,n,o||!1)}};if(t.attachEvent)return t.attachEvent("on"+r,n),{remove:function(){t.detachEvent("on"+r,n)}}},capture:function(t,r,n){return t.addEventListener?(t.addEventListener(r,n,!0),{remove:function(){t.removeEventListener(r,n,!0)}}):(process.env.NODE_ENV!=="production"&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:rt})},registerDefault:function(){}},om=ct.cancelAnimationFrame||ct.webkitCancelAnimationFrame||ct.mozCancelAnimationFrame||ct.oCancelAnimationFrame||ct.msCancelAnimationFrame||ct.clearTimeout;function S6(e){var t=0,r=0;if(!e.clientX||!e.clientY){if(e.touches&&e.touches.length>0){var n=e.touches[0];t=n.clientX,r=n.clientY}}else t=e.clientX,r=e.clientY;return{x:t,y:r}}var Ql={getCoordinatesFromEvent:S6},bu=function(){function e(t,r,n,o){Ae(this,e),this._isDragging=!1,this._isTouchEnabled=o,this._animationFrameID=null,this._domNode=n,this._onMove=t,this._onMoveEnd=r,this._onMouseEnd=this._onMouseEnd.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._didMouseMove=this._didMouseMove.bind(this)}return Ie(e,[{key:"captureMouseMoves",value:function(r){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=ln.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=ln.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=ln.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=ln.listen(this._domNode,"touchstart",this._onMouseMove,{passive:!1}),this._eventTouchMoveToken=ln.listen(r.target,"touchmove",this._onMouseMove,{passive:!1}),this._eventTouchEndToken=ln.listen(r.target,"touchend",this._onMouseUp,{passive:!1})),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var n=Ql.getCoordinatesFromEvent(r),o=n.x,i=n.y;this._x=o,this._y=i}r.preventDefault()}},{key:"releaseMouseMoves",value:function(){this._eventMoveToken&&this._eventUpToken&&this._eventLeaveToken&&(this._eventMoveToken.remove(),this._eventMoveToken=null,this._eventUpToken.remove(),this._eventUpToken=null,this._eventLeaveToken.remove(),this._eventLeaveToken=null),this._isTouchEnabled&&this._eventTouchStartToken&&this._eventTouchMoveToken&&this._eventTouchEndToken&&(this._eventTouchStartToken.remove(),this._eventTouchStartToken=null,this._eventTouchMoveToken.remove(),this._eventTouchMoveToken=null,this._eventTouchEndToken.remove(),this._eventTouchEndToken=null),this._animationFrameID!==null&&(om(this._animationFrameID),this._animationFrameID=null),this._isDragging&&(this._isDragging=!1,this._x=null,this._y=null)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"_onMouseMove",value:function(r){var n=Ql.getCoordinatesFromEvent(r),o=n.x,i=n.y;this._deltaX+=o-this._x,this._deltaY+=i-this._y,this._animationFrameID===null&&(this._animationFrameID=vr(this._didMouseMove)),this._x=o,this._y=i,r.preventDefault()}},{key:"_didMouseMove",value:function(){this._animationFrameID=null,this._onMove(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_onMouseUp",value:function(){this._animationFrameID&&this._didMouseMove(),this._onMoveEnd(!1)}},{key:"_onMouseEnd",value:function(){this._onMoveEnd(!0)}}]),e}(),Zl={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function us(e){if(Zl.hasOwnProperty(e))return Zl[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}us.CSS_VARS=Zl;var R6=/-(.)/g;function _6(e){return e.replace(R6,function(t,r){return r.toUpperCase()})}var Us={},Jl=["Webkit","ms","Moz","O"],M6=new RegExp("^("+Jl.join("|")+")"),im=yu.canUseDOM?document.createElement("div").style:{};function O6(e){for(var t=0;t<Jl.length;t++){var r=Jl[t]+e;if(r in im)return r}return null}function gn(e){var t=_6(e);if(Us[t]===void 0){var r=t.charAt(0).toUpperCase()+t.slice(1);M6.test(r)&&Gt(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",e),Us[t]=t in im?t:O6(r)}return Us[t]}var ec={hasCSSAnimations:function(){return!!gn("animationName")},hasCSSTransforms:function(){return!!gn("transform")},hasCSS3DTransforms:function(){return!!gn("perspective")},hasCSSTransitions:function(){return!!gn("transition")}},hp=gn("transform");gn("backfaceVisibility");var k6=function(){if(ec.hasCSSTransforms()){var e=ct.window?ct.window.navigator.userAgent:"UNKNOWN",t=/Safari\//.test(e)&&!/Chrome\//.test(e);return!t&&ec.hasCSS3DTransforms()?function(r,n,o){r[hp]="translate3d("+n+"px,"+o+"px,0)"}:function(r,n,o){r[hp]="translate("+n+"px,"+o+"px)"}}else return function(r,n,o){r.left=n+"px",r.top=o+"px"}}();function Cn(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;e.display!=="none"&&(n?(e.left=t+"px",e.top=r+"px"):(ec.hasCSSTransforms()&&(t*=o?-1:1),e.left=0,k6(e,t,r)),o&&(e.right=e.left,e.left="auto"))}function A6(e){var t=I6();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function I6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var P6={position:0,scrollable:!1},am=parseInt(us("--scrollbar-face-margin"),10),gp=am*2,Gs=30,sm=40,wt=function(e){Ke(r,e);var t=A6(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"_onRefFace",function(i){return o._faceRef=i}),G(Q(o),"_onRefRoot",function(i){return o._rootRef=i}),G(Q(o),"scrollBy",function(i){o._onWheel(i)}),G(Q(o),"_shouldHandleX",function(i){return o.props.orientation==="horizontal"?o._shouldHandleChange(i):!1}),G(Q(o),"_shouldHandleY",function(i){return o.props.orientation!=="horizontal"?o._shouldHandleChange(i):!1}),G(Q(o),"_shouldHandleChange",function(i){var a=o._calculateState(o.state.position+i,o.props.size,o.props.contentSize,o.props.orientation);return a.position!==o.state.position}),G(Q(o),"_calculateState",function(i,a,s,l){var c=Math.max(1,a);if(s<=c)return P6;var d="".concat(i,"_").concat(c,"_").concat(s,"_").concat(l);if(o._stateKey===d)return o._stateForKey;var p=l==="horizontal",h=c/s,m=c*h;m<Gs&&(h=(c-Gs)/(s-c),m=Gs);var v=!0,g=s-c;i<0?i=0:i>g&&(i=g);var y={faceSize:m,isHorizontal:p,position:i,scale:h,scrollable:v};return o._stateKey=d,o._stateForKey=y,y}),G(Q(o),"_onWheelY",function(i,a){o._onWheel(a)}),G(Q(o),"_onWheelX",function(i,a){o._onWheel(i)}),G(Q(o),"_onWheel",function(i){var a=o.props;o._setNextState(o._calculateState(o.state.position+i,a.size,a.contentSize,a.orientation))}),G(Q(o),"_onMouseDown",function(i){o.setState({isDragging:!0});var a;if(i.target!==o._faceRef){var s,l,c,d,p=i.nativeEvent,h=o.state.isHorizontal?(s=(l=p.offsetX)!==null&&l!==void 0?l:p.layerX)!==null&&s!==void 0?s:o.getTouchX(p):(c=(d=p.offsetY)!==null&&d!==void 0?d:p.layerY)!==null&&c!==void 0?c:o.getTouchY(p),m=o.props;h/=o.state.scale,a=o._calculateState(h-o.state.faceSize*.5/o.state.scale,m.size,m.contentSize,m.orientation)}else a={};o._setNextState(a),o._mouseMoveTracker.captureMouseMoves(i),o._rootRef.focus()}),G(Q(o),"_onTouchCancel",function(i){i.stopPropagation()}),G(Q(o),"_onTouchEnd",function(i){i.stopPropagation()}),G(Q(o),"_onTouchMove",function(i){i.stopPropagation()}),G(Q(o),"_onTouchStart",function(i){i.stopPropagation(),o._onMouseDown(i)}),G(Q(o),"_onMouseMove",function(i,a){var s=o.props,l=o.state.isHorizontal?i*(o.props.isRTL?-1:1):a;l/=o.state.scale;var c=bt.flushSync||function(d){return d()};c(function(){return o._setNextState(o._calculateState(o.state.position+l,s.size,s.contentSize,s.orientation))})}),G(Q(o),"_onMouseMoveEnd",function(){o._nextState=null,o._mouseMoveTracker.releaseMouseMoves(),o.setState({isDragging:!1})}),G(Q(o),"_onKeyDown",function(i){var a=i.keyCode;if(a!==Wt.TAB){var s=sm,l=0;if(o.state.isHorizontal)switch(a){case Wt.HOME:l=-1,s=o.props.contentSize;break;case Wt.LEFT:l=-1;break;case Wt.RIGHT:l=1;break;default:return}if(!o.state.isHorizontal)switch(a){case Wt.SPACE:i.shiftKey?l=-1:l=1;break;case Wt.HOME:l=-1,s=o.props.contentSize;break;case Wt.UP:l=-1;break;case Wt.DOWN:l=1;break;case Wt.PAGE_UP:l=-1,s=o.props.size;break;case Wt.PAGE_DOWN:l=1,s=o.props.size;break;default:return}i.preventDefault();var c=o.props;o._setNextState(o._calculateState(o.state.position+s*l,c.size,c.contentSize,c.orientation))}}),G(Q(o),"getTouchX",function(i){return Math.round(i.targetTouches[0].clientX-i.target.getBoundingClientRect().x)}),G(Q(o),"getTouchY",function(i){return Math.round(i.targetTouches[0].clientY-i.target.getBoundingClientRect().y)}),G(Q(o),"_setNextState",function(i,a){a=a||o.props;var s=a.position,l=o.state.position!==i.position;if(s===void 0){var c=l?o._didScroll:void 0;o.setState(i,c)}else if(s===i.position)o.setState(i);else{i.position!==void 0&&i.position!==o.state.position&&o.props.onScroll(i.position);return}}),G(Q(o),"_didScroll",function(){o.props.onScroll(o.state.position)}),o.state=o._calculateState(n.position||n.defaultPosition||0,n.size,n.contentSize,n.orientation),o._initialRender=!0,o}return Ie(r,[{key:"componentDidUpdate",value:function(){var o=this.props.position;o===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(o,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var o=this.props.size,i,a,s=this.state.isHorizontal,l=!s,c=this.state.isDragging,d=this.state.faceSize,p=this.props.isOpaque,h=this.props.verticalTop||0,m=ae({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":l,"ScrollbarLayout/mainHorizontal":s,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":p,"public/Scrollbar/mainActive":c}),v=ae({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":s,"ScrollbarLayout/faceVertical":l,"public/Scrollbar/faceActive":c,"public/Scrollbar/face":!0}),g=this.state.position*this.state.scale+am;return s?(i={width:o},a={width:d-gp,top:0,bottom:0},Cn(a,g,0,this._initialRender,this.props.isRTL)):(i={top:h,height:o},this.props.isRTL&&(i.left=i.right||0,i.right="auto"),a={height:d-gp},Cn(a,0,g,this._initialRender,this.props.isRTL),a.left=0,a.right=0),i.touchAction="none",i.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&(i.backgroundColor=us("--fbui-desktop-background-light")),S.createElement("div",{onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:m,style:i,ref:this._onRefRoot},S.createElement("div",{ref:this._onRefFace,className:v,style:a}))}},{key:"componentDidMount",value:function(){var o=this.props.orientation==="horizontal",i=o?this._onWheelX:this._onWheelY;this._wheelHandler=new nm(i,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new bu(this._onMouseMove,this._onMouseMoveEnd,document.documentElement,this.props.touchEnabled),this.props.position!==void 0&&this.state.position!==this.props.position&&this._didScroll(),this._initialRender=!1}},{key:"componentWillUnmount",value:function(){this._rootRef&&this._rootRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._nextState=null,this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}}]),r}(S.PureComponent);G(wt,"propTypes",{contentSize:M.number.isRequired,defaultPosition:M.number,isOpaque:M.bool,orientation:M.oneOf(["vertical","horizontal"]),onScroll:M.func,position:M.number,size:M.number.isRequired,trackColor:M.oneOf(["gray"]),touchEnabled:M.bool,zIndex:M.number,verticalTop:M.number,isRTL:M.bool});G(wt,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:rt,orientation:"vertical",zIndex:99});wt.KEYBOARD_SCROLL_AMOUNT=sm;wt.SIZE=parseInt(us("--scrollbar-size"),10);wt.OFFSET=1;function Ze(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var o=W6[e],i=o?typeof o=="function"?o.apply(null,r):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ar(e){return!!e&&!!e[De]}function Er(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===V6}(e)||Array.isArray(e)||!!e[Cp]||!!e.constructor[Cp]||wu(e)||xu(e))}function D6(e){return ar(e)||Ze(23,e),e[De].t}function Vr(e,t,r){r===void 0&&(r=!1),Fn(e)===0?(r?Object.keys:wn)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Fn(e){var t=e[De];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:wu(e)?2:xu(e)?3:0}function bn(e,t){return Fn(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $6(e,t){return Fn(e)===2?e.get(t):e[t]}function lm(e,t,r){var n=Fn(e);n===2?e.set(t,r):n===3?(e.delete(t),e.add(r)):e[t]=r}function cm(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function wu(e){return H6&&e instanceof Map}function xu(e){return z6&&e instanceof Set}function pr(e){return e.o||e.t}function Cu(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=dm(e);delete t[De];for(var r=wn(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Eu(e,t){return t===void 0&&(t=!1),Tu(e)||ar(e)||!Er(e)||(Fn(e)>1&&(e.set=e.add=e.clear=e.delete=N6),Object.freeze(e),t&&Vr(e,function(r,n){return Eu(n,!0)},!0)),e}function N6(){Ze(2)}function Tu(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function qt(e){var t=oc[e];return t||Ze(18,e),t}function L6(e,t){oc[e]||(oc[e]=t)}function tc(){return process.env.NODE_ENV==="production"||En||Ze(0),En}function Ys(e,t){t&&(qt("Patches"),e.u=[],e.s=[],e.v=t)}function ea(e){rc(e),e.p.forEach(F6),e.p=null}function rc(e){e===En&&(En=e.l)}function mp(e){return En={p:[],l:En,h:e,m:!0,_:0}}function F6(e){var t=e[De];t.i===0||t.i===1?t.j():t.O=!0}function qs(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.g||qt("ES5").S(t,e,n),n?(r[De].P&&(ea(t),Ze(4)),Er(e)&&(e=ta(t,e),t.l||ra(t,e)),t.u&&qt("Patches").M(r[De].t,e,t.u,t.s)):e=ta(t,r,[]),ea(t),t.u&&t.v(t.u,t.s),e!==um?e:void 0}function ta(e,t,r){if(Tu(t))return t;var n=t[De];if(!n)return Vr(t,function(i,a){return vp(e,n,t,i,a,r)},!0),t;if(n.A!==e)return t;if(!n.P)return ra(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=Cu(n.k):n.o;Vr(n.i===3?new Set(o):o,function(i,a){return vp(e,n,o,i,a,r)}),ra(e,o,!1),r&&e.u&&qt("Patches").R(n,r,e.u,e.s)}return n.o}function vp(e,t,r,n,o,i){if(process.env.NODE_ENV!=="production"&&o===r&&Ze(5),ar(o)){var a=ta(e,o,i&&t&&t.i!==3&&!bn(t.D,n)?i.concat(n):void 0);if(lm(r,n,a),!ar(a))return;e.m=!1}if(Er(o)&&!Tu(o)){if(!e.h.F&&e._<1)return;ta(e,o),t&&t.A.l||ra(e,o)}}function ra(e,t,r){r===void 0&&(r=!1),e.h.F&&e.m&&Eu(t,r)}function Xs(e,t){var r=e[De];return(r?pr(r):e)[t]}function yp(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function gr(e){e.P||(e.P=!0,e.l&&gr(e.l))}function Ks(e){e.o||(e.o=Cu(e.t))}function nc(e,t,r){var n=wu(t)?qt("MapSet").N(t,r):xu(t)?qt("MapSet").T(t,r):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:tc(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,c=Do;a&&(l=[s],c=lo);var d=Proxy.revocable(l,c),p=d.revoke,h=d.proxy;return s.k=h,s.j=p,h}(t,r):qt("ES5").J(t,r);return(r?r.A:tc()).p.push(n),n}function j6(e){return ar(e)||Ze(22,e),function t(r){if(!Er(r))return r;var n,o=r[De],i=Fn(r);if(o){if(!o.P&&(o.i<4||!qt("ES5").K(o)))return o.t;o.I=!0,n=bp(r,i),o.I=!1}else n=bp(r,i);return Vr(n,function(a,s){o&&$6(o.t,a)===s||lm(n,a,t(s))}),i===3?new Set(n):n}(e)}function bp(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Cu(e)}function B6(){function e(a,s){var l=i[a];return l?l.enumerable=s:i[a]=l={configurable:!0,enumerable:s,get:function(){var c=this[De];return process.env.NODE_ENV!=="production"&&o(c),Do.get(c,a)},set:function(c){var d=this[De];process.env.NODE_ENV!=="production"&&o(d),Do.set(d,a,c)}},l}function t(a){for(var s=a.length-1;s>=0;s--){var l=a[s][De];if(!l.P)switch(l.i){case 5:n(l)&&gr(l);break;case 4:r(l)&&gr(l)}}}function r(a){for(var s=a.t,l=a.k,c=wn(l),d=c.length-1;d>=0;d--){var p=c[d];if(p!==De){var h=s[p];if(h===void 0&&!bn(s,p))return!0;var m=l[p],v=m&&m[De];if(v?v.t!==h:!cm(m,h))return!0}}var g=!!s[De];return c.length!==wn(s).length+(g?0:1)}function n(a){var s=a.k;if(s.length!==a.t.length)return!0;var l=Object.getOwnPropertyDescriptor(s,s.length-1);if(l&&!l.get)return!0;for(var c=0;c<s.length;c++)if(!s.hasOwnProperty(c))return!0;return!1}function o(a){a.O&&Ze(3,JSON.stringify(pr(a)))}var i={};L6("ES5",{J:function(a,s){var l=Array.isArray(a),c=function(p,h){if(p){for(var m=Array(h.length),v=0;v<h.length;v++)Object.defineProperty(m,""+v,e(v,!0));return m}var g=dm(h);delete g[De];for(var y=wn(g),b=0;b<y.length;b++){var T=y[b];g[T]=e(T,p||!!g[T].enumerable)}return Object.create(Object.getPrototypeOf(h),g)}(l,a),d={i:l?5:4,A:s?s.A:tc(),P:!1,I:!1,D:{},l:s,t:a,k:c,o:null,O:!1,C:!1};return Object.defineProperty(c,De,{value:d,writable:!0}),c},S:function(a,s,l){l?ar(s)&&s[De].A===a&&t(a.p):(a.u&&function c(d){if(d&&typeof d=="object"){var p=d[De];if(p){var h=p.t,m=p.k,v=p.D,g=p.i;if(g===4)Vr(m,function(x){x!==De&&(h[x]!==void 0||bn(h,x)?v[x]||c(m[x]):(v[x]=!0,gr(p)))}),Vr(h,function(x){m[x]!==void 0||bn(m,x)||(v[x]=!1,gr(p))});else if(g===5){if(n(p)&&(gr(p),v.length=!0),m.length<h.length)for(var y=m.length;y<h.length;y++)v[y]=!1;else for(var b=h.length;b<m.length;b++)v[b]=!0;for(var T=Math.min(m.length,h.length),E=0;E<T;E++)m.hasOwnProperty(E)||(v[E]=!0),v[E]===void 0&&c(m[E])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var wp,En,Su=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",H6=typeof Map!="undefined",z6=typeof Set!="undefined",xp=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",um=Su?Symbol.for("immer-nothing"):((wp={})["immer-nothing"]=!0,wp),Cp=Su?Symbol.for("immer-draftable"):"__$immer_draftable",De=Su?Symbol.for("immer-state"):"__$immer_state",W6={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},V6=""+Object.prototype.constructor,wn=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,dm=Object.getOwnPropertyDescriptors||function(e){var t={};return wn(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},oc={},Do={get:function(e,t){if(t===De)return e;var r=pr(e);if(!bn(r,t))return function(o,i,a){var s,l=yp(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!Er(n)?n:n===Xs(e.t,t)?(Ks(e),e.o[t]=nc(e.A.h,n,e)):n},has:function(e,t){return t in pr(e)},ownKeys:function(e){return Reflect.ownKeys(pr(e))},set:function(e,t,r){var n=yp(pr(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Xs(pr(e),t),i=o==null?void 0:o[De];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(cm(r,o)&&(r!==void 0||bn(e.t,t)))return!0;Ks(e),gr(e)}return e.o[t]===r&&typeof r!="number"&&(r!==void 0||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Xs(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Ks(e),gr(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=pr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ze(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ze(12)}},lo={};Vr(Do,function(e,t){lo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),lo.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Ze(13),lo.set.call(this,e,t,void 0)},lo.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Ze(14),Do.set.call(this,e[0],t,r,e[0])};var U6=function(){function e(r){var n=this;this.g=xp,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=n;return function(g){var y=this;g===void 0&&(g=s);for(var b=arguments.length,T=Array(b>1?b-1:0),E=1;E<b;E++)T[E-1]=arguments[E];return l.produce(g,function(x){var C;return(C=i).call.apply(C,[y,x].concat(T))})}}var c;if(typeof i!="function"&&Ze(6),a!==void 0&&typeof a!="function"&&Ze(7),Er(o)){var d=mp(n),p=nc(n,o,void 0),h=!0;try{c=i(p),h=!1}finally{h?ea(d):rc(d)}return typeof Promise!="undefined"&&c instanceof Promise?c.then(function(g){return Ys(d,a),qs(g,d)},function(g){throw ea(d),g}):(Ys(d,a),qs(c,d))}if(!o||typeof o!="object"){if((c=i(o))===void 0&&(c=o),c===um&&(c=void 0),n.F&&Eu(c,!0),a){var m=[],v=[];qt("Patches").M(o,c,m,v),a(m,v)}return c}Ze(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(c){for(var d=arguments.length,p=Array(d>1?d-1:0),h=1;h<d;h++)p[h-1]=arguments[h];return n.produceWithPatches(c,function(m){return o.apply(void 0,[m].concat(p))})};var a,s,l=n.produce(o,i,function(c,d){a=c,s=d});return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(c){return[c,a,s]}):[l,a,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Er(r)||Ze(8),ar(r)&&(r=j6(r));var n=mp(this),o=nc(this,r,void 0);return o[De].C=!0,rc(n),o},t.finishDraft=function(r,n){var o=r&&r[De];process.env.NODE_ENV!=="production"&&(o&&o.C||Ze(9),o.I&&Ze(10));var i=o.A;return Ys(i,n),qs(void 0,i)},t.setAutoFreeze=function(r){this.F=r},t.setUseProxies=function(r){r&&!xp&&Ze(20),this.g=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=qt("Patches").$;return ar(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),Ct=new U6,G6=Ct.produce;Ct.produceWithPatches.bind(Ct);Ct.setAutoFreeze.bind(Ct);Ct.setUseProxies.bind(Ct);Ct.applyPatches.bind(Ct);Ct.createDraft.bind(Ct);Ct.finishDraft.bind(Ct);var ji=G6;function fm(e){var t=function(n){var o=n.dispatch,i=n.getState;return function(a){return function(s){return typeof s=="function"?s(o,i,e):a(s)}}};return t}var pm=fm();pm.withExtraArgument=fm;var Ep=pm,Y6=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),na=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},q6=Object.defineProperty,Tp=Object.getOwnPropertySymbols,X6=Object.prototype.hasOwnProperty,K6=Object.prototype.propertyIsEnumerable,Sp=function(e,t,r){return t in e?q6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},$o=function(e,t){for(var r in t||(t={}))X6.call(t,r)&&Sp(e,r,t[r]);if(Tp)for(var n=0,o=Tp(t);n<o.length;n++){var r=o[n];K6.call(t,r)&&Sp(e,r,t[r])}return e},Q6=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qi:Qi.apply(null,arguments)};function hm(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function gm(e,t){var r=0;return{measureTime:function(n){var o=Date.now();try{return n()}finally{var i=Date.now();r+=i-o}},warnIfExceeded:function(){r>e&&console.warn(t+" took "+r+"ms, which is more than the warning threshold of "+e+`ms.
279
+ */function E6(e,t){if(!wu.canUseDOM||t)return!1;var r="on"+e,n=r in document;if(!n){var o=document.createElement("div");o.setAttribute(r,"return;"),n=typeof o[r]=="function"}return!n&&nm&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var fp=10,pp=40,hp=800;function om(e){var t=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*fp,o=r*fp,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(e.deltaMode==1?(n*=pp,o*=pp):(n*=hp,o*=hp)),n&&!t&&(t=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:o}}om.getEventType=function(){return Ql.firefox()?"DOMMouseScroll":E6("wheel")?"wheel":"mousewheel"};var T6=ct.requestAnimationFrame||ct.webkitRequestAnimationFrame||ct.mozRequestAnimationFrame||ct.oRequestAnimationFrame||ct.msRequestAnimationFrame,gp=0,vr=T6||function(e){var t=Date.now(),r=Math.max(0,16-(t-gp));return gp=t+r,ct.setTimeout(function(){e(Date.now())},r)};vr(rt);var im=function(){function e(t,r,n,o,i,a){Ae(this,e),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof r!="function"&&(r=r?rt.thatReturnsTrue:rt.thatReturnsFalse),typeof n!="function"&&(n=n?rt.thatReturnsTrue:rt.thatReturnsFalse),this._handleScrollX=r,this._handleScrollY=n,this._preventDefault=i,this._stopPropagation=a,this._onWheelCallback=t,this.onWheel=this.onWheel.bind(this),this._isRTL=o}return Ie(e,[{key:"onWheel",value:function(r){this._preventDefault&&r.preventDefault();var n=om(r);r.shiftKey&&e._allowInternalAxesSwap()?n=e._swapNormalizedWheelAxis(n):r.shiftKey||(n.pixelX*=this._isRTL?-1:1);var o=this._deltaX+n.pixelX,i=this._deltaY+n.pixelY,a=this._handleScrollX(o,i),s=this._handleScrollY(i,o);if(!(!a&&!s)&&!(this._rootRef&&!this._contains(r.target))){this._deltaX+=a?n.pixelX:0,this._deltaY+=s?n.pixelY:0,r.defaultPrevented||r.preventDefault();var l;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&r.stopPropagation(),l=!0),l===!0&&this._animationFrameID===null&&(this._animationFrameID=vr(this._didWheel))}}},{key:"setRoot",value:function(r){this._rootRef=r}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(r){for(var n=r;n!=document.body;){if(n===this._rootRef)return!0;n=n.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(r){return{spinX:r.spinY,spinY:r.spinX,pixelX:r.pixelY,pixelY:r.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),e}(),ln={listen:function(t,r,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t.addEventListener)return t.addEventListener(r,n,o||!1),{remove:function(){t.removeEventListener(r,n,o||!1)}};if(t.attachEvent)return t.attachEvent("on"+r,n),{remove:function(){t.detachEvent("on"+r,n)}}},capture:function(t,r,n){return t.addEventListener?(t.addEventListener(r,n,!0),{remove:function(){t.removeEventListener(r,n,!0)}}):(process.env.NODE_ENV!=="production"&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:rt})},registerDefault:function(){}},am=ct.cancelAnimationFrame||ct.webkitCancelAnimationFrame||ct.mozCancelAnimationFrame||ct.oCancelAnimationFrame||ct.msCancelAnimationFrame||ct.clearTimeout;function S6(e){var t=0,r=0;if(!e.clientX||!e.clientY){if(e.touches&&e.touches.length>0){var n=e.touches[0];t=n.clientX,r=n.clientY}}else t=e.clientX,r=e.clientY;return{x:t,y:r}}var Zl={getCoordinatesFromEvent:S6},xu=function(){function e(t,r,n,o){Ae(this,e),this._isDragging=!1,this._isTouchEnabled=o,this._animationFrameID=null,this._domNode=n,this._onMove=t,this._onMoveEnd=r,this._onMouseEnd=this._onMouseEnd.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._didMouseMove=this._didMouseMove.bind(this)}return Ie(e,[{key:"captureMouseMoves",value:function(r){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=ln.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=ln.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=ln.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=ln.listen(this._domNode,"touchstart",this._onMouseMove,{passive:!1}),this._eventTouchMoveToken=ln.listen(r.target,"touchmove",this._onMouseMove,{passive:!1}),this._eventTouchEndToken=ln.listen(r.target,"touchend",this._onMouseUp,{passive:!1})),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var n=Zl.getCoordinatesFromEvent(r),o=n.x,i=n.y;this._x=o,this._y=i}r.preventDefault()}},{key:"releaseMouseMoves",value:function(){this._eventMoveToken&&this._eventUpToken&&this._eventLeaveToken&&(this._eventMoveToken.remove(),this._eventMoveToken=null,this._eventUpToken.remove(),this._eventUpToken=null,this._eventLeaveToken.remove(),this._eventLeaveToken=null),this._isTouchEnabled&&this._eventTouchStartToken&&this._eventTouchMoveToken&&this._eventTouchEndToken&&(this._eventTouchStartToken.remove(),this._eventTouchStartToken=null,this._eventTouchMoveToken.remove(),this._eventTouchMoveToken=null,this._eventTouchEndToken.remove(),this._eventTouchEndToken=null),this._animationFrameID!==null&&(am(this._animationFrameID),this._animationFrameID=null),this._isDragging&&(this._isDragging=!1,this._x=null,this._y=null)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"_onMouseMove",value:function(r){var n=Zl.getCoordinatesFromEvent(r),o=n.x,i=n.y;this._deltaX+=o-this._x,this._deltaY+=i-this._y,this._animationFrameID===null&&(this._animationFrameID=vr(this._didMouseMove)),this._x=o,this._y=i,r.preventDefault()}},{key:"_didMouseMove",value:function(){this._animationFrameID=null,this._onMove(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_onMouseUp",value:function(){this._animationFrameID&&this._didMouseMove(),this._onMoveEnd(!1)}},{key:"_onMouseEnd",value:function(){this._onMoveEnd(!0)}}]),e}(),Jl={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function fs(e){if(Jl.hasOwnProperty(e))return Jl[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}fs.CSS_VARS=Jl;var R6=/-(.)/g;function _6(e){return e.replace(R6,function(t,r){return r.toUpperCase()})}var Ys={},ec=["Webkit","ms","Moz","O"],M6=new RegExp("^("+ec.join("|")+")"),sm=wu.canUseDOM?document.createElement("div").style:{};function O6(e){for(var t=0;t<ec.length;t++){var r=ec[t]+e;if(r in sm)return r}return null}function gn(e){var t=_6(e);if(Ys[t]===void 0){var r=t.charAt(0).toUpperCase()+t.slice(1);M6.test(r)&&Gt(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",e),Ys[t]=t in sm?t:O6(r)}return Ys[t]}var tc={hasCSSAnimations:function(){return!!gn("animationName")},hasCSSTransforms:function(){return!!gn("transform")},hasCSS3DTransforms:function(){return!!gn("perspective")},hasCSSTransitions:function(){return!!gn("transition")}},mp=gn("transform");gn("backfaceVisibility");var k6=function(){if(tc.hasCSSTransforms()){var e=ct.window?ct.window.navigator.userAgent:"UNKNOWN",t=/Safari\//.test(e)&&!/Chrome\//.test(e);return!t&&tc.hasCSS3DTransforms()?function(r,n,o){r[mp]="translate3d("+n+"px,"+o+"px,0)"}:function(r,n,o){r[mp]="translate("+n+"px,"+o+"px)"}}else return function(r,n,o){r.left=n+"px",r.top=o+"px"}}();function Cn(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;e.display!=="none"&&(n?(e.left=t+"px",e.top=r+"px"):(tc.hasCSSTransforms()&&(t*=o?-1:1),e.left=0,k6(e,t,r)),o&&(e.right=e.left,e.left="auto"))}function A6(e){var t=I6();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function I6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var P6={position:0,scrollable:!1},lm=parseInt(fs("--scrollbar-face-margin"),10),vp=lm*2,qs=30,cm=40,wt=function(e){Ke(r,e);var t=A6(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"_onRefFace",function(i){return o._faceRef=i}),G(Q(o),"_onRefRoot",function(i){return o._rootRef=i}),G(Q(o),"scrollBy",function(i){o._onWheel(i)}),G(Q(o),"_shouldHandleX",function(i){return o.props.orientation==="horizontal"?o._shouldHandleChange(i):!1}),G(Q(o),"_shouldHandleY",function(i){return o.props.orientation!=="horizontal"?o._shouldHandleChange(i):!1}),G(Q(o),"_shouldHandleChange",function(i){var a=o._calculateState(o.state.position+i,o.props.size,o.props.contentSize,o.props.orientation);return a.position!==o.state.position}),G(Q(o),"_calculateState",function(i,a,s,l){var c=Math.max(1,a);if(s<=c)return P6;var d="".concat(i,"_").concat(c,"_").concat(s,"_").concat(l);if(o._stateKey===d)return o._stateForKey;var p=l==="horizontal",h=c/s,m=c*h;m<qs&&(h=(c-qs)/(s-c),m=qs);var v=!0,g=s-c;i<0?i=0:i>g&&(i=g);var y={faceSize:m,isHorizontal:p,position:i,scale:h,scrollable:v};return o._stateKey=d,o._stateForKey=y,y}),G(Q(o),"_onWheelY",function(i,a){o._onWheel(a)}),G(Q(o),"_onWheelX",function(i,a){o._onWheel(i)}),G(Q(o),"_onWheel",function(i){var a=o.props;o._setNextState(o._calculateState(o.state.position+i,a.size,a.contentSize,a.orientation))}),G(Q(o),"_onMouseDown",function(i){o.setState({isDragging:!0});var a;if(i.target!==o._faceRef){var s,l,c,d,p=i.nativeEvent,h=o.state.isHorizontal?(s=(l=p.offsetX)!==null&&l!==void 0?l:p.layerX)!==null&&s!==void 0?s:o.getTouchX(p):(c=(d=p.offsetY)!==null&&d!==void 0?d:p.layerY)!==null&&c!==void 0?c:o.getTouchY(p),m=o.props;h/=o.state.scale,a=o._calculateState(h-o.state.faceSize*.5/o.state.scale,m.size,m.contentSize,m.orientation)}else a={};o._setNextState(a),o._mouseMoveTracker.captureMouseMoves(i),o._rootRef.focus()}),G(Q(o),"_onTouchCancel",function(i){i.stopPropagation()}),G(Q(o),"_onTouchEnd",function(i){i.stopPropagation()}),G(Q(o),"_onTouchMove",function(i){i.stopPropagation()}),G(Q(o),"_onTouchStart",function(i){i.stopPropagation(),o._onMouseDown(i)}),G(Q(o),"_onMouseMove",function(i,a){var s=o.props,l=o.state.isHorizontal?i*(o.props.isRTL?-1:1):a;l/=o.state.scale;var c=bt.flushSync||function(d){return d()};c(function(){return o._setNextState(o._calculateState(o.state.position+l,s.size,s.contentSize,s.orientation))})}),G(Q(o),"_onMouseMoveEnd",function(){o._nextState=null,o._mouseMoveTracker.releaseMouseMoves(),o.setState({isDragging:!1})}),G(Q(o),"_onKeyDown",function(i){var a=i.keyCode;if(a!==Wt.TAB){var s=cm,l=0;if(o.state.isHorizontal)switch(a){case Wt.HOME:l=-1,s=o.props.contentSize;break;case Wt.LEFT:l=-1;break;case Wt.RIGHT:l=1;break;default:return}if(!o.state.isHorizontal)switch(a){case Wt.SPACE:i.shiftKey?l=-1:l=1;break;case Wt.HOME:l=-1,s=o.props.contentSize;break;case Wt.UP:l=-1;break;case Wt.DOWN:l=1;break;case Wt.PAGE_UP:l=-1,s=o.props.size;break;case Wt.PAGE_DOWN:l=1,s=o.props.size;break;default:return}i.preventDefault();var c=o.props;o._setNextState(o._calculateState(o.state.position+s*l,c.size,c.contentSize,c.orientation))}}),G(Q(o),"getTouchX",function(i){return Math.round(i.targetTouches[0].clientX-i.target.getBoundingClientRect().x)}),G(Q(o),"getTouchY",function(i){return Math.round(i.targetTouches[0].clientY-i.target.getBoundingClientRect().y)}),G(Q(o),"_setNextState",function(i,a){a=a||o.props;var s=a.position,l=o.state.position!==i.position;if(s===void 0){var c=l?o._didScroll:void 0;o.setState(i,c)}else if(s===i.position)o.setState(i);else{i.position!==void 0&&i.position!==o.state.position&&o.props.onScroll(i.position);return}}),G(Q(o),"_didScroll",function(){o.props.onScroll(o.state.position)}),o.state=o._calculateState(n.position||n.defaultPosition||0,n.size,n.contentSize,n.orientation),o._initialRender=!0,o}return Ie(r,[{key:"componentDidUpdate",value:function(){var o=this.props.position;o===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(o,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var o=this.props.size,i,a,s=this.state.isHorizontal,l=!s,c=this.state.isDragging,d=this.state.faceSize,p=this.props.isOpaque,h=this.props.verticalTop||0,m=ae({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":l,"ScrollbarLayout/mainHorizontal":s,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":p,"public/Scrollbar/mainActive":c}),v=ae({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":s,"ScrollbarLayout/faceVertical":l,"public/Scrollbar/faceActive":c,"public/Scrollbar/face":!0}),g=this.state.position*this.state.scale+lm;return s?(i={width:o},a={width:d-vp,top:0,bottom:0},Cn(a,g,0,this._initialRender,this.props.isRTL)):(i={top:h,height:o},this.props.isRTL&&(i.left=i.right||0,i.right="auto"),a={height:d-vp},Cn(a,0,g,this._initialRender,this.props.isRTL),a.left=0,a.right=0),i.touchAction="none",i.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&(i.backgroundColor=fs("--fbui-desktop-background-light")),S.createElement("div",{onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:m,style:i,ref:this._onRefRoot},S.createElement("div",{ref:this._onRefFace,className:v,style:a}))}},{key:"componentDidMount",value:function(){var o=this.props.orientation==="horizontal",i=o?this._onWheelX:this._onWheelY;this._wheelHandler=new im(i,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new xu(this._onMouseMove,this._onMouseMoveEnd,document.documentElement,this.props.touchEnabled),this.props.position!==void 0&&this.state.position!==this.props.position&&this._didScroll(),this._initialRender=!1}},{key:"componentWillUnmount",value:function(){this._rootRef&&this._rootRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._nextState=null,this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}}]),r}(S.PureComponent);G(wt,"propTypes",{contentSize:M.number.isRequired,defaultPosition:M.number,isOpaque:M.bool,orientation:M.oneOf(["vertical","horizontal"]),onScroll:M.func,position:M.number,size:M.number.isRequired,trackColor:M.oneOf(["gray"]),touchEnabled:M.bool,zIndex:M.number,verticalTop:M.number,isRTL:M.bool});G(wt,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:rt,orientation:"vertical",zIndex:99});wt.KEYBOARD_SCROLL_AMOUNT=cm;wt.SIZE=parseInt(fs("--scrollbar-size"),10);wt.OFFSET=1;function Ze(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var o=W6[e],i=o?typeof o=="function"?o.apply(null,r):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ar(e){return!!e&&!!e[De]}function Er(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===V6}(e)||Array.isArray(e)||!!e[Tp]||!!e.constructor[Tp]||Cu(e)||Eu(e))}function D6(e){return ar(e)||Ze(23,e),e[De].t}function Vr(e,t,r){r===void 0&&(r=!1),Fn(e)===0?(r?Object.keys:wn)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function Fn(e){var t=e[De];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Cu(e)?2:Eu(e)?3:0}function bn(e,t){return Fn(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $6(e,t){return Fn(e)===2?e.get(t):e[t]}function um(e,t,r){var n=Fn(e);n===2?e.set(t,r):n===3?(e.delete(t),e.add(r)):e[t]=r}function dm(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Cu(e){return H6&&e instanceof Map}function Eu(e){return z6&&e instanceof Set}function pr(e){return e.o||e.t}function Tu(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=pm(e);delete t[De];for(var r=wn(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Su(e,t){return t===void 0&&(t=!1),Ru(e)||ar(e)||!Er(e)||(Fn(e)>1&&(e.set=e.add=e.clear=e.delete=N6),Object.freeze(e),t&&Vr(e,function(r,n){return Su(n,!0)},!0)),e}function N6(){Ze(2)}function Ru(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function qt(e){var t=ic[e];return t||Ze(18,e),t}function L6(e,t){ic[e]||(ic[e]=t)}function rc(){return process.env.NODE_ENV==="production"||En||Ze(0),En}function Xs(e,t){t&&(qt("Patches"),e.u=[],e.s=[],e.v=t)}function ta(e){nc(e),e.p.forEach(F6),e.p=null}function nc(e){e===En&&(En=e.l)}function yp(e){return En={p:[],l:En,h:e,m:!0,_:0}}function F6(e){var t=e[De];t.i===0||t.i===1?t.j():t.O=!0}function Ks(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.g||qt("ES5").S(t,e,n),n?(r[De].P&&(ta(t),Ze(4)),Er(e)&&(e=ra(t,e),t.l||na(t,e)),t.u&&qt("Patches").M(r[De].t,e,t.u,t.s)):e=ra(t,r,[]),ta(t),t.u&&t.v(t.u,t.s),e!==fm?e:void 0}function ra(e,t,r){if(Ru(t))return t;var n=t[De];if(!n)return Vr(t,function(i,a){return bp(e,n,t,i,a,r)},!0),t;if(n.A!==e)return t;if(!n.P)return na(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=Tu(n.k):n.o;Vr(n.i===3?new Set(o):o,function(i,a){return bp(e,n,o,i,a,r)}),na(e,o,!1),r&&e.u&&qt("Patches").R(n,r,e.u,e.s)}return n.o}function bp(e,t,r,n,o,i){if(process.env.NODE_ENV!=="production"&&o===r&&Ze(5),ar(o)){var a=ra(e,o,i&&t&&t.i!==3&&!bn(t.D,n)?i.concat(n):void 0);if(um(r,n,a),!ar(a))return;e.m=!1}if(Er(o)&&!Ru(o)){if(!e.h.F&&e._<1)return;ra(e,o),t&&t.A.l||na(e,o)}}function na(e,t,r){r===void 0&&(r=!1),e.h.F&&e.m&&Su(t,r)}function Qs(e,t){var r=e[De];return(r?pr(r):e)[t]}function wp(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function gr(e){e.P||(e.P=!0,e.l&&gr(e.l))}function Zs(e){e.o||(e.o=Tu(e.t))}function oc(e,t,r){var n=Cu(t)?qt("MapSet").N(t,r):Eu(t)?qt("MapSet").T(t,r):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:rc(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,c=Do;a&&(l=[s],c=lo);var d=Proxy.revocable(l,c),p=d.revoke,h=d.proxy;return s.k=h,s.j=p,h}(t,r):qt("ES5").J(t,r);return(r?r.A:rc()).p.push(n),n}function j6(e){return ar(e)||Ze(22,e),function t(r){if(!Er(r))return r;var n,o=r[De],i=Fn(r);if(o){if(!o.P&&(o.i<4||!qt("ES5").K(o)))return o.t;o.I=!0,n=xp(r,i),o.I=!1}else n=xp(r,i);return Vr(n,function(a,s){o&&$6(o.t,a)===s||um(n,a,t(s))}),i===3?new Set(n):n}(e)}function xp(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Tu(e)}function B6(){function e(a,s){var l=i[a];return l?l.enumerable=s:i[a]=l={configurable:!0,enumerable:s,get:function(){var c=this[De];return process.env.NODE_ENV!=="production"&&o(c),Do.get(c,a)},set:function(c){var d=this[De];process.env.NODE_ENV!=="production"&&o(d),Do.set(d,a,c)}},l}function t(a){for(var s=a.length-1;s>=0;s--){var l=a[s][De];if(!l.P)switch(l.i){case 5:n(l)&&gr(l);break;case 4:r(l)&&gr(l)}}}function r(a){for(var s=a.t,l=a.k,c=wn(l),d=c.length-1;d>=0;d--){var p=c[d];if(p!==De){var h=s[p];if(h===void 0&&!bn(s,p))return!0;var m=l[p],v=m&&m[De];if(v?v.t!==h:!dm(m,h))return!0}}var g=!!s[De];return c.length!==wn(s).length+(g?0:1)}function n(a){var s=a.k;if(s.length!==a.t.length)return!0;var l=Object.getOwnPropertyDescriptor(s,s.length-1);if(l&&!l.get)return!0;for(var c=0;c<s.length;c++)if(!s.hasOwnProperty(c))return!0;return!1}function o(a){a.O&&Ze(3,JSON.stringify(pr(a)))}var i={};L6("ES5",{J:function(a,s){var l=Array.isArray(a),c=function(p,h){if(p){for(var m=Array(h.length),v=0;v<h.length;v++)Object.defineProperty(m,""+v,e(v,!0));return m}var g=pm(h);delete g[De];for(var y=wn(g),b=0;b<y.length;b++){var T=y[b];g[T]=e(T,p||!!g[T].enumerable)}return Object.create(Object.getPrototypeOf(h),g)}(l,a),d={i:l?5:4,A:s?s.A:rc(),P:!1,I:!1,D:{},l:s,t:a,k:c,o:null,O:!1,C:!1};return Object.defineProperty(c,De,{value:d,writable:!0}),c},S:function(a,s,l){l?ar(s)&&s[De].A===a&&t(a.p):(a.u&&function c(d){if(d&&typeof d=="object"){var p=d[De];if(p){var h=p.t,m=p.k,v=p.D,g=p.i;if(g===4)Vr(m,function(x){x!==De&&(h[x]!==void 0||bn(h,x)?v[x]||c(m[x]):(v[x]=!0,gr(p)))}),Vr(h,function(x){m[x]!==void 0||bn(m,x)||(v[x]=!1,gr(p))});else if(g===5){if(n(p)&&(gr(p),v.length=!0),m.length<h.length)for(var y=m.length;y<h.length;y++)v[y]=!1;else for(var b=h.length;b<m.length;b++)v[b]=!0;for(var T=Math.min(m.length,h.length),E=0;E<T;E++)m.hasOwnProperty(E)||(v[E]=!0),v[E]===void 0&&c(m[E])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var Cp,En,_u=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",H6=typeof Map!="undefined",z6=typeof Set!="undefined",Ep=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",fm=_u?Symbol.for("immer-nothing"):((Cp={})["immer-nothing"]=!0,Cp),Tp=_u?Symbol.for("immer-draftable"):"__$immer_draftable",De=_u?Symbol.for("immer-state"):"__$immer_state",W6={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},V6=""+Object.prototype.constructor,wn=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,pm=Object.getOwnPropertyDescriptors||function(e){var t={};return wn(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},ic={},Do={get:function(e,t){if(t===De)return e;var r=pr(e);if(!bn(r,t))return function(o,i,a){var s,l=wp(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!Er(n)?n:n===Qs(e.t,t)?(Zs(e),e.o[t]=oc(e.A.h,n,e)):n},has:function(e,t){return t in pr(e)},ownKeys:function(e){return Reflect.ownKeys(pr(e))},set:function(e,t,r){var n=wp(pr(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Qs(pr(e),t),i=o==null?void 0:o[De];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(dm(r,o)&&(r!==void 0||bn(e.t,t)))return!0;Zs(e),gr(e)}return e.o[t]===r&&typeof r!="number"&&(r!==void 0||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Qs(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Zs(e),gr(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=pr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ze(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ze(12)}},lo={};Vr(Do,function(e,t){lo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),lo.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Ze(13),lo.set.call(this,e,t,void 0)},lo.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Ze(14),Do.set.call(this,e[0],t,r,e[0])};var U6=function(){function e(r){var n=this;this.g=Ep,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=n;return function(g){var y=this;g===void 0&&(g=s);for(var b=arguments.length,T=Array(b>1?b-1:0),E=1;E<b;E++)T[E-1]=arguments[E];return l.produce(g,function(x){var C;return(C=i).call.apply(C,[y,x].concat(T))})}}var c;if(typeof i!="function"&&Ze(6),a!==void 0&&typeof a!="function"&&Ze(7),Er(o)){var d=yp(n),p=oc(n,o,void 0),h=!0;try{c=i(p),h=!1}finally{h?ta(d):nc(d)}return typeof Promise!="undefined"&&c instanceof Promise?c.then(function(g){return Xs(d,a),Ks(g,d)},function(g){throw ta(d),g}):(Xs(d,a),Ks(c,d))}if(!o||typeof o!="object"){if((c=i(o))===void 0&&(c=o),c===fm&&(c=void 0),n.F&&Su(c,!0),a){var m=[],v=[];qt("Patches").M(o,c,m,v),a(m,v)}return c}Ze(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(c){for(var d=arguments.length,p=Array(d>1?d-1:0),h=1;h<d;h++)p[h-1]=arguments[h];return n.produceWithPatches(c,function(m){return o.apply(void 0,[m].concat(p))})};var a,s,l=n.produce(o,i,function(c,d){a=c,s=d});return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(c){return[c,a,s]}):[l,a,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Er(r)||Ze(8),ar(r)&&(r=j6(r));var n=yp(this),o=oc(this,r,void 0);return o[De].C=!0,nc(n),o},t.finishDraft=function(r,n){var o=r&&r[De];process.env.NODE_ENV!=="production"&&(o&&o.C||Ze(9),o.I&&Ze(10));var i=o.A;return Xs(i,n),Ks(void 0,i)},t.setAutoFreeze=function(r){this.F=r},t.setUseProxies=function(r){r&&!Ep&&Ze(20),this.g=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=qt("Patches").$;return ar(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),Ct=new U6,G6=Ct.produce;Ct.produceWithPatches.bind(Ct);Ct.setAutoFreeze.bind(Ct);Ct.setUseProxies.bind(Ct);Ct.applyPatches.bind(Ct);Ct.createDraft.bind(Ct);Ct.finishDraft.bind(Ct);var Bi=G6;function hm(e){var t=function(n){var o=n.dispatch,i=n.getState;return function(a){return function(s){return typeof s=="function"?s(o,i,e):a(s)}}};return t}var gm=hm();gm.withExtraArgument=hm;var Sp=gm,Y6=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),oa=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},q6=Object.defineProperty,Rp=Object.getOwnPropertySymbols,X6=Object.prototype.hasOwnProperty,K6=Object.prototype.propertyIsEnumerable,_p=function(e,t,r){return t in e?q6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},$o=function(e,t){for(var r in t||(t={}))X6.call(t,r)&&_p(e,r,t[r]);if(Rp)for(var n=0,o=Rp(t);n<o.length;n++){var r=o[n];K6.call(t,r)&&_p(e,r,t[r])}return e},Q6=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Zi:Zi.apply(null,arguments)};function mm(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function vm(e,t){var r=0;return{measureTime:function(n){var o=Date.now();try{return n()}finally{var i=Date.now();r+=i-o}},warnIfExceeded:function(){r>e&&console.warn(t+" took "+r+"ms, which is more than the warning threshold of "+e+`ms.
280
280
  If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
281
- It is disabled in production builds, so you don't need to worry about that.`)}}}var Z6=function(e){Y6(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,na([void 0],r[0].concat(this)))):new(t.bind.apply(t,na([void 0],r.concat(this))))},t}(Array),J6=process.env.NODE_ENV==="production",Rp="Invariant failed";function _p(e,t){if(!e)throw J6?new Error(Rp):new Error(Rp+": "+(t||""))}function eD(e,t,r,n){return JSON.stringify(e,tD(t,n),r)}function tD(e,t){var r=[],n=[];return t||(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}function rD(e){return typeof e!="object"||e===null||typeof e=="undefined"||Object.isFrozen(e)}function nD(e,t,r){var n=mm(e,t,r);return{detectMutations:function(){return vm(e,t,n,r)}}}function mm(e,t,r,n){t===void 0&&(t=[]),n===void 0&&(n="");var o={value:r};if(!e(r)){o.children={};for(var i in r){var a=n?n+"."+i:i;t.length&&t.indexOf(a)!==-1||(o.children[i]=mm(e,t,r[i],a))}}return o}function vm(e,t,r,n,o,i){t===void 0&&(t=[]),o===void 0&&(o=!1),i===void 0&&(i="");var a=r?r.value:void 0,s=a===n;if(o&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:i};if(e(a)||e(n))return{wasMutated:!1};var l={};for(var c in r.children)l[c]=!0;for(var c in n)l[c]=!0;for(var c in l){var d=i?i+"."+c:c;if(!(t.length&&t.indexOf(d)!==-1)){var p=vm(e,t,r.children[c],n[c],s,d);if(p.wasMutated)return p}}return{wasMutated:!1}}function oD(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(l){return function(c){return l(c)}}};var t=e.isImmutable,r=t===void 0?rD:t,n=e.ignoredPaths,o=e.warnAfter,i=o===void 0?32:o,a=e.ignore;n=n||a;var s=nD.bind(null,r,n);return function(l){var c=l.getState,d=c(),p=s(d),h;return function(m){return function(v){var g=gm(i,"ImmutableStateInvariantMiddleware");g.measureTime(function(){d=c(),h=p.detectMutations(),p=s(d),_p(!h.wasMutated,"A state mutation was detected between dispatches, in the path '"+(h.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var y=m(v);return g.measureTime(function(){d=c(),h=p.detectMutations(),p=s(d),h.wasMutated&&_p(!h.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(h.path||"")+". Take a look at the reducer(s) handling the action "+eD(v)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),g.warnIfExceeded(),y}}}}function ym(e){var t=typeof e;return t==="undefined"||e===null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||hm(e)}function ic(e,t,r,n,o){t===void 0&&(t=""),r===void 0&&(r=ym),o===void 0&&(o=[]);var i;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null)return!1;for(var a=n!=null?n(e):Object.entries(e),s=o.length>0,l=0,c=a;l<c.length;l++){var d=c[l],p=d[0],h=d[1],m=t?t+"."+p:p;if(!(s&&o.indexOf(m)>=0)){if(!r(h))return{keyPath:m,value:h};if(typeof h=="object"&&(i=ic(h,m,r,n,o),i))return i}}return!1}function iD(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(y){return function(b){return y(b)}}};var t=e.isSerializable,r=t===void 0?ym:t,n=e.getEntries,o=e.ignoredActions,i=o===void 0?[]:o,a=e.ignoredActionPaths,s=a===void 0?["meta.arg","meta.baseQueryMeta"]:a,l=e.ignoredPaths,c=l===void 0?[]:l,d=e.warnAfter,p=d===void 0?32:d,h=e.ignoreState,m=h===void 0?!1:h,v=e.ignoreActions,g=v===void 0?!1:v;return function(y){return function(b){return function(T){var E=b(T),x=gm(p,"SerializableStateInvariantMiddleware");return!g&&!(i.length&&i.indexOf(T.type)!==-1)&&x.measureTime(function(){var C=ic(T,"",r,n,s);if(C){var _=C.keyPath,O=C.value;console.error("A non-serializable value was detected in an action, in the path: `"+_+"`. Value:",O,`
281
+ It is disabled in production builds, so you don't need to worry about that.`)}}}var Z6=function(e){Y6(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,oa([void 0],r[0].concat(this)))):new(t.bind.apply(t,oa([void 0],r.concat(this))))},t}(Array),J6=process.env.NODE_ENV==="production",Mp="Invariant failed";function Op(e,t){if(!e)throw J6?new Error(Mp):new Error(Mp+": "+(t||""))}function eD(e,t,r,n){return JSON.stringify(e,tD(t,n),r)}function tD(e,t){var r=[],n=[];return t||(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}function rD(e){return typeof e!="object"||e===null||typeof e=="undefined"||Object.isFrozen(e)}function nD(e,t,r){var n=ym(e,t,r);return{detectMutations:function(){return bm(e,t,n,r)}}}function ym(e,t,r,n){t===void 0&&(t=[]),n===void 0&&(n="");var o={value:r};if(!e(r)){o.children={};for(var i in r){var a=n?n+"."+i:i;t.length&&t.indexOf(a)!==-1||(o.children[i]=ym(e,t,r[i],a))}}return o}function bm(e,t,r,n,o,i){t===void 0&&(t=[]),o===void 0&&(o=!1),i===void 0&&(i="");var a=r?r.value:void 0,s=a===n;if(o&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:i};if(e(a)||e(n))return{wasMutated:!1};var l={};for(var c in r.children)l[c]=!0;for(var c in n)l[c]=!0;for(var c in l){var d=i?i+"."+c:c;if(!(t.length&&t.indexOf(d)!==-1)){var p=bm(e,t,r.children[c],n[c],s,d);if(p.wasMutated)return p}}return{wasMutated:!1}}function oD(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(l){return function(c){return l(c)}}};var t=e.isImmutable,r=t===void 0?rD:t,n=e.ignoredPaths,o=e.warnAfter,i=o===void 0?32:o,a=e.ignore;n=n||a;var s=nD.bind(null,r,n);return function(l){var c=l.getState,d=c(),p=s(d),h;return function(m){return function(v){var g=vm(i,"ImmutableStateInvariantMiddleware");g.measureTime(function(){d=c(),h=p.detectMutations(),p=s(d),Op(!h.wasMutated,"A state mutation was detected between dispatches, in the path '"+(h.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var y=m(v);return g.measureTime(function(){d=c(),h=p.detectMutations(),p=s(d),h.wasMutated&&Op(!h.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(h.path||"")+". Take a look at the reducer(s) handling the action "+eD(v)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),g.warnIfExceeded(),y}}}}function wm(e){var t=typeof e;return t==="undefined"||e===null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||mm(e)}function ac(e,t,r,n,o){t===void 0&&(t=""),r===void 0&&(r=wm),o===void 0&&(o=[]);var i;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null)return!1;for(var a=n!=null?n(e):Object.entries(e),s=o.length>0,l=0,c=a;l<c.length;l++){var d=c[l],p=d[0],h=d[1],m=t?t+"."+p:p;if(!(s&&o.indexOf(m)>=0)){if(!r(h))return{keyPath:m,value:h};if(typeof h=="object"&&(i=ac(h,m,r,n,o),i))return i}}return!1}function iD(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(y){return function(b){return y(b)}}};var t=e.isSerializable,r=t===void 0?wm:t,n=e.getEntries,o=e.ignoredActions,i=o===void 0?[]:o,a=e.ignoredActionPaths,s=a===void 0?["meta.arg","meta.baseQueryMeta"]:a,l=e.ignoredPaths,c=l===void 0?[]:l,d=e.warnAfter,p=d===void 0?32:d,h=e.ignoreState,m=h===void 0?!1:h,v=e.ignoreActions,g=v===void 0?!1:v;return function(y){return function(b){return function(T){var E=b(T),x=vm(p,"SerializableStateInvariantMiddleware");return!g&&!(i.length&&i.indexOf(T.type)!==-1)&&x.measureTime(function(){var C=ac(T,"",r,n,s);if(C){var _=C.keyPath,k=C.value;console.error("A non-serializable value was detected in an action, in the path: `"+_+"`. Value:",k,`
282
282
  Take a look at the logic that dispatched this action: `,T,`
283
283
  (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
284
- (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),m||(x.measureTime(function(){var C=y.getState(),_=ic(C,"",r,n,c);if(_){var O=_.keyPath,k=_.value;console.error("A non-serializable value was detected in the state, in the path: `"+O+"`. Value:",k,`
284
+ (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),m||(x.measureTime(function(){var C=y.getState(),_=ac(C,"",r,n,c);if(_){var k=_.keyPath,O=_.value;console.error("A non-serializable value was detected in the state, in the path: `"+k+"`. Value:",O,`
285
285
  Take a look at the reducer(s) handling this action type: `+T.type+`.
286
- (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),x.warnIfExceeded()),E}}}}function Qs(e){return typeof e=="boolean"}function aD(){return function(t){return sD(t)}}function sD(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,o=n===void 0?!0:n,i=e.serializableCheck,a=i===void 0?!0:i,s=new Z6;if(r&&(Qs(r)?s.push(Ep):s.push(Ep.withExtraArgument(r.extraArgument))),process.env.NODE_ENV!=="production"){if(o){var l={};Qs(o)||(l=o),s.unshift(oD(l))}if(a){var c={};Qs(a)||(c=a),s.push(iD(c))}}return s}var Zs=process.env.NODE_ENV==="production";function lD(e){var t=aD(),r=e||{},n=r.reducer,o=n===void 0?void 0:n,i=r.middleware,a=i===void 0?t():i,s=r.devTools,l=s===void 0?!0:s,c=r.preloadedState,d=c===void 0?void 0:c,p=r.enhancers,h=p===void 0?void 0:p,m;if(typeof o=="function")m=o;else if(hm(o))m=EM(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=a;if(typeof v=="function"&&(v=v(t),!Zs&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Zs&&v.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var g=TM.apply(void 0,v),y=Qi;l&&(y=Q6($o({trace:!Zs},typeof l=="object"&&l)));var b=[g];Array.isArray(h)?b=na([g],h):typeof h=="function"&&(b=h(b));var T=y.apply(void 0,b);return Mg(m,d,T)}function No(e,t){function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return $o($o({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function bm(e){var t={},r=[],n,o={addCase:function(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=a,o},addMatcher:function(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase:function(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function cD(e){return typeof e=="function"}function uD(e,t,r,n){r===void 0&&(r=[]);var o=typeof t=="function"?bm(t):[t,r,n],i=o[0],a=o[1],s=o[2],l;if(cD(e))l=function(){return ji(e(),function(){})};else{var c=ji(e,function(){});l=function(){return c}}function d(p,h){p===void 0&&(p=l());var m=na([i[h.type]],a.filter(function(v){var g=v.matcher;return g(h)}).map(function(v){var g=v.reducer;return g}));return m.filter(function(v){return!!v}).length===0&&(m=[s]),m.reduce(function(v,g){if(g)if(ar(v)){var y=v,b=g(y,h);return typeof b=="undefined"?v:b}else{if(Er(v))return ji(v,function(T){return g(T,h)});var b=g(v,h);if(typeof b=="undefined"){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}return v},p)}return d.getInitialState=l,d}function dD(e,t){return e+"/"+t}function fD(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r=typeof e.initialState=="function"?e.initialState:ji(e.initialState,function(){}),n=e.reducers||{},o=Object.keys(n),i={},a={},s={};o.forEach(function(d){var p=n[d],h=dD(t,d),m,v;"reducer"in p?(m=p.reducer,v=p.prepare):m=p,i[d]=m,a[h]=m,s[d]=v?No(h,v):No(h)});function l(){var d=typeof e.extraReducers=="function"?bm(e.extraReducers):[e.extraReducers],p=d[0],h=p===void 0?{}:p,m=d[1],v=m===void 0?[]:m,g=d[2],y=g===void 0?void 0:g,b=$o($o({},h),a);return uD(r,b,v,y)}var c;return{name:t,reducer:function(d,p){return c||(c=l()),c(d,p)},actions:s,caseReducers:i,getInitialState:function(){return c||(c=l()),c.getInitialState()}}}var Ru="listenerMiddleware";No(Ru+"/add");No(Ru+"/removeAll");No(Ru+"/remove");B6();function pD(){var e=hD();return{columnElements:[],columnGroupElements:[],elementTemplates:{cell:[],footer:[],groupHeader:[],header:[]},elementHeights:{footerHeight:0,groupHeaderHeight:0,headerHeight:0},propsRevision:null,rowSettings:{bufferRowCount:void 0,rowAttributesGetter:void 0,rowHeight:0,rowHeightGetter:function(){return 0},rowsCount:0,subRowHeight:0,subRowHeightGetter:function(){return 0}},scrollFlags:{overflowX:"auto",overflowY:"auto",showScrollbarX:!0,showScrollbarY:!0},tableSize:{height:void 0,maxHeight:0,ownerHeight:void 0,useMaxHeight:!1,width:0},firstRowIndex:0,firstRowOffset:0,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:wt.SIZE,scrollY:0,scrollbarYWidth:wt.SIZE,scrolling:!1,getInternal:function(){return e}}}function hD(){return{rowBufferSet:new Wg,rowOffsetIntervalTree:null,storedHeights:[],rowUntilOffsetsAreExact:0}}var wm=fD({name:"FDT",initialState:{},reducers:{initialize:function(t,r){var n=r.payload;Le(t,pD()),Op(t,n),Mp(t);var o=Zf(t,n);Kn(t,o),ip.initialize(t,n,{})},propChange:function(t,r){var n=r.payload,o=n.newProps,i=n.oldProps,a=XI(D6(t));Op(t,o),(i.rowsCount!==o.rowsCount||i.rowHeight!==o.rowHeight||i.subRowHeight!==o.subRowHeight)&&Mp(t),i.rowsCount!==o.rowsCount&&(t.getInternal().rowBufferSet=new Wg);var s=Zf(t,o,i);(!Io(t,a)||s.changed)&&Kn(t,s),ip.initialize(t,o,i),(t.scrollX!==a.scrollX||t.scrollY!==a.scrollY)&&(t.scrolling=t.scrolling||!0)},scrollEnd:function(t){t.scrolling=!1;var r={firstIndex:t.firstRowIndex,firstOffset:t.firstRowOffset,lastIndex:t.lastIndex};Kn(t,r)},scrollToY:function(t,r){var n=r.payload;t.scrolling=!0;var o=jl(t,n);Kn(t,o)},scrollToX:function(t,r){var n=r.payload;t.scrolling=!0,t.scrollX=n},updateRowHeights:function(t,r){var n=r.payload||0;if(!(n>=t.rowSettings.rowsCount)){for(;n<t.rowSettings.rowsCount;)Nr(t,n++);var o=t.getInternal().rowOffsetIntervalTree.sumUntil(t.firstRowIndex)-t.firstRowOffset,i=jl(t,o);Kn(t,i)}}}});function Mp(e){for(var t=e.rowSettings,r=t.rowHeight,n=t.rowsCount,o=t.subRowHeight,i=t.rowHeightGetter,a=t.subRowHeightGetter,s=r+o,l=0,c=new Array(n),d=0;d<n;d++)e.isVerticalScrollExact?c[d]=i(d)+a(d):c[d]=s,l+=c[d];var p=new JI(c);e.scrollContentHeight=l,Le(e.getInternal(),{rowOffsetIntervalTree:p,storedHeights:c})}function Op(e,t){var r=rP(t.children),n=r.columnGroupElements,o=r.columnElements,i=r.elementTemplates,a=r.useGroupHeader;Le(e,{columnGroupElements:n,columnElements:o,elementTemplates:i,propsRevision:e.propsRevision+1,isVerticalScrollExact:t.isVerticalScrollExact}),Object.freeze(e.columnElements),Object.freeze(e.columnGroupElements),Object.freeze(e.elementTemplates),e.elementHeights=Le({},e.elementHeights,so(t,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),a||(e.elementHeights.groupHeaderHeight=0),e.rowSettings=Le({},e.rowSettings,so(t,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var s=e.rowSettings,l=s.rowHeight,c=s.subRowHeight;e.rowSettings.rowHeightGetter=t.rowHeightGetter||function(){return l},e.rowSettings.subRowHeightGetter=t.subRowHeightGetter||function(){return c||0},e.rowSettings.rowAttributesGetter=t.rowAttributesGetter,e.scrollFlags=Le({},e.scrollFlags,so(t,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),e.tableSize=Le({},e.tableSize,so(t,["height","maxHeight","ownerHeight","width"])),e.tableSize.useMaxHeight=e.tableSize.height===void 0,e.scrollbarXHeight=t.scrollbarXHeight,e.scrollbarYWidth=t.scrollbarYWidth}var gD=wm.reducer,jn=wm.actions,mD=jn.initialize,vD=jn.propChange,yD=jn.scrollEnd,bD=jn.scrollToX,wD=jn.scrollToY,xD=jn.updateRowHeights,CD=function(t,r){var n=Og({scrollToX:bD,scrollToY:wD,scrollEnd:yD},t.dispatch),o=function(s){var l=t.getState(),c=l.scrollX;if(s!==c){var d=Math.round(s),p=r(),h=p.onHorizontalScroll;(!h||h(d))&&n.scrollToX(d)}},i=function(s){var l=t.getState(),c=l.scrollY;if(s!==c){var d=r(),p=d.onVerticalScroll;(!p||p(s))&&n.scrollToY(s)}};return{scrollToX:o,scrollToY:i,stopScroll:n.scrollEnd}},ED=qr,TD=Sr,SD="[object Number]";function RD(e){return typeof e=="number"||TD(e)&&ED(e)==SD}var _D=RD,MD=_D;function OD(e){return MD(e)&&e!=+e}var kp=OD;function kD(e,t,r,n,o){n=n||setTimeout,o=o||clearTimeout;var i;function a(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.reset();var d=function(){e.apply(r,l)};d.__SMmeta=e.__SMmeta,i=n(d,t)}return a.reset=function(){o(i)},a}function et(e){e||(e="");var t,r=arguments.length;if(r>1)for(var n=1;n<r;n++)t=arguments[n],t&&(e=(e?e+" ":"")+t);return e}function AD(e,t,r){var n=1,o=1,i=e+2,a=e+1,s=2;return t&&(o++,a++,i++,s++),r&&a++,{ariaGroupHeaderIndex:n,ariaHeaderIndex:o,ariaFooterIndex:i,ariaRowCount:a,ariaRowIndexOffset:s}}var ID=cr([function(e){return e.rowsCount},function(e){return e.groupHeaderHeight>0},function(e){return e.footerHeight>0}],AD);function PD(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(r(i[l],l,i)===!1)break}return t}}var DD=PD,$D=DD,ND=$D(),LD=ND,FD=LD,jD=Xa;function BD(e,t){return e&&FD(e,t,jD)}var HD=BD,zD=Zo;function WD(e,t){return function(r,n){if(r==null)return r;if(!zD(r))return e(r,n);for(var o=r.length,i=t?o:-1,a=Object(r);(t?i--:++i<o)&&n(a[i],i,a)!==!1;);return r}}var VD=WD,UD=HD,GD=VD,YD=GD(UD),qD=YD,XD=Rg;function KD(e){return typeof e=="function"?e:XD}var QD=KD,ZD=kg,JD=qD,e8=QD,t8=Lt;function r8(e,t){var r=t8(e)?ZD:JD;return r(e,e8(t))}var Ap=r8;function n8(e,t){var r=e.columnGroupProps,n=e.columnProps,o=[],i=[],a=[];Ap(r,function(d,p){var h={props:d,template:t.groupHeader[p]};d.fixed?o.push(h):d.fixedRight?i.push(h):a.push(h)});var s={cell:[],header:[],footer:[]},l={cell:[],header:[],footer:[]},c={cell:[],header:[],footer:[]};return Ap(n,function(d,p){var h=c;d.fixed?h=s:d.fixedRight&&(h=l),h.cell.push({props:d,template:t.cell[p]}),h.header.push({props:d,template:t.header[p]}),h.footer.push({props:d,template:t.footer[p]})}),{fixedColumnGroups:o,fixedColumns:s,fixedRightColumnGroups:i,fixedRightColumns:l,scrollableColumnGroups:a,scrollableColumns:c}}var o8=cr([function(e){return ei(e)},function(e){return e.elementTemplates}],n8);function i8(e,t){return e==null||e!==e?t:e}var a8=i8,s8=Math.max,l8=Math.min;function c8(e,t,r){return e>=l8(t,r)&&e<s8(t,r)}var u8=c8,d8=pu,Ip=1/0,f8=17976931348623157e292;function p8(e){if(!e)return e===0?e:0;if(e=d8(e),e===Ip||e===-Ip){var t=e<0?-1:1;return t*f8}return e===e?e:0}var h8=p8,g8=u8,Pp=h8,m8=pu;function v8(e,t,r){return t=Pp(t),r===void 0?(r=t,t=0):r=Pp(r),e=m8(e),g8(e,t,r)}var Br=v8;function y8(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function nr(e,t){if(e==null)return{};var r,n,o=y8(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b8=["height","width","isVisible","style","className","children","columnKey","columnIndex","rowIndex","left","cellGroupType","isHeader","isGroupHeader","maxWidth","minWidth","touchEnabled"];function Dp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function w8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Dp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function x8(e){var t=C8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var oa=function(e){Ke(r,e);var t=x8(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.height,a=o.width,s=o.style,l=o.className,c=o.children,d=nr(o,b8),p=w8({height:i,width:a},s);return S.createElement("div",Le({},d,{className:et(ae("fixedDataTableCellLayout/wrap1"),ae("public/fixedDataTableCell/wrap1"),l),style:p}),S.createElement("div",{className:et(ae("fixedDataTableCellLayout/wrap2"),ae("public/fixedDataTableCell/wrap2"))},S.createElement("div",{className:et(ae("fixedDataTableCellLayout/wrap3"),ae("public/fixedDataTableCell/wrap3"))},S.createElement("div",{className:ae("public/fixedDataTableCell/cellContent")},c))))}}]),r}(S.Component);G(oa,"propTypes",{height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,isVisible:M.bool});function xm(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Cm(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function Em(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}xm.__suppressDeprecationWarning=!0;Cm.__suppressDeprecationWarning=!0;Em.__suppressDeprecationWarning=!0;function Tm(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
286
+ (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),x.warnIfExceeded()),E}}}}function Js(e){return typeof e=="boolean"}function aD(){return function(t){return sD(t)}}function sD(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,o=n===void 0?!0:n,i=e.serializableCheck,a=i===void 0?!0:i,s=new Z6;if(r&&(Js(r)?s.push(Sp):s.push(Sp.withExtraArgument(r.extraArgument))),process.env.NODE_ENV!=="production"){if(o){var l={};Js(o)||(l=o),s.unshift(oD(l))}if(a){var c={};Js(a)||(c=a),s.push(iD(c))}}return s}var el=process.env.NODE_ENV==="production";function lD(e){var t=aD(),r=e||{},n=r.reducer,o=n===void 0?void 0:n,i=r.middleware,a=i===void 0?t():i,s=r.devTools,l=s===void 0?!0:s,c=r.preloadedState,d=c===void 0?void 0:c,p=r.enhancers,h=p===void 0?void 0:p,m;if(typeof o=="function")m=o;else if(mm(o))m=EM(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=a;if(typeof v=="function"&&(v=v(t),!el&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!el&&v.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var g=TM.apply(void 0,v),y=Zi;l&&(y=Q6($o({trace:!el},typeof l=="object"&&l)));var b=[g];Array.isArray(h)?b=oa([g],h):typeof h=="function"&&(b=h(b));var T=y.apply(void 0,b);return kg(m,d,T)}function No(e,t){function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return $o($o({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function xm(e){var t={},r=[],n,o={addCase:function(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=a,o},addMatcher:function(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase:function(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function cD(e){return typeof e=="function"}function uD(e,t,r,n){r===void 0&&(r=[]);var o=typeof t=="function"?xm(t):[t,r,n],i=o[0],a=o[1],s=o[2],l;if(cD(e))l=function(){return Bi(e(),function(){})};else{var c=Bi(e,function(){});l=function(){return c}}function d(p,h){p===void 0&&(p=l());var m=oa([i[h.type]],a.filter(function(v){var g=v.matcher;return g(h)}).map(function(v){var g=v.reducer;return g}));return m.filter(function(v){return!!v}).length===0&&(m=[s]),m.reduce(function(v,g){if(g)if(ar(v)){var y=v,b=g(y,h);return typeof b=="undefined"?v:b}else{if(Er(v))return Bi(v,function(T){return g(T,h)});var b=g(v,h);if(typeof b=="undefined"){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}return v},p)}return d.getInitialState=l,d}function dD(e,t){return e+"/"+t}function fD(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r=typeof e.initialState=="function"?e.initialState:Bi(e.initialState,function(){}),n=e.reducers||{},o=Object.keys(n),i={},a={},s={};o.forEach(function(d){var p=n[d],h=dD(t,d),m,v;"reducer"in p?(m=p.reducer,v=p.prepare):m=p,i[d]=m,a[h]=m,s[d]=v?No(h,v):No(h)});function l(){var d=typeof e.extraReducers=="function"?xm(e.extraReducers):[e.extraReducers],p=d[0],h=p===void 0?{}:p,m=d[1],v=m===void 0?[]:m,g=d[2],y=g===void 0?void 0:g,b=$o($o({},h),a);return uD(r,b,v,y)}var c;return{name:t,reducer:function(d,p){return c||(c=l()),c(d,p)},actions:s,caseReducers:i,getInitialState:function(){return c||(c=l()),c.getInitialState()}}}var Mu="listenerMiddleware";No(Mu+"/add");No(Mu+"/removeAll");No(Mu+"/remove");B6();function pD(){var e=hD();return{columnElements:[],columnGroupElements:[],elementTemplates:{cell:[],footer:[],groupHeader:[],header:[]},elementHeights:{footerHeight:0,groupHeaderHeight:0,headerHeight:0},propsRevision:null,rowSettings:{bufferRowCount:void 0,rowAttributesGetter:void 0,rowHeight:0,rowHeightGetter:function(){return 0},rowsCount:0,subRowHeight:0,subRowHeightGetter:function(){return 0}},scrollFlags:{overflowX:"auto",overflowY:"auto",showScrollbarX:!0,showScrollbarY:!0},tableSize:{height:void 0,maxHeight:0,ownerHeight:void 0,useMaxHeight:!1,width:0},firstRowIndex:0,firstRowOffset:0,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:wt.SIZE,scrollY:0,scrollbarYWidth:wt.SIZE,scrolling:!1,getInternal:function(){return e}}}function hD(){return{rowBufferSet:new Ug,rowOffsetIntervalTree:null,storedHeights:[],rowUntilOffsetsAreExact:0}}var Cm=fD({name:"FDT",initialState:{},reducers:{initialize:function(t,r){var n=r.payload;Le(t,pD()),Ap(t,n),kp(t);var o=ep(t,n);Kn(t,o),sp.initialize(t,n,{})},propChange:function(t,r){var n=r.payload,o=n.newProps,i=n.oldProps,a=XI(D6(t));Ap(t,o),(i.rowsCount!==o.rowsCount||i.rowHeight!==o.rowHeight||i.subRowHeight!==o.subRowHeight)&&kp(t),i.rowsCount!==o.rowsCount&&(t.getInternal().rowBufferSet=new Ug);var s=ep(t,o,i);(!Io(t,a)||s.changed)&&Kn(t,s),sp.initialize(t,o,i),(t.scrollX!==a.scrollX||t.scrollY!==a.scrollY)&&(t.scrolling=t.scrolling||!0)},scrollEnd:function(t){t.scrolling=!1;var r={firstIndex:t.firstRowIndex,firstOffset:t.firstRowOffset,lastIndex:t.lastIndex};Kn(t,r)},scrollToY:function(t,r){var n=r.payload;t.scrolling=!0;var o=Bl(t,n);Kn(t,o)},scrollToX:function(t,r){var n=r.payload;t.scrolling=!0,t.scrollX=n},updateRowHeights:function(t,r){var n=r.payload||0;if(!(n>=t.rowSettings.rowsCount)){for(;n<t.rowSettings.rowsCount;)Nr(t,n++);var o=t.getInternal().rowOffsetIntervalTree.sumUntil(t.firstRowIndex)-t.firstRowOffset,i=Bl(t,o);Kn(t,i)}}}});function kp(e){for(var t=e.rowSettings,r=t.rowHeight,n=t.rowsCount,o=t.subRowHeight,i=t.rowHeightGetter,a=t.subRowHeightGetter,s=r+o,l=0,c=new Array(n),d=0;d<n;d++)e.isVerticalScrollExact?c[d]=i(d)+a(d):c[d]=s,l+=c[d];var p=new JI(c);e.scrollContentHeight=l,Le(e.getInternal(),{rowOffsetIntervalTree:p,storedHeights:c})}function Ap(e,t){var r=rP(t.children),n=r.columnGroupElements,o=r.columnElements,i=r.elementTemplates,a=r.useGroupHeader;Le(e,{columnGroupElements:n,columnElements:o,elementTemplates:i,propsRevision:e.propsRevision+1,isVerticalScrollExact:t.isVerticalScrollExact}),Object.freeze(e.columnElements),Object.freeze(e.columnGroupElements),Object.freeze(e.elementTemplates),e.elementHeights=Le({},e.elementHeights,so(t,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),a||(e.elementHeights.groupHeaderHeight=0),e.rowSettings=Le({},e.rowSettings,so(t,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var s=e.rowSettings,l=s.rowHeight,c=s.subRowHeight;e.rowSettings.rowHeightGetter=t.rowHeightGetter||function(){return l},e.rowSettings.subRowHeightGetter=t.subRowHeightGetter||function(){return c||0},e.rowSettings.rowAttributesGetter=t.rowAttributesGetter,e.scrollFlags=Le({},e.scrollFlags,so(t,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),e.tableSize=Le({},e.tableSize,so(t,["height","maxHeight","ownerHeight","width"])),e.tableSize.useMaxHeight=e.tableSize.height===void 0,e.scrollbarXHeight=t.scrollbarXHeight,e.scrollbarYWidth=t.scrollbarYWidth}var gD=Cm.reducer,jn=Cm.actions,mD=jn.initialize,vD=jn.propChange,yD=jn.scrollEnd,bD=jn.scrollToX,wD=jn.scrollToY,xD=jn.updateRowHeights,CD=function(t,r){var n=Ag({scrollToX:bD,scrollToY:wD,scrollEnd:yD},t.dispatch),o=function(s){var l=t.getState(),c=l.scrollX;if(s!==c){var d=Math.round(s),p=r(),h=p.onHorizontalScroll;(!h||h(d))&&n.scrollToX(d)}},i=function(s){var l=t.getState(),c=l.scrollY;if(s!==c){var d=r(),p=d.onVerticalScroll;(!p||p(s))&&n.scrollToY(s)}};return{scrollToX:o,scrollToY:i,stopScroll:n.scrollEnd}},ED=qr,TD=Sr,SD="[object Number]";function RD(e){return typeof e=="number"||TD(e)&&ED(e)==SD}var _D=RD,MD=_D;function OD(e){return MD(e)&&e!=+e}var Ip=OD;function kD(e,t,r,n,o){n=n||setTimeout,o=o||clearTimeout;var i;function a(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.reset();var d=function(){e.apply(r,l)};d.__SMmeta=e.__SMmeta,i=n(d,t)}return a.reset=function(){o(i)},a}function et(e){e||(e="");var t,r=arguments.length;if(r>1)for(var n=1;n<r;n++)t=arguments[n],t&&(e=(e?e+" ":"")+t);return e}function AD(e,t,r){var n=1,o=1,i=e+2,a=e+1,s=2;return t&&(o++,a++,i++,s++),r&&a++,{ariaGroupHeaderIndex:n,ariaHeaderIndex:o,ariaFooterIndex:i,ariaRowCount:a,ariaRowIndexOffset:s}}var ID=cr([function(e){return e.rowsCount},function(e){return e.groupHeaderHeight>0},function(e){return e.footerHeight>0}],AD);function PD(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(r(i[l],l,i)===!1)break}return t}}var DD=PD,$D=DD,ND=$D(),LD=ND,FD=LD,jD=Qa;function BD(e,t){return e&&FD(e,t,jD)}var HD=BD,zD=Zo;function WD(e,t){return function(r,n){if(r==null)return r;if(!zD(r))return e(r,n);for(var o=r.length,i=t?o:-1,a=Object(r);(t?i--:++i<o)&&n(a[i],i,a)!==!1;);return r}}var VD=WD,UD=HD,GD=VD,YD=GD(UD),qD=YD,XD=Mg;function KD(e){return typeof e=="function"?e:XD}var QD=KD,ZD=Ig,JD=qD,e8=QD,t8=Lt;function r8(e,t){var r=t8(e)?ZD:JD;return r(e,e8(t))}var Pp=r8;function n8(e,t){var r=e.columnGroupProps,n=e.columnProps,o=[],i=[],a=[];Pp(r,function(d,p){var h={props:d,template:t.groupHeader[p]};d.fixed?o.push(h):d.fixedRight?i.push(h):a.push(h)});var s={cell:[],header:[],footer:[]},l={cell:[],header:[],footer:[]},c={cell:[],header:[],footer:[]};return Pp(n,function(d,p){var h=c;d.fixed?h=s:d.fixedRight&&(h=l),h.cell.push({props:d,template:t.cell[p]}),h.header.push({props:d,template:t.header[p]}),h.footer.push({props:d,template:t.footer[p]})}),{fixedColumnGroups:o,fixedColumns:s,fixedRightColumnGroups:i,fixedRightColumns:l,scrollableColumnGroups:a,scrollableColumns:c}}var o8=cr([function(e){return ei(e)},function(e){return e.elementTemplates}],n8);function i8(e,t){return e==null||e!==e?t:e}var a8=i8,s8=Math.max,l8=Math.min;function c8(e,t,r){return e>=l8(t,r)&&e<s8(t,r)}var u8=c8,d8=gu,Dp=1/0,f8=17976931348623157e292;function p8(e){if(!e)return e===0?e:0;if(e=d8(e),e===Dp||e===-Dp){var t=e<0?-1:1;return t*f8}return e===e?e:0}var h8=p8,g8=u8,$p=h8,m8=gu;function v8(e,t,r){return t=$p(t),r===void 0?(r=t,t=0):r=$p(r),e=m8(e),g8(e,t,r)}var Br=v8;function y8(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function nr(e,t){if(e==null)return{};var r,n,o=y8(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b8=["height","width","isVisible","style","className","children","columnKey","columnIndex","rowIndex","left","cellGroupType","isHeader","isGroupHeader","maxWidth","minWidth","touchEnabled"];function Np(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function w8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Np(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Np(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function x8(e){var t=C8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ia=function(e){Ke(r,e);var t=x8(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.height,a=o.width,s=o.style,l=o.className,c=o.children,d=nr(o,b8),p=w8({height:i,width:a},s);return S.createElement("div",Le({},d,{className:et(ae("fixedDataTableCellLayout/wrap1"),ae("public/fixedDataTableCell/wrap1"),l),style:p}),S.createElement("div",{className:et(ae("fixedDataTableCellLayout/wrap2"),ae("public/fixedDataTableCell/wrap2"))},S.createElement("div",{className:et(ae("fixedDataTableCellLayout/wrap3"),ae("public/fixedDataTableCell/wrap3"))},S.createElement("div",{className:ae("public/fixedDataTableCell/cellContent")},c))))}}]),r}(S.Component);G(ia,"propTypes",{height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,isVisible:M.bool});function Em(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Tm(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function Sm(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}Em.__suppressDeprecationWarning=!0;Tm.__suppressDeprecationWarning=!0;Sm.__suppressDeprecationWarning=!0;function Rm(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
287
287
 
288
288
  `+i+" uses "+a+" but also contains the following legacy lifecycles:"+(r!==null?`
289
289
  `+r:"")+(n!==null?`
@@ -291,17 +291,17 @@ Take a look at the reducer(s) handling this action type: `+T.type+`.
291
291
  `+o:"")+`
292
292
 
293
293
  The above lifecycles should be removed. Learn more about this warning here:
294
- https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=xm,t.componentWillReceiveProps=Cm),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Em;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,d,p){var h=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:p;s.call(this,c,d,h)}}return e}var E8=["height","width","isVisible","style","className","children","columnKey","columnIndex","rowIndex","left","cellGroupType","isHeader","isGroupHeader","maxWidth","minWidth","touchEnabled"];function $p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function T8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$p(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$p(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var _u=S.forwardRef(function(t,r){var n=t.height,o=t.width,i=t.style,a=t.className,s=t.children,l=nr(t,E8),c=T8({height:n,width:o},i);return S.createElement("div",Le({},l,{className:et(ae("fixedDataTableCellLayout/wrap"),ae("public/fixedDataTableCell/wrap"),ae("public/fixedDataTableCell/cellContent"),a),style:c,ref:r}),s)});_u.propTypes={height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,isVisible:M.bool};var Tn=S.createContext({}),S8=wg;function R8(e,t,r){var n=e==null?void 0:S8(e,t);return n===void 0?r:n}var ac=R8;function _8(e){var t=M8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function M8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Np=15,Lp=100,Mu=function(e){Ke(r,e);var t=_8(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"state",{displacement:0}),G(Q(n),"containerRef",S.createRef()),G(Q(n),"onTouchEnd",function(s){n.props.touchEnabled&&s.stopPropagation()}),G(Q(n),"onTouchMove",function(s){n.props.touchEnabled&&s.stopPropagation()}),G(Q(n),"onMouseMove",function(s){n.cursorDeltaX+=s*(n.context.isRTL?-1:1)}),G(Q(n),"onMouseUp",function(){om(n.frameId),n.setState({displacement:0,isReordering:!1}),n.updateColumnOrder(),n.frameId=null,n.cursorDeltaX=0,n.mouseMoveTracker.releaseMouseMoves()}),G(Q(n),"initializeDOMMouseMoveTracker",function(s){n.mouseMoveTracker=new bu(n.onMouseMove,n.onMouseUp,document.body,n.props.touchEnabled),n.mouseMoveTracker.captureMouseMoves(s)}),G(Q(n),"updateDisplacementPeriodically",function(){n.frameId=vr(n.updateDisplacementPeriodically),n.updateDisplacementWithScroll()}),G(Q(n),"getBoundedDeltaX",function(s){var l=0,c=0,d=n.props.cellGroupType,p=n.context.groupHeaderHeight>0;if(p&&!n.props.isGroupHeader){var h=n.context.getColumnGroupByChild(n.props.columnIndex);l=h.width,c=h.offset}else l=n.context.getCellGroupWidth(d);var m=l-n.props.width;return Za(s,-n.originalLeft+c,-n.originalLeft+m+c)}),G(Q(n),"updateDisplacementWithScroll",function(){var s=n.scrollStart,l=n.props.cellGroupType,c=n.context,d=c.scrollX,p=c.maxScrollX,h=c.availableScrollWidth,m=n.cursorDeltaX;if(l===le.SCROLLABLE){var v=n.originalLeft-s+m;m+=d-s,v>h-Lp?d=Math.min(d+Np,p):v<=Lp&&(d=Math.max(d-Np,0)),n.context.scrollToX(d)}m=n.getBoundedDeltaX(m),n.setState({displacement:m})}),G(Q(n),"isColumnMovedToRight",function(s){return s>0}),G(Q(n),"isColumnMovedToLeft",function(s){return s<0}),G(Q(n),"updateColumnOrder",function(){var s=n.props.cellGroupType,l=n.getBoundedDeltaX(n.cursorDeltaX+n.context.scrollX-n.scrollStart),c=l>=0?n.props.width+l+n.props.left:l+n.props.left,d,p;if(n.props.isGroupHeader){var h=n.context.getColumnGroupAtOffset(c,s),m=h.columnGroup,v=h.distanceFromOffset;d=m,p=v}else{var g=n.context.getColumnAtOffset(c,s),y=g.column,b=g.distanceFromOffset;d=y,p=b}var T=null,E=null;d.index<n.props.columnIndex?p<=d.width/2?(T=d.index-1,E=d.index):(T=d.index,E=d.index+1):p>=d.width/2?(T=d.index,E=d.index+1):(T=d.index-1,E=d.index),T===n.props.columnIndex&&--T,E===n.props.columnIndex&&++E;var x=n.props.isGroupHeader?n.context.getColumnGroupCount():n.context.getColumnCount(),C,_;Br(T,0,x)&&(C=n.props.isGroupHeader?n.context.getColumnGroup(T):n.context.getColumn(T)),Br(E,0,x)&&(_=n.props.isGroupHeader?n.context.getColumnGroup(E):n.context.getColumn(E)),n.props.onColumnReorderEnd({columnBefore:ac(C,"columnKey"),columnAfter:ac(_,"columnKey"),reorderColumn:n.props.columnKey})}),n}return Ie(r,[{key:"componentDidMount",value:function(){var o=this.props.contents.parentNode.cloneNode(!0);o.firstChild.classList.add(ae("public/fixedDataTableCell/reordering")),this.containerRef.current.appendChild(o),this.startDrag()}},{key:"render",value:function(){var o={position:"absolute"};return Cn(o,this.state.displacement,0,!0,this.context.isRTL),S.createElement("div",{style:o,ref:this.containerRef})}},{key:"startDrag",value:function(){this.cursorDeltaX=0,this.scrollStart=this.context.scrollX,this.originalLeft=this.props.left,this.initializeDOMMouseMoveTracker(this.props.reorderStartEvent),this.setState({displacement:0,isReordering:!0}),this.frameId=vr(this.updateDisplacementPeriodically)}}]),r}(S.PureComponent);Mu.contextType=Tn;Mu.propTypes={columnIndex:M.number.isRequired,columnKey:M.string.isRequired,contents:M.object.isRequired,cellGroupType:M.string,isGroupHeader:M.bool,isRTL:M.bool,left:M.number.isRequired,onColumnReorderStart:M.func.isRequired,reorderStartEvent:M.object.isRequired,touchEnabled:M.bool,width:M.number.isRequired};function O8(e){var t=k8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var A8=function(e){Ke(r,e);var t=O8(r);function r(n){var o;Ae(this,r),o=t.call(this,n);var i=n.value;return o.unsubscribe=i.subscribe(function(a){o.setState({FixedDataTableContextValue:a})}),o.state={FixedDataTableContextValue:i},o}return Ie(r,[{key:"componentWillUnmount",value:function(){this.unsubscribe()}},{key:"render",value:function(){var o=this.state.FixedDataTableContextValue;return S.createElement(Tn.Provider,{value:o},this.props.children)}}]),r}(S.PureComponent);function I8(){}var P8=I8,D8=["onColumnReorderStart","onColumnReorderEnd","reorderStartEvent","children"];function $8(e){var t=N8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var L8=1,Lo=function(e){Ke(r,e);var t=$8(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"state",{isReordering:!1}),G(Q(n),"dragContainer",null),G(Q(n),"cellRef",S.createRef()),G(Q(n),"isMounted",!1),G(Q(n),"setReorderHandle",function(s){s&&(s.addEventListener("mousedown",n.onMouseDown,{passive:!1}),s.addEventListener("touchstart",n.onTouchStart,{passive:!1}))}),G(Q(n),"onTouchStart",function(s){n.props.touchEnabled&&n.onMouseDown(s)}),G(Q(n),"onMouseDown",function(s){n.onDragStart(s)}),G(Q(n),"onDragStart",function(s){n.createDragContainer(),n.renderDragProxy(s),n.props.onColumnReorderStart(n.props.columnKey)}),G(Q(n),"onColumnReorderEnd",function(s){n.isMounted&&n.setState({isReordering:!1}),n.removeDragContainer(),n.props.onColumnReorderEnd(s)}),G(Q(n),"createDragContainer",function(){n.dragContainer=document.createElement("div"),n.dragContainer.dataset.columnKey=n.props.columnKey;var s=n.cellRef.current.closest(".fixedDataTableCellGroupLayout_cellGroup");s.appendChild(n.dragContainer)}),G(Q(n),"getDragContainer",function(){if(n.dragContainer)return n.dragContainer;var s=n.cellRef.current.closest(".fixedDataTableCellGroupLayout_cellGroup");return n.dragContainer=s.querySelector('[data-column-key="'.concat(n.props.columnKey,'"]')),n.dragContainer}),G(Q(n),"removeDragContainer",function(){n.props.__react19RootCreator?n.dragContainer.root.unmount():bt.unmountComponentAtNode(n.dragContainer),n.dragContainer.remove(),n.dragContainer=null}),n}return Ie(r,[{key:"componentDidMount",value:function(){this.isMounted=!0;var o=ac(this.getDragContainer(),"dataset.columnKey"),i=bg(this.props.columnKey)===o;i&&(this.renderDragProxy({}),this.setState({isReordering:!0}))}},{key:"componentWillUnmount",value:function(){this.isMounted=!1}},{key:"render",value:function(){if(this.state.isReordering)return null;var o=this.props,i=o.children,a=nr(o,D8),s=et(ae({"public/fixedDataTableCell/resizeReorderCellContainer":!0}),a.className),l=et(s,ae({"public/fixedDataTableCell/hasReorderHandle":!0})),c={height:a.height,width:a.width-L8},d;return S.isValidElement(i)?d=S.cloneElement(i,a):typeof i=="function"?d=i(a):d=S.createElement(_u,a,i),S.createElement("div",{className:l,style:c,ref:this.cellRef},this.renderReorderHandle(),d)}},{key:"renderReorderHandle",value:function(){var o={height:this.props.height};return S.createElement("div",{ref:this.setReorderHandle,className:ae({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),style:o})}},{key:"renderDragProxy",value:function(o){var i=this,a={isDragProxy:!0,reorderStartEvent:o,onColumnReorderEnd:this.onColumnReorderEnd,contents:this.cellRef.current},s=S.createElement(A8,{value:this.context},S.createElement(Mu,Le({},this.props,a)));if(this.props.__react19RootCreator){var l=bt.flushSync||function(c){return c()};l(function(){var c=i.props.__react19RootCreator(i.getDragContainer());i.dragContainer.root=c,c.render(s)}),this.setState({isReordering:!0});return}bt.render(s,this.getDragContainer(),function(){return i.setState({isReordering:!0})})}}]),r}(S.PureComponent);Lo.contextType=Tn;Lo.defaultProps={onColumnReorderStart:P8};Lo.propTypes={height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,left:M.number,touchEnabled:M.bool,minWidth:M.number,maxWidth:M.number,onColumnReorderStart:M.func,onColumnReorderEnd:M.func.isRequired,__react19RootCreator:M.func};var F8=!!(typeof window!="undefined"&&window.document&&window.document.createElement),j8=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H8(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function z8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Sm=function(e){z8(t,e);function t(){return B8(this,t),H8(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return j8(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return F8?(!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),bt.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(S.Component);Sm.propTypes={children:M.node.isRequired,node:M.any};var W8=Sm,V8=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G8(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Rm=function(e){Y8(t,e);function t(){return U8(this,t),G8(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return V8(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(n){this.renderPortal()}},{key:"componentWillUnmount",value:function(){bt.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(n){!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var o=this.props.children;typeof this.props.children.type=="function"&&(o=S.cloneElement(this.props.children)),this.portal=bt.unstable_renderSubtreeIntoContainer(this,o,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(S.Component),q8=Rm;Rm.propTypes={children:M.node.isRequired,node:M.any};var sc=void 0;bt.createPortal?sc=W8:sc=q8;var X8=sc;function K8(e){var t=Q8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function Q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var _m=function(e){Ke(r,e);var t=K8(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(!this.props.visible)return null;var o=this.getTableRef();if(!o)return null;var i={height:this.props.height,top:0,left:this.props.left};return S.createElement(X8,{node:o},S.createElement("div",{className:et(ae("fixedDataTableColumnResizerLineLayout/main"),ae("public/fixedDataTableColumnResizerLine/main")),style:i},S.createElement("div",{className:ae("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}})))}},{key:"getTableRef",value:function(){var o=this.props.parentRef;return o?o.closest(ae(".fixedDataTableLayout/main")):null}}]),r}(S.PureComponent);G(_m,"propTypes",{visible:M.bool.isRequired,height:M.number.isRequired,left:M.number.isRequired,parentRef:M.object});function Fp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Z8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Fp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J8(e){var t=e$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function e$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Mm=function(e){Ke(r,e);var t=J8(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"initialState",{isColumnResizing:!1,currentMouseXCoordinate:0,totalDisplacement:0}),G(Q(o),"state",Z8({},o.initialState)),G(Q(o),"resizerKnobRef",null),G(Q(o),"mouseMoveTracker",null),G(Q(o),"setResizerKnobRef",function(i){o.resizerKnobRef=i}),G(Q(o),"initializeDOMMouseMoveTracker",function(i){o.mouseMoveTracker=new bu(o.onMouseMove,o.onMouseUp,document.body,o.props.touchEnabled),o.mouseMoveTracker.captureMouseMoves(i)}),G(Q(o),"onTouchStart",function(i){o.props.touchEnabled&&o.onMouseDown(i)}),G(Q(o),"onMouseDown",function(i){o.initializeDOMMouseMoveTracker(i);var a=Ql.getCoordinatesFromEvent(i).x-i.currentTarget.closest(ae(".fixedDataTableLayout/main")).getBoundingClientRect().left;o.setState({initialMouseXCoordinate:a,isColumnResizing:!0,totalDisplacement:0,currentMouseXCoordinate:a})}),G(Q(o),"onMouseUp",function(){var i=o.getMinMaxWidth(),a=i.minWidth,s=i.maxWidth,l=Ka(o.props.width+o.state.totalDisplacement*(o.props.isRTL?-1:1),a,s);o.mouseMoveTracker.releaseMouseMoves(),o.setState({isColumnResizing:!1,totalDisplacement:0},function(){o.props.onColumnResizeEnd(l,o.props.columnKey)})}),G(Q(o),"onMouseMove",function(i){var a=o.props,s=a.isRTL,l=a.width,c=o.state,d=c.initialMouseXCoordinate,p=c.totalDisplacement,h=p+i,m=d+h,v=o.getMinMaxWidth(),g=v.minWidth,y=v.maxWidth,b=l+h*(s?-1:1);(b<g||b>y)&&(m=o.state.currentMouseXCoordinate),o.setState({totalDisplacement:h,currentMouseXCoordinate:m})}),G(Q(o),"getMinMaxWidth",function(){return{minWidth:o.props.minWidth||0,maxWidth:o.props.maxWidth||Number.MAX_SAFE_INTEGER}}),G(Q(o),"suppressEventIfInTouchMode",function(i){o.props.touchEnabled&&(i.preventDefault(),i.stopPropagation())}),o}return Ie(r,[{key:"componentDidMount",value:function(){this.setupHandlers()}},{key:"componentWillUnmount",value:function(){this.cleanupHandlers()}},{key:"render",value:function(){var o={height:this.props.height},i=S.createElement(_m,{height:this.props.resizerLineHeight,visible:!!this.state.isColumnResizing,left:this.state.currentMouseXCoordinate,parentRef:this.resizerKnobRef});return S.createElement("div",{className:ae("fixedDataTableCellLayout/columnResizerContainer"),ref:this.setResizerKnobRef,style:o},i)}},{key:"setupHandlers",value:function(){this.resizerKnobRef.addEventListener("mousedown",this.onMouseDown,{passive:!1}),this.resizerKnobRef.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.resizerKnobRef.addEventListener("touchmove",this.suppressEventIfInTouchMode,{passive:!1}),this.resizerKnobRef.addEventListener("touchend",this.suppressEventIfInTouchMode,{passive:!1})}},{key:"cleanupHandlers",value:function(){this.resizerKnobRef.removeEventListener("mousedown",this.onMouseDown,{passive:!1}),this.resizerKnobRef.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.resizerKnobRef.removeEventListener("touchmove",this.suppressEventIfInTouchMode,{passive:!1}),this.resizerKnobRef.removeEventListener("touchend",this.suppressEventIfInTouchMode,{passive:!1})}}]),r}(S.PureComponent);Mm.propTypes={columnKey:M.oneOfType([M.string,M.number]).isRequired,minWidth:M.number,maxWidth:M.number,width:M.number.isRequired,resizerLineHeight:M.number.isRequired,touchEnabled:M.bool,isRTL:M.bool,onColumnResizeEnd:M.func.isRequired,height:M.number.isRequired};var t$=["children","minWidth","maxWidth","onColumnResizeEnd","onColumnReorderEnd","rowIndex","left","touchEnabled","cellGroupType","onColumnReorderStart"];function r$(e){var t=n$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function n$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ia=function(e){Ke(r,e);var t=r$(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.children,a=nr(o,t$),s;return S.isValidElement(i)?s=S.cloneElement(i,a):typeof i=="function"?s=i(a):s=S.createElement(_u,a,i),S.createElement(S.Fragment,null,S.createElement(Mm,{height:this.props.height,resizerLineHeight:this.context.tableHeight,onColumnResizeEnd:this.props.onColumnResizeEnd,width:this.props.width,minWidth:this.props.minWidth,maxWidth:this.props.maxWidth,columnKey:this.props.columnKey,touchEnabled:this.props.touchEnabled,isRTL:this.context.isRTL}),s)}}]),r}(S.PureComponent);ia.contextType=Tn;ia.propTypes={columnKey:M.oneOfType([M.string,M.number]),minWidth:M.number,maxWidth:M.number,width:M.number,touchEnabled:M.bool,isRTL:M.bool,onColumnResizeEnd:M.func.isRequired,height:M.number};var o$=["cell"],i$=["cell"],a$=["height","width","columnIndex","isVisible","columnKey","isHeaderOrFooter","touchEnabled"];function jp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Si(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function s$(e){var t=l$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function l$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Ou=function(e){Ke(r,e);var t=s$(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){if(o.isScrolling&&this.props.rowIndex===o.rowIndex&&this.props.isVisible===o.isVisible)return!1;if(!o.pureRendering)return!0;var i=this.props,a=i.cell,s=nr(i,o$),l=o.cell,c=nr(o,i$);return!Io(s,c)||!a||!l||a.type!==l.type||!Io(a.props,l.props)}},{key:"render",value:function(){var o=this.props,i=o.height,a=o.width,s=o.isVisible,l=o.isHeaderOrFooter,c=o.touchEnabled,d=nr(o,a$),p={height:i,width:a};this.props.isRTL?p.right=d.left:p.left=d.left;var h=et(ae({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":d.lastChild,"fixedDataTableCellLayout/alignRight":d.align==="right","fixedDataTableCellLayout/alignCenter":d.align==="center","public/fixedDataTableCell/alignRight":d.align==="right","public/fixedDataTableCell/highlighted":d.highlighted,"public/fixedDataTableCell/main":!0}),d.className),m={touchEnabled:c,isVisible:s,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,cellGroupType:this.props.cellGroupType,columnIndex:this.props.columnIndex,columnKey:this.props.columnKey,height:this.props.height,width:this.props.width,left:this.props.left};d.rowIndex>=0&&(m.rowIndex=d.rowIndex);var v;this.props.isHeader&&(this.props.onColumnResizeEnd||this.props.onColumnReorderEnd)?this.props.onColumnResizeEnd&&this.props.onColumnReorderEnd?(m=Si(Si({},m),{},{minWidth:this.props.minWidth,maxWidth:this.props.maxWidth}),v=S.createElement(Lo,Le({},m,{onColumnReorderEnd:this.props.onColumnReorderEnd}),S.createElement(ia,{onColumnResizeEnd:this.props.onColumnResizeEnd},d.cell))):this.props.onColumnReorderEnd?v=S.createElement(Lo,Le({},m,{onColumnReorderEnd:this.props.onColumnReorderEnd}),d.cell):(m=Si(Si({},m),{},{minWidth:this.props.minWidth,maxWidth:this.props.maxWidth}),v=S.createElement(ia,Le({},m,{onColumnResizeEnd:this.props.onColumnResizeEnd}),d.cell)):S.isValidElement(d.cell)?v=S.cloneElement(d.cell,m):typeof d.cell=="function"?v=d.cell(m):v=S.createElement(oa,m,d.cell);var g=l?"columnheader":"gridcell";return S.createElement("div",{className:h,style:p,role:g},v)}}]),r}(S.Component);G(Ou,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:M.bool,align:M.oneOf(["left","center","right"]),className:M.string,highlighted:M.bool,width:M.number.isRequired,minWidth:M.number,maxWidth:M.number,height:M.number.isRequired,cell:M.oneOfType([M.string,M.element,M.func]),columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number.isRequired,left:M.number,pureRendering:M.bool,touchEnabled:M.bool,isHeaderOrFooter:M.bool,isRTL:M.bool,isVisible:M.bool.isRequired,onColumnResizeEnd:M.func,onColumnReorderEnd:M.func,isHeader:M.bool,cellGroupType:M.oneOf([le.FIXED,le.FIXED_RIGHT,le.SCROLLABLE])});G(Ou,"defaultProps",{align:"left",highlighted:!1});var c$=Tm(Ou),u$=["offsetLeft"];function Om(e){var t=d$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function d$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var km=function(e){Ke(r,e);var t=Om(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"_renderCell",function(i,a,s,l,c,d,p){var h=s.cellClassName,m=s.pureRendering||!1,v=s.isReorderable?o.props.onColumnReorderEndCallback:null,g=s.isResizable?o.props.onColumnResizeEndCallback:null;return S.createElement(c$,{columnIndex:s.index,isScrolling:o.props.isScrolling,isHeaderOrFooter:o.props.isHeaderOrFooter,isHeader:o.props.isHeader,isGroupHeader:o.props.isGroupHeader,align:s.align,className:h,height:a,key:d,maxWidth:s.maxWidth,minWidth:s.minWidth,touchEnabled:o.props.touchEnabled,onColumnResizeEnd:g,onColumnReorderEnd:v,rowIndex:i,columnKey:s.columnKey,width:s.width,left:c,cell:l,pureRendering:m,isRTL:o.props.isRTL,cellGroupType:o.props.cellGroupType,isVisible:o.props.isVisible&&p})}),o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var o=this.props,i=o.columns,a=new Array(i.length),s=$i(i),l=0,c=0,d=i.length;c<d;c++){var p=i[c].props,h=i[c].template,m=p.allowCellsRecycling,v=l-o.left<=o.width&&l-o.left+p.width>=0;if(!m||v){var g=p.columnKey||"cell_"+c;a[c]=this._renderCell(o.rowIndex,o.rowHeight,p,h,l,g,v)}l+=p.width}var y={height:o.height,position:"absolute",width:s,zIndex:o.zIndex};return Cn(y,-1*o.left,0,this._initialRender,this.props.isRTL),S.createElement("div",{className:ae("fixedDataTableCellGroupLayout/cellGroup"),style:y},a)}}]),r}(S.Component);G(km,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:M.array.isRequired,isScrolling:M.bool,left:M.number,height:M.number.isRequired,cellGroupWrapperHeight:M.number,rowHeight:M.number.isRequired,rowIndex:M.number.isRequired,width:M.number.isRequired,zIndex:M.number.isRequired,touchEnabled:M.bool,isHeaderOrFooter:M.bool,isRTL:M.bool,onColumnResizeEndCallback:M.func,onColumnReorderEndCallback:M.func,isHeader:M.bool,isVisible:M.bool.isRequired});var vo=function(e){Ke(r,e);var t=Om(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){return!(o.isScrolling&&this.props.rowIndex===o.rowIndex&&this.props.left===o.left&&this.props.offsetLeft===o.offsetLeft&&this.props.isVisible===o.isVisible)}},{key:"render",value:function(){var o=this.props,i=o.offsetLeft,a=nr(o,u$),s={height:a.cellGroupWrapperHeight||a.height,width:a.width};return this.props.isRTL?s.right=i:s.left=i,S.createElement("div",{style:s,className:ae("fixedDataTableCellGroupLayout/cellGroupWrapper")},S.createElement(km,a))}}]),r}(S.Component);G(vo,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:M.bool,height:M.number.isRequired,offsetLeft:M.number,left:M.number,zIndex:M.number.isRequired});G(vo,"defaultProps",{left:0,offsetLeft:0});var f$=["offsetTop","zIndex"];function Am(e){var t=p$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function p$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h$=1,Im=function(e){Ke(r,e);var t=Am(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"mouseLeaveIndex",null),G(Q(n),"_getRowExpanded",function(s){if(n.props.rowExpanded){var l={rowIndex:n.props.index,height:s,width:n.props.width},c;return S.isValidElement(n.props.rowExpanded)?c=S.cloneElement(n.props.rowExpanded,l):typeof n.props.rowExpanded=="function"&&(c=n.props.rowExpanded(l)),c}}),G(Q(n),"_renderColumnsLeftShadow",function(s){var l=ae({"fixedDataTableRowLayout/fixedColumnsDivider":s>0,"fixedDataTableRowLayout/columnsShadow":n.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":s>0,"public/fixedDataTableRow/columnsShadow":n.props.scrollLeft>0}),c=n.props.cellGroupWrapperHeight?n.props.cellGroupWrapperHeight-h$:n.props.height,d={left:s,height:c};return n.props.isRTL&&(d.right=s,d.left="auto"),S.createElement("div",{className:l,style:d})}),G(Q(n),"_renderFixedRightColumnsShadow",function(s){var l=ae("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),c={height:n.props.height,left:s};return n.props.isRTL&&(c.right=s,c.left="auto"),S.createElement("div",{className:l,style:c})}),G(Q(n),"_renderColumnsRightShadow",function(s){if(Math.ceil(n.props.scrollLeft+n.props.width)<Math.floor(s)){var l=ae("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),c={height:n.props.height};return S.createElement("div",{className:l,style:c})}}),G(Q(n),"_onClick",function(s){n.props.onClick(s,n.props.index)}),G(Q(n),"_onContextMenu",function(s){n.props.onContextMenu(s,n.props.index)}),G(Q(n),"_onDoubleClick",function(s){n.props.onDoubleClick(s,n.props.index)}),G(Q(n),"_onMouseUp",function(s){n.props.onMouseUp(s,n.props.index)}),G(Q(n),"_onMouseDown",function(s){n.props.onMouseDown(s,n.props.index)}),G(Q(n),"_onMouseEnter",function(s){n.mouseLeaveIndex=n.props.index,n.props.onMouseEnter&&n.props.onMouseEnter(s,n.props.index)}),G(Q(n),"_onMouseLeave",function(s){n.mouseLeaveIndex===null&&(n.mouseLeaveIndex=n.props.index),n.props.onMouseLeave(s,n.mouseLeaveIndex),n.mouseLeaveIndex=null}),G(Q(n),"_onTouchStart",function(s){n.props.onTouchStart(s,n.props.index)}),G(Q(n),"_onTouchEnd",function(s){n.props.onTouchEnd(s,n.props.index)}),G(Q(n),"_onTouchMove",function(s){n.props.onTouchMove(s,n.props.index)}),n}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){return o.isScrolling?o.visible?this.props.visible!==o.visible?!0:!(this.props.index===o.index&&this.props.scrollLeft===o.scrollLeft):!1:!0}},{key:"render",value:function(){var o=this.props.subRowHeight||0,i={width:this.props.width,height:this.props.height+o},a=ae({"fixedDataTableRowLayout/main":!0,"public/fixedDataTableRow/main":!0,"public/fixedDataTableRow/highlighted":this.props.index%2===1,"public/fixedDataTableRow/odd":this.props.index%2===1,"public/fixedDataTableRow/even":this.props.index%2===0}),s=$i(this.props.fixedColumns),l=S.createElement(vo,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:s,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:le.FIXED,isVisible:this.props.visible}),c=this._renderColumnsLeftShadow(s),d=$i(this.props.fixedRightColumns),p=this.props.showScrollbarY?this.props.scrollbarYWidth:0,h=S.createElement(vo,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-d-p,width:d,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:le.FIXED_RIGHT,isVisible:this.props.visible}),m=d?this._renderFixedRightColumnsShadow(this.props.width-d-p-5):null,v=S.createElement(vo,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:s,width:this.props.width-s-d-p,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:le.SCROLLABLE,isVisible:this.props.visible}),g=$i(this.props.scrollableColumns),y=this._renderColumnsRightShadow(s+g),b=this._getRowExpanded(o),T={height:o,top:this.props.height,width:this.props.width},E=null;if(this.props.showScrollbarY){var x={width:p,height:this.props.height,left:this.props.isRTL?2:this.props.width-p-2};E=S.createElement("div",{style:x,className:ae("public/fixedDataTable/scrollbarSpacer")})}return S.createElement("div",Le({className:et(a,this.props.className),role:"row","aria-rowindex":this.props.ariaRowIndex},this.props.attributes,{onClick:this.props.onClick?this._onClick:null,onContextMenu:this.props.onContextMenu?this._onContextMenu:null,onDoubleClick:this.props.onDoubleClick?this._onDoubleClick:null,onMouseDown:this.props.onMouseDown?this._onMouseDown:null,onMouseUp:this.props.onMouseUp?this._onMouseUp:null,onMouseEnter:this.props.onMouseEnter||this.props.onMouseLeave?this._onMouseEnter:null,onMouseLeave:this.props.onMouseLeave?this._onMouseLeave:null,onTouchStart:this.props.onTouchStart?this._onTouchStart:null,onTouchEnd:this.props.onTouchEnd?this._onTouchEnd:null,onTouchMove:this.props.onTouchMove?this._onTouchMove:null,style:i}),S.createElement("div",{className:ae("fixedDataTableRowLayout/body")},l,v,c,h,m,E),b&&S.createElement("div",{className:ae("fixedDataTableRowLayout/rowExpanded"),style:T},b),y)}}]),r}(S.Component);G(Im,"propTypes",{isScrolling:M.bool,fixedColumns:M.array.isRequired,fixedRightColumns:M.array.isRequired,height:M.number.isRequired,cellGroupWrapperHeight:M.number,subRowHeight:M.number,rowExpanded:M.oneOfType([M.element,M.func]),index:M.number.isRequired,scrollableColumns:M.array.isRequired,scrollLeft:M.number.isRequired,width:M.number.isRequired,onClick:M.func,onContextMenu:M.func,onDoubleClick:M.func,onColumnReorderEndCallback:M.func,touchEnabled:M.bool,isHeaderOrFooter:M.bool,ariaRowIndex:M.number,isRTL:M.bool,attributes:M.object,onColumnResizeEndCallback:M.func,isHeader:M.bool,isGroupHeader:M.bool,scrollToX:M.func});var yo=function(e){Ke(r,e);var t=Am(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(o){return!o.isScrolling||this.props.visible!==o.visible?!0:o.visible?!(o.isScrolling&&this.props.index===o.index&&this.props.offsetTop===o.offsetTop&&this.props.scrollLeft===o.scrollLeft):!1}},{key:"render",value:function(){var o=this.props,i=o.offsetTop,a=o.zIndex,s=nr(o,f$),l={width:this.props.width,height:this.props.height,zIndex:a||0,visibility:s.visible?"visible":"hidden"};return Cn(l,0,i,this._initialRender,this.props.isRTL),S.createElement("div",{style:l,className:ae("fixedDataTableRowLayout/rowWrapper")},S.createElement(Im,s))}}]),r}(S.Component);G(yo,"propTypes",{isScrolling:M.bool,height:M.number.isRequired,zIndex:M.number,offsetTop:M.number.isRequired,visible:M.bool.isRequired,width:M.number.isRequired});function g$(e){var t=m$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function m$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Pm=function(e){Ke(r,e);var t=g$(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),o._staticRowArray=[],o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this._staticRowArray.length=0}},{key:"render",value:function(){var o=this.props,i=o.offsetTop,a=o.rowOffsets,s=o.scrollTop,l=o.isScrolling,c=o.rowsToRender;c=c||[],l?this._staticRowArray.length=Math.max(this._staticRowArray.length,c.length):this._staticRowArray.length=c.length;for(var d=1e6,p=i-s%d,h=0;h<this._staticRowArray.length;h++){var m,v=a8(c[h],(m=this._staticRowArray[h])===null||m===void 0?void 0:m.props.index);if(mo(v)||!Br(v,0,this.props.rowSettings.rowsCount)){this._staticRowArray[h]=null;continue}var g=a[v]-Math.floor(s/d)*d;this._staticRowArray[h]=this.renderRow({rowIndex:v,key:h,rowOffsetTop:g})}var y={position:"relative"};Cn(y,0,p,!1);var b=this._staticRowArray.slice().sort(this.rowSortComparator);return S.createElement("div",{style:y},b)}},{key:"renderRow",value:function(o){var i=o.rowIndex,a=o.key,s=o.rowOffsetTop,l=this.props,c=l.rowClassNameGetter||rt,d={};d.height=this.props.rowSettings.rowHeightGetter(i),d.subRowHeight=this.props.rowSettings.subRowHeightGetter(i),d.offsetTop=s,d.key=l.rowKeyGetter?l.rowKeyGetter(i):a,d.attributes=l.rowSettings.rowAttributesGetter&&l.rowSettings.rowAttributesGetter(i);var p=i===l.rowSettings.rowsCount-1&&l.showLastRowBorder;d.className=et(c(i),ae("public/fixedDataTable/bodyRow"),ae({"fixedDataTableLayout/hasBottomBorder":p,"public/fixedDataTable/hasBottomBorder":p}));var h=Br(i,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return S.createElement(yo,Le({key:a,index:i,ariaRowIndex:i+l.ariaRowIndexOffset,isScrolling:l.isScrolling,width:l.width,rowExpanded:l.rowExpanded,scrollLeft:Math.round(l.scrollLeft),fixedColumns:l.fixedColumns,fixedRightColumns:l.fixedRightColumns,scrollableColumns:l.scrollableColumns,onClick:l.onRowClick,onContextMenu:l.onRowContextMenu,onDoubleClick:l.onRowDoubleClick,onMouseDown:l.onRowMouseDown,onMouseUp:l.onRowMouseUp,onMouseEnter:l.onRowMouseEnter,onMouseLeave:l.onRowMouseLeave,onTouchStart:l.onRowTouchStart,onTouchEnd:l.onRowTouchEnd,onTouchMove:l.onRowTouchMove,showScrollbarY:l.showScrollbarY,scrollbarYWidth:l.scrollbarYWidth,isRTL:l.isRTL,visible:h},d))}},{key:"rowSortComparator",value:function(o,i){var a,s;return((a=o==null?void 0:o.props.ariaRowIndex)!==null&&a!==void 0?a:-1)-((s=i==null?void 0:i.props.ariaRowIndex)!==null&&s!==void 0?s:-1)}}]),r}(S.Component);G(Pm,"propTypes",{ariaRowIndexOffset:M.number,isScrolling:M.bool,firstViewportRowIndex:M.number.isRequired,endViewportRowIndex:M.number.isRequired,fixedColumns:M.array.isRequired,fixedRightColumns:M.array.isRequired,height:M.number.isRequired,offsetTop:M.number.isRequired,onRowClick:M.func,onRowContextMenu:M.func,onRowDoubleClick:M.func,onRowMouseDown:M.func,onRowMouseUp:M.func,onRowMouseEnter:M.func,onRowMouseLeave:M.func,onRowTouchStart:M.func,onRowTouchEnd:M.func,onRowTouchMove:M.func,rowClassNameGetter:M.func,rowExpanded:M.oneOfType([M.element,M.func]),rowOffsets:M.object.isRequired,rowKeyGetter:M.func,rowSettings:M.shape({rowAttributesGetter:M.func,rowHeightGetter:M.func,rowsCount:M.number.isRequired,subRowHeightGetter:M.func}),rowsToRender:M.array.isRequired,scrollLeft:M.number.isRequired,scrollTop:M.number.isRequired,scrollableColumns:M.array.isRequired,showLastRowBorder:M.bool,showScrollbarY:M.bool,width:M.number.isRequired,isRTL:M.bool});var Bp=1.6,v$=1.6,y$=325,Qn=100,b$=function(){function e(t,r,n,o,i){Ae(this,e),this._dragAnimationId=null,this._trackerId=null,this._deltaX=0,this._deltaY=0,this._lastTouchX=0,this._lastTouchY=0,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),this._autoScrollTimestamp=Date.now(),typeof r!="function"&&(r=r?rt.thatReturnsTrue:rt.thatReturnsFalse),typeof n!="function"&&(n=n?rt.thatReturnsTrue:rt.thatReturnsFalse),this._handleScrollX=r,this._handleScrollY=n,this._preventDefault=o,this._stopPropagation=i,this._onTouchScrollCallback=t,this._didTouchMove=this._didTouchMove.bind(this),this._track=this._track.bind(this),this._autoScroll=this._autoScroll.bind(this),this._startAutoScroll=this._startAutoScroll.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchCancel=this.onTouchCancel.bind(this)}return Ie(e,[{key:"onTouchStart",value:function(r){this._lastTouchX=r.touches[0].pageX,this._lastTouchY=r.touches[0].pageY,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),clearInterval(this._trackerId),this._trackerId=setInterval(this._track,Qn),this._stopPropagation&&r.stopPropagation()}},{key:"onTouchEnd",value:function(r){clearInterval(this._trackerId),this._trackerId=null,vr(this._startAutoScroll),this._stopPropagation&&r.stopPropagation()}},{key:"onTouchCancel",value:function(r){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&r.stopPropagation()}},{key:"onTouchMove",value:function(r){this._preventDefault&&r.preventDefault();var n=r.touches[0].pageX,o=r.touches[0].pageY;this._deltaX=Bp*(this._lastTouchX-n),this._deltaY=Bp*(this._lastTouchY-o);var i=this._handleScrollX(this._deltaX,this._deltaY),a=this._handleScrollY(this._deltaY,this._deltaX);if(!(!i&&!a)){i?this._lastTouchX=n:this._deltaX=0,a?this._lastTouchY=o:this._deltaY=0,r.defaultPrevented||r.preventDefault();var s=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&r.stopPropagation(),s=!0),s===!0&&this._dragAnimationId===null&&(this._dragAnimationId=vr(this._didTouchMove))}}},{key:"_didTouchMove",value:function(){this._dragAnimationId=null,this._onTouchScrollCallback(this._deltaX,this._deltaY),this._accumulatedDeltaX+=this._deltaX,this._accumulatedDeltaY+=this._deltaY,this._deltaX=0,this._deltaY=0}},{key:"_track",value:function(){var r=Date.now(),n=r-this._lastFrameTimestamp,o=this._velocityX,i=this._velocityY,a=.8;n<Qn&&(a*=n/Qn),o===0&&i===0&&(a=1),this._velocityX=a*(Qn*this._accumulatedDeltaX/(1+n)),a<1&&(this._velocityX+=(1-a)*o),this._velocityY=a*(Qn*this._accumulatedDeltaY/(1+n)),a<1&&(this._velocityY+=(1-a)*i),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=r}},{key:"_startAutoScroll",value:function(){this._autoScrollTimestamp=Date.now(),(this._deltaX>0||this.deltaY>0)&&this._didTouchMove(),this._track(),this._autoScroll()}},{key:"_autoScroll",value:function(){var r=Date.now()-this._autoScrollTimestamp,n=v$*Math.exp(-r/y$),o=n*this._velocityX,i=n*this._velocityY;(Math.abs(o)<=5||!this._handleScrollX(o,i))&&(o=0),(Math.abs(i)<=5||!this._handleScrollY(i,o))&&(i=0),(o!==0||i!==0)&&(this._onTouchScrollCallback(o,i),vr(this._autoScroll))}}]),e}();function w$(e){var t=x$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function x$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Ri=25,ku=function(e){Ke(r,e);var t=w$(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"_shouldHandleTouchX",function(i){return o.props.touchScrollEnabled&&o._shouldHandleWheelX(i)}),G(Q(o),"_shouldHandleTouchY",function(i){return o.props.touchScrollEnabled&&o._shouldHandleWheelY(i)}),G(Q(o),"_shouldHandleWheelX",function(i){var a=o.props,s=a.maxScrollX,l=a.scrollFlags,c=a.scrollX,d=l.overflowX;return d==="hidden"||(i=Math.round(i),i===0)?!1:i<0&&c>0||i>=0&&c<s}),G(Q(o),"_shouldHandleWheelY",function(i){var a=o.props,s=a.maxScrollY,l=a.scrollFlags,c=a.scrollY,d=l.overflowY;return d==="hidden"||i===0||(i=Math.round(i),i===0)?!1:i<0&&c>0||i>=0&&c<s}),G(Q(o),"_reportContentHeight",function(){var i=hn(o.props),a=i.contentHeight,s=o.props.onContentHeightChange;a!==o._contentHeight&&s&&s(a),o._contentHeight=a}),G(Q(o),"_renderRows",function(i,a,s,l,c,d){var p=Wr(o.props),h=p.scrollEnabledY,m=o.props;return S.createElement(Pm,{ariaRowIndexOffset:d,isScrolling:m.scrolling,fixedColumns:a,fixedRightColumns:s,firstViewportRowIndex:m.firstRowIndex,endViewportRowIndex:m.endRowIndex,height:c,offsetTop:i,onRowClick:m.onRowClick,onRowContextMenu:m.onRowContextMenu,onRowDoubleClick:m.onRowDoubleClick,onRowMouseUp:m.onRowMouseUp,onRowMouseDown:m.onRowMouseDown,onRowMouseEnter:m.onRowMouseEnter,onRowMouseLeave:m.onRowMouseLeave,onRowTouchStart:m.touchScrollEnabled?m.onRowTouchStart:null,onRowTouchEnd:m.touchScrollEnabled?m.onRowTouchEnd:null,onRowTouchMove:m.touchScrollEnabled?m.onRowTouchMove:null,rowClassNameGetter:m.rowClassNameGetter,rowExpanded:m.rowExpanded,rowKeyGetter:m.rowKeyGetter,rowSettings:m.rowSettings,scrollLeft:m.scrollX,scrollTop:m.scrollY,scrollableColumns:l,showLastRowBorder:!0,width:m.tableSize.width,rowsToRender:m.rows,rowOffsets:m.rowOffsets,showScrollbarY:h,scrollbarYWidth:m.scrollbarYWidth,isRTL:m.isRTL})}),G(Q(o),"_onRef",function(i){o._divRef=i,o._wheelHandler&&(o.props.stopReactWheelPropagation?o._wheelHandler.setRoot(i):o._wheelHandler.setRoot(null))}),G(Q(o),"_onScroll",function(i,a){var s=o.props,l=s.maxScrollX,c=s.maxScrollY,d=s.onHorizontalScroll,p=s.onVerticalScroll,h=s.scrollActions,m=s.scrollFlags,v=s.scrollX,g=s.scrollY,y=m.overflowX,b=m.overflowY,T=v,E=g;if(Math.abs(a)>Math.abs(i)&&b!=="hidden")E+=a,E=E<0?0:E,E=E>c?c:E,(!p||p(E))&&h.scrollToY(E);else if(i&&y!=="hidden"){T+=i,T=T<0?0:T,T=T>l?l:T;var x=Math.round(T);(!d||d(x))&&h.scrollToX(x)}}),G(Q(o),"_scrollTo",function(i,a){o.props.scrollActions.scrollToX(i),o.props.scrollActions.scrollToY(a)}),G(Q(o),"_didScroll",function(i){var a=o.props,s=a.onScrollStart,l=a.scrollX,c=a.scrollY,d=a.onHorizontalScroll,p=a.onVerticalScroll,h=a.tableSize.ownerHeight,m=a.scrolling,v=i.endRowIndex,g=i.firstRowIndex,y=i.scrollX,b=i.scrollY,T=i.tableSize.ownerHeight,E=i.scrolling,x=h!==T&&!(kp(h)&&kp(T)),C=l!==y,_=c!==b;!x&&!C&&!_||(!E&&m&&s&&s(y,b,g,v),C&&d&&d(l),_&&p&&p(c),o._didScrollStop())}),G(Q(o),"_didScrollStopSync",function(){var i=o.props,a=i.endRowIndex,s=i.firstRowIndex,l=i.onScrollEnd,c=i.scrollActions,d=i.scrollX,p=i.scrollY,h=i.scrolling;h&&(c.stopScroll(),l&&l(d,p,s,a))}),o._didScrollStop=kD(o._didScrollStopSync,200,Q(o)),o._onKeyDown=o._onKeyDown.bind(Q(o)),o._setupHandlers(),o}return Ie(r,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new nm(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new b$(this._onScroll,this._shouldHandleTouchX,this._shouldHandleTouchY,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._divRef&&this._divRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this.props.touchScrollEnabled&&this._divRef&&this._divRef.addEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1})}},{key:"_cleanupHandlers",value:function(){this._wheelHandler&&(this._divRef&&this._divRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._wheelHandler=null),this._touchHandler&&(this._divRef&&this._divRef.removeEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1}),this._touchHandler=null)}},{key:"_onKeyDown",value:function(o){var i=hn(this.props),a=i.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(o.key){case"PageDown":this._onScroll(0,a),o.preventDefault();break;case"PageUp":this._onScroll(0,a*-1),o.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(o.key){case"ArrowDown":this._onScroll(0,Ri),o.preventDefault();break;case"ArrowUp":this._onScroll(0,Ri*-1),o.preventDefault();break;case"ArrowRight":this._onScroll(Ri,0),o.preventDefault();break;case"ArrowLeft":this._onScroll(Ri*-1,0),o.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(o){return!Io(this.props,o)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(o){this._didScroll(o),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var o=hn(this.props),i=o.bodyOffsetTop,a=o.scrollbarXOffsetTop,s=o.visibleRowsHeight,l=this.props,c=l.tableSize.width,d=l.scrollContentHeight,p=l.scrollY,h=l.scrollX,m={viewportHeight:s,contentHeight:d,scrollbarYOffsetTop:i,scrollY:p,viewportWidth:c,contentWidth:c+this.props.maxScrollX,scrollbarXOffsetTop:a,scrollX:h,scrollTo:this._scrollTo,scrollToX:this.props.scrollActions.scrollToX,scrollToY:this.props.scrollActions.scrollToY};Io(this.previousScrollState,m)||(this.props.onScrollBarsUpdate(m),this.previousScrollState=m)}},{key:"render",value:function(){var o=ID(this.props),i=o.ariaGroupHeaderIndex,a=o.ariaHeaderIndex,s=o.ariaFooterIndex,l=o.ariaRowCount,c=o.ariaRowIndexOffset,d=o8(this.props),p=d.fixedColumnGroups,h=d.fixedColumns,m=d.fixedRightColumnGroups,v=d.fixedRightColumns,g=d.scrollableColumnGroups,y=d.scrollableColumns,b=hn(this.props),T=b.bodyHeight,E=b.bodyOffsetTop,x=b.componentHeight,C=b.footOffsetTop,_=b.scrollbarXOffsetTop,O=b.visibleRowsHeight,k=this.props,D=k.className,F=k.elementHeights,W=k.gridAttributesGetter,R=k.maxScrollY,A=k.onColumnReorderEndCallback,B=k.onColumnResizeEndCallback,j=k.scrollContentHeight,N=k.scrollX,I=k.scrollY,H=k.scrolling,Y=k.tableSize,P=k.touchScrollEnabled,V=k.scrollbarYWidth,K=Y.ownerHeight,q=Y.width,X=F.cellGroupWrapperHeight,J=F.footerHeight,ee=F.groupHeaderHeight,oe=F.headerHeight,ne=Wr(this.props),ue=ne.scrollEnabledX,ie=ne.scrollEnabledY,ve=W&&W(),z;ee>0&&(z=S.createElement(yo,{key:"group_header",ariaRowIndex:i,isHeaderOrFooter:!0,isScrolling:H,className:et(ae("fixedDataTableLayout/header"),ae("public/fixedDataTable/header")),width:q,height:ee,cellGroupWrapperHeight:X,index:0,zIndex:1,offsetTop:0,scrollLeft:N,fixedColumns:p,fixedRightColumns:m,scrollableColumns:g,visible:!0,touchEnabled:P,onColumnResizeEndCallback:B,onColumnReorderEndCallback:A,showScrollbarY:ie,scrollbarYWidth:V,isRTL:this.props.isRTL,isHeader:!0,isGroupHeader:!0}));var re;ie&&(re=this.props.scrollbarY);var ce;ue&&(ce=this.props.scrollbarX);var ge=null;J&&(ge=S.createElement(yo,{key:"footer",ariaRowIndex:s,isHeaderOrFooter:!0,isScrolling:H,className:et(ae("fixedDataTableLayout/footer"),ae("public/fixedDataTable/footer")),width:q,height:J,index:-1,zIndex:1,offsetTop:C,visible:!0,fixedColumns:h.footer,fixedRightColumns:v.footer,scrollableColumns:y.footer,scrollLeft:N,showScrollbarY:ie,scrollbarYWidth:V,isRTL:this.props.isRTL}));var Xe=this._renderRows(E,h.cell,v.cell,y.cell,T,c),Ue=S.createElement(yo,{key:"header",ariaRowIndex:a,isHeaderOrFooter:!0,isScrolling:H,className:et(ae("fixedDataTableLayout/header"),ae("public/fixedDataTable/header")),width:q,height:oe,cellGroupWrapperHeight:X,index:-1,zIndex:1,offsetTop:ee,scrollLeft:N,visible:!0,fixedColumns:h.header,fixedRightColumns:v.header,scrollableColumns:y.header,touchEnabled:P,onColumnResizeEndCallback:B,onColumnReorderEndCallback:A,showScrollbarY:ie,scrollbarYWidth:V,isRTL:this.props.isRTL,isHeader:!0}),He;I&&(He=S.createElement("div",{className:et(ae("fixedDataTableLayout/topShadow"),ae("public/fixedDataTable/topShadow")),style:{top:E}}));var St=K&&K<x&&j>O,Qe;(St||I<R)&&(Qe=S.createElement("div",{className:et(ae("fixedDataTableLayout/bottomShadow"),ae("public/fixedDataTable/bottomShadow")),style:{top:C}}));var st=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(st=0);var Je=D;return this.props.isRTL&&(Je=et(Je,"fixedDataTable_isRTL")),S.createElement("div",Le({className:et(Je,ae("fixedDataTableLayout/main"),ae("public/fixedDataTable/main")),role:"grid","aria-rowcount":l},ve,{tabIndex:st,onKeyDown:this._onKeyDown,onTouchStart:P?this._touchHandler.onTouchStart:null,onTouchEnd:P?this._touchHandler.onTouchEnd:null,onTouchCancel:P?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:x,width:q}}),S.createElement("div",{className:ae("fixedDataTableLayout/rowsContainer"),style:{height:_,width:q}},z,Ue,Xe,ge,He,Qe),re,ce)}}]),r}(S.Component);G(ku,"propTypes",{width:M.number.isRequired,height:M.number,className:M.string,maxHeight:M.number,ownerHeight:M.number,overflowX:M.oneOf(["hidden","auto"]),overflowY:M.oneOf(["hidden","auto"]),touchScrollEnabled:M.bool,keyboardScrollEnabled:M.bool,keyboardPageEnabled:M.bool,scrollbarX:M.node,scrollbarXHeight:M.number,scrollbarY:M.node,scrollbarYWidth:M.number,onScrollBarsUpdate:M.func,defaultScrollbars:M.bool,showScrollbarX:M.bool,showScrollbarY:M.bool,onHorizontalScroll:M.func,onVerticalScroll:M.func,rowsCount:M.number.isRequired,rowHeight:M.number.isRequired,rowHeightGetter:M.func,subRowHeight:M.number,subRowHeightGetter:M.func,rowExpanded:M.oneOfType([M.element,M.func]),rowClassNameGetter:M.func,rowKeyGetter:M.func,groupHeaderHeight:M.number,headerHeight:M.number.isRequired,cellGroupWrapperHeight:M.number,footerHeight:M.number,scrollLeft:M.number,scrollToColumn:M.number,scrollTop:M.number,isVerticalScrollExact:M.bool,scrollToRow:M.number,onScrollStart:M.func,onScrollEnd:M.func,stopReactWheelPropagation:M.bool,stopScrollDefaultHandling:M.bool,stopScrollPropagation:M.bool,onContentHeightChange:M.func,onRowClick:M.func,onRowContextMenu:M.func,onRowDoubleClick:M.func,onRowMouseDown:M.func,onRowMouseUp:M.func,onRowMouseEnter:M.func,onRowMouseLeave:M.func,onRowTouchStart:M.func,onRowTouchEnd:M.func,onRowTouchMove:M.func,onColumnResizeEndCallback:M.func,onColumnReorderEndCallback:M.func,isRTL:M.bool,bufferRowCount:M.number,elementHeights:M.shape({cellGroupWrapperHeight:M.number,footerHeight:M.number,groupHeaderHeight:M.number,headerHeight:M.number}),gridAttributesGetter:M.func,rowAttributesGetter:M.func});G(ku,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var C$={get:function(){return lD({reducer:gD,devTools:process.env.NODE_ENV!=="production",middleware:function(r){return r({immutableCheck:!1,serializableCheck:!1})}})}},E$=su,T$=Jo,S$=Ua,R$=Lt,_$=Zo,M$=ko.exports,O$=qa,k$=Ag,A$="[object Map]",I$="[object Set]",P$=Object.prototype,D$=P$.hasOwnProperty;function $$(e){if(e==null)return!0;if(_$(e)&&(R$(e)||typeof e=="string"||typeof e.splice=="function"||M$(e)||k$(e)||S$(e)))return!e.length;var t=T$(e);if(t==A$||t==I$)return!e.size;if(O$(e))return!E$(e).length;for(var r in e)if(D$.call(e,r))return!1;return!0}var Hp=$$;function Dm(e){var t=N$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function N$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var L$=function(e){Ke(r,e);var t=Dm(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"state",{}),G(Q(n),"_onScrollBarsUpdate",function(s){n.setState(s)}),G(Q(n),"_onVerticalScroll",function(s){n.state.scrollToY!==void 0&&n.state.scrollToY(s)}),G(Q(n),"_onHorizontalScroll",function(s){n.state.scrollToX!==void 0&&n.state.scrollToX(s)}),n}return Ie(r,[{key:"render",value:function(){var o=!Hp(this.state)&&S.createElement(wt,{size:this.state.viewportHeight,contentSize:this.state.contentHeight,onScroll:this._onVerticalScroll,verticalTop:this.state.scrollbarYOffsetTop,position:this.state.scrollY,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL}),i=!Hp(this.state)&&S.createElement($m,{contentSize:this.state.contentWidth,offset:this.state.scrollbarXOffsetTop,onScroll:this._onHorizontalScroll,position:this.state.scrollX,size:this.state.viewportWidth,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL});return S.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:i,scrollbarY:o})}}]),r}(S.Component),$m=function(e){Ke(r,e);var t=Dm(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.offset,a=o.size,s={height:wt.SIZE,width:a},l={height:wt.SIZE,overflow:"hidden",width:a,top:i};return S.createElement("div",{className:et(ae("public/fixedDataTable/horizontalScrollbar")),style:s},S.createElement("div",{style:l},S.createElement(wt,Le({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),r}(S.PureComponent);G($m,"propTypes",{contentSize:M.number.isRequired,offset:M.number.isRequired,onScroll:M.func.isRequired,position:M.number.isRequired,size:M.number.isRequired,isRTL:M.bool});var F$=function(){return cr([function(t){return hn(t).componentHeight},function(t){return t.elementHeights.groupHeaderHeight},function(t){return t.scrollX},function(t){return t.maxScrollX},function(t){return ei(t).availableScrollWidth},function(t){return t.isRTL}],function(t,r,n,o,i,a){return{tableHeight:t,groupHeaderHeight:r,scrollX:n,maxScrollX:o,availableScrollWidth:i,isRTL:a}})},j$=qr,B$=Lt,H$=Sr,z$="[object String]";function W$(e){return typeof e=="string"||!B$(e)&&H$(e)&&j$(e)==z$}var V$=W$;function U$(e){return function(t){return t==null?void 0:t[e]}}var G$=U$,Y$=G$,q$=Y$("length"),X$=q$,K$="\\ud800-\\udfff",Q$="\\u0300-\\u036f",Z$="\\ufe20-\\ufe2f",J$="\\u20d0-\\u20ff",e7=Q$+Z$+J$,t7="\\ufe0e\\ufe0f",r7="\\u200d",n7=RegExp("["+r7+K$+e7+t7+"]");function o7(e){return n7.test(e)}var i7=o7,Nm="\\ud800-\\udfff",a7="\\u0300-\\u036f",s7="\\ufe20-\\ufe2f",l7="\\u20d0-\\u20ff",c7=a7+s7+l7,u7="\\ufe0e\\ufe0f",d7="["+Nm+"]",lc="["+c7+"]",cc="\\ud83c[\\udffb-\\udfff]",f7="(?:"+lc+"|"+cc+")",Lm="[^"+Nm+"]",Fm="(?:\\ud83c[\\udde6-\\uddff]){2}",jm="[\\ud800-\\udbff][\\udc00-\\udfff]",p7="\\u200d",Bm=f7+"?",Hm="["+u7+"]?",h7="(?:"+p7+"(?:"+[Lm,Fm,jm].join("|")+")"+Hm+Bm+")*",g7=Hm+Bm+h7,m7="(?:"+[Lm+lc+"?",lc,Fm,jm,d7].join("|")+")",zp=RegExp(cc+"(?="+cc+")|"+m7+g7,"g");function v7(e){for(var t=zp.lastIndex=0;zp.test(e);)++t;return t}var y7=v7,b7=X$,w7=i7,x7=y7;function C7(e){return w7(e)?x7(e):b7(e)}var E7=C7,T7=su,S7=Jo,R7=Zo,_7=V$,M7=E7,O7="[object Map]",k7="[object Set]";function A7(e){if(e==null)return 0;if(R7(e))return _7(e)?M7(e):e.length;var t=S7(e);return t==O7||t==k7?e.size:T7(e).length}var Js=A7,I7=function(t){return{offset:t.offset,width:t.width,index:t.index,columnKey:t.columnKey}},_i=function(t){return{offset:t.offset,width:t.width,index:t.index,columnKey:t.columnKey}},P7=function(){return cr([function(t){return ei(t)},function(t,r){return r}],function(t,r){var n=t.fixedColumns,o=t.fixedRightColumns,i=t.scrollableColumns,a=t.fixedColumnGroups,s=t.fixedRightColumnGroups,l=t.scrollableColumnGroups,c=function(I){var H=n.length+i.length+o.length;if(I<0||I>=H||!Number.isInteger(I))throw"columnIndex must be an integer between 0 and ".concat(H-1," inclusive")},d=function(I){var H=a.length+l.length+s.length;if(I<0||I>=H||!Number.isInteger(I))throw"columnGroupIndex must be an integer between 0 and ".concat(H-1," inclusive")},p=function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(H&&mo(I))&&I!==le.FIXED&&I!==le.FIXED_RIGHT&&I!==le.SCROLLABLE)throw"Invalid CellGroupType"},h=function(I){return I<n.length?le.FIXED:I<n.length+i.length?le.SCROLLABLE:le.FIXED_RIGHT},m=function(I){return I<a.length?le.FIXED:I<a.length+l.length?le.SCROLLABLE:le.FIXED_RIGHT},v=function(I,H){if(H===le.FIXED)return I;if(H===le.SCROLLABLE)return I-n.length;if(H===le.FIXED_RIGHT)return I-n.length-i.length},g=function(I,H){if(H===le.FIXED)return I;if(H===le.SCROLLABLE)return I-a.length;if(H===le.FIXED_RIGHT)return I-a.length-l.length},y=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:le.SCROLLABLE;p(I);var H=k(I);return H.reduce(function(Y,P){return Y+P.width},0)},b=function(I,H){var Y=k(H),P=v(I,H);return Y[P]},T=function(I){c(I);var H=h(I),Y=b(I,H);return I7(Y)},E=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(p(I,!0),mo(I))return n.length+i.length+o.length;var H=k(I);return H.length},x=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(p(I,!0),mo(I))return a.length+l.length+s.length;var H=D(I);return H.length},C=function(I,H){var Y=D(H),P=g(I,H);return _i(Y[P])},_=function(I){d(I);var H=m(I);return C(I,H)},O=function(I){c(I);var H=h(I),Y=b(I,H).groupIdx,P=F(Y);return _i(P)},k=function(I){if(I===le.FIXED)return n;if(I===le.FIXED_RIGHT)return o;if(I===le.SCROLLABLE)return i;throw"Invalid cell group type"},D=function(I){if(I===le.FIXED)return a;if(I===le.FIXED_RIGHT)return s;if(I===le.SCROLLABLE)return l;throw"Invalid cell group type"},F=function(I){var H=Js(a),Y=Js(l),P=Js(s);if(Br(I,0,H))return a[I];if(Br(I,H,H+Y))return l[I-H];if(Br(I,H+Y,H+Y+P))return s[I-H-Y];throw"Invalid absolute column group index"},W=function(I,H){if(I.length===0)return{element:null,distanceFromOffset:null};for(var Y=0,P=0;P!==I.length&&!(Y>H);)Y+=I[P].width,P++;return P=Za(P-1,0,I.length-1),{element:I[P],distanceFromOffset:I[P].width-(Y-H)}},R=function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.SCROLLABLE;p(H);var Y=k(H),P=W(Y,I),V=P.element,K=P.distanceFromOffset;return V&&(V=_i(V)),{column:V,distanceFromOffset:K}},A=function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.SCROLLABLE;p(H);var Y=D(H),P=W(Y,I),V=P.element,K=P.distanceFromOffset;return V&&(V=_i(V)),{columnGroup:V,distanceFromOffset:K}},B=r.scrollToX,j=r.updateRowHeights;return{getColumn:T,getColumnGroup:_,getColumnGroupByChild:O,getColumnAtOffset:R,getColumnGroupAtOffset:A,getCellGroupWidth:y,getColumnCount:E,getColumnGroupCount:x,scrollToX:B,updateRowHeights:j}})};function Wp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function el(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var D7=function(){var t=[],r=null,n=function(s){return t=t.concat(s),function(){var l=t.indexOf(s);t.splice(l,1)}},o=F$(),i=P7();return{getValue:cr([function(a){return o(a)},function(a,s){return i(a,s)}],function(a,s){return r=el(el(el({},a),s),{},{subscribe:n}),r}),notify:function(){t.forEach(function(s){return s(r)})}}};function Vp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Mi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $7(e){var t=N7();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function N7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var zm=function(e){Ke(r,e);var t=$7(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),o._initialize(n),o.fixedDataTableApi=D7(),o.previousApiValue=null,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialize(this.props)}},{key:"componentWillUnmount",value:function(){this._cleanup()}},{key:"componentDidUpdate",value:function(){this.notifyApiValueChanges()}},{key:"_initialize",value:function(o){var i=this;if(!this.reduxStore){this.reduxStore=C$.get(),this.reduxStore.dispatch(mD(o)),this.scrollActions=CD(this.reduxStore,function(){return i.props}),this.unsubscribe=this.reduxStore.subscribe(this.onStoreUpdate.bind(this));var a={boundState:r.getBoundState(this.reduxStore),reduxStore:this.reduxStore,props:o};this.state?this.setState(a):this.state=a}}},{key:"_cleanup",value:function(){this.reduxStore&&(this.unsubscribe(),this.unsubscribe=null,this.reduxStore=null)}},{key:"getApi",value:function(){var o=this;return this.fixedDataTableApi.getValue(Mi(Mi({},this.props),this.reduxStore.getState()),Mi(Mi({},this.scrollActions),{},{updateRowHeights:function(a){return Og({updateRowHeights:xD},o.reduxStore.dispatch).updateRowHeights(a)}}))}},{key:"notifyApiValueChanges",value:function(){var o=this.getApi();this.previousApiValue!==o&&(this.fixedDataTableApi.notify(),this.previousApiValue=o)}},{key:"render",value:function(){var o=this.getApi(),i=S.createElement(ku,Le({},this.props,this.state.boundState,{scrollActions:this.scrollActions}));return this.props.defaultScrollbars?S.createElement(Tn.Provider,{value:o},S.createElement(L$,this.props,i)):S.createElement(Tn.Provider,{value:o},i)}},{key:"onStoreUpdate",value:function(){var o=r.getBoundState(this.reduxStore);this.state.boundState.propsRevision===o.propsRevision&&this.setState({boundState:o})}}],[{key:"getDerivedStateFromProps",value:function(o,i){return Gt(o.height!==void 0||o.maxHeight!==void 0,"You must set either a height or a maxHeight"),o===i.props?null:(i.reduxStore.dispatch(vD({newProps:o,oldProps:i.props})),{boundState:r.getBoundState(i.reduxStore),props:o})}},{key:"getBoundState",value:function(o){var i=o.getState(),a=so(i,["columnGroupElements","columnElements","elementHeights","elementTemplates","firstRowIndex","endRowIndex","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return a}}]),r}(S.Component);G(zm,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:wt.SIZE,scrollbarYWidth:wt.SIZE});var L7=Tm(zm);function F7(e){var t=j7();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ds=function(e){Ke(r,e);var t=F7(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),r}(S.Component);G(ds,"__TableColumn__",!0);G(ds,"propTypes",{align:M.oneOf(["left","center","right"]),fixed:M.bool,fixedRight:M.bool,header:M.oneOfType([M.node,M.func]),cell:M.oneOfType([M.node,M.func]),footer:M.oneOfType([M.node,M.func]),columnKey:M.oneOfType([M.string,M.number]),width:M.number.isRequired,minWidth:M.number,maxWidth:M.number,flexGrow:M.number,isResizable:M.bool,isReorderable:M.bool,allowCellsRecycling:M.bool,pureRendering:M.bool,cellClassName:M.string});G(ds,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});function B7(e){var t=H7();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function H7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Au=function(e){Ke(r,e);var t=B7(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),r}(S.Component);G(Au,"__TableColumnGroup__",!0);G(Au,"propTypes",{align:M.oneOf(["left","center","right"]),fixed:M.bool,header:M.oneOfType([M.node,M.func])});G(Au,"defaultProps",{fixed:!1});const z7="#f4f4f8",W7="#edeef1",V7="#e3e5ea",U7="#f9f9fb",G7="#ffcb05",Y7="#1faff3",q7="#e5e5e5",X7="#5b6372",K7="#3a4356",Q7="#3c3c42",Z7="#a3a3a3",J7="#d0d3db",eN="_tableWrapper_1ode4_16",tN="_table_1ode4_16",rN="_tableHeader_1ode4_78",nN="_tableCell_1ode4_88",oN="_tableCellContent_1ode4_99",iN="_headerColor_1ode4_105",aN="_rowColor_1ode4_109",co={athensGray:z7,athensGrayDark:W7,athensGrayDark2:V7,athensGrayLight:U7,defaultBrandColor:G7,dodgerBlue:Y7,mercury:q7,shuttleGrayDark:X7,oxfordBlue:K7,darkModeDefaultBackground:Q7,indicatorGrey:Z7,secondaryButtonHover:J7,tableWrapper:eN,table:tN,tableHeader:rN,tableCell:nN,tableCellContent:oN,headerColor:iN,rowColor:aN},sN="#f4f4f8",lN="#edeef1",cN="#e3e5ea",uN="#f9f9fb",dN="#ffcb05",fN="#1faff3",pN="#e5e5e5",hN="#5b6372",gN="#3a4356",mN="#3c3c42",vN="#a3a3a3",yN="#d0d3db",bN="_headerCell_2qf2w_16",wN="_noSort_2qf2w_29",xN="_standard_2qf2w_29",CN="_caret_2qf2w_33",EN="_headerLabel_2qf2w_38",TN="_icon_2qf2w_43",SN="_numberIcon_2qf2w_50",RN="_dateIcon_2qf2w_54",_N="_textIcon_2qf2w_58",MN="_booleanIcon_2qf2w_62",ON="_sortIcon_2qf2w_66",kN="_sortAscending_2qf2w_74",AN="_sortDescending_2qf2w_78",ur={athensGray:sN,athensGrayDark:lN,athensGrayDark2:cN,athensGrayLight:uN,defaultBrandColor:dN,dodgerBlue:fN,mercury:pN,shuttleGrayDark:hN,oxfordBlue:gN,darkModeDefaultBackground:mN,indicatorGrey:vN,secondaryButtonHover:yN,headerCell:bN,noSort:wN,standard:xN,caret:CN,headerLabel:EN,icon:TN,numberIcon:SN,dateIcon:RN,textIcon:_N,booleanIcon:MN,sortIcon:ON,sortAscending:kN,sortDescending:AN};var Wm={exports:{}};/*!
294
+ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Em,t.componentWillReceiveProps=Tm),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Sm;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,d,p){var h=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:p;s.call(this,c,d,h)}}return e}var E8=["height","width","isVisible","style","className","children","columnKey","columnIndex","rowIndex","left","cellGroupType","isHeader","isGroupHeader","maxWidth","minWidth","touchEnabled"];function Lp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function T8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Ou=S.forwardRef(function(t,r){var n=t.height,o=t.width,i=t.style,a=t.className,s=t.children,l=nr(t,E8),c=T8({height:n,width:o},i);return S.createElement("div",Le({},l,{className:et(ae("fixedDataTableCellLayout/wrap"),ae("public/fixedDataTableCell/wrap"),ae("public/fixedDataTableCell/cellContent"),a),style:c,ref:r}),s)});Ou.propTypes={height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,isVisible:M.bool};var Tn=S.createContext({}),S8=Cg;function R8(e,t,r){var n=e==null?void 0:S8(e,t);return n===void 0?r:n}var sc=R8;function _8(e){var t=M8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function M8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Fp=15,jp=100,ku=function(e){Ke(r,e);var t=_8(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"state",{displacement:0}),G(Q(n),"containerRef",S.createRef()),G(Q(n),"onTouchEnd",function(s){n.props.touchEnabled&&s.stopPropagation()}),G(Q(n),"onTouchMove",function(s){n.props.touchEnabled&&s.stopPropagation()}),G(Q(n),"onMouseMove",function(s){n.cursorDeltaX+=s*(n.context.isRTL?-1:1)}),G(Q(n),"onMouseUp",function(){am(n.frameId),n.setState({displacement:0,isReordering:!1}),n.updateColumnOrder(),n.frameId=null,n.cursorDeltaX=0,n.mouseMoveTracker.releaseMouseMoves()}),G(Q(n),"initializeDOMMouseMoveTracker",function(s){n.mouseMoveTracker=new xu(n.onMouseMove,n.onMouseUp,document.body,n.props.touchEnabled),n.mouseMoveTracker.captureMouseMoves(s)}),G(Q(n),"updateDisplacementPeriodically",function(){n.frameId=vr(n.updateDisplacementPeriodically),n.updateDisplacementWithScroll()}),G(Q(n),"getBoundedDeltaX",function(s){var l=0,c=0,d=n.props.cellGroupType,p=n.context.groupHeaderHeight>0;if(p&&!n.props.isGroupHeader){var h=n.context.getColumnGroupByChild(n.props.columnIndex);l=h.width,c=h.offset}else l=n.context.getCellGroupWidth(d);var m=l-n.props.width;return es(s,-n.originalLeft+c,-n.originalLeft+m+c)}),G(Q(n),"updateDisplacementWithScroll",function(){var s=n.scrollStart,l=n.props.cellGroupType,c=n.context,d=c.scrollX,p=c.maxScrollX,h=c.availableScrollWidth,m=n.cursorDeltaX;if(l===le.SCROLLABLE){var v=n.originalLeft-s+m;m+=d-s,v>h-jp?d=Math.min(d+Fp,p):v<=jp&&(d=Math.max(d-Fp,0)),n.context.scrollToX(d)}m=n.getBoundedDeltaX(m),n.setState({displacement:m})}),G(Q(n),"isColumnMovedToRight",function(s){return s>0}),G(Q(n),"isColumnMovedToLeft",function(s){return s<0}),G(Q(n),"updateColumnOrder",function(){var s=n.props.cellGroupType,l=n.getBoundedDeltaX(n.cursorDeltaX+n.context.scrollX-n.scrollStart),c=l>=0?n.props.width+l+n.props.left:l+n.props.left,d,p;if(n.props.isGroupHeader){var h=n.context.getColumnGroupAtOffset(c,s),m=h.columnGroup,v=h.distanceFromOffset;d=m,p=v}else{var g=n.context.getColumnAtOffset(c,s),y=g.column,b=g.distanceFromOffset;d=y,p=b}var T=null,E=null;d.index<n.props.columnIndex?p<=d.width/2?(T=d.index-1,E=d.index):(T=d.index,E=d.index+1):p>=d.width/2?(T=d.index,E=d.index+1):(T=d.index-1,E=d.index),T===n.props.columnIndex&&--T,E===n.props.columnIndex&&++E;var x=n.props.isGroupHeader?n.context.getColumnGroupCount():n.context.getColumnCount(),C,_;Br(T,0,x)&&(C=n.props.isGroupHeader?n.context.getColumnGroup(T):n.context.getColumn(T)),Br(E,0,x)&&(_=n.props.isGroupHeader?n.context.getColumnGroup(E):n.context.getColumn(E)),n.props.onColumnReorderEnd({columnBefore:sc(C,"columnKey"),columnAfter:sc(_,"columnKey"),reorderColumn:n.props.columnKey})}),n}return Ie(r,[{key:"componentDidMount",value:function(){var o=this.props.contents.parentNode.cloneNode(!0);o.firstChild.classList.add(ae("public/fixedDataTableCell/reordering")),this.containerRef.current.appendChild(o),this.startDrag()}},{key:"render",value:function(){var o={position:"absolute"};return Cn(o,this.state.displacement,0,!0,this.context.isRTL),S.createElement("div",{style:o,ref:this.containerRef})}},{key:"startDrag",value:function(){this.cursorDeltaX=0,this.scrollStart=this.context.scrollX,this.originalLeft=this.props.left,this.initializeDOMMouseMoveTracker(this.props.reorderStartEvent),this.setState({displacement:0,isReordering:!0}),this.frameId=vr(this.updateDisplacementPeriodically)}}]),r}(S.PureComponent);ku.contextType=Tn;ku.propTypes={columnIndex:M.number.isRequired,columnKey:M.string.isRequired,contents:M.object.isRequired,cellGroupType:M.string,isGroupHeader:M.bool,isRTL:M.bool,left:M.number.isRequired,onColumnReorderStart:M.func.isRequired,reorderStartEvent:M.object.isRequired,touchEnabled:M.bool,width:M.number.isRequired};function O8(e){var t=k8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var A8=function(e){Ke(r,e);var t=O8(r);function r(n){var o;Ae(this,r),o=t.call(this,n);var i=n.value;return o.unsubscribe=i.subscribe(function(a){o.setState({FixedDataTableContextValue:a})}),o.state={FixedDataTableContextValue:i},o}return Ie(r,[{key:"componentWillUnmount",value:function(){this.unsubscribe()}},{key:"render",value:function(){var o=this.state.FixedDataTableContextValue;return S.createElement(Tn.Provider,{value:o},this.props.children)}}]),r}(S.PureComponent);function I8(){}var P8=I8,D8=["onColumnReorderStart","onColumnReorderEnd","reorderStartEvent","children"];function $8(e){var t=N8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var L8=1,Lo=function(e){Ke(r,e);var t=$8(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"state",{isReordering:!1}),G(Q(n),"dragContainer",null),G(Q(n),"cellRef",S.createRef()),G(Q(n),"isMounted",!1),G(Q(n),"setReorderHandle",function(s){s&&(s.addEventListener("mousedown",n.onMouseDown,{passive:!1}),s.addEventListener("touchstart",n.onTouchStart,{passive:!1}))}),G(Q(n),"onTouchStart",function(s){n.props.touchEnabled&&n.onMouseDown(s)}),G(Q(n),"onMouseDown",function(s){n.onDragStart(s)}),G(Q(n),"onDragStart",function(s){n.createDragContainer(),n.renderDragProxy(s),n.props.onColumnReorderStart(n.props.columnKey)}),G(Q(n),"onColumnReorderEnd",function(s){n.isMounted&&n.setState({isReordering:!1}),n.removeDragContainer(),n.props.onColumnReorderEnd(s)}),G(Q(n),"createDragContainer",function(){n.dragContainer=document.createElement("div"),n.dragContainer.dataset.columnKey=n.props.columnKey;var s=n.cellRef.current.closest(".fixedDataTableCellGroupLayout_cellGroup");s.appendChild(n.dragContainer)}),G(Q(n),"getDragContainer",function(){if(n.dragContainer)return n.dragContainer;var s=n.cellRef.current.closest(".fixedDataTableCellGroupLayout_cellGroup");return n.dragContainer=s.querySelector('[data-column-key="'.concat(n.props.columnKey,'"]')),n.dragContainer}),G(Q(n),"removeDragContainer",function(){n.props.__react19RootCreator?n.dragContainer.root.unmount():bt.unmountComponentAtNode(n.dragContainer),n.dragContainer.remove(),n.dragContainer=null}),n}return Ie(r,[{key:"componentDidMount",value:function(){this.isMounted=!0;var o=sc(this.getDragContainer(),"dataset.columnKey"),i=xg(this.props.columnKey)===o;i&&(this.renderDragProxy({}),this.setState({isReordering:!0}))}},{key:"componentWillUnmount",value:function(){this.isMounted=!1}},{key:"render",value:function(){if(this.state.isReordering)return null;var o=this.props,i=o.children,a=nr(o,D8),s=et(ae({"public/fixedDataTableCell/resizeReorderCellContainer":!0}),a.className),l=et(s,ae({"public/fixedDataTableCell/hasReorderHandle":!0})),c={height:a.height,width:a.width-L8},d;return S.isValidElement(i)?d=S.cloneElement(i,a):typeof i=="function"?d=i(a):d=S.createElement(Ou,a,i),S.createElement("div",{className:l,style:c,ref:this.cellRef},this.renderReorderHandle(),d)}},{key:"renderReorderHandle",value:function(){var o={height:this.props.height};return S.createElement("div",{ref:this.setReorderHandle,className:ae({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),style:o})}},{key:"renderDragProxy",value:function(o){var i=this,a={isDragProxy:!0,reorderStartEvent:o,onColumnReorderEnd:this.onColumnReorderEnd,contents:this.cellRef.current},s=S.createElement(A8,{value:this.context},S.createElement(ku,Le({},this.props,a)));if(this.props.__react19RootCreator){var l=bt.flushSync||function(c){return c()};l(function(){var c=i.props.__react19RootCreator(i.getDragContainer());i.dragContainer.root=c,c.render(s)}),this.setState({isReordering:!0});return}bt.render(s,this.getDragContainer(),function(){return i.setState({isReordering:!0})})}}]),r}(S.PureComponent);Lo.contextType=Tn;Lo.defaultProps={onColumnReorderStart:P8};Lo.propTypes={height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,left:M.number,touchEnabled:M.bool,minWidth:M.number,maxWidth:M.number,onColumnReorderStart:M.func,onColumnReorderEnd:M.func.isRequired,__react19RootCreator:M.func};var F8=!!(typeof window!="undefined"&&window.document&&window.document.createElement),j8=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H8(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function z8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _m=function(e){z8(t,e);function t(){return B8(this,t),H8(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return j8(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return F8?(!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),bt.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(S.Component);_m.propTypes={children:M.node.isRequired,node:M.any};var W8=_m,V8=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function U8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G8(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Mm=function(e){Y8(t,e);function t(){return U8(this,t),G8(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return V8(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(n){this.renderPortal()}},{key:"componentWillUnmount",value:function(){bt.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(n){!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var o=this.props.children;typeof this.props.children.type=="function"&&(o=S.cloneElement(this.props.children)),this.portal=bt.unstable_renderSubtreeIntoContainer(this,o,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(S.Component),q8=Mm;Mm.propTypes={children:M.node.isRequired,node:M.any};var lc=void 0;bt.createPortal?lc=W8:lc=q8;var X8=lc;function K8(e){var t=Q8();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function Q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Om=function(e){Ke(r,e);var t=K8(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(!this.props.visible)return null;var o=this.getTableRef();if(!o)return null;var i={height:this.props.height,top:0,left:this.props.left};return S.createElement(X8,{node:o},S.createElement("div",{className:et(ae("fixedDataTableColumnResizerLineLayout/main"),ae("public/fixedDataTableColumnResizerLine/main")),style:i},S.createElement("div",{className:ae("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}})))}},{key:"getTableRef",value:function(){var o=this.props.parentRef;return o?o.closest(ae(".fixedDataTableLayout/main")):null}}]),r}(S.PureComponent);G(Om,"propTypes",{visible:M.bool.isRequired,height:M.number.isRequired,left:M.number.isRequired,parentRef:M.object});function Bp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Z8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Bp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function J8(e){var t=e$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function e$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var km=function(e){Ke(r,e);var t=J8(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"initialState",{isColumnResizing:!1,currentMouseXCoordinate:0,totalDisplacement:0}),G(Q(o),"state",Z8({},o.initialState)),G(Q(o),"resizerKnobRef",null),G(Q(o),"mouseMoveTracker",null),G(Q(o),"setResizerKnobRef",function(i){o.resizerKnobRef=i}),G(Q(o),"initializeDOMMouseMoveTracker",function(i){o.mouseMoveTracker=new xu(o.onMouseMove,o.onMouseUp,document.body,o.props.touchEnabled),o.mouseMoveTracker.captureMouseMoves(i)}),G(Q(o),"onTouchStart",function(i){o.props.touchEnabled&&o.onMouseDown(i)}),G(Q(o),"onMouseDown",function(i){o.initializeDOMMouseMoveTracker(i);var a=Zl.getCoordinatesFromEvent(i).x-i.currentTarget.closest(ae(".fixedDataTableLayout/main")).getBoundingClientRect().left;o.setState({initialMouseXCoordinate:a,isColumnResizing:!0,totalDisplacement:0,currentMouseXCoordinate:a})}),G(Q(o),"onMouseUp",function(){var i=o.getMinMaxWidth(),a=i.minWidth,s=i.maxWidth,l=Za(o.props.width+o.state.totalDisplacement*(o.props.isRTL?-1:1),a,s);o.mouseMoveTracker.releaseMouseMoves(),o.setState({isColumnResizing:!1,totalDisplacement:0},function(){o.props.onColumnResizeEnd(l,o.props.columnKey)})}),G(Q(o),"onMouseMove",function(i){var a=o.props,s=a.isRTL,l=a.width,c=o.state,d=c.initialMouseXCoordinate,p=c.totalDisplacement,h=p+i,m=d+h,v=o.getMinMaxWidth(),g=v.minWidth,y=v.maxWidth,b=l+h*(s?-1:1);(b<g||b>y)&&(m=o.state.currentMouseXCoordinate),o.setState({totalDisplacement:h,currentMouseXCoordinate:m})}),G(Q(o),"getMinMaxWidth",function(){return{minWidth:o.props.minWidth||0,maxWidth:o.props.maxWidth||Number.MAX_SAFE_INTEGER}}),G(Q(o),"suppressEventIfInTouchMode",function(i){o.props.touchEnabled&&(i.preventDefault(),i.stopPropagation())}),o}return Ie(r,[{key:"componentDidMount",value:function(){this.setupHandlers()}},{key:"componentWillUnmount",value:function(){this.cleanupHandlers()}},{key:"render",value:function(){var o={height:this.props.height},i=S.createElement(Om,{height:this.props.resizerLineHeight,visible:!!this.state.isColumnResizing,left:this.state.currentMouseXCoordinate,parentRef:this.resizerKnobRef});return S.createElement("div",{className:ae("fixedDataTableCellLayout/columnResizerContainer"),ref:this.setResizerKnobRef,style:o},i)}},{key:"setupHandlers",value:function(){this.resizerKnobRef.addEventListener("mousedown",this.onMouseDown,{passive:!1}),this.resizerKnobRef.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.resizerKnobRef.addEventListener("touchmove",this.suppressEventIfInTouchMode,{passive:!1}),this.resizerKnobRef.addEventListener("touchend",this.suppressEventIfInTouchMode,{passive:!1})}},{key:"cleanupHandlers",value:function(){this.resizerKnobRef.removeEventListener("mousedown",this.onMouseDown,{passive:!1}),this.resizerKnobRef.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.resizerKnobRef.removeEventListener("touchmove",this.suppressEventIfInTouchMode,{passive:!1}),this.resizerKnobRef.removeEventListener("touchend",this.suppressEventIfInTouchMode,{passive:!1})}}]),r}(S.PureComponent);km.propTypes={columnKey:M.oneOfType([M.string,M.number]).isRequired,minWidth:M.number,maxWidth:M.number,width:M.number.isRequired,resizerLineHeight:M.number.isRequired,touchEnabled:M.bool,isRTL:M.bool,onColumnResizeEnd:M.func.isRequired,height:M.number.isRequired};var t$=["children","minWidth","maxWidth","onColumnResizeEnd","onColumnReorderEnd","rowIndex","left","touchEnabled","cellGroupType","onColumnReorderStart"];function r$(e){var t=n$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function n$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var aa=function(e){Ke(r,e);var t=r$(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.children,a=nr(o,t$),s;return S.isValidElement(i)?s=S.cloneElement(i,a):typeof i=="function"?s=i(a):s=S.createElement(Ou,a,i),S.createElement(S.Fragment,null,S.createElement(km,{height:this.props.height,resizerLineHeight:this.context.tableHeight,onColumnResizeEnd:this.props.onColumnResizeEnd,width:this.props.width,minWidth:this.props.minWidth,maxWidth:this.props.maxWidth,columnKey:this.props.columnKey,touchEnabled:this.props.touchEnabled,isRTL:this.context.isRTL}),s)}}]),r}(S.PureComponent);aa.contextType=Tn;aa.propTypes={columnKey:M.oneOfType([M.string,M.number]),minWidth:M.number,maxWidth:M.number,width:M.number,touchEnabled:M.bool,isRTL:M.bool,onColumnResizeEnd:M.func.isRequired,height:M.number};var o$=["cell"],i$=["cell"],a$=["height","width","columnIndex","isVisible","columnKey","isHeaderOrFooter","touchEnabled"];function Hp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Si(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function s$(e){var t=l$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function l$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Au=function(e){Ke(r,e);var t=s$(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){if(o.isScrolling&&this.props.rowIndex===o.rowIndex&&this.props.isVisible===o.isVisible)return!1;if(!o.pureRendering)return!0;var i=this.props,a=i.cell,s=nr(i,o$),l=o.cell,c=nr(o,i$);return!Io(s,c)||!a||!l||a.type!==l.type||!Io(a.props,l.props)}},{key:"render",value:function(){var o=this.props,i=o.height,a=o.width,s=o.isVisible,l=o.isHeaderOrFooter,c=o.touchEnabled,d=nr(o,a$),p={height:i,width:a};this.props.isRTL?p.right=d.left:p.left=d.left;var h=et(ae({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":d.lastChild,"fixedDataTableCellLayout/alignRight":d.align==="right","fixedDataTableCellLayout/alignCenter":d.align==="center","public/fixedDataTableCell/alignRight":d.align==="right","public/fixedDataTableCell/highlighted":d.highlighted,"public/fixedDataTableCell/main":!0}),d.className),m={touchEnabled:c,isVisible:s,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,cellGroupType:this.props.cellGroupType,columnIndex:this.props.columnIndex,columnKey:this.props.columnKey,height:this.props.height,width:this.props.width,left:this.props.left};d.rowIndex>=0&&(m.rowIndex=d.rowIndex);var v;this.props.isHeader&&(this.props.onColumnResizeEnd||this.props.onColumnReorderEnd)?this.props.onColumnResizeEnd&&this.props.onColumnReorderEnd?(m=Si(Si({},m),{},{minWidth:this.props.minWidth,maxWidth:this.props.maxWidth}),v=S.createElement(Lo,Le({},m,{onColumnReorderEnd:this.props.onColumnReorderEnd}),S.createElement(aa,{onColumnResizeEnd:this.props.onColumnResizeEnd},d.cell))):this.props.onColumnReorderEnd?v=S.createElement(Lo,Le({},m,{onColumnReorderEnd:this.props.onColumnReorderEnd}),d.cell):(m=Si(Si({},m),{},{minWidth:this.props.minWidth,maxWidth:this.props.maxWidth}),v=S.createElement(aa,Le({},m,{onColumnResizeEnd:this.props.onColumnResizeEnd}),d.cell)):S.isValidElement(d.cell)?v=S.cloneElement(d.cell,m):typeof d.cell=="function"?v=d.cell(m):v=S.createElement(ia,m,d.cell);var g=l?"columnheader":"gridcell";return S.createElement("div",{className:h,style:p,role:g},v)}}]),r}(S.Component);G(Au,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:M.bool,align:M.oneOf(["left","center","right"]),className:M.string,highlighted:M.bool,width:M.number.isRequired,minWidth:M.number,maxWidth:M.number,height:M.number.isRequired,cell:M.oneOfType([M.string,M.element,M.func]),columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number.isRequired,left:M.number,pureRendering:M.bool,touchEnabled:M.bool,isHeaderOrFooter:M.bool,isRTL:M.bool,isVisible:M.bool.isRequired,onColumnResizeEnd:M.func,onColumnReorderEnd:M.func,isHeader:M.bool,cellGroupType:M.oneOf([le.FIXED,le.FIXED_RIGHT,le.SCROLLABLE])});G(Au,"defaultProps",{align:"left",highlighted:!1});var c$=Rm(Au),u$=["offsetLeft"];function Am(e){var t=d$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function d$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Im=function(e){Ke(r,e);var t=Am(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"_renderCell",function(i,a,s,l,c,d,p){var h=s.cellClassName,m=s.pureRendering||!1,v=s.isReorderable?o.props.onColumnReorderEndCallback:null,g=s.isResizable?o.props.onColumnResizeEndCallback:null;return S.createElement(c$,{columnIndex:s.index,isScrolling:o.props.isScrolling,isHeaderOrFooter:o.props.isHeaderOrFooter,isHeader:o.props.isHeader,isGroupHeader:o.props.isGroupHeader,align:s.align,className:h,height:a,key:d,maxWidth:s.maxWidth,minWidth:s.minWidth,touchEnabled:o.props.touchEnabled,onColumnResizeEnd:g,onColumnReorderEnd:v,rowIndex:i,columnKey:s.columnKey,width:s.width,left:c,cell:l,pureRendering:m,isRTL:o.props.isRTL,cellGroupType:o.props.cellGroupType,isVisible:o.props.isVisible&&p})}),o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var o=this.props,i=o.columns,a=new Array(i.length),s=Ni(i),l=0,c=0,d=i.length;c<d;c++){var p=i[c].props,h=i[c].template,m=p.allowCellsRecycling,v=l-o.left<=o.width&&l-o.left+p.width>=0;if(!m||v){var g=p.columnKey||"cell_"+c;a[c]=this._renderCell(o.rowIndex,o.rowHeight,p,h,l,g,v)}l+=p.width}var y={height:o.height,position:"absolute",width:s,zIndex:o.zIndex};return Cn(y,-1*o.left,0,this._initialRender,this.props.isRTL),S.createElement("div",{className:ae("fixedDataTableCellGroupLayout/cellGroup"),style:y},a)}}]),r}(S.Component);G(Im,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:M.array.isRequired,isScrolling:M.bool,left:M.number,height:M.number.isRequired,cellGroupWrapperHeight:M.number,rowHeight:M.number.isRequired,rowIndex:M.number.isRequired,width:M.number.isRequired,zIndex:M.number.isRequired,touchEnabled:M.bool,isHeaderOrFooter:M.bool,isRTL:M.bool,onColumnResizeEndCallback:M.func,onColumnReorderEndCallback:M.func,isHeader:M.bool,isVisible:M.bool.isRequired});var vo=function(e){Ke(r,e);var t=Am(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){return!(o.isScrolling&&this.props.rowIndex===o.rowIndex&&this.props.left===o.left&&this.props.offsetLeft===o.offsetLeft&&this.props.isVisible===o.isVisible)}},{key:"render",value:function(){var o=this.props,i=o.offsetLeft,a=nr(o,u$),s={height:a.cellGroupWrapperHeight||a.height,width:a.width};return this.props.isRTL?s.right=i:s.left=i,S.createElement("div",{style:s,className:ae("fixedDataTableCellGroupLayout/cellGroupWrapper")},S.createElement(Im,a))}}]),r}(S.Component);G(vo,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:M.bool,height:M.number.isRequired,offsetLeft:M.number,left:M.number,zIndex:M.number.isRequired});G(vo,"defaultProps",{left:0,offsetLeft:0});var f$=["offsetTop","zIndex"];function Pm(e){var t=p$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function p$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var h$=1,Dm=function(e){Ke(r,e);var t=Pm(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"mouseLeaveIndex",null),G(Q(n),"_getRowExpanded",function(s){if(n.props.rowExpanded){var l={rowIndex:n.props.index,height:s,width:n.props.width},c;return S.isValidElement(n.props.rowExpanded)?c=S.cloneElement(n.props.rowExpanded,l):typeof n.props.rowExpanded=="function"&&(c=n.props.rowExpanded(l)),c}}),G(Q(n),"_renderColumnsLeftShadow",function(s){var l=ae({"fixedDataTableRowLayout/fixedColumnsDivider":s>0,"fixedDataTableRowLayout/columnsShadow":n.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":s>0,"public/fixedDataTableRow/columnsShadow":n.props.scrollLeft>0}),c=n.props.cellGroupWrapperHeight?n.props.cellGroupWrapperHeight-h$:n.props.height,d={left:s,height:c};return n.props.isRTL&&(d.right=s,d.left="auto"),S.createElement("div",{className:l,style:d})}),G(Q(n),"_renderFixedRightColumnsShadow",function(s){var l=ae("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),c={height:n.props.height,left:s};return n.props.isRTL&&(c.right=s,c.left="auto"),S.createElement("div",{className:l,style:c})}),G(Q(n),"_renderColumnsRightShadow",function(s){if(Math.ceil(n.props.scrollLeft+n.props.width)<Math.floor(s)){var l=ae("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),c={height:n.props.height};return S.createElement("div",{className:l,style:c})}}),G(Q(n),"_onClick",function(s){n.props.onClick(s,n.props.index)}),G(Q(n),"_onContextMenu",function(s){n.props.onContextMenu(s,n.props.index)}),G(Q(n),"_onDoubleClick",function(s){n.props.onDoubleClick(s,n.props.index)}),G(Q(n),"_onMouseUp",function(s){n.props.onMouseUp(s,n.props.index)}),G(Q(n),"_onMouseDown",function(s){n.props.onMouseDown(s,n.props.index)}),G(Q(n),"_onMouseEnter",function(s){n.mouseLeaveIndex=n.props.index,n.props.onMouseEnter&&n.props.onMouseEnter(s,n.props.index)}),G(Q(n),"_onMouseLeave",function(s){n.mouseLeaveIndex===null&&(n.mouseLeaveIndex=n.props.index),n.props.onMouseLeave(s,n.mouseLeaveIndex),n.mouseLeaveIndex=null}),G(Q(n),"_onTouchStart",function(s){n.props.onTouchStart(s,n.props.index)}),G(Q(n),"_onTouchEnd",function(s){n.props.onTouchEnd(s,n.props.index)}),G(Q(n),"_onTouchMove",function(s){n.props.onTouchMove(s,n.props.index)}),n}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){return o.isScrolling?o.visible?this.props.visible!==o.visible?!0:!(this.props.index===o.index&&this.props.scrollLeft===o.scrollLeft):!1:!0}},{key:"render",value:function(){var o=this.props.subRowHeight||0,i={width:this.props.width,height:this.props.height+o},a=ae({"fixedDataTableRowLayout/main":!0,"public/fixedDataTableRow/main":!0,"public/fixedDataTableRow/highlighted":this.props.index%2===1,"public/fixedDataTableRow/odd":this.props.index%2===1,"public/fixedDataTableRow/even":this.props.index%2===0}),s=Ni(this.props.fixedColumns),l=S.createElement(vo,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:s,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:le.FIXED,isVisible:this.props.visible}),c=this._renderColumnsLeftShadow(s),d=Ni(this.props.fixedRightColumns),p=this.props.showScrollbarY?this.props.scrollbarYWidth:0,h=S.createElement(vo,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-d-p,width:d,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:le.FIXED_RIGHT,isVisible:this.props.visible}),m=d?this._renderFixedRightColumnsShadow(this.props.width-d-p-5):null,v=S.createElement(vo,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:s,width:this.props.width-s-d-p,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:le.SCROLLABLE,isVisible:this.props.visible}),g=Ni(this.props.scrollableColumns),y=this._renderColumnsRightShadow(s+g),b=this._getRowExpanded(o),T={height:o,top:this.props.height,width:this.props.width},E=null;if(this.props.showScrollbarY){var x={width:p,height:this.props.height,left:this.props.isRTL?2:this.props.width-p-2};E=S.createElement("div",{style:x,className:ae("public/fixedDataTable/scrollbarSpacer")})}return S.createElement("div",Le({className:et(a,this.props.className),role:"row","aria-rowindex":this.props.ariaRowIndex},this.props.attributes,{onClick:this.props.onClick?this._onClick:null,onContextMenu:this.props.onContextMenu?this._onContextMenu:null,onDoubleClick:this.props.onDoubleClick?this._onDoubleClick:null,onMouseDown:this.props.onMouseDown?this._onMouseDown:null,onMouseUp:this.props.onMouseUp?this._onMouseUp:null,onMouseEnter:this.props.onMouseEnter||this.props.onMouseLeave?this._onMouseEnter:null,onMouseLeave:this.props.onMouseLeave?this._onMouseLeave:null,onTouchStart:this.props.onTouchStart?this._onTouchStart:null,onTouchEnd:this.props.onTouchEnd?this._onTouchEnd:null,onTouchMove:this.props.onTouchMove?this._onTouchMove:null,style:i}),S.createElement("div",{className:ae("fixedDataTableRowLayout/body")},l,v,c,h,m,E),b&&S.createElement("div",{className:ae("fixedDataTableRowLayout/rowExpanded"),style:T},b),y)}}]),r}(S.Component);G(Dm,"propTypes",{isScrolling:M.bool,fixedColumns:M.array.isRequired,fixedRightColumns:M.array.isRequired,height:M.number.isRequired,cellGroupWrapperHeight:M.number,subRowHeight:M.number,rowExpanded:M.oneOfType([M.element,M.func]),index:M.number.isRequired,scrollableColumns:M.array.isRequired,scrollLeft:M.number.isRequired,width:M.number.isRequired,onClick:M.func,onContextMenu:M.func,onDoubleClick:M.func,onColumnReorderEndCallback:M.func,touchEnabled:M.bool,isHeaderOrFooter:M.bool,ariaRowIndex:M.number,isRTL:M.bool,attributes:M.object,onColumnResizeEndCallback:M.func,isHeader:M.bool,isGroupHeader:M.bool,scrollToX:M.func});var yo=function(e){Ke(r,e);var t=Pm(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(o){return!o.isScrolling||this.props.visible!==o.visible?!0:o.visible?!(o.isScrolling&&this.props.index===o.index&&this.props.offsetTop===o.offsetTop&&this.props.scrollLeft===o.scrollLeft):!1}},{key:"render",value:function(){var o=this.props,i=o.offsetTop,a=o.zIndex,s=nr(o,f$),l={width:this.props.width,height:this.props.height,zIndex:a||0,visibility:s.visible?"visible":"hidden"};return Cn(l,0,i,this._initialRender,this.props.isRTL),S.createElement("div",{style:l,className:ae("fixedDataTableRowLayout/rowWrapper")},S.createElement(Dm,s))}}]),r}(S.Component);G(yo,"propTypes",{isScrolling:M.bool,height:M.number.isRequired,zIndex:M.number,offsetTop:M.number.isRequired,visible:M.bool.isRequired,width:M.number.isRequired});function g$(e){var t=m$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function m$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var $m=function(e){Ke(r,e);var t=g$(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),o._staticRowArray=[],o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this._staticRowArray.length=0}},{key:"render",value:function(){var o=this.props,i=o.offsetTop,a=o.rowOffsets,s=o.scrollTop,l=o.isScrolling,c=o.rowsToRender;c=c||[],l?this._staticRowArray.length=Math.max(this._staticRowArray.length,c.length):this._staticRowArray.length=c.length;for(var d=1e6,p=i-s%d,h=0;h<this._staticRowArray.length;h++){var m,v=a8(c[h],(m=this._staticRowArray[h])===null||m===void 0?void 0:m.props.index);if(mo(v)||!Br(v,0,this.props.rowSettings.rowsCount)){this._staticRowArray[h]=null;continue}var g=a[v]-Math.floor(s/d)*d;this._staticRowArray[h]=this.renderRow({rowIndex:v,key:h,rowOffsetTop:g})}var y={position:"relative"};Cn(y,0,p,!1);var b=this._staticRowArray.slice().sort(this.rowSortComparator);return S.createElement("div",{style:y},b)}},{key:"renderRow",value:function(o){var i=o.rowIndex,a=o.key,s=o.rowOffsetTop,l=this.props,c=l.rowClassNameGetter||rt,d={};d.height=this.props.rowSettings.rowHeightGetter(i),d.subRowHeight=this.props.rowSettings.subRowHeightGetter(i),d.offsetTop=s,d.key=l.rowKeyGetter?l.rowKeyGetter(i):a,d.attributes=l.rowSettings.rowAttributesGetter&&l.rowSettings.rowAttributesGetter(i);var p=i===l.rowSettings.rowsCount-1&&l.showLastRowBorder;d.className=et(c(i),ae("public/fixedDataTable/bodyRow"),ae({"fixedDataTableLayout/hasBottomBorder":p,"public/fixedDataTable/hasBottomBorder":p}));var h=Br(i,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return S.createElement(yo,Le({key:a,index:i,ariaRowIndex:i+l.ariaRowIndexOffset,isScrolling:l.isScrolling,width:l.width,rowExpanded:l.rowExpanded,scrollLeft:Math.round(l.scrollLeft),fixedColumns:l.fixedColumns,fixedRightColumns:l.fixedRightColumns,scrollableColumns:l.scrollableColumns,onClick:l.onRowClick,onContextMenu:l.onRowContextMenu,onDoubleClick:l.onRowDoubleClick,onMouseDown:l.onRowMouseDown,onMouseUp:l.onRowMouseUp,onMouseEnter:l.onRowMouseEnter,onMouseLeave:l.onRowMouseLeave,onTouchStart:l.onRowTouchStart,onTouchEnd:l.onRowTouchEnd,onTouchMove:l.onRowTouchMove,showScrollbarY:l.showScrollbarY,scrollbarYWidth:l.scrollbarYWidth,isRTL:l.isRTL,visible:h},d))}},{key:"rowSortComparator",value:function(o,i){var a,s;return((a=o==null?void 0:o.props.ariaRowIndex)!==null&&a!==void 0?a:-1)-((s=i==null?void 0:i.props.ariaRowIndex)!==null&&s!==void 0?s:-1)}}]),r}(S.Component);G($m,"propTypes",{ariaRowIndexOffset:M.number,isScrolling:M.bool,firstViewportRowIndex:M.number.isRequired,endViewportRowIndex:M.number.isRequired,fixedColumns:M.array.isRequired,fixedRightColumns:M.array.isRequired,height:M.number.isRequired,offsetTop:M.number.isRequired,onRowClick:M.func,onRowContextMenu:M.func,onRowDoubleClick:M.func,onRowMouseDown:M.func,onRowMouseUp:M.func,onRowMouseEnter:M.func,onRowMouseLeave:M.func,onRowTouchStart:M.func,onRowTouchEnd:M.func,onRowTouchMove:M.func,rowClassNameGetter:M.func,rowExpanded:M.oneOfType([M.element,M.func]),rowOffsets:M.object.isRequired,rowKeyGetter:M.func,rowSettings:M.shape({rowAttributesGetter:M.func,rowHeightGetter:M.func,rowsCount:M.number.isRequired,subRowHeightGetter:M.func}),rowsToRender:M.array.isRequired,scrollLeft:M.number.isRequired,scrollTop:M.number.isRequired,scrollableColumns:M.array.isRequired,showLastRowBorder:M.bool,showScrollbarY:M.bool,width:M.number.isRequired,isRTL:M.bool});var zp=1.6,v$=1.6,y$=325,Qn=100,b$=function(){function e(t,r,n,o,i){Ae(this,e),this._dragAnimationId=null,this._trackerId=null,this._deltaX=0,this._deltaY=0,this._lastTouchX=0,this._lastTouchY=0,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),this._autoScrollTimestamp=Date.now(),typeof r!="function"&&(r=r?rt.thatReturnsTrue:rt.thatReturnsFalse),typeof n!="function"&&(n=n?rt.thatReturnsTrue:rt.thatReturnsFalse),this._handleScrollX=r,this._handleScrollY=n,this._preventDefault=o,this._stopPropagation=i,this._onTouchScrollCallback=t,this._didTouchMove=this._didTouchMove.bind(this),this._track=this._track.bind(this),this._autoScroll=this._autoScroll.bind(this),this._startAutoScroll=this._startAutoScroll.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchCancel=this.onTouchCancel.bind(this)}return Ie(e,[{key:"onTouchStart",value:function(r){this._lastTouchX=r.touches[0].pageX,this._lastTouchY=r.touches[0].pageY,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),clearInterval(this._trackerId),this._trackerId=setInterval(this._track,Qn),this._stopPropagation&&r.stopPropagation()}},{key:"onTouchEnd",value:function(r){clearInterval(this._trackerId),this._trackerId=null,vr(this._startAutoScroll),this._stopPropagation&&r.stopPropagation()}},{key:"onTouchCancel",value:function(r){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&r.stopPropagation()}},{key:"onTouchMove",value:function(r){this._preventDefault&&r.preventDefault();var n=r.touches[0].pageX,o=r.touches[0].pageY;this._deltaX=zp*(this._lastTouchX-n),this._deltaY=zp*(this._lastTouchY-o);var i=this._handleScrollX(this._deltaX,this._deltaY),a=this._handleScrollY(this._deltaY,this._deltaX);if(!(!i&&!a)){i?this._lastTouchX=n:this._deltaX=0,a?this._lastTouchY=o:this._deltaY=0,r.defaultPrevented||r.preventDefault();var s=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&r.stopPropagation(),s=!0),s===!0&&this._dragAnimationId===null&&(this._dragAnimationId=vr(this._didTouchMove))}}},{key:"_didTouchMove",value:function(){this._dragAnimationId=null,this._onTouchScrollCallback(this._deltaX,this._deltaY),this._accumulatedDeltaX+=this._deltaX,this._accumulatedDeltaY+=this._deltaY,this._deltaX=0,this._deltaY=0}},{key:"_track",value:function(){var r=Date.now(),n=r-this._lastFrameTimestamp,o=this._velocityX,i=this._velocityY,a=.8;n<Qn&&(a*=n/Qn),o===0&&i===0&&(a=1),this._velocityX=a*(Qn*this._accumulatedDeltaX/(1+n)),a<1&&(this._velocityX+=(1-a)*o),this._velocityY=a*(Qn*this._accumulatedDeltaY/(1+n)),a<1&&(this._velocityY+=(1-a)*i),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=r}},{key:"_startAutoScroll",value:function(){this._autoScrollTimestamp=Date.now(),(this._deltaX>0||this.deltaY>0)&&this._didTouchMove(),this._track(),this._autoScroll()}},{key:"_autoScroll",value:function(){var r=Date.now()-this._autoScrollTimestamp,n=v$*Math.exp(-r/y$),o=n*this._velocityX,i=n*this._velocityY;(Math.abs(o)<=5||!this._handleScrollX(o,i))&&(o=0),(Math.abs(i)<=5||!this._handleScrollY(i,o))&&(i=0),(o!==0||i!==0)&&(this._onTouchScrollCallback(o,i),vr(this._autoScroll))}}]),e}();function w$(e){var t=x$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function x$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Ri=25,Iu=function(e){Ke(r,e);var t=w$(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),G(Q(o),"_shouldHandleTouchX",function(i){return o.props.touchScrollEnabled&&o._shouldHandleWheelX(i)}),G(Q(o),"_shouldHandleTouchY",function(i){return o.props.touchScrollEnabled&&o._shouldHandleWheelY(i)}),G(Q(o),"_shouldHandleWheelX",function(i){var a=o.props,s=a.maxScrollX,l=a.scrollFlags,c=a.scrollX,d=l.overflowX;return d==="hidden"||(i=Math.round(i),i===0)?!1:i<0&&c>0||i>=0&&c<s}),G(Q(o),"_shouldHandleWheelY",function(i){var a=o.props,s=a.maxScrollY,l=a.scrollFlags,c=a.scrollY,d=l.overflowY;return d==="hidden"||i===0||(i=Math.round(i),i===0)?!1:i<0&&c>0||i>=0&&c<s}),G(Q(o),"_reportContentHeight",function(){var i=hn(o.props),a=i.contentHeight,s=o.props.onContentHeightChange;a!==o._contentHeight&&s&&s(a),o._contentHeight=a}),G(Q(o),"_renderRows",function(i,a,s,l,c,d){var p=Wr(o.props),h=p.scrollEnabledY,m=o.props;return S.createElement($m,{ariaRowIndexOffset:d,isScrolling:m.scrolling,fixedColumns:a,fixedRightColumns:s,firstViewportRowIndex:m.firstRowIndex,endViewportRowIndex:m.endRowIndex,height:c,offsetTop:i,onRowClick:m.onRowClick,onRowContextMenu:m.onRowContextMenu,onRowDoubleClick:m.onRowDoubleClick,onRowMouseUp:m.onRowMouseUp,onRowMouseDown:m.onRowMouseDown,onRowMouseEnter:m.onRowMouseEnter,onRowMouseLeave:m.onRowMouseLeave,onRowTouchStart:m.touchScrollEnabled?m.onRowTouchStart:null,onRowTouchEnd:m.touchScrollEnabled?m.onRowTouchEnd:null,onRowTouchMove:m.touchScrollEnabled?m.onRowTouchMove:null,rowClassNameGetter:m.rowClassNameGetter,rowExpanded:m.rowExpanded,rowKeyGetter:m.rowKeyGetter,rowSettings:m.rowSettings,scrollLeft:m.scrollX,scrollTop:m.scrollY,scrollableColumns:l,showLastRowBorder:!0,width:m.tableSize.width,rowsToRender:m.rows,rowOffsets:m.rowOffsets,showScrollbarY:h,scrollbarYWidth:m.scrollbarYWidth,isRTL:m.isRTL})}),G(Q(o),"_onRef",function(i){o._divRef=i,o._wheelHandler&&(o.props.stopReactWheelPropagation?o._wheelHandler.setRoot(i):o._wheelHandler.setRoot(null))}),G(Q(o),"_onScroll",function(i,a){var s=o.props,l=s.maxScrollX,c=s.maxScrollY,d=s.onHorizontalScroll,p=s.onVerticalScroll,h=s.scrollActions,m=s.scrollFlags,v=s.scrollX,g=s.scrollY,y=m.overflowX,b=m.overflowY,T=v,E=g;if(Math.abs(a)>Math.abs(i)&&b!=="hidden")E+=a,E=E<0?0:E,E=E>c?c:E,(!p||p(E))&&h.scrollToY(E);else if(i&&y!=="hidden"){T+=i,T=T<0?0:T,T=T>l?l:T;var x=Math.round(T);(!d||d(x))&&h.scrollToX(x)}}),G(Q(o),"_scrollTo",function(i,a){o.props.scrollActions.scrollToX(i),o.props.scrollActions.scrollToY(a)}),G(Q(o),"_didScroll",function(i){var a=o.props,s=a.onScrollStart,l=a.scrollX,c=a.scrollY,d=a.onHorizontalScroll,p=a.onVerticalScroll,h=a.tableSize.ownerHeight,m=a.scrolling,v=i.endRowIndex,g=i.firstRowIndex,y=i.scrollX,b=i.scrollY,T=i.tableSize.ownerHeight,E=i.scrolling,x=h!==T&&!(Ip(h)&&Ip(T)),C=l!==y,_=c!==b;!x&&!C&&!_||(!E&&m&&s&&s(y,b,g,v),C&&d&&d(l),_&&p&&p(c),o._didScrollStop())}),G(Q(o),"_didScrollStopSync",function(){var i=o.props,a=i.endRowIndex,s=i.firstRowIndex,l=i.onScrollEnd,c=i.scrollActions,d=i.scrollX,p=i.scrollY,h=i.scrolling;h&&(c.stopScroll(),l&&l(d,p,s,a))}),o._didScrollStop=kD(o._didScrollStopSync,200,Q(o)),o._onKeyDown=o._onKeyDown.bind(Q(o)),o._setupHandlers(),o}return Ie(r,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new im(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new b$(this._onScroll,this._shouldHandleTouchX,this._shouldHandleTouchY,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._divRef&&this._divRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this.props.touchScrollEnabled&&this._divRef&&this._divRef.addEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1})}},{key:"_cleanupHandlers",value:function(){this._wheelHandler&&(this._divRef&&this._divRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._wheelHandler=null),this._touchHandler&&(this._divRef&&this._divRef.removeEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1}),this._touchHandler=null)}},{key:"_onKeyDown",value:function(o){var i=hn(this.props),a=i.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(o.key){case"PageDown":this._onScroll(0,a),o.preventDefault();break;case"PageUp":this._onScroll(0,a*-1),o.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(o.key){case"ArrowDown":this._onScroll(0,Ri),o.preventDefault();break;case"ArrowUp":this._onScroll(0,Ri*-1),o.preventDefault();break;case"ArrowRight":this._onScroll(Ri,0),o.preventDefault();break;case"ArrowLeft":this._onScroll(Ri*-1,0),o.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(o){return!Io(this.props,o)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(o){this._didScroll(o),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var o=hn(this.props),i=o.bodyOffsetTop,a=o.scrollbarXOffsetTop,s=o.visibleRowsHeight,l=this.props,c=l.tableSize.width,d=l.scrollContentHeight,p=l.scrollY,h=l.scrollX,m={viewportHeight:s,contentHeight:d,scrollbarYOffsetTop:i,scrollY:p,viewportWidth:c,contentWidth:c+this.props.maxScrollX,scrollbarXOffsetTop:a,scrollX:h,scrollTo:this._scrollTo,scrollToX:this.props.scrollActions.scrollToX,scrollToY:this.props.scrollActions.scrollToY};Io(this.previousScrollState,m)||(this.props.onScrollBarsUpdate(m),this.previousScrollState=m)}},{key:"render",value:function(){var o=ID(this.props),i=o.ariaGroupHeaderIndex,a=o.ariaHeaderIndex,s=o.ariaFooterIndex,l=o.ariaRowCount,c=o.ariaRowIndexOffset,d=o8(this.props),p=d.fixedColumnGroups,h=d.fixedColumns,m=d.fixedRightColumnGroups,v=d.fixedRightColumns,g=d.scrollableColumnGroups,y=d.scrollableColumns,b=hn(this.props),T=b.bodyHeight,E=b.bodyOffsetTop,x=b.componentHeight,C=b.footOffsetTop,_=b.scrollbarXOffsetTop,k=b.visibleRowsHeight,O=this.props,P=O.className,F=O.elementHeights,W=O.gridAttributesGetter,R=O.maxScrollY,A=O.onColumnReorderEndCallback,B=O.onColumnResizeEndCallback,j=O.scrollContentHeight,N=O.scrollX,I=O.scrollY,H=O.scrolling,Y=O.tableSize,D=O.touchScrollEnabled,V=O.scrollbarYWidth,K=Y.ownerHeight,q=Y.width,X=F.cellGroupWrapperHeight,J=F.footerHeight,ee=F.groupHeaderHeight,oe=F.headerHeight,ne=Wr(this.props),ue=ne.scrollEnabledX,ie=ne.scrollEnabledY,ve=W&&W(),z;ee>0&&(z=S.createElement(yo,{key:"group_header",ariaRowIndex:i,isHeaderOrFooter:!0,isScrolling:H,className:et(ae("fixedDataTableLayout/header"),ae("public/fixedDataTable/header")),width:q,height:ee,cellGroupWrapperHeight:X,index:0,zIndex:1,offsetTop:0,scrollLeft:N,fixedColumns:p,fixedRightColumns:m,scrollableColumns:g,visible:!0,touchEnabled:D,onColumnResizeEndCallback:B,onColumnReorderEndCallback:A,showScrollbarY:ie,scrollbarYWidth:V,isRTL:this.props.isRTL,isHeader:!0,isGroupHeader:!0}));var re;ie&&(re=this.props.scrollbarY);var ce;ue&&(ce=this.props.scrollbarX);var ge=null;J&&(ge=S.createElement(yo,{key:"footer",ariaRowIndex:s,isHeaderOrFooter:!0,isScrolling:H,className:et(ae("fixedDataTableLayout/footer"),ae("public/fixedDataTable/footer")),width:q,height:J,index:-1,zIndex:1,offsetTop:C,visible:!0,fixedColumns:h.footer,fixedRightColumns:v.footer,scrollableColumns:y.footer,scrollLeft:N,showScrollbarY:ie,scrollbarYWidth:V,isRTL:this.props.isRTL}));var Xe=this._renderRows(E,h.cell,v.cell,y.cell,T,c),Ue=S.createElement(yo,{key:"header",ariaRowIndex:a,isHeaderOrFooter:!0,isScrolling:H,className:et(ae("fixedDataTableLayout/header"),ae("public/fixedDataTable/header")),width:q,height:oe,cellGroupWrapperHeight:X,index:-1,zIndex:1,offsetTop:ee,scrollLeft:N,visible:!0,fixedColumns:h.header,fixedRightColumns:v.header,scrollableColumns:y.header,touchEnabled:D,onColumnResizeEndCallback:B,onColumnReorderEndCallback:A,showScrollbarY:ie,scrollbarYWidth:V,isRTL:this.props.isRTL,isHeader:!0}),He;I&&(He=S.createElement("div",{className:et(ae("fixedDataTableLayout/topShadow"),ae("public/fixedDataTable/topShadow")),style:{top:E}}));var St=K&&K<x&&j>k,Qe;(St||I<R)&&(Qe=S.createElement("div",{className:et(ae("fixedDataTableLayout/bottomShadow"),ae("public/fixedDataTable/bottomShadow")),style:{top:C}}));var st=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(st=0);var Je=P;return this.props.isRTL&&(Je=et(Je,"fixedDataTable_isRTL")),S.createElement("div",Le({className:et(Je,ae("fixedDataTableLayout/main"),ae("public/fixedDataTable/main")),role:"grid","aria-rowcount":l},ve,{tabIndex:st,onKeyDown:this._onKeyDown,onTouchStart:D?this._touchHandler.onTouchStart:null,onTouchEnd:D?this._touchHandler.onTouchEnd:null,onTouchCancel:D?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:x,width:q}}),S.createElement("div",{className:ae("fixedDataTableLayout/rowsContainer"),style:{height:_,width:q}},z,Ue,Xe,ge,He,Qe),re,ce)}}]),r}(S.Component);G(Iu,"propTypes",{width:M.number.isRequired,height:M.number,className:M.string,maxHeight:M.number,ownerHeight:M.number,overflowX:M.oneOf(["hidden","auto"]),overflowY:M.oneOf(["hidden","auto"]),touchScrollEnabled:M.bool,keyboardScrollEnabled:M.bool,keyboardPageEnabled:M.bool,scrollbarX:M.node,scrollbarXHeight:M.number,scrollbarY:M.node,scrollbarYWidth:M.number,onScrollBarsUpdate:M.func,defaultScrollbars:M.bool,showScrollbarX:M.bool,showScrollbarY:M.bool,onHorizontalScroll:M.func,onVerticalScroll:M.func,rowsCount:M.number.isRequired,rowHeight:M.number.isRequired,rowHeightGetter:M.func,subRowHeight:M.number,subRowHeightGetter:M.func,rowExpanded:M.oneOfType([M.element,M.func]),rowClassNameGetter:M.func,rowKeyGetter:M.func,groupHeaderHeight:M.number,headerHeight:M.number.isRequired,cellGroupWrapperHeight:M.number,footerHeight:M.number,scrollLeft:M.number,scrollToColumn:M.number,scrollTop:M.number,isVerticalScrollExact:M.bool,scrollToRow:M.number,onScrollStart:M.func,onScrollEnd:M.func,stopReactWheelPropagation:M.bool,stopScrollDefaultHandling:M.bool,stopScrollPropagation:M.bool,onContentHeightChange:M.func,onRowClick:M.func,onRowContextMenu:M.func,onRowDoubleClick:M.func,onRowMouseDown:M.func,onRowMouseUp:M.func,onRowMouseEnter:M.func,onRowMouseLeave:M.func,onRowTouchStart:M.func,onRowTouchEnd:M.func,onRowTouchMove:M.func,onColumnResizeEndCallback:M.func,onColumnReorderEndCallback:M.func,isRTL:M.bool,bufferRowCount:M.number,elementHeights:M.shape({cellGroupWrapperHeight:M.number,footerHeight:M.number,groupHeaderHeight:M.number,headerHeight:M.number}),gridAttributesGetter:M.func,rowAttributesGetter:M.func});G(Iu,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var C$={get:function(){return lD({reducer:gD,devTools:process.env.NODE_ENV!=="production",middleware:function(r){return r({immutableCheck:!1,serializableCheck:!1})}})}},E$=cu,T$=Jo,S$=Ya,R$=Lt,_$=Zo,M$=ko.exports,O$=Ka,k$=Pg,A$="[object Map]",I$="[object Set]",P$=Object.prototype,D$=P$.hasOwnProperty;function $$(e){if(e==null)return!0;if(_$(e)&&(R$(e)||typeof e=="string"||typeof e.splice=="function"||M$(e)||k$(e)||S$(e)))return!e.length;var t=T$(e);if(t==A$||t==I$)return!e.size;if(O$(e))return!E$(e).length;for(var r in e)if(D$.call(e,r))return!1;return!0}var Wp=$$;function Nm(e){var t=N$();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function N$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var L$=function(e){Ke(r,e);var t=Nm(r);function r(){var n;Ae(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),G(Q(n),"state",{}),G(Q(n),"_onScrollBarsUpdate",function(s){n.setState(s)}),G(Q(n),"_onVerticalScroll",function(s){n.state.scrollToY!==void 0&&n.state.scrollToY(s)}),G(Q(n),"_onHorizontalScroll",function(s){n.state.scrollToX!==void 0&&n.state.scrollToX(s)}),n}return Ie(r,[{key:"render",value:function(){var o=!Wp(this.state)&&S.createElement(wt,{size:this.state.viewportHeight,contentSize:this.state.contentHeight,onScroll:this._onVerticalScroll,verticalTop:this.state.scrollbarYOffsetTop,position:this.state.scrollY,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL}),i=!Wp(this.state)&&S.createElement(Lm,{contentSize:this.state.contentWidth,offset:this.state.scrollbarXOffsetTop,onScroll:this._onHorizontalScroll,position:this.state.scrollX,size:this.state.viewportWidth,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL});return S.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:i,scrollbarY:o})}}]),r}(S.Component),Lm=function(e){Ke(r,e);var t=Nm(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.offset,a=o.size,s={height:wt.SIZE,width:a},l={height:wt.SIZE,overflow:"hidden",width:a,top:i};return S.createElement("div",{className:et(ae("public/fixedDataTable/horizontalScrollbar")),style:s},S.createElement("div",{style:l},S.createElement(wt,Le({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),r}(S.PureComponent);G(Lm,"propTypes",{contentSize:M.number.isRequired,offset:M.number.isRequired,onScroll:M.func.isRequired,position:M.number.isRequired,size:M.number.isRequired,isRTL:M.bool});var F$=function(){return cr([function(t){return hn(t).componentHeight},function(t){return t.elementHeights.groupHeaderHeight},function(t){return t.scrollX},function(t){return t.maxScrollX},function(t){return ei(t).availableScrollWidth},function(t){return t.isRTL}],function(t,r,n,o,i,a){return{tableHeight:t,groupHeaderHeight:r,scrollX:n,maxScrollX:o,availableScrollWidth:i,isRTL:a}})},j$=qr,B$=Lt,H$=Sr,z$="[object String]";function W$(e){return typeof e=="string"||!B$(e)&&H$(e)&&j$(e)==z$}var V$=W$;function U$(e){return function(t){return t==null?void 0:t[e]}}var G$=U$,Y$=G$,q$=Y$("length"),X$=q$,K$="\\ud800-\\udfff",Q$="\\u0300-\\u036f",Z$="\\ufe20-\\ufe2f",J$="\\u20d0-\\u20ff",e7=Q$+Z$+J$,t7="\\ufe0e\\ufe0f",r7="\\u200d",n7=RegExp("["+r7+K$+e7+t7+"]");function o7(e){return n7.test(e)}var i7=o7,Fm="\\ud800-\\udfff",a7="\\u0300-\\u036f",s7="\\ufe20-\\ufe2f",l7="\\u20d0-\\u20ff",c7=a7+s7+l7,u7="\\ufe0e\\ufe0f",d7="["+Fm+"]",cc="["+c7+"]",uc="\\ud83c[\\udffb-\\udfff]",f7="(?:"+cc+"|"+uc+")",jm="[^"+Fm+"]",Bm="(?:\\ud83c[\\udde6-\\uddff]){2}",Hm="[\\ud800-\\udbff][\\udc00-\\udfff]",p7="\\u200d",zm=f7+"?",Wm="["+u7+"]?",h7="(?:"+p7+"(?:"+[jm,Bm,Hm].join("|")+")"+Wm+zm+")*",g7=Wm+zm+h7,m7="(?:"+[jm+cc+"?",cc,Bm,Hm,d7].join("|")+")",Vp=RegExp(uc+"(?="+uc+")|"+m7+g7,"g");function v7(e){for(var t=Vp.lastIndex=0;Vp.test(e);)++t;return t}var y7=v7,b7=X$,w7=i7,x7=y7;function C7(e){return w7(e)?x7(e):b7(e)}var E7=C7,T7=cu,S7=Jo,R7=Zo,_7=V$,M7=E7,O7="[object Map]",k7="[object Set]";function A7(e){if(e==null)return 0;if(R7(e))return _7(e)?M7(e):e.length;var t=S7(e);return t==O7||t==k7?e.size:T7(e).length}var tl=A7,I7=function(t){return{offset:t.offset,width:t.width,index:t.index,columnKey:t.columnKey}},_i=function(t){return{offset:t.offset,width:t.width,index:t.index,columnKey:t.columnKey}},P7=function(){return cr([function(t){return ei(t)},function(t,r){return r}],function(t,r){var n=t.fixedColumns,o=t.fixedRightColumns,i=t.scrollableColumns,a=t.fixedColumnGroups,s=t.fixedRightColumnGroups,l=t.scrollableColumnGroups,c=function(I){var H=n.length+i.length+o.length;if(I<0||I>=H||!Number.isInteger(I))throw"columnIndex must be an integer between 0 and ".concat(H-1," inclusive")},d=function(I){var H=a.length+l.length+s.length;if(I<0||I>=H||!Number.isInteger(I))throw"columnGroupIndex must be an integer between 0 and ".concat(H-1," inclusive")},p=function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(H&&mo(I))&&I!==le.FIXED&&I!==le.FIXED_RIGHT&&I!==le.SCROLLABLE)throw"Invalid CellGroupType"},h=function(I){return I<n.length?le.FIXED:I<n.length+i.length?le.SCROLLABLE:le.FIXED_RIGHT},m=function(I){return I<a.length?le.FIXED:I<a.length+l.length?le.SCROLLABLE:le.FIXED_RIGHT},v=function(I,H){if(H===le.FIXED)return I;if(H===le.SCROLLABLE)return I-n.length;if(H===le.FIXED_RIGHT)return I-n.length-i.length},g=function(I,H){if(H===le.FIXED)return I;if(H===le.SCROLLABLE)return I-a.length;if(H===le.FIXED_RIGHT)return I-a.length-l.length},y=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:le.SCROLLABLE;p(I);var H=O(I);return H.reduce(function(Y,D){return Y+D.width},0)},b=function(I,H){var Y=O(H),D=v(I,H);return Y[D]},T=function(I){c(I);var H=h(I),Y=b(I,H);return I7(Y)},E=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(p(I,!0),mo(I))return n.length+i.length+o.length;var H=O(I);return H.length},x=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(p(I,!0),mo(I))return a.length+l.length+s.length;var H=P(I);return H.length},C=function(I,H){var Y=P(H),D=g(I,H);return _i(Y[D])},_=function(I){d(I);var H=m(I);return C(I,H)},k=function(I){c(I);var H=h(I),Y=b(I,H).groupIdx,D=F(Y);return _i(D)},O=function(I){if(I===le.FIXED)return n;if(I===le.FIXED_RIGHT)return o;if(I===le.SCROLLABLE)return i;throw"Invalid cell group type"},P=function(I){if(I===le.FIXED)return a;if(I===le.FIXED_RIGHT)return s;if(I===le.SCROLLABLE)return l;throw"Invalid cell group type"},F=function(I){var H=tl(a),Y=tl(l),D=tl(s);if(Br(I,0,H))return a[I];if(Br(I,H,H+Y))return l[I-H];if(Br(I,H+Y,H+Y+D))return s[I-H-Y];throw"Invalid absolute column group index"},W=function(I,H){if(I.length===0)return{element:null,distanceFromOffset:null};for(var Y=0,D=0;D!==I.length&&!(Y>H);)Y+=I[D].width,D++;return D=es(D-1,0,I.length-1),{element:I[D],distanceFromOffset:I[D].width-(Y-H)}},R=function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.SCROLLABLE;p(H);var Y=O(H),D=W(Y,I),V=D.element,K=D.distanceFromOffset;return V&&(V=_i(V)),{column:V,distanceFromOffset:K}},A=function(I){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:le.SCROLLABLE;p(H);var Y=P(H),D=W(Y,I),V=D.element,K=D.distanceFromOffset;return V&&(V=_i(V)),{columnGroup:V,distanceFromOffset:K}},B=r.scrollToX,j=r.updateRowHeights;return{getColumn:T,getColumnGroup:_,getColumnGroupByChild:k,getColumnAtOffset:R,getColumnGroupAtOffset:A,getCellGroupWidth:y,getColumnCount:E,getColumnGroupCount:x,scrollToX:B,updateRowHeights:j}})};function Up(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Up(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Up(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var D7=function(){var t=[],r=null,n=function(s){return t=t.concat(s),function(){var l=t.indexOf(s);t.splice(l,1)}},o=F$(),i=P7();return{getValue:cr([function(a){return o(a)},function(a,s){return i(a,s)}],function(a,s){return r=rl(rl(rl({},a),s),{},{subscribe:n}),r}),notify:function(){t.forEach(function(s){return s(r)})}}};function Gp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Mi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gp(Object(r),!0).forEach(function(n){G(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $7(e){var t=N7();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function N7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Vm=function(e){Ke(r,e);var t=$7(r);function r(n){var o;return Ae(this,r),o=t.call(this,n),o._initialize(n),o.fixedDataTableApi=D7(),o.previousApiValue=null,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialize(this.props)}},{key:"componentWillUnmount",value:function(){this._cleanup()}},{key:"componentDidUpdate",value:function(){this.notifyApiValueChanges()}},{key:"_initialize",value:function(o){var i=this;if(!this.reduxStore){this.reduxStore=C$.get(),this.reduxStore.dispatch(mD(o)),this.scrollActions=CD(this.reduxStore,function(){return i.props}),this.unsubscribe=this.reduxStore.subscribe(this.onStoreUpdate.bind(this));var a={boundState:r.getBoundState(this.reduxStore),reduxStore:this.reduxStore,props:o};this.state?this.setState(a):this.state=a}}},{key:"_cleanup",value:function(){this.reduxStore&&(this.unsubscribe(),this.unsubscribe=null,this.reduxStore=null)}},{key:"getApi",value:function(){var o=this;return this.fixedDataTableApi.getValue(Mi(Mi({},this.props),this.reduxStore.getState()),Mi(Mi({},this.scrollActions),{},{updateRowHeights:function(a){return Ag({updateRowHeights:xD},o.reduxStore.dispatch).updateRowHeights(a)}}))}},{key:"notifyApiValueChanges",value:function(){var o=this.getApi();this.previousApiValue!==o&&(this.fixedDataTableApi.notify(),this.previousApiValue=o)}},{key:"render",value:function(){var o=this.getApi(),i=S.createElement(Iu,Le({},this.props,this.state.boundState,{scrollActions:this.scrollActions}));return this.props.defaultScrollbars?S.createElement(Tn.Provider,{value:o},S.createElement(L$,this.props,i)):S.createElement(Tn.Provider,{value:o},i)}},{key:"onStoreUpdate",value:function(){var o=r.getBoundState(this.reduxStore);this.state.boundState.propsRevision===o.propsRevision&&this.setState({boundState:o})}}],[{key:"getDerivedStateFromProps",value:function(o,i){return Gt(o.height!==void 0||o.maxHeight!==void 0,"You must set either a height or a maxHeight"),o===i.props?null:(i.reduxStore.dispatch(vD({newProps:o,oldProps:i.props})),{boundState:r.getBoundState(i.reduxStore),props:o})}},{key:"getBoundState",value:function(o){var i=o.getState(),a=so(i,["columnGroupElements","columnElements","elementHeights","elementTemplates","firstRowIndex","endRowIndex","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return a}}]),r}(S.Component);G(Vm,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:wt.SIZE,scrollbarYWidth:wt.SIZE});var L7=Rm(Vm);function F7(e){var t=j7();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ps=function(e){Ke(r,e);var t=F7(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),r}(S.Component);G(ps,"__TableColumn__",!0);G(ps,"propTypes",{align:M.oneOf(["left","center","right"]),fixed:M.bool,fixedRight:M.bool,header:M.oneOfType([M.node,M.func]),cell:M.oneOfType([M.node,M.func]),footer:M.oneOfType([M.node,M.func]),columnKey:M.oneOfType([M.string,M.number]),width:M.number.isRequired,minWidth:M.number,maxWidth:M.number,flexGrow:M.number,isResizable:M.bool,isReorderable:M.bool,allowCellsRecycling:M.bool,pureRendering:M.bool,cellClassName:M.string});G(ps,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});function B7(e){var t=H7();return function(){var n=me(e),o;if(t){var i=me(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return at(this,o)}}function H7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Pu=function(e){Ke(r,e);var t=B7(r);function r(){return Ae(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),r}(S.Component);G(Pu,"__TableColumnGroup__",!0);G(Pu,"propTypes",{align:M.oneOf(["left","center","right"]),fixed:M.bool,header:M.oneOfType([M.node,M.func])});G(Pu,"defaultProps",{fixed:!1});const z7="#f4f4f8",W7="#edeef1",V7="#e3e5ea",U7="#f9f9fb",G7="#ffcb05",Y7="#1faff3",q7="#e5e5e5",X7="#5b6372",K7="#3a4356",Q7="#3c3c42",Z7="#a3a3a3",J7="#d0d3db",eN="_tableWrapper_1ode4_16",tN="_table_1ode4_16",rN="_tableHeader_1ode4_78",nN="_tableCell_1ode4_88",oN="_tableCellContent_1ode4_99",iN="_headerColor_1ode4_105",aN="_rowColor_1ode4_109",co={athensGray:z7,athensGrayDark:W7,athensGrayDark2:V7,athensGrayLight:U7,defaultBrandColor:G7,dodgerBlue:Y7,mercury:q7,shuttleGrayDark:X7,oxfordBlue:K7,darkModeDefaultBackground:Q7,indicatorGrey:Z7,secondaryButtonHover:J7,tableWrapper:eN,table:tN,tableHeader:rN,tableCell:nN,tableCellContent:oN,headerColor:iN,rowColor:aN},sN="#f4f4f8",lN="#edeef1",cN="#e3e5ea",uN="#f9f9fb",dN="#ffcb05",fN="#1faff3",pN="#e5e5e5",hN="#5b6372",gN="#3a4356",mN="#3c3c42",vN="#a3a3a3",yN="#d0d3db",bN="_headerCell_2qf2w_16",wN="_noSort_2qf2w_29",xN="_standard_2qf2w_29",CN="_caret_2qf2w_33",EN="_headerLabel_2qf2w_38",TN="_icon_2qf2w_43",SN="_numberIcon_2qf2w_50",RN="_dateIcon_2qf2w_54",_N="_textIcon_2qf2w_58",MN="_booleanIcon_2qf2w_62",ON="_sortIcon_2qf2w_66",kN="_sortAscending_2qf2w_74",AN="_sortDescending_2qf2w_78",ur={athensGray:sN,athensGrayDark:lN,athensGrayDark2:cN,athensGrayLight:uN,defaultBrandColor:dN,dodgerBlue:fN,mercury:pN,shuttleGrayDark:hN,oxfordBlue:gN,darkModeDefaultBackground:mN,indicatorGrey:vN,secondaryButtonHover:yN,headerCell:bN,noSort:wN,standard:xN,caret:CN,headerLabel:EN,icon:TN,numberIcon:SN,dateIcon:RN,textIcon:_N,booleanIcon:MN,sortIcon:ON,sortAscending:kN,sortDescending:AN};var Um={exports:{}};/*!
295
295
  Copyright (c) 2018 Jed Watson.
296
296
  Licensed under the MIT License (MIT), see
297
297
  http://jedwatson.github.io/classnames
298
- */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Wm);var IN=Wm.exports;const Fo=f.getDefaultExportFromCjs(IN),PN="_icon_t30x8_1",DN="_numberIcon_t30x8_11",$N="_dateIcon_t30x8_15",NN="_textIcon_t30x8_19",LN="_booleanIcon_t30x8_23",Zn={icon:PN,numberIcon:DN,dateIcon:$N,textIcon:NN,booleanIcon:LN},FN=({columnType:e})=>f.jsx("div",{className:Fo(Zn.icon,{[Zn.numberIcon]:f.isNumber$1(e),[Zn.dateIcon]:f.isDatetime(e),[Zn.textIcon]:f.isText(e),[Zn.booleanIcon]:f.isBoolean(e)})}),jN=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>f.jsxs("div",{className:ur.headerCell,onClick:()=>{t(e)},children:[o&&f.jsx(FN,{columnType:e.type}),f.jsx("div",{className:ur.headerLabel,children:n}),f.jsx("div",{className:Fo(ur.sortIcon,{[ur.caret]:i==="caret",[ur.standard]:i==="standard",[ur.noSort]:!r||e.direction===0,[ur.sortAscending]:r&&e.direction===1,[ur.sortDescending]:r&&e.direction===-1})})]}),BN=26,HN=26,Up=20,Vm=36,Um=29,Gm=24,uc=350,zN=126,WN=38,VN=55,UN=(e,t,r,n)=>{const i=document.createElement("canvas").getContext("2d");if(!i)return[];i.font=`13px ${n||"Open Sans"}`;const a=e.columns.map(p=>i.measureText(p.name).width+Vm+(t?Um:0)),s=i.measureText("0").width,l=e.columns.map(p=>({type:f.simpleColumnType(p.type),index:p.index})),{rows:c}=e,d=l.map(p=>{const h=c.reduce((m,v)=>{var T;const g=v[p.index].displayValue,y=(T=r[p.index])!=null&&T.isHtml?GN(g):g,b=p.type==="number"?v[p.index].displayValue.length*s:i.measureText(y).width;return Math.max(m,b)},0);return Gm+h});return a.map((p,h)=>{var m;return(m=r[h])!=null&&m.width?r[h].width:Math.ceil(Math.max(zN,Math.min(uc,Math.max(p,d[h]))))})};function GN(e){const t=document.createElement("div");return t.innerHTML=e,Ym(t)}function Ym(e){let t,r,n,o;for(r="",t=0;t<e.childNodes.length;t++)o=e.childNodes[t],n=null,o.nodeType===1?n=Ym(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const Gp=e=>e%2===1,Yp=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var c,d,p,h,m,v,g,y,b,T,E,x,C,_,O,k,D,F;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const l=f.getSlightlyDifferentColor(s);return o?(d=(c=n==null?void 0:n.header)==null?void 0:c.color)!=null&&d.enabled&&(s=((h=(p=n==null?void 0:n.header)==null?void 0:p.color)==null?void 0:h.backgroundColor)||l,i=((v=(m=n==null?void 0:n.header)==null?void 0:m.color)==null?void 0:v.textColor)||i):((y=(g=n==null?void 0:n.columns)==null?void 0:g.alternatingColor)!=null&&y.enabled&&Gp(e)&&(s=((T=(b=n==null?void 0:n.columns)==null?void 0:b.alternatingColor)==null?void 0:T.backgroundColor)||l,i=((x=(E=n==null?void 0:n.columns)==null?void 0:E.alternatingColor)==null?void 0:x.textColor)||i),(_=(C=n==null?void 0:n.rows)==null?void 0:C.alternatingColor)!=null&&_.enabled&&Gp(t)&&(s=((k=(O=n==null?void 0:n.rows)==null?void 0:O.alternatingColor)==null?void 0:k.backgroundColor)||l,i=((F=(D=n==null?void 0:n.rows)==null?void 0:D.alternatingColor)==null?void 0:F.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var ht="top",Dt="bottom",$t="right",gt="left",Iu="auto",ti=[ht,Dt,$t,gt],Sn="start",jo="end",YN="clippingParents",qm="viewport",Jn="popper",qN="reference",qp=ti.reduce(function(e,t){return e.concat([t+"-"+Sn,t+"-"+jo])},[]),Xm=[].concat(ti,[Iu]).reduce(function(e,t){return e.concat([t,t+"-"+Sn,t+"-"+jo])},[]),XN="beforeRead",KN="read",QN="afterRead",ZN="beforeMain",JN="main",eL="afterMain",tL="beforeWrite",rL="write",nL="afterWrite",oL=[XN,KN,QN,ZN,JN,eL,tL,rL,nL];function Qt(e){return e?(e.nodeName||"").toLowerCase():null}function Et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ur(e){var t=Et(e).Element;return e instanceof t||e instanceof Element}function It(e){var t=Et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pu(e){if(typeof ShadowRoot=="undefined")return!1;var t=Et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function iL(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!It(i)||!Qt(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function aL(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!It(o)||!Qt(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const sL={name:"applyStyles",enabled:!0,phase:"write",fn:iL,effect:aL,requires:["computeStyles"]};function Xt(e){return e.split("-")[0]}var Hr=Math.max,aa=Math.min,Rn=Math.round;function dc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Km(){return!/^((?!chrome|android).)*safari/i.test(dc())}function _n(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&It(e)&&(o=e.offsetWidth>0&&Rn(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Rn(n.height)/e.offsetHeight||1);var a=Ur(e)?Et(e):window,s=a.visualViewport,l=!Km()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,d=(n.top+(l&&s?s.offsetTop:0))/i,p=n.width/o,h=n.height/i;return{width:p,height:h,top:d,right:c+p,bottom:d+h,left:c,x:c,y:d}}function Du(e){var t=_n(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Qm(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Pu(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function sr(e){return Et(e).getComputedStyle(e)}function lL(e){return["table","td","th"].indexOf(Qt(e))>=0}function Rr(e){return((Ur(e)?e.ownerDocument:e.document)||window.document).documentElement}function fs(e){return Qt(e)==="html"?e:e.assignedSlot||e.parentNode||(Pu(e)?e.host:null)||Rr(e)}function Xp(e){return!It(e)||sr(e).position==="fixed"?null:e.offsetParent}function cL(e){var t=/firefox/i.test(dc()),r=/Trident/i.test(dc());if(r&&It(e)){var n=sr(e);if(n.position==="fixed")return null}var o=fs(e);for(Pu(o)&&(o=o.host);It(o)&&["html","body"].indexOf(Qt(o))<0;){var i=sr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ri(e){for(var t=Et(e),r=Xp(e);r&&lL(r)&&sr(r).position==="static";)r=Xp(r);return r&&(Qt(r)==="html"||Qt(r)==="body"&&sr(r).position==="static")?t:r||cL(e)||t}function $u(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function bo(e,t,r){return Hr(e,aa(t,r))}function uL(e,t,r){var n=bo(e,t,r);return n>r?r:n}function Zm(){return{top:0,right:0,bottom:0,left:0}}function Jm(e){return Object.assign({},Zm(),e)}function ev(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var dL=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Jm(typeof t!="number"?t:ev(t,ti))};function fL(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Xt(r.placement),l=$u(s),c=[gt,$t].indexOf(s)>=0,d=c?"height":"width";if(!(!i||!a)){var p=dL(o.padding,r),h=Du(i),m=l==="y"?ht:gt,v=l==="y"?Dt:$t,g=r.rects.reference[d]+r.rects.reference[l]-a[l]-r.rects.popper[d],y=a[l]-r.rects.reference[l],b=ri(i),T=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,E=g/2-y/2,x=p[m],C=T-h[d]-p[v],_=T/2-h[d]/2+E,O=bo(x,_,C),k=l;r.modifiersData[n]=(t={},t[k]=O,t.centerOffset=O-_,t)}}function pL(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Qm(t.elements.popper,o)&&(t.elements.arrow=o))}const hL={name:"arrow",enabled:!0,phase:"main",fn:fL,effect:pL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mn(e){return e.split("-")[1]}var gL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mL(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Rn(r*o)/o||0,y:Rn(n*o)/o||0}}function Kp(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=a.x,m=h===void 0?0:h,v=a.y,g=v===void 0?0:v,y=typeof d=="function"?d({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var b=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),E=gt,x=ht,C=window;if(c){var _=ri(r),O="clientHeight",k="clientWidth";if(_===Et(r)&&(_=Rr(r),sr(_).position!=="static"&&s==="absolute"&&(O="scrollHeight",k="scrollWidth")),_=_,o===ht||(o===gt||o===$t)&&i===jo){x=Dt;var D=p&&_===C&&C.visualViewport?C.visualViewport.height:_[O];g-=D-n.height,g*=l?1:-1}if(o===gt||(o===ht||o===Dt)&&i===jo){E=$t;var F=p&&_===C&&C.visualViewport?C.visualViewport.width:_[k];m-=F-n.width,m*=l?1:-1}}var W=Object.assign({position:s},c&&gL),R=d===!0?mL({x:m,y:g},Et(r)):{x:m,y:g};if(m=R.x,g=R.y,l){var A;return Object.assign({},W,(A={},A[x]=T?"0":"",A[E]=b?"0":"",A.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",A))}return Object.assign({},W,(t={},t[x]=T?g+"px":"",t[E]=b?m+"px":"",t.transform="",t))}function vL(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Xt(t.placement),variation:Mn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Kp(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Kp(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const yL={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vL,data:{}};var Oi={passive:!0};function bL(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=Et(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",r.update,Oi)}),s&&l.addEventListener("resize",r.update,Oi),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Oi)}),s&&l.removeEventListener("resize",r.update,Oi)}}const wL={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bL,data:{}};var xL={left:"right",right:"left",bottom:"top",top:"bottom"};function Bi(e){return e.replace(/left|right|bottom|top/g,function(t){return xL[t]})}var CL={start:"end",end:"start"};function Qp(e){return e.replace(/start|end/g,function(t){return CL[t]})}function Nu(e){var t=Et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Lu(e){return _n(Rr(e)).left+Nu(e).scrollLeft}function EL(e,t){var r=Et(e),n=Rr(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Km();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Lu(e),y:l}}function TL(e){var t,r=Rr(e),n=Nu(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Hr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Hr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Lu(e),l=-n.scrollTop;return sr(o||r).direction==="rtl"&&(s+=Hr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Fu(e){var t=sr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function tv(e){return["html","body","#document"].indexOf(Qt(e))>=0?e.ownerDocument.body:It(e)&&Fu(e)?e:tv(fs(e))}function wo(e,t){var r;t===void 0&&(t=[]);var n=tv(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Et(n),a=o?[i].concat(i.visualViewport||[],Fu(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(wo(fs(a)))}function fc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function SL(e,t){var r=_n(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Zp(e,t,r){return t===qm?fc(EL(e,r)):Ur(t)?SL(t,r):fc(TL(Rr(e)))}function RL(e){var t=wo(fs(e)),r=["absolute","fixed"].indexOf(sr(e).position)>=0,n=r&&It(e)?ri(e):e;return Ur(n)?t.filter(function(o){return Ur(o)&&Qm(o,n)&&Qt(o)!=="body"}):[]}function _L(e,t,r,n){var o=t==="clippingParents"?RL(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var d=Zp(e,c,n);return l.top=Hr(d.top,l.top),l.right=aa(d.right,l.right),l.bottom=aa(d.bottom,l.bottom),l.left=Hr(d.left,l.left),l},Zp(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function rv(e){var t=e.reference,r=e.element,n=e.placement,o=n?Xt(n):null,i=n?Mn(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case ht:l={x:a,y:t.y-r.height};break;case Dt:l={x:a,y:t.y+t.height};break;case $t:l={x:t.x+t.width,y:s};break;case gt:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?$u(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Sn:l[c]=l[c]-(t[d]/2-r[d]/2);break;case jo:l[c]=l[c]+(t[d]/2-r[d]/2);break}}return l}function Bo(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,l=s===void 0?YN:s,c=r.rootBoundary,d=c===void 0?qm:c,p=r.elementContext,h=p===void 0?Jn:p,m=r.altBoundary,v=m===void 0?!1:m,g=r.padding,y=g===void 0?0:g,b=Jm(typeof y!="number"?y:ev(y,ti)),T=h===Jn?qN:Jn,E=e.rects.popper,x=e.elements[v?T:h],C=_L(Ur(x)?x:x.contextElement||Rr(e.elements.popper),l,d,a),_=_n(e.elements.reference),O=rv({reference:_,element:E,strategy:"absolute",placement:o}),k=fc(Object.assign({},E,O)),D=h===Jn?k:_,F={top:C.top-D.top+b.top,bottom:D.bottom-C.bottom+b.bottom,left:C.left-D.left+b.left,right:D.right-C.right+b.right},W=e.modifiersData.offset;if(h===Jn&&W){var R=W[o];Object.keys(F).forEach(function(A){var B=[$t,Dt].indexOf(A)>=0?1:-1,j=[ht,Dt].indexOf(A)>=0?"y":"x";F[A]+=R[j]*B})}return F}function ML(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?Xm:l,d=Mn(n),p=d?s?qp:qp.filter(function(v){return Mn(v)===d}):ti,h=p.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=p);var m=h.reduce(function(v,g){return v[g]=Bo(e,{placement:g,boundary:o,rootBoundary:i,padding:a})[Xt(g)],v},{});return Object.keys(m).sort(function(v,g){return m[v]-m[g]})}function OL(e){if(Xt(e)===Iu)return[];var t=Bi(e);return[Qp(e),t,Qp(t)]}function kL(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,d=r.boundary,p=r.rootBoundary,h=r.altBoundary,m=r.flipVariations,v=m===void 0?!0:m,g=r.allowedAutoPlacements,y=t.options.placement,b=Xt(y),T=b===y,E=l||(T||!v?[Bi(y)]:OL(y)),x=[y].concat(E).reduce(function(X,J){return X.concat(Xt(J)===Iu?ML(t,{placement:J,boundary:d,rootBoundary:p,padding:c,flipVariations:v,allowedAutoPlacements:g}):J)},[]),C=t.rects.reference,_=t.rects.popper,O=new Map,k=!0,D=x[0],F=0;F<x.length;F++){var W=x[F],R=Xt(W),A=Mn(W)===Sn,B=[ht,Dt].indexOf(R)>=0,j=B?"width":"height",N=Bo(t,{placement:W,boundary:d,rootBoundary:p,altBoundary:h,padding:c}),I=B?A?$t:gt:A?Dt:ht;C[j]>_[j]&&(I=Bi(I));var H=Bi(I),Y=[];if(i&&Y.push(N[R]<=0),s&&Y.push(N[I]<=0,N[H]<=0),Y.every(function(X){return X})){D=W,k=!1;break}O.set(W,Y)}if(k)for(var P=v?3:1,V=function(J){var ee=x.find(function(oe){var ne=O.get(oe);if(ne)return ne.slice(0,J).every(function(ue){return ue})});if(ee)return D=ee,"break"},K=P;K>0;K--){var q=V(K);if(q==="break")break}t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}}const AL={name:"flip",enabled:!0,phase:"main",fn:kL,requiresIfExists:["offset"],data:{_skip:!1}};function Jp(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function eh(e){return[ht,$t,Dt,gt].some(function(t){return e[t]>=0})}function IL(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Bo(t,{elementContext:"reference"}),s=Bo(t,{altBoundary:!0}),l=Jp(a,n),c=Jp(s,o,i),d=eh(l),p=eh(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}const PL={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:IL};function DL(e,t,r){var n=Xt(e),o=[gt,ht].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[gt,$t].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function $L(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=Xm.reduce(function(d,p){return d[p]=DL(p,t.rects,i),d},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const NL={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$L};function LL(e){var t=e.state,r=e.name;t.modifiersData[r]=rv({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const FL={name:"popperOffsets",enabled:!0,phase:"read",fn:LL,data:{}};function jL(e){return e==="x"?"y":"x"}function BL(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,d=r.altBoundary,p=r.padding,h=r.tether,m=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,y=Bo(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:d}),b=Xt(t.placement),T=Mn(t.placement),E=!T,x=$u(b),C=jL(x),_=t.modifiersData.popperOffsets,O=t.rects.reference,k=t.rects.popper,D=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,F=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(_){if(i){var A,B=x==="y"?ht:gt,j=x==="y"?Dt:$t,N=x==="y"?"height":"width",I=_[x],H=I+y[B],Y=I-y[j],P=m?-k[N]/2:0,V=T===Sn?O[N]:k[N],K=T===Sn?-k[N]:-O[N],q=t.elements.arrow,X=m&&q?Du(q):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zm(),ee=J[B],oe=J[j],ne=bo(0,O[N],X[N]),ue=E?O[N]/2-P-ne-ee-F.mainAxis:V-ne-ee-F.mainAxis,ie=E?-O[N]/2+P+ne+oe+F.mainAxis:K+ne+oe+F.mainAxis,ve=t.elements.arrow&&ri(t.elements.arrow),z=ve?x==="y"?ve.clientTop||0:ve.clientLeft||0:0,re=(A=W==null?void 0:W[x])!=null?A:0,ce=I+ue-re-z,ge=I+ie-re,Xe=bo(m?aa(H,ce):H,I,m?Hr(Y,ge):Y);_[x]=Xe,R[x]=Xe-I}if(s){var Ue,He=x==="x"?ht:gt,St=x==="x"?Dt:$t,Qe=_[C],st=C==="y"?"height":"width",Je=Qe+y[He],se=Qe-y[St],ot=[ht,gt].indexOf(b)!==-1,ai=(Ue=W==null?void 0:W[C])!=null?Ue:0,si=ot?Je:Qe-O[st]-k[st]-ai+F.altAxis,Qr=ot?Qe+O[st]+k[st]-ai-F.altAxis:se,li=m&&ot?uL(si,Qe,Qr):bo(m?si:Je,Qe,m?Qr:se);_[C]=li,R[C]=li-Qe}t.modifiersData[n]=R}}const HL={name:"preventOverflow",enabled:!0,phase:"main",fn:BL,requiresIfExists:["offset"]};function zL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function WL(e){return e===Et(e)||!It(e)?Nu(e):zL(e)}function VL(e){var t=e.getBoundingClientRect(),r=Rn(t.width)/e.offsetWidth||1,n=Rn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function UL(e,t,r){r===void 0&&(r=!1);var n=It(t),o=It(t)&&VL(t),i=Rr(t),a=_n(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Qt(t)!=="body"||Fu(i))&&(s=WL(t)),It(t)?(l=_n(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Lu(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function GL(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function YL(e){var t=GL(e);return oL.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function qL(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function XL(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var th={placement:"bottom",modifiers:[],strategy:"absolute"};function rh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function KL(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?th:o;return function(s,l,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},th,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},p=[],h=!1,m={state:d,setOptions:function(b){var T=typeof b=="function"?b(d.options):b;g(),d.options=Object.assign({},i,d.options,T),d.scrollParents={reference:Ur(s)?wo(s):s.contextElement?wo(s.contextElement):[],popper:wo(l)};var E=YL(XL([].concat(n,d.options.modifiers)));return d.orderedModifiers=E.filter(function(x){return x.enabled}),v(),m.update()},forceUpdate:function(){if(!h){var b=d.elements,T=b.reference,E=b.popper;if(rh(T,E)){d.rects={reference:UL(T,ri(E),d.options.strategy==="fixed"),popper:Du(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var x=0;x<d.orderedModifiers.length;x++){if(d.reset===!0){d.reset=!1,x=-1;continue}var C=d.orderedModifiers[x],_=C.fn,O=C.options,k=O===void 0?{}:O,D=C.name;typeof _=="function"&&(d=_({state:d,options:k,name:D,instance:m})||d)}}}},update:qL(function(){return new Promise(function(y){m.forceUpdate(),y(d)})}),destroy:function(){g(),h=!0}};if(!rh(s,l))return m;m.setOptions(c).then(function(y){!h&&c.onFirstUpdate&&c.onFirstUpdate(y)});function v(){d.orderedModifiers.forEach(function(y){var b=y.name,T=y.options,E=T===void 0?{}:T,x=y.effect;if(typeof x=="function"){var C=x({state:d,name:b,instance:m,options:E}),_=function(){};p.push(C||_)}})}function g(){p.forEach(function(y){return y()}),p=[]}return m}}var QL=[wL,FL,yL,sL,NL,AL,HL,hL,PL],ZL=KL({defaultModifiers:QL});function JL(e){return Oe("MuiPopper",e)}ke("MuiPopper",["root"]);function eF(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function sa(e){return typeof e=="function"?e():e}function ps(e){return e.nodeType!==void 0}function tF(e){return!ps(e)}const rF=e=>{const{classes:t}=e;return Be({root:["root"]},JL,t)},nF={},oF=L.forwardRef(function(t,r){var N;const j=t,{anchorEl:n,children:o,direction:i,disablePortal:a,modifiers:s,open:l,placement:c,popperOptions:d,popperRef:p,slotProps:h={},slots:m={},TransitionProps:v,ownerState:g}=j,y=te(j,["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"]),b=L.useRef(null),T=ft(b,r),E=L.useRef(null),x=ft(E,p),C=L.useRef(x);wr(()=>{C.current=x},[x]),L.useImperativeHandle(p,()=>E.current,[]);const _=eF(c,i),[O,k]=L.useState(_),[D,F]=L.useState(sa(n));L.useEffect(()=>{E.current&&E.current.forceUpdate()}),L.useEffect(()=>{n&&F(sa(n))},[n]),wr(()=>{if(!D||!l)return;const I=P=>{k(P.placement)};if(process.env.NODE_ENV!=="production"&&D&&ps(D)&&D.nodeType===1){const P=D.getBoundingClientRect();process.env.NODE_ENV!=="test"&&P.top===0&&P.left===0&&P.right===0&&P.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
299
- `))}let H=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:P})=>{I(P)}}];s!=null&&(H=H.concat(s)),d&&d.modifiers!=null&&(H=H.concat(d.modifiers));const Y=ZL(D,b.current,$(w({placement:_},d),{modifiers:H}));return C.current(Y),()=>{Y.destroy(),C.current(null)}},[D,a,s,l,d,_]);const W={placement:O};v!==null&&(W.TransitionProps=v);const R=rF(t),A=(N=m.root)!=null?N:"div",B=Ic({elementType:A,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:R.root});return Z.jsx(A,$(w({},B),{children:typeof o=="function"?o(W):o}))}),nv=L.forwardRef(function(t,r){const F=t,{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:p="bottom",popperOptions:h=nF,popperRef:m,style:v,transition:g=!1,slotProps:y={},slots:b={}}=F,T=te(F,["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"]),[E,x]=L.useState(!0),C=()=>{x(!1)},_=()=>{x(!0)};if(!l&&!d&&(!g||E))return null;let O;if(i)O=i;else if(n){const W=sa(n);O=W&&ps(W)?xt(W).body:xt(null).body}const k=!d&&l&&(!g||E)?"none":void 0,D=g?{in:d,onEnter:C,onExited:_}:void 0;return Z.jsx(Oo,{disablePortal:s,container:O,children:Z.jsx(oF,$(w({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:g?!E:d,placement:p,popperOptions:h,popperRef:m,slotProps:y,slots:b},T),{style:w({position:"fixed",top:0,left:0,display:k},v),TransitionProps:D,children:o}))})});process.env.NODE_ENV!=="production"&&(nv.propTypes={anchorEl:lr(u.oneOfType([or,u.object,u.func]),e=>{if(e.open){const t=sa(e.anchorEl);if(t&&ps(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
298
+ */(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Um);var IN=Um.exports;const Fo=f.getDefaultExportFromCjs(IN),PN="_icon_t30x8_1",DN="_numberIcon_t30x8_11",$N="_dateIcon_t30x8_15",NN="_textIcon_t30x8_19",LN="_booleanIcon_t30x8_23",Zn={icon:PN,numberIcon:DN,dateIcon:$N,textIcon:NN,booleanIcon:LN},FN=({columnType:e})=>f.jsx("div",{className:Fo(Zn.icon,{[Zn.numberIcon]:f.isNumber$1(e),[Zn.dateIcon]:f.isDatetime(e),[Zn.textIcon]:f.isText(e),[Zn.booleanIcon]:f.isBoolean(e)})}),jN=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>f.jsxs("div",{className:ur.headerCell,onClick:()=>{t(e)},children:[o&&f.jsx(FN,{columnType:e.type}),f.jsx("div",{className:ur.headerLabel,children:n}),f.jsx("div",{className:Fo(ur.sortIcon,{[ur.caret]:i==="caret",[ur.standard]:i==="standard",[ur.noSort]:!r||e.direction===0,[ur.sortAscending]:r&&e.direction===1,[ur.sortDescending]:r&&e.direction===-1})})]}),BN=26,HN=26,Yp=20,Gm=36,Ym=29,qm=24,dc=350,zN=126,WN=38,VN=55,UN=(e,t,r,n)=>{const i=document.createElement("canvas").getContext("2d");if(!i)return[];i.font=`13px ${n||"Open Sans"}`;const a=e.columns.map(p=>i.measureText(p.name).width+Gm+(t?Ym:0)),s=i.measureText("0").width,l=e.columns.map(p=>({type:f.simpleColumnType(p.type),index:p.index})),{rows:c}=e,d=l.map(p=>{const h=c.reduce((m,v)=>{var T;const g=v[p.index].displayValue,y=(T=r[p.index])!=null&&T.isHtml?GN(g):g,b=p.type==="number"?v[p.index].displayValue.length*s:i.measureText(y).width;return Math.max(m,b)},0);return qm+h});return a.map((p,h)=>{var m;return(m=r[h])!=null&&m.width?r[h].width:Math.ceil(Math.max(zN,Math.min(dc,Math.max(p,d[h]))))})};function GN(e){const t=document.createElement("div");return t.innerHTML=e,Xm(t)}function Xm(e){let t,r,n,o;for(r="",t=0;t<e.childNodes.length;t++)o=e.childNodes[t],n=null,o.nodeType===1?n=Xm(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const qp=e=>e%2===1,Xp=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var c,d,p,h,m,v,g,y,b,T,E,x,C,_,k,O,P,F;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const l=f.getSlightlyDifferentColor(s);return o?(d=(c=n==null?void 0:n.header)==null?void 0:c.color)!=null&&d.enabled&&(s=((h=(p=n==null?void 0:n.header)==null?void 0:p.color)==null?void 0:h.backgroundColor)||l,i=((v=(m=n==null?void 0:n.header)==null?void 0:m.color)==null?void 0:v.textColor)||i):((y=(g=n==null?void 0:n.columns)==null?void 0:g.alternatingColor)!=null&&y.enabled&&qp(e)&&(s=((T=(b=n==null?void 0:n.columns)==null?void 0:b.alternatingColor)==null?void 0:T.backgroundColor)||l,i=((x=(E=n==null?void 0:n.columns)==null?void 0:E.alternatingColor)==null?void 0:x.textColor)||i),(_=(C=n==null?void 0:n.rows)==null?void 0:C.alternatingColor)!=null&&_.enabled&&qp(t)&&(s=((O=(k=n==null?void 0:n.rows)==null?void 0:k.alternatingColor)==null?void 0:O.backgroundColor)||l,i=((F=(P=n==null?void 0:n.rows)==null?void 0:P.alternatingColor)==null?void 0:F.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var ht="top",Dt="bottom",$t="right",gt="left",Du="auto",ti=[ht,Dt,$t,gt],Sn="start",jo="end",YN="clippingParents",Km="viewport",Jn="popper",qN="reference",Kp=ti.reduce(function(e,t){return e.concat([t+"-"+Sn,t+"-"+jo])},[]),Qm=[].concat(ti,[Du]).reduce(function(e,t){return e.concat([t,t+"-"+Sn,t+"-"+jo])},[]),XN="beforeRead",KN="read",QN="afterRead",ZN="beforeMain",JN="main",eL="afterMain",tL="beforeWrite",rL="write",nL="afterWrite",oL=[XN,KN,QN,ZN,JN,eL,tL,rL,nL];function Qt(e){return e?(e.nodeName||"").toLowerCase():null}function Et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ur(e){var t=Et(e).Element;return e instanceof t||e instanceof Element}function It(e){var t=Et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $u(e){if(typeof ShadowRoot=="undefined")return!1;var t=Et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function iL(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!It(i)||!Qt(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function aL(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!It(o)||!Qt(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const sL={name:"applyStyles",enabled:!0,phase:"write",fn:iL,effect:aL,requires:["computeStyles"]};function Xt(e){return e.split("-")[0]}var Hr=Math.max,sa=Math.min,Rn=Math.round;function fc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Zm(){return!/^((?!chrome|android).)*safari/i.test(fc())}function _n(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&It(e)&&(o=e.offsetWidth>0&&Rn(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Rn(n.height)/e.offsetHeight||1);var a=Ur(e)?Et(e):window,s=a.visualViewport,l=!Zm()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,d=(n.top+(l&&s?s.offsetTop:0))/i,p=n.width/o,h=n.height/i;return{width:p,height:h,top:d,right:c+p,bottom:d+h,left:c,x:c,y:d}}function Nu(e){var t=_n(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Jm(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&$u(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function sr(e){return Et(e).getComputedStyle(e)}function lL(e){return["table","td","th"].indexOf(Qt(e))>=0}function Rr(e){return((Ur(e)?e.ownerDocument:e.document)||window.document).documentElement}function hs(e){return Qt(e)==="html"?e:e.assignedSlot||e.parentNode||($u(e)?e.host:null)||Rr(e)}function Qp(e){return!It(e)||sr(e).position==="fixed"?null:e.offsetParent}function cL(e){var t=/firefox/i.test(fc()),r=/Trident/i.test(fc());if(r&&It(e)){var n=sr(e);if(n.position==="fixed")return null}var o=hs(e);for($u(o)&&(o=o.host);It(o)&&["html","body"].indexOf(Qt(o))<0;){var i=sr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ri(e){for(var t=Et(e),r=Qp(e);r&&lL(r)&&sr(r).position==="static";)r=Qp(r);return r&&(Qt(r)==="html"||Qt(r)==="body"&&sr(r).position==="static")?t:r||cL(e)||t}function Lu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function bo(e,t,r){return Hr(e,sa(t,r))}function uL(e,t,r){var n=bo(e,t,r);return n>r?r:n}function ev(){return{top:0,right:0,bottom:0,left:0}}function tv(e){return Object.assign({},ev(),e)}function rv(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var dL=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,tv(typeof t!="number"?t:rv(t,ti))};function fL(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Xt(r.placement),l=Lu(s),c=[gt,$t].indexOf(s)>=0,d=c?"height":"width";if(!(!i||!a)){var p=dL(o.padding,r),h=Nu(i),m=l==="y"?ht:gt,v=l==="y"?Dt:$t,g=r.rects.reference[d]+r.rects.reference[l]-a[l]-r.rects.popper[d],y=a[l]-r.rects.reference[l],b=ri(i),T=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,E=g/2-y/2,x=p[m],C=T-h[d]-p[v],_=T/2-h[d]/2+E,k=bo(x,_,C),O=l;r.modifiersData[n]=(t={},t[O]=k,t.centerOffset=k-_,t)}}function pL(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Jm(t.elements.popper,o)&&(t.elements.arrow=o))}const hL={name:"arrow",enabled:!0,phase:"main",fn:fL,effect:pL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mn(e){return e.split("-")[1]}var gL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mL(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Rn(r*o)/o||0,y:Rn(n*o)/o||0}}function Zp(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=a.x,m=h===void 0?0:h,v=a.y,g=v===void 0?0:v,y=typeof d=="function"?d({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var b=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),E=gt,x=ht,C=window;if(c){var _=ri(r),k="clientHeight",O="clientWidth";if(_===Et(r)&&(_=Rr(r),sr(_).position!=="static"&&s==="absolute"&&(k="scrollHeight",O="scrollWidth")),_=_,o===ht||(o===gt||o===$t)&&i===jo){x=Dt;var P=p&&_===C&&C.visualViewport?C.visualViewport.height:_[k];g-=P-n.height,g*=l?1:-1}if(o===gt||(o===ht||o===Dt)&&i===jo){E=$t;var F=p&&_===C&&C.visualViewport?C.visualViewport.width:_[O];m-=F-n.width,m*=l?1:-1}}var W=Object.assign({position:s},c&&gL),R=d===!0?mL({x:m,y:g},Et(r)):{x:m,y:g};if(m=R.x,g=R.y,l){var A;return Object.assign({},W,(A={},A[x]=T?"0":"",A[E]=b?"0":"",A.transform=(C.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",A))}return Object.assign({},W,(t={},t[x]=T?g+"px":"",t[E]=b?m+"px":"",t.transform="",t))}function vL(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Xt(t.placement),variation:Mn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Zp(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Zp(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const yL={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vL,data:{}};var Oi={passive:!0};function bL(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=Et(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",r.update,Oi)}),s&&l.addEventListener("resize",r.update,Oi),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Oi)}),s&&l.removeEventListener("resize",r.update,Oi)}}const wL={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bL,data:{}};var xL={left:"right",right:"left",bottom:"top",top:"bottom"};function Hi(e){return e.replace(/left|right|bottom|top/g,function(t){return xL[t]})}var CL={start:"end",end:"start"};function Jp(e){return e.replace(/start|end/g,function(t){return CL[t]})}function Fu(e){var t=Et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ju(e){return _n(Rr(e)).left+Fu(e).scrollLeft}function EL(e,t){var r=Et(e),n=Rr(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Zm();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+ju(e),y:l}}function TL(e){var t,r=Rr(e),n=Fu(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Hr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Hr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+ju(e),l=-n.scrollTop;return sr(o||r).direction==="rtl"&&(s+=Hr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Bu(e){var t=sr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function nv(e){return["html","body","#document"].indexOf(Qt(e))>=0?e.ownerDocument.body:It(e)&&Bu(e)?e:nv(hs(e))}function wo(e,t){var r;t===void 0&&(t=[]);var n=nv(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=Et(n),a=o?[i].concat(i.visualViewport||[],Bu(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(wo(hs(a)))}function pc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function SL(e,t){var r=_n(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function eh(e,t,r){return t===Km?pc(EL(e,r)):Ur(t)?SL(t,r):pc(TL(Rr(e)))}function RL(e){var t=wo(hs(e)),r=["absolute","fixed"].indexOf(sr(e).position)>=0,n=r&&It(e)?ri(e):e;return Ur(n)?t.filter(function(o){return Ur(o)&&Jm(o,n)&&Qt(o)!=="body"}):[]}function _L(e,t,r,n){var o=t==="clippingParents"?RL(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var d=eh(e,c,n);return l.top=Hr(d.top,l.top),l.right=sa(d.right,l.right),l.bottom=sa(d.bottom,l.bottom),l.left=Hr(d.left,l.left),l},eh(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ov(e){var t=e.reference,r=e.element,n=e.placement,o=n?Xt(n):null,i=n?Mn(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case ht:l={x:a,y:t.y-r.height};break;case Dt:l={x:a,y:t.y+t.height};break;case $t:l={x:t.x+t.width,y:s};break;case gt:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?Lu(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Sn:l[c]=l[c]-(t[d]/2-r[d]/2);break;case jo:l[c]=l[c]+(t[d]/2-r[d]/2);break}}return l}function Bo(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,l=s===void 0?YN:s,c=r.rootBoundary,d=c===void 0?Km:c,p=r.elementContext,h=p===void 0?Jn:p,m=r.altBoundary,v=m===void 0?!1:m,g=r.padding,y=g===void 0?0:g,b=tv(typeof y!="number"?y:rv(y,ti)),T=h===Jn?qN:Jn,E=e.rects.popper,x=e.elements[v?T:h],C=_L(Ur(x)?x:x.contextElement||Rr(e.elements.popper),l,d,a),_=_n(e.elements.reference),k=ov({reference:_,element:E,strategy:"absolute",placement:o}),O=pc(Object.assign({},E,k)),P=h===Jn?O:_,F={top:C.top-P.top+b.top,bottom:P.bottom-C.bottom+b.bottom,left:C.left-P.left+b.left,right:P.right-C.right+b.right},W=e.modifiersData.offset;if(h===Jn&&W){var R=W[o];Object.keys(F).forEach(function(A){var B=[$t,Dt].indexOf(A)>=0?1:-1,j=[ht,Dt].indexOf(A)>=0?"y":"x";F[A]+=R[j]*B})}return F}function ML(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?Qm:l,d=Mn(n),p=d?s?Kp:Kp.filter(function(v){return Mn(v)===d}):ti,h=p.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=p);var m=h.reduce(function(v,g){return v[g]=Bo(e,{placement:g,boundary:o,rootBoundary:i,padding:a})[Xt(g)],v},{});return Object.keys(m).sort(function(v,g){return m[v]-m[g]})}function OL(e){if(Xt(e)===Du)return[];var t=Hi(e);return[Jp(e),t,Jp(t)]}function kL(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,d=r.boundary,p=r.rootBoundary,h=r.altBoundary,m=r.flipVariations,v=m===void 0?!0:m,g=r.allowedAutoPlacements,y=t.options.placement,b=Xt(y),T=b===y,E=l||(T||!v?[Hi(y)]:OL(y)),x=[y].concat(E).reduce(function(X,J){return X.concat(Xt(J)===Du?ML(t,{placement:J,boundary:d,rootBoundary:p,padding:c,flipVariations:v,allowedAutoPlacements:g}):J)},[]),C=t.rects.reference,_=t.rects.popper,k=new Map,O=!0,P=x[0],F=0;F<x.length;F++){var W=x[F],R=Xt(W),A=Mn(W)===Sn,B=[ht,Dt].indexOf(R)>=0,j=B?"width":"height",N=Bo(t,{placement:W,boundary:d,rootBoundary:p,altBoundary:h,padding:c}),I=B?A?$t:gt:A?Dt:ht;C[j]>_[j]&&(I=Hi(I));var H=Hi(I),Y=[];if(i&&Y.push(N[R]<=0),s&&Y.push(N[I]<=0,N[H]<=0),Y.every(function(X){return X})){P=W,O=!1;break}k.set(W,Y)}if(O)for(var D=v?3:1,V=function(J){var ee=x.find(function(oe){var ne=k.get(oe);if(ne)return ne.slice(0,J).every(function(ue){return ue})});if(ee)return P=ee,"break"},K=D;K>0;K--){var q=V(K);if(q==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const AL={name:"flip",enabled:!0,phase:"main",fn:kL,requiresIfExists:["offset"],data:{_skip:!1}};function th(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function rh(e){return[ht,$t,Dt,gt].some(function(t){return e[t]>=0})}function IL(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Bo(t,{elementContext:"reference"}),s=Bo(t,{altBoundary:!0}),l=th(a,n),c=th(s,o,i),d=rh(l),p=rh(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}const PL={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:IL};function DL(e,t,r){var n=Xt(e),o=[gt,ht].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[gt,$t].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function $L(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=Qm.reduce(function(d,p){return d[p]=DL(p,t.rects,i),d},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const NL={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$L};function LL(e){var t=e.state,r=e.name;t.modifiersData[r]=ov({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const FL={name:"popperOffsets",enabled:!0,phase:"read",fn:LL,data:{}};function jL(e){return e==="x"?"y":"x"}function BL(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,d=r.altBoundary,p=r.padding,h=r.tether,m=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,y=Bo(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:d}),b=Xt(t.placement),T=Mn(t.placement),E=!T,x=Lu(b),C=jL(x),_=t.modifiersData.popperOffsets,k=t.rects.reference,O=t.rects.popper,P=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,F=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),W=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(_){if(i){var A,B=x==="y"?ht:gt,j=x==="y"?Dt:$t,N=x==="y"?"height":"width",I=_[x],H=I+y[B],Y=I-y[j],D=m?-O[N]/2:0,V=T===Sn?k[N]:O[N],K=T===Sn?-O[N]:-k[N],q=t.elements.arrow,X=m&&q?Nu(q):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ev(),ee=J[B],oe=J[j],ne=bo(0,k[N],X[N]),ue=E?k[N]/2-D-ne-ee-F.mainAxis:V-ne-ee-F.mainAxis,ie=E?-k[N]/2+D+ne+oe+F.mainAxis:K+ne+oe+F.mainAxis,ve=t.elements.arrow&&ri(t.elements.arrow),z=ve?x==="y"?ve.clientTop||0:ve.clientLeft||0:0,re=(A=W==null?void 0:W[x])!=null?A:0,ce=I+ue-re-z,ge=I+ie-re,Xe=bo(m?sa(H,ce):H,I,m?Hr(Y,ge):Y);_[x]=Xe,R[x]=Xe-I}if(s){var Ue,He=x==="x"?ht:gt,St=x==="x"?Dt:$t,Qe=_[C],st=C==="y"?"height":"width",Je=Qe+y[He],se=Qe-y[St],ot=[ht,gt].indexOf(b)!==-1,ai=(Ue=W==null?void 0:W[C])!=null?Ue:0,si=ot?Je:Qe-k[st]-O[st]-ai+F.altAxis,Qr=ot?Qe+k[st]+O[st]-ai-F.altAxis:se,li=m&&ot?uL(si,Qe,Qr):bo(m?si:Je,Qe,m?Qr:se);_[C]=li,R[C]=li-Qe}t.modifiersData[n]=R}}const HL={name:"preventOverflow",enabled:!0,phase:"main",fn:BL,requiresIfExists:["offset"]};function zL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function WL(e){return e===Et(e)||!It(e)?Fu(e):zL(e)}function VL(e){var t=e.getBoundingClientRect(),r=Rn(t.width)/e.offsetWidth||1,n=Rn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function UL(e,t,r){r===void 0&&(r=!1);var n=It(t),o=It(t)&&VL(t),i=Rr(t),a=_n(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Qt(t)!=="body"||Bu(i))&&(s=WL(t)),It(t)?(l=_n(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=ju(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function GL(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function YL(e){var t=GL(e);return oL.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function qL(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function XL(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var nh={placement:"bottom",modifiers:[],strategy:"absolute"};function oh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function KL(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?nh:o;return function(s,l,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},nh,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},p=[],h=!1,m={state:d,setOptions:function(b){var T=typeof b=="function"?b(d.options):b;g(),d.options=Object.assign({},i,d.options,T),d.scrollParents={reference:Ur(s)?wo(s):s.contextElement?wo(s.contextElement):[],popper:wo(l)};var E=YL(XL([].concat(n,d.options.modifiers)));return d.orderedModifiers=E.filter(function(x){return x.enabled}),v(),m.update()},forceUpdate:function(){if(!h){var b=d.elements,T=b.reference,E=b.popper;if(oh(T,E)){d.rects={reference:UL(T,ri(E),d.options.strategy==="fixed"),popper:Nu(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var x=0;x<d.orderedModifiers.length;x++){if(d.reset===!0){d.reset=!1,x=-1;continue}var C=d.orderedModifiers[x],_=C.fn,k=C.options,O=k===void 0?{}:k,P=C.name;typeof _=="function"&&(d=_({state:d,options:O,name:P,instance:m})||d)}}}},update:qL(function(){return new Promise(function(y){m.forceUpdate(),y(d)})}),destroy:function(){g(),h=!0}};if(!oh(s,l))return m;m.setOptions(c).then(function(y){!h&&c.onFirstUpdate&&c.onFirstUpdate(y)});function v(){d.orderedModifiers.forEach(function(y){var b=y.name,T=y.options,E=T===void 0?{}:T,x=y.effect;if(typeof x=="function"){var C=x({state:d,name:b,instance:m,options:E}),_=function(){};p.push(C||_)}})}function g(){p.forEach(function(y){return y()}),p=[]}return m}}var QL=[wL,FL,yL,sL,NL,AL,HL,hL,PL],ZL=KL({defaultModifiers:QL});function JL(e){return Oe("MuiPopper",e)}ke("MuiPopper",["root"]);function eF(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function la(e){return typeof e=="function"?e():e}function gs(e){return e.nodeType!==void 0}function tF(e){return!gs(e)}const rF=e=>{const{classes:t}=e;return Be({root:["root"]},JL,t)},nF={},oF=L.forwardRef(function(t,r){var N;const j=t,{anchorEl:n,children:o,direction:i,disablePortal:a,modifiers:s,open:l,placement:c,popperOptions:d,popperRef:p,slotProps:h={},slots:m={},TransitionProps:v,ownerState:g}=j,y=te(j,["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"]),b=L.useRef(null),T=ft(b,r),E=L.useRef(null),x=ft(E,p),C=L.useRef(x);wr(()=>{C.current=x},[x]),L.useImperativeHandle(p,()=>E.current,[]);const _=eF(c,i),[k,O]=L.useState(_),[P,F]=L.useState(la(n));L.useEffect(()=>{E.current&&E.current.forceUpdate()}),L.useEffect(()=>{n&&F(la(n))},[n]),wr(()=>{if(!P||!l)return;const I=D=>{O(D.placement)};if(process.env.NODE_ENV!=="production"&&P&&gs(P)&&P.nodeType===1){const D=P.getBoundingClientRect();process.env.NODE_ENV!=="test"&&D.top===0&&D.left===0&&D.right===0&&D.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
299
+ `))}let H=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:D})=>{I(D)}}];s!=null&&(H=H.concat(s)),d&&d.modifiers!=null&&(H=H.concat(d.modifiers));const Y=ZL(P,b.current,$(w({placement:_},d),{modifiers:H}));return C.current(Y),()=>{Y.destroy(),C.current(null)}},[P,a,s,l,d,_]);const W={placement:k};v!==null&&(W.TransitionProps=v);const R=rF(t),A=(N=m.root)!=null?N:"div",B=$c({elementType:A,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:R.root});return Z.jsx(A,$(w({},B),{children:typeof o=="function"?o(W):o}))}),iv=L.forwardRef(function(t,r){const F=t,{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:p="bottom",popperOptions:h=nF,popperRef:m,style:v,transition:g=!1,slotProps:y={},slots:b={}}=F,T=te(F,["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"]),[E,x]=L.useState(!0),C=()=>{x(!1)},_=()=>{x(!0)};if(!l&&!d&&(!g||E))return null;let k;if(i)k=i;else if(n){const W=la(n);k=W&&gs(W)?xt(W).body:xt(null).body}const O=!d&&l&&(!g||E)?"none":void 0,P=g?{in:d,onEnter:C,onExited:_}:void 0;return Z.jsx(Oo,{disablePortal:s,container:k,children:Z.jsx(oF,$(w({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:g?!E:d,placement:p,popperOptions:h,popperRef:m,slotProps:y,slots:b},T),{style:w({position:"fixed",top:0,left:0,display:O},v),TransitionProps:P,children:o}))})});process.env.NODE_ENV!=="production"&&(iv.propTypes={anchorEl:lr(u.oneOfType([or,u.object,u.func]),e=>{if(e.open){const t=la(e.anchorEl);if(t&&gs(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
300
300
  `))}else if(!t||typeof t.getBoundingClientRect!="function"||tF(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
301
- `))}return null}),children:u.oneOfType([u.node,u.func]),container:u.oneOfType([or,u.func]),direction:u.oneOf(["ltr","rtl"]),disablePortal:u.bool,keepMounted:u.bool,modifiers:u.arrayOf(u.shape({data:u.object,effect:u.func,enabled:u.bool,fn:u.func,name:u.any,options:u.object,phase:u.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:u.arrayOf(u.string),requiresIfExists:u.arrayOf(u.string)})),open:u.bool.isRequired,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:u.shape({modifiers:u.array,onFirstUpdate:u.func,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:u.oneOf(["absolute","fixed"])}),popperRef:Go,slotProps:u.shape({root:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType}),transition:u.bool});const iF=de(nv,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ni=L.forwardRef(function(t,r){var k;const n=va(),O=Fe({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:d,keepMounted:p,modifiers:h,open:m,placement:v,popperOptions:g,popperRef:y,transition:b,slots:T,slotProps:E}=O,x=te(O,["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"]),C=(k=T==null?void 0:T.root)!=null?k:s==null?void 0:s.Root,_=w({anchorEl:i,container:c,disablePortal:d,keepMounted:p,modifiers:h,open:m,placement:v,popperOptions:g,popperRef:y,transition:b},x);return Z.jsx(iF,$(w({as:a,direction:n?"rtl":"ltr",slots:{root:C},slotProps:E!=null?E:l},_),{ref:r}))});process.env.NODE_ENV!=="production"&&(ni.propTypes={anchorEl:u.oneOfType([or,u.object,u.func]),children:u.oneOfType([u.node,u.func]),component:u.elementType,components:u.shape({Root:u.elementType}),componentsProps:u.shape({root:u.oneOfType([u.func,u.object])}),container:u.oneOfType([or,u.func]),disablePortal:u.bool,keepMounted:u.bool,modifiers:u.arrayOf(u.shape({data:u.object,effect:u.func,enabled:u.bool,fn:u.func,name:u.any,options:u.object,phase:u.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:u.arrayOf(u.string),requiresIfExists:u.arrayOf(u.string)})),open:u.bool.isRequired,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:u.shape({modifiers:u.array,onFirstUpdate:u.func,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:u.oneOf(["absolute","fixed"])}),popperRef:Go,slotProps:u.shape({root:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transition:u.bool});function aF(e){return Oe("MuiTooltip",e)}const sF=ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Ve=sF;function lF(e){return Math.round(e*1e5)/1e5}const cF=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${fe(i.split("-")[0])}`],arrow:["arrow"]};return Be(a,aF,t)},uF=de(ni,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(Ye(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ve.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ve.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ve.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ve.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ve.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ve.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ve.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ve.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),dF=de("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${fe(r.placement.split("-")[0])}`]]}})(Ye(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ne(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ve.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ve.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ve.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${lF(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ve.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ve.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),fF=de("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Ye(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Ne(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let ki=!1;const nh=new Pa;let eo={x:0,y:0};function Ai(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const hs=L.forwardRef(function(t,r){var Ku,Qu,Zu;const n=Fe({props:t,name:"MuiTooltip"}),Xu=n,{arrow:o=!1,children:i,classes:a,components:s={},componentsProps:l={},describeChild:c=!1,disableFocusListener:d=!1,disableHoverListener:p=!1,disableInteractive:h=!1,disableTouchListener:m=!1,enterDelay:v=100,enterNextDelay:g=0,enterTouchDelay:y=700,followCursor:b=!1,id:T,leaveDelay:E=0,leaveTouchDelay:x=1500,onClose:C,onOpen:_,open:O,placement:k="bottom",PopperComponent:D,PopperProps:F={},slotProps:W={},slots:R={},title:A,TransitionComponent:B,TransitionProps:j}=Xu,N=te(Xu,["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"]),I=L.isValidElement(i)?i:Z.jsx("span",{children:i}),H=Yo(),Y=va(),[P,V]=L.useState(),[K,q]=L.useState(null),X=L.useRef(!1),J=h||b,ee=Dr(),oe=Dr(),ne=Dr(),ue=Dr(),[ie,ve]=Lc({controlled:O,default:!1,name:"Tooltip",state:"open"});let z=ie;if(process.env.NODE_ENV!=="production"){const{current:pe}=L.useRef(O!==void 0);L.useEffect(()=>{P&&P.disabled&&!pe&&A!==""&&P.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
302
- `))},[A,P,pe])}const re=Ia(T),ce=L.useRef(),ge=rr(()=>{ce.current!==void 0&&(document.body.style.WebkitUserSelect=ce.current,ce.current=void 0),ue.clear()});L.useEffect(()=>ge,[ge]);const Xe=pe=>{nh.clear(),ki=!0,ve(!0),_&&!z&&_(pe)},Ue=rr(pe=>{nh.start(800+E,()=>{ki=!1}),ve(!1),C&&z&&C(pe),ee.start(H.transitions.duration.shortest,()=>{X.current=!1})}),He=pe=>{X.current&&pe.type!=="touchstart"||(P&&P.removeAttribute("title"),oe.clear(),ne.clear(),v||ki&&g?oe.start(ki?g:v,()=>{Xe(pe)}):Xe(pe))},St=pe=>{oe.clear(),ne.start(E,()=>{Ue(pe)})},[,Qe]=L.useState(!1),st=pe=>{Ui(pe.target)||(Qe(!1),St(pe))},Je=pe=>{P||V(pe.currentTarget),Ui(pe.target)&&(Qe(!0),He(pe))},se=pe=>{X.current=!0;const Ft=I.props;Ft.onTouchStart&&Ft.onTouchStart(pe)},ot=pe=>{se(pe),ne.clear(),ee.clear(),ge(),ce.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ue.start(y,()=>{document.body.style.WebkitUserSelect=ce.current,He(pe)})},ai=pe=>{I.props.onTouchEnd&&I.props.onTouchEnd(pe),ge(),ne.start(x,()=>{Ue(pe)})};L.useEffect(()=>{if(!z)return;function pe(Ft){Ft.key==="Escape"&&Ue(Ft)}return document.addEventListener("keydown",pe),()=>{document.removeEventListener("keydown",pe)}},[Ue,z]);const si=ft(An(I),V,r);!A&&A!==0&&(z=!1);const Qr=L.useRef(),li=pe=>{const Ft=I.props;Ft.onMouseMove&&Ft.onMouseMove(pe),eo={x:pe.clientX,y:pe.clientY},Qr.current&&Qr.current.update()},zn={},ys=typeof A=="string";c?(zn.title=!z&&ys&&!p?A:null,zn["aria-describedby"]=z?re:null):(zn["aria-label"]=ys?A:null,zn["aria-labelledby"]=z&&!ys?re:null);const Rt=w($(w(w(w({},zn),N),I.props),{className:he(N.className,I.props.className),onTouchStart:se,ref:si}),b?{onMouseMove:li}:{});process.env.NODE_ENV!=="production"&&(Rt["data-mui-internal-clone-element"]=!0,L.useEffect(()=>{P&&!P.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
303
- `))},[P]));const Wn={};m||(Rt.onTouchStart=ot,Rt.onTouchEnd=ai),p||(Rt.onMouseOver=Ai(He,Rt.onMouseOver),Rt.onMouseLeave=Ai(St,Rt.onMouseLeave),J||(Wn.onMouseOver=He,Wn.onMouseLeave=St)),d||(Rt.onFocus=Ai(Je,Rt.onFocus),Rt.onBlur=Ai(st,Rt.onBlur),J||(Wn.onFocus=Je,Wn.onBlur=st)),process.env.NODE_ENV!=="production"&&I.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${I.props.title}\` or the Tooltip component.`].join(`
304
- `));const _r=$(w({},n),{isRtl:Y,arrow:o,disableInteractive:J,placement:k,PopperComponentProp:D,touch:X.current}),mt=typeof W.popper=="function"?W.popper(_r):W.popper,b1=L.useMemo(()=>{var Ft,Ju;let pe=[{name:"arrow",enabled:!!K,options:{element:K,padding:4}}];return(Ft=F.popperOptions)!=null&&Ft.modifiers&&(pe=pe.concat(F.popperOptions.modifiers)),(Ju=mt==null?void 0:mt.popperOptions)!=null&&Ju.modifiers&&(pe=pe.concat(mt.popperOptions.modifiers)),$(w(w({},F.popperOptions),mt==null?void 0:mt.popperOptions),{modifiers:pe})},[K,F.popperOptions,mt==null?void 0:mt.popperOptions]),bs=cF(_r),ws=typeof W.transition=="function"?W.transition(_r):W.transition,ci={slots:w({popper:s.Popper,transition:(Ku=s.Transition)!=null?Ku:B,tooltip:s.Tooltip,arrow:s.Arrow},R),slotProps:{arrow:(Qu=W.arrow)!=null?Qu:l.arrow,popper:w(w({},F),mt!=null?mt:l.popper),tooltip:(Zu=W.tooltip)!=null?Zu:l.tooltip,transition:w(w({},j),ws!=null?ws:l.transition)}},[w1,x1]=tt("popper",{elementType:uF,externalForwardedProps:ci,ownerState:_r,className:he(bs.popper,F==null?void 0:F.className)}),[C1,E1]=tt("transition",{elementType:Mo,externalForwardedProps:ci,ownerState:_r}),[T1,S1]=tt("tooltip",{elementType:dF,className:bs.tooltip,externalForwardedProps:ci,ownerState:_r}),[R1,_1]=tt("arrow",{elementType:fF,className:bs.arrow,externalForwardedProps:ci,ownerState:_r,ref:q});return Z.jsxs(L.Fragment,{children:[L.cloneElement(I,Rt),Z.jsx(w1,$(w(w({as:D!=null?D:ni,placement:k,anchorEl:b?{getBoundingClientRect:()=>({top:eo.y,left:eo.x,right:eo.x,bottom:eo.y,width:0,height:0})}:P,popperRef:Qr,open:P?z:!1,id:re,transition:!0},Wn),x1),{popperOptions:b1,children:({TransitionProps:pe})=>Z.jsx(C1,$(w(w({timeout:H.transitions.duration.shorter},pe),E1),{children:Z.jsxs(T1,$(w({},S1),{children:[A,o?Z.jsx(R1,w({},_1)):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(hs.propTypes={arrow:u.bool,children:Gr.isRequired,classes:u.object,className:u.string,components:u.shape({Arrow:u.elementType,Popper:u.elementType,Tooltip:u.elementType,Transition:u.elementType}),componentsProps:u.shape({arrow:u.object,popper:u.object,tooltip:u.object,transition:u.object}),describeChild:u.bool,disableFocusListener:u.bool,disableHoverListener:u.bool,disableInteractive:u.bool,disableTouchListener:u.bool,enterDelay:u.number,enterNextDelay:u.number,enterTouchDelay:u.number,followCursor:u.bool,id:u.string,leaveDelay:u.number,leaveTouchDelay:u.number,onClose:u.func,onOpen:u.func,open:u.bool,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:u.elementType,PopperProps:u.object,slotProps:u.shape({arrow:u.oneOfType([u.func,u.object]),popper:u.oneOfType([u.func,u.object]),tooltip:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({arrow:u.elementType,popper:u.elementType,tooltip:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),title:u.node,TransitionComponent:u.elementType,TransitionProps:u.object});const pF=()=>typeof window=="undefined"||typeof document=="undefined"||!document.body||typeof window.innerWidth!="number"||typeof document.body.clientWidth!="number"?0:Math.max(0,window.innerWidth-document.body.clientWidth),hF=e=>f.isNumber$1(e)?"right":"left",oh=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return f.jsx("div",{className:co.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?f.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?f.jsx(hs,{title:e,children:f.jsx("div",{children:e})}):f.jsx("div",{children:e})})},gF=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var T,E,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,l=Vm+(s?Um:0),c=(o==null?void 0:o.paddingVertical)||Up,d=(o==null?void 0:o.paddingHorizontal)||Up,p=((T=o==null?void 0:o.columns)==null?void 0:T.width)==="auto"?(n-d*2-pF())/t.columns.length:void 0,h=S.useMemo(()=>t.columns.map(C=>({isHtml:"isHtml"in C&&!!C.isHtml,width:p})),[t.columns,p]),[m,v]=S.useState(((E=document.fonts)==null?void 0:E.status)==="loaded"),g=(x=i.typography)==null?void 0:x.fontFamily,y=S.useMemo(()=>UN(e,s,h,g),[e,s,h,g,m]);S.useEffect(()=>{var C;(C=document.fonts)==null||C.ready.then(()=>{v(!0)}).catch(_=>{console.warn("Failed to observe font loading",_)})},[]);const b=S.useMemo(()=>e.columns.map((C,_)=>{const O=y[_],k=t.columns[_],D=Yp({isHeaderCell:!0,themeSettings:i,customStyles:o});return O?f.jsx(ds,{maxWidth:uc,minWidth:uc,allowCellsRecycling:!0,width:O,header:f.jsx(oa,{className:Fo(co.tableHeader),style:D,children:f.jsx(jN,{column:C,onClick:a,isSelected:!!Math.abs(C.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:oh({displayValue:f.getDataOptionTitle(k),width:O,padding:l,ellipsizedLength:WN})})}),cell:R=>{var A=R,{rowIndex:F}=A,W=te(A,["rowIndex"]);return f.jsx(oa,$(w({className:Fo(co.tableCell),style:Yp({colIndex:_,rowIndex:F,themeSettings:i,customStyles:o})},W),{children:oh({displayValue:e.rows[F][_].displayValue,width:O,padding:Gm,ellipsizedLength:VN,isHtml:"isHtml"in k&&k.isHtml})}))},align:hF(C.type)},`col${_}`):null}),[e,y,i,o,a,s,t,l]);return S.useMemo(()=>f.jsx("div",{className:co.tableWrapper,style:{padding:`${c}px ${d}px`},children:f.jsx(L7,{className:co.table,rowHeight:(o==null?void 0:o.rowHeight)||HN,rowsCount:e.rows.length,width:n-d*2,height:r-c*2,headerHeight:(o==null?void 0:o.headerHeight)||BN,children:b})}),[b,o,e,r,d,c,n])},mF="_component_1rw9b_1",vF={component:mF},yF=(e,t)=>{if(!e.columns.some(a=>f.isNumber$1(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,l)=>{const c=r[l].type,d=f.getCompleteNumberFormatConfig(t.columns[l].numberFormatConfig);if(f.isNumber$1(c)){const p=f.createCompareValue(s.displayValue,c);return{displayValue:f.applyFormatPlainText(d,p.value),compareValue:p}}else return s}));return{columns:r,rows:o}},bF=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=S.useRef(null),l=S.useRef(e),c=S.useMemo(()=>yF(e,t),[e,t]);S.useLayoutEffect(()=>{l.current=e},[e]);const d=S.useMemo(()=>w({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return f.jsx("div",{className:vF.component,ref:s,children:f.jsx(gF,{dataTable:c,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:d,themeSettings:o})})},wF=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}}),xF=e=>({paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:e.header,rows:e.rows,columns:e.columns}),ov=25,iv=10,av=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=ov,width:a,height:s}=r,{themeSettings:l}=f.useThemeContext(),[c,d]=S.useState(0),{filters:p,relations:h}=f.getFilterListAndRelationsJaql(n),[m,v]=S.useState(1),g=S.useRef(null),y=S.useMemo(()=>eg(t),[t]),b=S.useMemo(()=>Qc(y.columns.filter(f.isMeasureColumn).map(f.translateColumnToMeasure)),[y]),T=S.useMemo(()=>xF(r),[r]),[E,x]=S.useState(y),[C,_]=S.useState(e),[O,k]=bT({dataSet:C,dataOptions:E,filters:p,filterRelations:h,count:i*iv,offset:c}),D=S.useMemo(()=>{if(O&&o){const j=o(O);if(!ig(j))throw new f.TranslatableError("errors.incorrectOnDataReadyHandler");return j}return O},[O]),F=wT({data:D,innerDataOptions:k,dataColumnNamesMapping:b,needToAggregate:!yr(C)});S.useEffect(()=>{x(y),_(e),v(1),d(0)},[e,y]);const W=S.useCallback(j=>{if(!O)return;Math.floor(O.rows.length/i)===j&&d(O.rows.length),v(j)},[O,i]),R=S.useCallback(j=>{v(1),d(0),E&&x(vE(E,j))},[E]),A=S.useMemo(()=>{if(!F||yr(C))return F;const j=F.columns.find(N=>N.direction!==0);return j?f.orderBy(F,[j]):F},[F,C]),B=S.useMemo(()=>A?{columns:A.columns,rows:A.rows.slice((m-1)*i,m*i)}:void 0,[A,m,i]);return k?f.jsx(Fa,{defaultSize:Kc("table"),size:{width:a,height:s},children:j=>{if(!F||!B)return f.jsx(ga,{themeSettings:l});if(f.isDataTableEmpty(F))return f.jsx(Xc,{iconType:"table"});const N=Math.ceil(F.rows.length/i);return f.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:l.chart.backgroundColor},"aria-label":"table-root",children:[f.jsx(bF,{dataTable:B,dataOptions:k,designOptions:T,themeSettings:l,width:j.width,height:j.height-32,onSortUpdate:R}),f.jsx(lg,{ref:g,page:m,count:N,onChange:(H,Y)=>W(Y),sx:wF(l)})]})}}):null},sv=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},CF=S.createContext(null),tl={didCatch:!1,error:null};class lv extends S.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=tl}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:i,reason:"imperative-api"}),this.setState(tl)}}componentDidCatch(t,r){var n,o;(n=(o=this.props).onError)===null||n===void 0||n.call(o,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:o}=this.props;if(n&&r.error!==null&&EF(t.resetKeys,o)){var i,a;(i=(a=this.props).onReset)===null||i===void 0||i.call(a,{next:o,prev:t.resetKeys,reason:"keys"}),this.setState(tl)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const l={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(l);else if(n)s=S.createElement(n,l);else if(o===null||S.isValidElement(o))s=o;else throw a}return S.createElement(CF.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function EF(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const cv=S.createContext(void 0),TF=({children:e})=>{const[t,r]=S.useState([]),[n,o]=S.useState([]),i=()=>r([]),a=()=>o([]);return f.jsx(cv.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},uv=()=>{const e=S.useContext(cv);return e||{errors:[],warnings:[],setErrors:()=>{console.warn("setErrors called, but context is not available.")},setWarnings:()=>{console.warn("setWarnings called, but context is not available.")},clearError:()=>{console.warn("clearError called, but context is not available.")},clearWarning:()=>{console.warn("clearWarning called, but context is not available.")}}};function ju(e,t,r){const n=f.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!f.isEqual(n[i],e[i])):!f.isEqual(n,e))?!0:r?r(e,n):!1}const SF=e=>{const[t,r]=S.useState(0),{setErrors:n,errors:o}=uv(),i=ju(e,["dataOptions","filters"]);if(S.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!yr(e.dataSet))throw new f.TranslatableError("errors.undefinedDataSource");const a=f.cloneDeep(e.dataOptions),s=f.extractTrendMeasures(a);a.value.push(...s);const l=f.extractForecastMeasures(a);a.value.push(...l);const c=S.useCallback(({error:d})=>(console.debug("Unexpected error occurred when rendering advanced chart:",d),f.jsx(Ml,w({},e))),[e,o]);return o.length===2?null:f.jsx(lv,{fallbackRender:c,onError:d=>{n(p=>[...p,d.message])},children:f.jsx(Ml,$(w({},e),{dataOptions:a}))},`errorboundary_${t}`)},dv=Xo({componentName:"Chart",shouldSkipSisenseContextWaiting:sv,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(RF(e))return f.jsx(av,w({},e));if(_F(e))return f.jsx(SF,w({},e));if(fv(e))return f.jsx(Ml,w({},e));throw new f.TranslatableError("errors.chartInvalidProps")});function RF(e){return e.chartType==="table"&&"columns"in e.dataOptions}function fv(e){return e.chartType!=="table"}function _F(e){return!fv(e)||!f.isCartesian(e.chartType)?!1:e.dataOptions.value.some(r=>(r==null?void 0:r.forecast)!==void 0||(r==null?void 0:r.trend)!==void 0)}var MF=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),pc=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(pc||{}),hc=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(hc||{}),pv=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const OF=(e,t)=>{const r=f.get(e,"shadow",t.widget.shadow),n=f.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in pc&&n in hc){const o=pc[`${r}`];return`0px ${hc[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function kF(e){return Oe("MuiCard",e)}ke("MuiCard",["root"]);const AF=e=>{const{classes:t}=e;return Be({root:["root"]},kF,t)},IF=de(Da,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),hv=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiCard"}),c=n,{className:o,raised:i=!1}=c,a=te(c,["className","raised"]),s=$(w({},n),{raised:i}),l=AF(s);return Z.jsx(IF,w({className:he(l.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(hv.propTypes={children:u.node,classes:u.object,className:u.string,raised:lr(u.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function PF(e){return Oe("MuiCardContent",e)}ke("MuiCardContent",["root"]);const DF=e=>{const{classes:t}=e;return Be({root:["root"]},PF,t)},$F=de("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),gv=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiCardContent"}),c=n,{className:o,component:i="div"}=c,a=te(c,["className","component"]),s=$(w({},n),{component:i}),l=DF(s);return Z.jsx($F,w({as:i,className:he(l.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(gv.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function NF(e){return Oe("MuiCircularProgress",e)}ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const dr=44,gc=f.keyframes`
301
+ `))}return null}),children:u.oneOfType([u.node,u.func]),container:u.oneOfType([or,u.func]),direction:u.oneOf(["ltr","rtl"]),disablePortal:u.bool,keepMounted:u.bool,modifiers:u.arrayOf(u.shape({data:u.object,effect:u.func,enabled:u.bool,fn:u.func,name:u.any,options:u.object,phase:u.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:u.arrayOf(u.string),requiresIfExists:u.arrayOf(u.string)})),open:u.bool.isRequired,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:u.shape({modifiers:u.array,onFirstUpdate:u.func,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:u.oneOf(["absolute","fixed"])}),popperRef:Go,slotProps:u.shape({root:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType}),transition:u.bool});const iF=de(iv,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ni=L.forwardRef(function(t,r){var O;const n=ya(),k=Fe({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:d,keepMounted:p,modifiers:h,open:m,placement:v,popperOptions:g,popperRef:y,transition:b,slots:T,slotProps:E}=k,x=te(k,["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"]),C=(O=T==null?void 0:T.root)!=null?O:s==null?void 0:s.Root,_=w({anchorEl:i,container:c,disablePortal:d,keepMounted:p,modifiers:h,open:m,placement:v,popperOptions:g,popperRef:y,transition:b},x);return Z.jsx(iF,$(w({as:a,direction:n?"rtl":"ltr",slots:{root:C},slotProps:E!=null?E:l},_),{ref:r}))});process.env.NODE_ENV!=="production"&&(ni.propTypes={anchorEl:u.oneOfType([or,u.object,u.func]),children:u.oneOfType([u.node,u.func]),component:u.elementType,components:u.shape({Root:u.elementType}),componentsProps:u.shape({root:u.oneOfType([u.func,u.object])}),container:u.oneOfType([or,u.func]),disablePortal:u.bool,keepMounted:u.bool,modifiers:u.arrayOf(u.shape({data:u.object,effect:u.func,enabled:u.bool,fn:u.func,name:u.any,options:u.object,phase:u.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:u.arrayOf(u.string),requiresIfExists:u.arrayOf(u.string)})),open:u.bool.isRequired,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:u.shape({modifiers:u.array,onFirstUpdate:u.func,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:u.oneOf(["absolute","fixed"])}),popperRef:Go,slotProps:u.shape({root:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transition:u.bool});function aF(e){return Oe("MuiTooltip",e)}const sF=ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Ve=sF;function lF(e){return Math.round(e*1e5)/1e5}const cF=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${fe(i.split("-")[0])}`],arrow:["arrow"]};return Be(a,aF,t)},uF=de(ni,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(Ye(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ve.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ve.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ve.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ve.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ve.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ve.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ve.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ve.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),dF=de("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${fe(r.placement.split("-")[0])}`]]}})(Ye(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ne(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ve.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ve.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ve.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${lF(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ve.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ve.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ve.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ve.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),fF=de("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Ye(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Ne(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let ki=!1;const ih=new Da;let eo={x:0,y:0};function Ai(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const ms=L.forwardRef(function(t,r){var Zu,Ju,ed;const n=Fe({props:t,name:"MuiTooltip"}),Qu=n,{arrow:o=!1,children:i,classes:a,components:s={},componentsProps:l={},describeChild:c=!1,disableFocusListener:d=!1,disableHoverListener:p=!1,disableInteractive:h=!1,disableTouchListener:m=!1,enterDelay:v=100,enterNextDelay:g=0,enterTouchDelay:y=700,followCursor:b=!1,id:T,leaveDelay:E=0,leaveTouchDelay:x=1500,onClose:C,onOpen:_,open:k,placement:O="bottom",PopperComponent:P,PopperProps:F={},slotProps:W={},slots:R={},title:A,TransitionComponent:B,TransitionProps:j}=Qu,N=te(Qu,["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"]),I=L.isValidElement(i)?i:Z.jsx("span",{children:i}),H=Yo(),Y=ya(),[D,V]=L.useState(),[K,q]=L.useState(null),X=L.useRef(!1),J=h||b,ee=Dr(),oe=Dr(),ne=Dr(),ue=Dr(),[ie,ve]=Bc({controlled:k,default:!1,name:"Tooltip",state:"open"});let z=ie;if(process.env.NODE_ENV!=="production"){const{current:pe}=L.useRef(k!==void 0);L.useEffect(()=>{D&&D.disabled&&!pe&&A!==""&&D.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
302
+ `))},[A,D,pe])}const re=Pa(T),ce=L.useRef(),ge=rr(()=>{ce.current!==void 0&&(document.body.style.WebkitUserSelect=ce.current,ce.current=void 0),ue.clear()});L.useEffect(()=>ge,[ge]);const Xe=pe=>{ih.clear(),ki=!0,ve(!0),_&&!z&&_(pe)},Ue=rr(pe=>{ih.start(800+E,()=>{ki=!1}),ve(!1),C&&z&&C(pe),ee.start(H.transitions.duration.shortest,()=>{X.current=!1})}),He=pe=>{X.current&&pe.type!=="touchstart"||(D&&D.removeAttribute("title"),oe.clear(),ne.clear(),v||ki&&g?oe.start(ki?g:v,()=>{Xe(pe)}):Xe(pe))},St=pe=>{oe.clear(),ne.start(E,()=>{Ue(pe)})},[,Qe]=L.useState(!1),st=pe=>{Gi(pe.target)||(Qe(!1),St(pe))},Je=pe=>{D||V(pe.currentTarget),Gi(pe.target)&&(Qe(!0),He(pe))},se=pe=>{X.current=!0;const Ft=I.props;Ft.onTouchStart&&Ft.onTouchStart(pe)},ot=pe=>{se(pe),ne.clear(),ee.clear(),ge(),ce.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ue.start(y,()=>{document.body.style.WebkitUserSelect=ce.current,He(pe)})},ai=pe=>{I.props.onTouchEnd&&I.props.onTouchEnd(pe),ge(),ne.start(x,()=>{Ue(pe)})};L.useEffect(()=>{if(!z)return;function pe(Ft){Ft.key==="Escape"&&Ue(Ft)}return document.addEventListener("keydown",pe),()=>{document.removeEventListener("keydown",pe)}},[Ue,z]);const si=ft(An(I),V,r);!A&&A!==0&&(z=!1);const Qr=L.useRef(),li=pe=>{const Ft=I.props;Ft.onMouseMove&&Ft.onMouseMove(pe),eo={x:pe.clientX,y:pe.clientY},Qr.current&&Qr.current.update()},zn={},ws=typeof A=="string";c?(zn.title=!z&&ws&&!p?A:null,zn["aria-describedby"]=z?re:null):(zn["aria-label"]=ws?A:null,zn["aria-labelledby"]=z&&!ws?re:null);const Rt=w($(w(w(w({},zn),N),I.props),{className:he(N.className,I.props.className),onTouchStart:se,ref:si}),b?{onMouseMove:li}:{});process.env.NODE_ENV!=="production"&&(Rt["data-mui-internal-clone-element"]=!0,L.useEffect(()=>{D&&!D.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
303
+ `))},[D]));const Wn={};m||(Rt.onTouchStart=ot,Rt.onTouchEnd=ai),p||(Rt.onMouseOver=Ai(He,Rt.onMouseOver),Rt.onMouseLeave=Ai(St,Rt.onMouseLeave),J||(Wn.onMouseOver=He,Wn.onMouseLeave=St)),d||(Rt.onFocus=Ai(Je,Rt.onFocus),Rt.onBlur=Ai(st,Rt.onBlur),J||(Wn.onFocus=Je,Wn.onBlur=st)),process.env.NODE_ENV!=="production"&&I.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${I.props.title}\` or the Tooltip component.`].join(`
304
+ `));const _r=$(w({},n),{isRtl:Y,arrow:o,disableInteractive:J,placement:O,PopperComponentProp:P,touch:X.current}),mt=typeof W.popper=="function"?W.popper(_r):W.popper,w1=L.useMemo(()=>{var Ft,td;let pe=[{name:"arrow",enabled:!!K,options:{element:K,padding:4}}];return(Ft=F.popperOptions)!=null&&Ft.modifiers&&(pe=pe.concat(F.popperOptions.modifiers)),(td=mt==null?void 0:mt.popperOptions)!=null&&td.modifiers&&(pe=pe.concat(mt.popperOptions.modifiers)),$(w(w({},F.popperOptions),mt==null?void 0:mt.popperOptions),{modifiers:pe})},[K,F.popperOptions,mt==null?void 0:mt.popperOptions]),xs=cF(_r),Cs=typeof W.transition=="function"?W.transition(_r):W.transition,ci={slots:w({popper:s.Popper,transition:(Zu=s.Transition)!=null?Zu:B,tooltip:s.Tooltip,arrow:s.Arrow},R),slotProps:{arrow:(Ju=W.arrow)!=null?Ju:l.arrow,popper:w(w({},F),mt!=null?mt:l.popper),tooltip:(ed=W.tooltip)!=null?ed:l.tooltip,transition:w(w({},j),Cs!=null?Cs:l.transition)}},[x1,C1]=tt("popper",{elementType:uF,externalForwardedProps:ci,ownerState:_r,className:he(xs.popper,F==null?void 0:F.className)}),[E1,T1]=tt("transition",{elementType:Mo,externalForwardedProps:ci,ownerState:_r}),[S1,R1]=tt("tooltip",{elementType:dF,className:xs.tooltip,externalForwardedProps:ci,ownerState:_r}),[_1,M1]=tt("arrow",{elementType:fF,className:xs.arrow,externalForwardedProps:ci,ownerState:_r,ref:q});return Z.jsxs(L.Fragment,{children:[L.cloneElement(I,Rt),Z.jsx(x1,$(w(w({as:P!=null?P:ni,placement:O,anchorEl:b?{getBoundingClientRect:()=>({top:eo.y,left:eo.x,right:eo.x,bottom:eo.y,width:0,height:0})}:D,popperRef:Qr,open:D?z:!1,id:re,transition:!0},Wn),C1),{popperOptions:w1,children:({TransitionProps:pe})=>Z.jsx(E1,$(w(w({timeout:H.transitions.duration.shorter},pe),T1),{children:Z.jsxs(S1,$(w({},R1),{children:[A,o?Z.jsx(_1,w({},M1)):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(ms.propTypes={arrow:u.bool,children:Gr.isRequired,classes:u.object,className:u.string,components:u.shape({Arrow:u.elementType,Popper:u.elementType,Tooltip:u.elementType,Transition:u.elementType}),componentsProps:u.shape({arrow:u.object,popper:u.object,tooltip:u.object,transition:u.object}),describeChild:u.bool,disableFocusListener:u.bool,disableHoverListener:u.bool,disableInteractive:u.bool,disableTouchListener:u.bool,enterDelay:u.number,enterNextDelay:u.number,enterTouchDelay:u.number,followCursor:u.bool,id:u.string,leaveDelay:u.number,leaveTouchDelay:u.number,onClose:u.func,onOpen:u.func,open:u.bool,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:u.elementType,PopperProps:u.object,slotProps:u.shape({arrow:u.oneOfType([u.func,u.object]),popper:u.oneOfType([u.func,u.object]),tooltip:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({arrow:u.elementType,popper:u.elementType,tooltip:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),title:u.node,TransitionComponent:u.elementType,TransitionProps:u.object});const pF=()=>typeof window=="undefined"||typeof document=="undefined"||!document.body||typeof window.innerWidth!="number"||typeof document.body.clientWidth!="number"?0:Math.max(0,window.innerWidth-document.body.clientWidth),hF=e=>f.isNumber$1(e)?"right":"left",ah=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return f.jsx("div",{className:co.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?f.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?f.jsx(ms,{title:e,children:f.jsx("div",{children:e})}):f.jsx("div",{children:e})})},gF=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var T,E,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,l=Gm+(s?Ym:0),c=(o==null?void 0:o.paddingVertical)||Yp,d=(o==null?void 0:o.paddingHorizontal)||Yp,p=((T=o==null?void 0:o.columns)==null?void 0:T.width)==="auto"?(n-d*2-pF())/t.columns.length:void 0,h=S.useMemo(()=>t.columns.map(C=>({isHtml:"isHtml"in C&&!!C.isHtml,width:p})),[t.columns,p]),[m,v]=S.useState(((E=document.fonts)==null?void 0:E.status)==="loaded"),g=(x=i.typography)==null?void 0:x.fontFamily,y=S.useMemo(()=>UN(e,s,h,g),[e,s,h,g,m]);S.useEffect(()=>{var C;(C=document.fonts)==null||C.ready.then(()=>{v(!0)}).catch(_=>{console.warn("Failed to observe font loading",_)})},[]);const b=S.useMemo(()=>e.columns.map((C,_)=>{const k=y[_],O=t.columns[_],P=Xp({isHeaderCell:!0,themeSettings:i,customStyles:o});return k?f.jsx(ps,{maxWidth:dc,minWidth:dc,allowCellsRecycling:!0,width:k,header:f.jsx(ia,{className:Fo(co.tableHeader),style:P,children:f.jsx(jN,{column:C,onClick:a,isSelected:!!Math.abs(C.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:ah({displayValue:f.getDataOptionTitle(O),width:k,padding:l,ellipsizedLength:WN})})}),cell:R=>{var A=R,{rowIndex:F}=A,W=te(A,["rowIndex"]);return f.jsx(ia,$(w({className:Fo(co.tableCell),style:Xp({colIndex:_,rowIndex:F,themeSettings:i,customStyles:o})},W),{children:ah({displayValue:e.rows[F][_].displayValue,width:k,padding:qm,ellipsizedLength:VN,isHtml:"isHtml"in O&&O.isHtml})}))},align:hF(C.type)},`col${_}`):null}),[e,y,i,o,a,s,t,l]);return S.useMemo(()=>f.jsx("div",{className:co.tableWrapper,style:{padding:`${c}px ${d}px`},children:f.jsx(L7,{className:co.table,rowHeight:(o==null?void 0:o.rowHeight)||HN,rowsCount:e.rows.length,width:n-d*2,height:r-c*2,headerHeight:(o==null?void 0:o.headerHeight)||BN,children:b})}),[b,o,e,r,d,c,n])},mF="_component_1rw9b_1",vF={component:mF},yF=(e,t)=>{if(!e.columns.some(a=>f.isNumber$1(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,l)=>{const c=r[l].type,d=f.getCompleteNumberFormatConfig(t.columns[l].numberFormatConfig);if(f.isNumber$1(c)){const p=f.createCompareValue(s.displayValue,c);return{displayValue:f.applyFormatPlainText(d,p.value),compareValue:p}}else return s}));return{columns:r,rows:o}},bF=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=S.useRef(null),l=S.useRef(e),c=S.useMemo(()=>yF(e,t),[e,t]);S.useLayoutEffect(()=>{l.current=e},[e]);const d=S.useMemo(()=>w({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return f.jsx("div",{className:vF.component,ref:s,children:f.jsx(gF,{dataTable:c,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:d,themeSettings:o})})},wF=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}}),xF=e=>({paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:e.header,rows:e.rows,columns:e.columns}),av=25,sv=10,lv=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=av,width:a,height:s}=r,{themeSettings:l}=f.useThemeContext(),[c,d]=S.useState(0),{filters:p,relations:h}=f.getFilterListAndRelationsJaql(n),[m,v]=S.useState(1),g=S.useRef(null),y=S.useMemo(()=>rg(t),[t]),b=S.useMemo(()=>Jc(y.columns.filter(f.isMeasureColumn).map(f.translateColumnToMeasure)),[y]),T=S.useMemo(()=>xF(r),[r]),[E,x]=S.useState(y),[C,_]=S.useState(e),[k,O]=bT({dataSet:C,dataOptions:E,filters:p,filterRelations:h,count:i*sv,offset:c}),P=S.useMemo(()=>{if(k&&o){const j=o(k);if(!sg(j))throw new f.TranslatableError("errors.incorrectOnDataReadyHandler");return j}return k},[k]),F=wT({data:P,innerDataOptions:O,dataColumnNamesMapping:b,needToAggregate:!yr(C)});S.useEffect(()=>{x(y),_(e),v(1),d(0)},[e,y]);const W=S.useCallback(j=>{if(!k)return;Math.floor(k.rows.length/i)===j&&d(k.rows.length),v(j)},[k,i]),R=S.useCallback(j=>{v(1),d(0),E&&x(vE(E,j))},[E]),A=S.useMemo(()=>{if(!F||yr(C))return F;const j=F.columns.find(N=>N.direction!==0);return j?f.orderBy(F,[j]):F},[F,C]),B=S.useMemo(()=>A?{columns:A.columns,rows:A.rows.slice((m-1)*i,m*i)}:void 0,[A,m,i]);return O?f.jsx(ja,{defaultSize:Ba("table"),size:{width:a,height:s},children:j=>{if(!F||!B)return f.jsx(ma,{themeSettings:l});if(f.isDataTableEmpty(F))return f.jsx(Zc,{iconType:"table"});const N=Math.ceil(F.rows.length/i);return f.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:l.chart.backgroundColor},"aria-label":"table-root",children:[f.jsx(bF,{dataTable:B,dataOptions:O,designOptions:T,themeSettings:l,width:j.width,height:j.height-32,onSortUpdate:R}),f.jsx(ug,{ref:g,page:m,count:N,onChange:(H,Y)=>W(Y),sx:wF(l)})]})}}):null},cv=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},CF=S.createContext(null),nl={didCatch:!1,error:null};class hc extends S.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=nl}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:i,reason:"imperative-api"}),this.setState(nl)}}componentDidCatch(t,r){var n,o;(n=(o=this.props).onError)===null||n===void 0||n.call(o,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:o}=this.props;if(n&&r.error!==null&&EF(t.resetKeys,o)){var i,a;(i=(a=this.props).onReset)===null||i===void 0||i.call(a,{next:o,prev:t.resetKeys,reason:"keys"}),this.setState(nl)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const l={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(l);else if(n)s=S.createElement(n,l);else if(o===null||S.isValidElement(o))s=o;else throw a}return S.createElement(CF.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function EF(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}const uv=S.createContext(void 0),TF=({children:e})=>{const[t,r]=S.useState([]),[n,o]=S.useState([]),i=()=>r([]),a=()=>o([]);return f.jsx(uv.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},dv=()=>{const e=S.useContext(uv);return e||{errors:[],warnings:[],setErrors:()=>{console.warn("setErrors called, but context is not available.")},setWarnings:()=>{console.warn("setWarnings called, but context is not available.")},clearError:()=>{console.warn("clearError called, but context is not available.")},clearWarning:()=>{console.warn("clearWarning called, but context is not available.")}}};function Hu(e,t,r){const n=f.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!f.isEqual(n[i],e[i])):!f.isEqual(n,e))?!0:r?r(e,n):!1}const SF="BE#081586",RF="BE#733473",_F=e=>{const[t,r]=S.useState(0),{setErrors:n,errors:o}=dv(),i=Hu(e,["dataOptions","filters"]);if(S.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!yr(e.dataSet))throw new f.TranslatableError("errors.undefinedDataSource");const a=f.cloneDeep(e.dataOptions),s=f.extractTrendMeasures(a);a.value.push(...s);const l=f.extractForecastMeasures(a);a.value.push(...l);const c=S.useCallback(({error:h})=>{console.debug("Unexpected error occurred when rendering advanced chart:",h);const m=f.cloneDeep(a),v=p(h.toString());return m.value=m.value.filter(g=>{const y="column"in g?g.column.name:g.name;return!("column"in g&&"type"in g.column&&g.column.type==="calculatedmeasure"&&v.some(b=>b.includes(y)))}),f.jsx(hc,{fallbackRender:d,onError:g=>{const y=p(g.toString());n(b=>[...new Set([...b,...y])])},children:f.jsx(Di,$(w({},e),{dataOptions:m}))},`errorboundary_${t}`)},[e,o]),d=S.useCallback(({error:h})=>(console.debug("Error occurred when rendering fallback chart:",h),h.toString().includes(SF)?f.jsx(Di,w({},e)):f.jsx(kc,{error:o[0]})),[e,o]),p=h=>{if(h.includes(RF)){const m=/Error: BE#733473 More than 1 Function failed, aggregated failures:\s*/;if(m.test(h))return h.replace(m,"").split(";").map(g=>g.trim()).filter(Boolean)}return[h.trim()]};return f.jsx(hc,{fallbackRender:c,onError:h=>{const m=p(h.toString());n(v=>[...new Set([...v,...m])])},children:f.jsx(Di,$(w({},e),{dataOptions:a}))},`errorboundary_${t}`)},fv=Xo({componentName:"Chart",shouldSkipSisenseContextWaiting:cv,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(MF(e))return f.jsx(lv,w({},e));if(OF(e))return f.jsx(_F,w({},e));if(pv(e))return f.jsx(Di,w({},e));throw new f.TranslatableError("errors.chartInvalidProps")});function MF(e){return e.chartType==="table"&&"columns"in e.dataOptions}function pv(e){return e.chartType!=="table"}function OF(e){return!pv(e)||!f.isCartesian(e.chartType)?!1:e.dataOptions.value.some(r=>(r==null?void 0:r.forecast)!==void 0||(r==null?void 0:r.trend)!==void 0)}var kF=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),gc=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(gc||{}),mc=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(mc||{}),hv=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const AF=(e,t)=>{const r=f.get(e,"shadow",t.widget.shadow),n=f.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in gc&&n in mc){const o=gc[`${r}`];return`0px ${mc[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function IF(e){return Oe("MuiCard",e)}ke("MuiCard",["root"]);const PF=e=>{const{classes:t}=e;return Be({root:["root"]},IF,t)},DF=de($a,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),gv=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiCard"}),c=n,{className:o,raised:i=!1}=c,a=te(c,["className","raised"]),s=$(w({},n),{raised:i}),l=PF(s);return Z.jsx(DF,w({className:he(l.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(gv.propTypes={children:u.node,classes:u.object,className:u.string,raised:lr(u.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function $F(e){return Oe("MuiCardContent",e)}ke("MuiCardContent",["root"]);const NF=e=>{const{classes:t}=e;return Be({root:["root"]},$F,t)},LF=de("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),mv=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiCardContent"}),c=n,{className:o,component:i="div"}=c,a=te(c,["className","component"]),s=$(w({},n),{component:i}),l=NF(s);return Z.jsx(LF,w({as:i,className:he(l.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(mv.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function FF(e){return Oe("MuiCircularProgress",e)}ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const dr=44,vc=f.keyframes`
305
305
  0% {
306
306
  transform: rotate(0deg);
307
307
  }
@@ -309,7 +309,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
309
309
  100% {
310
310
  transform: rotate(360deg);
311
311
  }
312
- `,mc=f.keyframes`
312
+ `,yc=f.keyframes`
313
313
  0% {
314
314
  stroke-dasharray: 1px, 200px;
315
315
  stroke-dashoffset: 0;
@@ -324,14 +324,14 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
324
324
  stroke-dasharray: 1px, 200px;
325
325
  stroke-dashoffset: -126px;
326
326
  }
327
- `,LF=typeof gc!="string"?f.css`
328
- animation: ${gc} 1.4s linear infinite;
329
- `:null,FF=typeof mc!="string"?f.css`
330
- animation: ${mc} 1.4s ease-in-out infinite;
331
- `:null,jF=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${fe(n)}`],svg:["svg"],circle:["circle",`circle${fe(r)}`,o&&"circleDisableShrink"]};return Be(i,NF,t)},BF=de("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${fe(r.color)}`]]}})(Ye(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:LF||{animation:`${gc} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Cr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),HF=de("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),zF=de("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${fe(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Ye(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:FF||{animation:`${mc} 1.4s ease-in-out infinite`}}]}))),Bu=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiCircularProgress"}),T=n,{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:d=0,variant:p="indeterminate"}=T,h=te(T,["className","color","disableShrink","size","style","thickness","value","variant"]),m=$(w({},n),{color:i,disableShrink:a,size:s,thickness:c,value:d,variant:p}),v=jF(m),g={},y={},b={};if(p==="determinate"){const E=2*Math.PI*((dr-c)/2);g.strokeDasharray=E.toFixed(3),b["aria-valuenow"]=Math.round(d),g.strokeDashoffset=`${((100-d)/100*E).toFixed(3)}px`,y.transform="rotate(-90deg)"}return Z.jsx(BF,$(w(w({className:he(v.root,o),style:w(w({width:s,height:s},y),l),ownerState:m,ref:r,role:"progressbar"},b),h),{children:Z.jsx(HF,{className:v.svg,ownerState:m,viewBox:`${dr/2} ${dr/2} ${dr} ${dr}`,children:Z.jsx(zF,{className:v.circle,style:g,ownerState:m,cx:dr,cy:dr,r:(dr-c)/2,fill:"none",strokeWidth:c})})}))});process.env.NODE_ENV!=="production"&&(Bu.propTypes={classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","primary","secondary","error","info","success","warning"]),u.string]),disableShrink:lr(u.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:u.oneOfType([u.number,u.string]),style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),thickness:u.number,value:u.number,variant:u.oneOf(["determinate","indeterminate"])});function WF(e){return Oe("MuiIconButton",e)}const ih=ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),VF=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${fe(n)}`,o&&`edge${fe(o)}`,`size${fe(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Be(s,WF,t)},UF=de(Yr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(Ye(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ye(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Cr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Cr()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${ih.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${ih.loading}`]:{color:"transparent"}}))),GF=de("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),On=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiIconButton"}),E=n,{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:d="medium",id:p,loading:h=null,loadingIndicator:m}=E,v=te(E,["edge","children","className","color","disabled","disableFocusRipple","size","id","loading","loadingIndicator"]),g=Ia(p),y=m!=null?m:Z.jsx(Bu,{"aria-labelledby":g,color:"inherit",size:16}),b=$(w({},n),{edge:o,color:s,disabled:l,disableFocusRipple:c,loading:h,loadingIndicator:y,size:d}),T=VF(b);return Z.jsxs(UF,$(w({id:h?g:p,className:he(T.root,a),centerRipple:!0,focusRipple:!c,disabled:l||h,ref:r},v),{ownerState:b,children:[typeof h=="boolean"&&Z.jsx("span",{className:T.loadingWrapper,style:{display:"contents"},children:Z.jsx(GF,{className:T.loadingIndicator,ownerState:b,children:h&&y})}),i]}))});process.env.NODE_ENV!=="production"&&(On.propTypes={children:lr(u.node,e=>L.Children.toArray(e.children).some(r=>L.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
332
- `)):null),classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),u.string]),disabled:u.bool,disableFocusRipple:u.bool,disableRipple:u.bool,edge:u.oneOf(["end","start",!1]),id:u.string,loading:u.bool,loadingIndicator:u.node,size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function YF({fill:e="rgba(38, 46, 61, 0.67)"}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{fill:e,d:"M11.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zM13 8.878c0-1.27-.499-1.896-1.496-1.878C10.501 7.03 10 7.68 10 8.95c0 .737.17 1.647.51 2.731l.318.98c.081.245.14.413.175.503.197.533.376.811.537.835.15.018.314-.248.493-.8.083-.257.161-.512.233-.763.071-.252.146-.503.224-.755.34-1.12.51-2.054.51-2.803zM11.5 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})})}function qF({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var b,T,E;const[i,a]=S.useState(null),{themeSettings:s}=f.useThemeContext(),{typography:{primaryTextColor:l,secondaryTextColor:c,fontFamily:d}}=s,{t:p}=f.useTranslation(),h=x=>{a(x.currentTarget)},m=()=>{a(null)},v=S.useMemo(()=>e?f.jsx(vt,{variant:"body2",style:{color:l,fontFamily:d,fontSize:13},children:e}):null,[e,l,d]),g=S.useMemo(()=>r.length===0?null:r.map(x=>f.jsxs(f.Fragment,{children:[f.jsx(Fr,{sx:{my:1,borderColor:c,opacity:.3,marginY:"8px"}}),f.jsxs("div",{className:"csdk-flex",children:[f.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:f.jsx(YF,{fill:"#fa5656"})}),f.jsx(vt,{variant:"body2",className:"csdk-grow-1",style:{color:c,fontFamily:d,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,c,d]),y=S.useMemo(()=>t?f.jsxs(f.Fragment,{children:[f.jsx(Fr,{sx:{my:"8px",borderColor:c,opacity:.3}}),f.jsx(vt,{variant:"body2",style:{color:c,fontFamily:d,fontSize:13},children:t})]}):null,[t,c,d]);return f.jsxs(f.Fragment,{children:[f.jsx(hs,{title:p("widgetHeader.info.tooltip"),style:{color:(b=s.chart)==null?void 0:b.textColor,fontFamily:(T=s.typography)==null?void 0:T.fontFamily},children:f.jsx(On,{onClick:h,sx:{p:0},children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:f.jsx("path",{fill:(n==null?void 0:n.titleTextColor)||s.widget.header.titleTextColor,d:"M11.5 20a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zm0-1a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zm-.5-8h1v5h-1v-5zm0-1v-.998h1V10h-1z"})})})}),f.jsx(qc,{open:!!i,position:i?{anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"center"},contentOrigin:{vertical:"top",horizontal:"center"}}:void 0,onClose:m,children:f.jsxs(hv,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[f.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:f.getSlightlyDifferentColor(s.general.backgroundColor)},children:[f.jsx(vt,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:p("widgetHeader.info.details")}),f.jsx(On,{onClick:o,sx:{p:0},children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:f.jsx("path",{fill:(E=s.chart)==null?void 0:E.textColor,d:"M20 12a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm0 0a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm-8-7a7 7 0 0 1 6.267 3.877l1.003-.22A8.001 8.001 0 0 0 4 12l1.003-.22A7 7 0 0 1 12 5zm6.998 3.12A8 8 0 0 0 4 12l1.003-.22a7 7 0 0 1 13.264-2.903l.73-.16v.28l-2.98.016-.017.971h3.985V6h-.987v2.12zm-14.01 9.864H4V14h3.985l-.016.971-2.981.017v2.996z"})})})]}),f.jsx(Fr,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),f.jsxs(gv,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[v,g,y]})]})})]})}const XF=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var c,d,p;const{themeSettings:s}=f.useThemeContext(),l=()=>{var m;const h=f.jsx(f.Fragment,{children:f.jsx(qF,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(m=i==null?void 0:i.renderToolbar)==null?void 0:m.call(i,a,h):h};return f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-items-center csdk-px-2 csdk-min-h-[32px]",style:{backgroundColor:(i==null?void 0:i.backgroundColor)||s.widget.header.backgroundColor},children:[f.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:KF((i==null?void 0:i.titleAlignment)||s.widget.header.titleAlignment),color:(i==null?void 0:i.titleTextColor)||s.widget.header.titleTextColor,fontFamily:(c=s.typography)==null?void 0:c.fontFamily,fontSize:s.widget.header.titleFontSize},children:(p=(d=i==null?void 0:i.renderTitle)==null?void 0:d.call(i,e))!=null?p:e}),f.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:l()})]}),f.get(i,"dividerLine",s.widget.header.dividerLine)&&f.jsx(Fr,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function KF(e){return e.toLowerCase()}const mv=e=>f.jsx(TF,{children:f.jsx(QF,w({},e))}),QF=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var p,h,m;const{errors:l,warnings:c}=uv(),{themeSettings:d}=f.useThemeContext();return f.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden csdk-accessible",children:f.jsx("div",{className:"csdk-h-full",style:{padding:pv[f.get(t,"spaceAround",d.widget.spaceAround)]||"0px"},children:f.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:f.get(t,"border",d.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||d.widget.borderColor,borderRadius:MF[(t==null?void 0:t.cornerRadius)||d.widget.cornerRadius]||0,boxShadow:OF(t,d),display:"flex",flexDirection:"column"},children:[!((p=t==null?void 0:t.header)!=null&&p.hidden)&&f.jsx(XF,{title:r,description:n,dataSetName:e,errorMessages:l,warningMessages:c,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,f.jsx(D0,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((h=d.chart)==null?void 0:h.backgroundColor)}},children:f.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((m=d.chart)==null?void 0:m.backgroundColor)},children:a})}),i]})})})},ZF=e=>{const t=JF(e);return t.config.disabled=!e.config.disabled,t},JF=e=>{const t=f.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function e9(e,t,r){const n={guid:t,excludeMembers:!1,backgroundFilter:r};return f.members(e,[],n)}function gs(e){if(!f.isMembersFilter(e))throw new f.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return e9(t,r,n)}function Hu(e){return"members"in e&&e.members.length===0}function Pt(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function vv(e,t){return e===void 0&&t===void 0?!1:[e,t].some(r=>r===void 0)||e.length!==t.length?!0:e.length===0&&t.length===0?!1:e.some((r,n)=>!f.isEqualWith(r,t[n],yv))}function zu(e,t){return Pt(e.attribute,t.attribute)}function yv(e,t){const r=f.flow(t9,r9);return f.isEqual(r(e),r(t))}function t9(e){return $(w({},e),{name:""})}function r9(e){return $(w({},e),{config:$(w({},e.config),{guid:""})})}function n9(e,t,r,n){if(r===void 0&&n===void 0)return!1;if([r,n].some(i=>i===void 0))return!0;function o(i,a){const s=i,l=i,c=a,d=a;return i===void 0&&a===void 0?!0:[i,a].some(p=>p===void 0)||s.operator!==c.operator?!1:l.instanceid&&d.instanceid?!vv(e==null?void 0:e.filter(p=>p.config.guid===l.instanceid),t==null?void 0:t.filter(p=>p.config.guid===d.instanceid)):o(s.left,c.left)&&o(s.right,c.right)||o(s.left,c.right)&&o(s.right,c.left)}return!o(r,n)}const bv="sdkHookInit",o9=(e,t,r,n)=>{if(!r)return;$h(bv,{packageName:t,packageVersion:"2.4.1",hookName:e},r.httpClient).finally(n)};function i9(e){const{tracking:t,app:r}=f.useSisenseContext(),{trackEvent:n}=_c(),o=S.useRef(!1);S.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"2.4.1",hookName:e};n(bv,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const wv=e=>t=>(...r)=>(i9(e),t(...r));function vc(e,t){switch(t.type){case"loading":return a9(e);case"success":return s9(t.data);case"error":return l9(t.error)}}function a9(e){return e.status==="loading"?e:$(w({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function s9(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function l9(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function xv({enabled:e},t){const r=S.useRef(!1);return S.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var rl=function(){return f.root.Date.now()},c9="Expected a function",u9=Math.max,d9=Math.min;function f9(e,t,r){var n,o,i,a,s,l,c=0,d=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError(c9);t=f.toNumber(t)||0,f.isObject(r)&&(d=!!r.leading,p="maxWait"in r,i=p?u9(f.toNumber(r.maxWait)||0,t):i,h="trailing"in r?!!r.trailing:h);function m(_){var O=n,k=o;return n=o=void 0,c=_,a=e.apply(k,O),a}function v(_){return c=_,s=setTimeout(b,t),d?m(_):a}function g(_){var O=_-l,k=_-c,D=t-O;return p?d9(D,i-k):D}function y(_){var O=_-l,k=_-c;return l===void 0||O>=t||O<0||p&&k>=i}function b(){var _=rl();if(y(_))return T(_);s=setTimeout(b,g(_))}function T(_){return s=void 0,h&&n?m(_):(n=o=void 0,a)}function E(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:T(rl())}function C(){var _=rl(),O=y(_);if(n=arguments,o=this,l=_,O){if(s===void 0)return v(l);if(p)return clearTimeout(s),s=setTimeout(b,t),m(l)}return s===void 0&&(s=setTimeout(b,t)),a}return C.cancel=E,C.flush=x,C}function Wu(e,{onLocalStateChange:t,syncCompareFn:r=f.isEqual}={}){const[n,o]=S.useState(e),i=S.useRef(e);S.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=S.useCallback(s=>{o(l=>{const c=f.isFunction(s)?s(l):s;return t==null||t(c),c})},[t]);return[n,a]}function p9({chartType:e,dataOptions:t,enabled:r}){const[n,o]=S.useState([]),i=S.useMemo(()=>{var h;const p=f.isCartesian(e)&&((h=t.category)==null?void 0:h.length)===1||f.isScatter(e);return r&&p},[r,e,t]),a=S.useMemo(()=>{if(n.length===0)return p=>$(w({},p),{series:p.series.map(h=>$(w({},h),{data:h.data.map(m=>$(w({},m),{selected:!1}))}))});if(f.isScatter(e))return p=>$(w({},p),{series:p.series.map(h=>$(w({},h),{data:h.data.map(m=>$(w({},m),{selected:!n.some(v=>{var g,y;return v.x===m.x&&v.y===m.y&&v.size===m.z&&v.breakByPoint===((g=m.custom)==null?void 0:g.maskedBreakByPoint)&&v.breakByColor===((y=m.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const p=n.reduce((h,{categoryValue:m})=>(m&&(h[`${m}`]=!0),h),{});return h=>$(w({},h),{series:h.series.map(m=>$(w({},m),{data:m.data.map(v=>{var g,y;return p[(y=(g=v.custom)==null?void 0:g.xValue)==null?void 0:y[0]]?v:$(w({},v),{selected:!0})})}))})}},[n,e]),s=S.useMemo(()=>p=>{var h;return $(w({},p),{chart:$(w({},p.chart),{events:$(w({},(h=p.chart)==null?void 0:h.events),{click:()=>{o([])}})})})},[]),l=S.useCallback(p=>(i&&(p=a(p),p=s(p)),p),[a,s,i]),c=S.useCallback(p=>{i&&o(p)},[i]),d=S.useCallback(p=>{i&&o([p])},[i]);return{onBeforeRender:l,onDataPointsSelected:c,onDataPointClick:d}}const Cv=()=>{const e=ma();if(!e)throw new f.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function yc(e){return e&&e.length?Jc(e):[]}function h9(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;){var a=e[o];t(n,a,r(a),e)}return n}function g9(e,t){return function(r,n){if(r==null)return r;if(!f.isArrayLike(r))return e(r,n);for(var o=r.length,i=-1,a=Object(r);++i<o&&n(a[i],i,a)!==!1;);return r}}var m9=g9(f.baseForOwn);function v9(e,t,r,n){return m9(e,function(o,i,a){t(n,o,r(o),a)}),n}function Ev(e,t){return function(r,n){var o=f.isArray(r)?h9:v9,i=t?t():{};return o(r,e,f.baseIteratee(n),i)}}var oi=Ev(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const y9=In(Z.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),b9=de(Yr)(Ye(({theme:e})=>$(w({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]}),{borderRadius:2,"&:hover, &:focus":w({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":w({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:pl(e.palette.grey[200],.12)}:{backgroundColor:pl(e.palette.grey[600],.12)})}))),w9=de(y9)({width:24,height:16});function Tv(e){const i=e,{slots:t={},slotProps:r={}}=i,n=te(i,["slots","slotProps"]),o=e;return Z.jsx("li",{children:Z.jsx(b9,$(w({focusRipple:!0},n),{ownerState:o,children:Z.jsx(w9,w({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(Tv.propTypes={slotProps:u.shape({collapsedIcon:u.oneOfType([u.func,u.object])}),slots:u.shape({CollapsedIcon:u.elementType}),sx:u.object});function x9(e){return Oe("MuiBreadcrumbs",e)}const C9=ke("MuiBreadcrumbs",["root","ol","li","separator"]),E9=e=>{const{classes:t}=e;return Be({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},x9,t)},T9=de(vt,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${C9.li}`]:t.li},t.root]})({}),S9=de("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),R9=de("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function _9(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,Z.jsx(R9,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const Sv=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiBreadcrumbs"}),O=n,{children:o,className:i,component:a="nav",slots:s={},slotProps:l={},expandText:c="Show path",itemsAfterCollapse:d=1,itemsBeforeCollapse:p=1,maxItems:h=8,separator:m="/"}=O,v=te(O,["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),[g,y]=L.useState(!1),b=$(w({},n),{component:a,expanded:g,expandText:c,itemsAfterCollapse:d,itemsBeforeCollapse:p,maxItems:h,separator:m}),T=E9(b),E=Ic({elementType:s.CollapsedIcon,externalSlotProps:l.collapsedIcon,ownerState:b}),x=L.useRef(null),C=k=>{const D=()=>{y(!0);const F=x.current.querySelector("a[href],button,[tabindex]");F&&F.focus()};return p+d>=k.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${d}} + itemsBeforeCollapse={${p}} >= maxItems={${h}}`].join(`
333
- `)),k):[...k.slice(0,p),Z.jsx(Tv,{"aria-label":c,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:E},onClick:D},"ellipsis"),...k.slice(k.length-d,k.length)]},_=L.Children.toArray(o).filter(k=>(process.env.NODE_ENV!=="production"&&kc.isFragment(k)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
334
- `)),L.isValidElement(k))).map((k,D)=>Z.jsx("li",{className:T.li,children:k},`child-${D}`));return Z.jsx(T9,$(w({ref:r,component:a,color:"textSecondary",className:he(T.root,i),ownerState:b},v),{children:Z.jsx(S9,{className:T.ol,ref:x,ownerState:b,children:_9(g||h&&_.length<=h?_:C(_),T.separator,m,b)})}))});process.env.NODE_ENV!=="production"&&(Sv.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,expandText:u.string,itemsAfterCollapse:Ut,itemsBeforeCollapse:Ut,maxItems:Ut,separator:u.node,slotProps:u.shape({collapsedIcon:u.oneOfType([u.func,u.object])}),slots:u.shape({CollapsedIcon:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function M9(e){return Oe("MuiButton",e)}const Or=ke("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","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Rv=L.createContext({});process.env.NODE_ENV!=="production"&&(Rv.displayName="ButtonGroupContext");const _v=L.createContext(void 0);process.env.NODE_ENV!=="production"&&(_v.displayName="ButtonGroupButtonContext");const O9=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,loading:a,loadingPosition:s,classes:l}=e,c={root:["root",a&&"loading",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${fe(s)}`],startIcon:["icon","startIcon",`iconSize${fe(o)}`],endIcon:["icon","endIcon",`iconSize${fe(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=Be(c,M9,l);return w(w({},l),d)},Mv=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],k9=de(Yr,{shouldForwardProp:e=>qo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fe(r.color)}`],t[`size${fe(r.size)}`],t[`${r.variant}Size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(Ye(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return $(w({},e.typography.button),{minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Or.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Or.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Or.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Or.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Cr()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(e.vars||e).palette[n].main,"--variant-outlinedColor":(e.vars||e).palette[n].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.5)`:Ne(e.palette[n].main,.5),"--variant-containedColor":(e.vars||e).palette[n].contrastText,"--variant-containedBg":(e.vars||e).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[n].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette[n].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[n].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette[n].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Or.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Or.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Or.loading}`]:{color:"transparent"}}}]})})),A9=de("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${fe(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Mv]})),I9=de("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${fe(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Mv]})),P9=de("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ah=de("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Ho=L.forwardRef(function(t,r){const n=L.useContext(Rv),o=L.useContext(_v),i=To(n,t),a=Fe({props:i,name:"MuiButton"}),H=a,{children:s,color:l="primary",component:c="button",className:d,disabled:p=!1,disableElevation:h=!1,disableFocusRipple:m=!1,endIcon:v,focusVisibleClassName:g,fullWidth:y=!1,id:b,loading:T=null,loadingIndicator:E,loadingPosition:x="center",size:C="medium",startIcon:_,type:O,variant:k="text"}=H,D=te(H,["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","id","loading","loadingIndicator","loadingPosition","size","startIcon","type","variant"]),F=Ia(b),W=E!=null?E:Z.jsx(Bu,{"aria-labelledby":F,color:"inherit",size:16}),R=$(w({},a),{color:l,component:c,disabled:p,disableElevation:h,disableFocusRipple:m,fullWidth:y,loading:T,loadingIndicator:W,loadingPosition:x,size:C,type:O,variant:k}),A=O9(R),B=(_||T&&x==="start")&&Z.jsx(A9,{className:A.startIcon,ownerState:R,children:_||Z.jsx(ah,{className:A.loadingIconPlaceholder,ownerState:R})}),j=(v||T&&x==="end")&&Z.jsx(I9,{className:A.endIcon,ownerState:R,children:v||Z.jsx(ah,{className:A.loadingIconPlaceholder,ownerState:R})}),N=o||"",I=typeof T=="boolean"?Z.jsx("span",{className:A.loadingWrapper,style:{display:"contents"},children:T&&Z.jsx(P9,{className:A.loadingIndicator,ownerState:R,children:W})}):null;return Z.jsxs(k9,$(w({ownerState:R,className:he(n.className,A.root,d,N),component:c,disabled:p||T,focusRipple:!m,focusVisibleClassName:he(A.focusVisible,g),ref:r,type:O,id:T?F:b},D),{classes:A,children:[B,x!=="end"&&I,s,x==="end"&&I,j]}))});process.env.NODE_ENV!=="production"&&(Ho.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","primary","secondary","success","error","info","warning"]),u.string]),component:u.elementType,disabled:u.bool,disableElevation:u.bool,disableFocusRipple:u.bool,disableRipple:u.bool,endIcon:u.node,focusVisibleClassName:u.string,fullWidth:u.bool,href:u.string,id:u.string,loading:u.bool,loadingIndicator:u.node,loadingPosition:u.oneOf(["center","end","start"]),size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),startIcon:u.node,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),type:u.oneOfType([u.oneOf(["button","reset","submit"]),u.string]),variant:u.oneOfType([u.oneOf(["contained","outlined","text"]),u.string])});const D9=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=f.useTranslation(),i=t.name,a=f.newStyled(Ho,{target:"e1olvz1k0",label:"StyledCancelButton"})("&&{background-color:",n.activeDrillBackgroundColor,";color:",n.primaryButtonTextColor,";border-radius:100%;border:2px solid white;min-width:39px;width:39px;height:39px;z-index:10;padding:7px;cursor:pointer;text-transform:none;margin-right:-5px;&:hover{background-color:",n.activeDrillHoverBackgroundColor,";color:",n.primaryTextColor,";}}"),s=f.newStyled("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),l=()=>f.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:f.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:f.jsx("path",{fill:"#9EA2AB",d:"M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"})})}),c=f.newStyled(Ho,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",p=>p.theme.fontFamily,";border-radius:0;border:1px solid ",Yt,";background-color:",p=>p.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",p=>p.theme.secondaryTextColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;transition:background-color 0.2s,border-color 0.2s,color 0.2s;text-transform:none;cursor:auto;pointer-events:none;white-space:nowrap;&:hover{background-color:",p=>p.theme.chartBackgroundColor,";border:1px solid ",Yt,";border-right:none;border-left:none;}}");return{CancelButton:l,CurrentDrillButton:()=>f.jsxs(c,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",f.jsx("span",{className:"flex items-center justify-between",children:f.jsx("span",{className:"csdk-absolute csdk-right-[0px] csdk-top-[3px] csdk-h-[18px] csdk-w-[18px] csdk-transform csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:"transparent",borderTop:`1px solid ${Yt}`,borderRight:`1px solid ${Yt}`}})})]})}},$9={modifiers:[{name:"offset",options:{offset:[0,12]}}]},N9=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=f.useTranslation();return f.jsxs("div",{className:"csdk-w-50 csdk-px-[12px] csdk-shadow-md csdk-shadow-gray-500 csdk-rounded-md csdk-bg-white",style:{backgroundColor:e.chartBackgroundColor,color:e.primaryTextColor},children:[f.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),f.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),f.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},L9=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return f.jsx(ni,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:$9,children:e&&f.jsx(N9,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},F9=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=f.useThemeContext(),s=f.scaleBrightness(a,-.02),l=f.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:l}},j9=f.newStyled(On,{target:"egcu0nk0",label:"StyledPrevButton"})("&&{position:absolute;left:0;right:auto;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,white 30%,rgba(255,255,255,0) 100%);display:inline-flex;span[aria-label='prev-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"),B9=f.newStyled(On,{target:"egcu0nk1",label:"StyledNextButton"})("&&{position:absolute;left:auto;right:0;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,rgba(255,255,255,0) 0,white 70%);display:inline-flex;span[aria-label='next-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"),H9=({currentDimension:e,children:t})=>{const{t:r}=f.useTranslation(),n=S.useRef(null),[o,i]=S.useState(0),[a,s]=S.useState(0),[l,c]=S.useState(0),d=()=>{var v;return(v=n.current)==null?void 0:v.querySelector("ol")};S.useEffect(()=>{const v=d();if(v){const g=v.clientWidth,y=v.scrollWidth,b=v.scrollLeft;i(g),s(y),c(b)}},[e]),S.useEffect(()=>{const v=d();function g(){if(v){const T=v.clientWidth;i(T)}}function y(){if(v){const T=v.scrollLeft;c(T)}}const b=new ResizeObserver(g);return v?(b.observe(v),v.addEventListener("scroll",y),()=>{b.disconnect(),v.removeEventListener("scroll",y)}):()=>{}},[]);const p=v=>{const y="smooth",b=d();b&&b.scrollBy({left:v==="right"?200:-200,behavior:y})},h=l!=0,m=Math.floor(a-l)>o;return f.jsxs("div",{style:{position:"relative"},children:[h&&f.jsx(j9,{onClick:()=>p("left"),children:f.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),m&&f.jsx(B9,{onClick:()=>p("right"),children:f.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),f.jsx("div",{ref:n,children:t})]})},Yt="#F2F2F2",z9=f.newStyled(Ho,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",Yt,";border-right:none;color:",({active:e,theme:t})=>e==="true"?t.primaryTextColor:t.secondaryTextColor,";background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillBackgroundColor:t.chartBackgroundColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;text-transform:none;transition:background-color 0.2s,border-color 0.2s,color 0.2s;white-space:nowrap;cursor:",({active:e})=>e==="true"?"pointer":"auto",";margin-right:",({active:e})=>e==="true"?"5px":"0px",";&:hover{background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillHoverBackgroundColor:t.chartBackgroundColor,";border:1px solid ",Yt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),W9=f.newStyled(Sv,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),V9=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>f.jsx(z9,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:f.jsxs("span",{className:"flex items-center justify-between",children:[f.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?f.jsx("span",{className:"csdk-absolute csdk-right-0 csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:t===(a==null?void 0:a.filterDisplayValues)?i.activeDrillHoverBackgroundColor:i.activeDrillBackgroundColor,borderTop:`1px solid ${Yt}`,borderRight:`1px solid ${Yt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,f.jsx("span",{className:`csdk-absolute ${e?"csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-right-[-15px]":"csdk-h-[10px] csdk-w-[10px] csdk-top-[7px] csdk-right-[-5px]"} csdk-transform translate-x-1/2 csdk-rotate-45`,style:{backgroundColor:i.chartBackgroundColor,borderTop:`1px solid ${Yt}`,borderRight:`1px solid ${Yt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),Ov=Xo({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=S.useState(null),[a,s]=S.useState(!1),l=F9(),{CancelButton:c,CurrentDrillButton:d}=D9({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:l}),p=g=>y=>{s(!0),i({filterDisplayValues:g,anchorEl:y.currentTarget})},h=()=>{s(!1),i(null)},m=g=>g<e.length-1,v=g=>g===e.length-2;return e.length?f.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:f.jsx(H9,{currentDimension:t,children:f.jsxs(W9,{separator:null,sx:{backgroundColor:l.chartBackgroundColor,padding:"4px"},children:[f.jsx(c,{}),e.map((g,y)=>{const b=m(y),T=v(y);return f.jsx("div",{children:f.jsx(V9,{isActive:b,isLastActive:T,filterDisplayValue:g,handleMouseEnter:p(g),handleMouseLeave:h,handleClick:()=>n(y+1),themeProps:l,popperParams:o,index:y})},y)}),f.jsx(d,{}),f.jsx(L9,{popperParams:o,currentDimension:t,themeProps:l})]})})}):null}),kv=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=S.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=S.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=f.useTranslation();if(!t)throw new f.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=Wu(o,{onLocalStateChange:r}),l=S.useMemo(()=>[f.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),c=S.useMemo(()=>n.filter(y=>{if(f.MetadataTypes.isAttribute(y)){const E=y;return l.every(x=>!Pt(x,E))}const T=y;return l.every((E,x)=>Pt(E,T.levels[x]))}),[n,l]),d=S.useCallback((y,b,T)=>{s(E=>Av(E,y,b,T))},[s]),p=S.useCallback(y=>{s(b=>b.slice(0,y))},[s]),h=S.useCallback(()=>{s([])},[s]),{drilldownFilters:m,drilldownFiltersDisplayValues:v,drilldownDimension:g}=S.useMemo(()=>Iv(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:c,drilldownFilters:m,drilldownFiltersDisplayValues:v,drilldownDimension:g,selectDrilldown:d,sliceDrilldownSelections:p,clearDrilldownSelections:h}},Av=(e,t,r,n)=>{var h,m;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(Pt(n.levels[0],r))return[];const i=(h=e==null?void 0:e.findIndex(v=>Pt(v.nextDimension,r)))!=null?h:-1;if(i!==-1)return e.slice(0,i+1);const s=(m=f.last(e))==null?void 0:m.nextDimension,l=e.length?n.levels.findIndex(v=>s&&Pt(v,s)):0,c=n.levels.indexOf(r),p=n.levels.slice(l+1,c+1).map((v,g)=>({points:g===0?t:[],nextDimension:v}));return[...e,...p]},Iv=(e,t,r)=>{let n=t&&f.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(f.members(n,a.map(U9)));const l=a.length?a.map(Pv):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(l),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function Pv(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function U9(e){return"categoryValue"in e?`${e.categoryValue}`:""}var G9=Object.prototype,Y9=G9.hasOwnProperty,q9=Ev(function(e,t,r){Y9.call(e,r)?e[r].push(t):f.baseAssignValue(e,r,[t])});function X9(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function Dv(e,t){return e.find(r=>Pt(r.attribute,t))}function $v(e,t,r){const n=Dv(r,e);return f.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function Nv(e,t){return zu(e,t)&&"members"in e&&"members"in t&&f.isEqual(e.members,t.members)}var la=function(e){return e.WIDGET_POINTS_DRILLDOWN="widget-points-drilldown",e.WIDGET_POINTS_CROSSFILTERING="widget-points-crossfiltering",e}({}),zo=function(e){return e.DRILLDOWN_CHART_POINTS_SELECTION="drilldown-chart-points-selection",e.DRILLDOWN_DRILL_DIRECTIONS="drilldown-drill-directions",e.CROSSFILTERING_CHART_POINTS_SELECTION="crossfiltering-chart-points-selection",e}({});const Lv=2;function Bn(e,t){const r=e.flatMap(({entries:o={}})=>t.flatMap(i=>{const a=o[i];return a?(Array.isArray(a)?a:[a]).filter(({attribute:l})=>!!l):[]})),n=q9(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:yc(o.map(({value:i})=>i)),displayValues:yc(o.map(({displayValue:i})=>i))}))}function K9(e){return Bn(e,["category"])}function Q9(e){return Bn(e,["category"])}function Z9(e,t){const r=Bn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:f.translateColumnToAttribute(o),values:[],displayValues:[]})}function J9(e){return Bn(e,["x","y","breakByPoint","breakByColor"])}function ej(e){return Bn(e,["geo"])}function tj(e){return Bn(e,["geo"])}function Hi(e,t,r){return e==="custom"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?Z9(r,t):f.isCartesian(e)||e==="pie"||e==="funnel"?K9(r):f.isBoxplot(e)?Q9(r):f.isScatter(e)?J9(r):f.isScattermap(e)?ej(r):f.isAreamap(e)?tj(r):[]}function Vu(e,t){let r=[];return e==="custom"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:f.isCartesian(e)||f.isCategorical(e)||f.isBoxplot(e)||f.isRange(e)?r=[...t.category]:f.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!f.isMeasureColumn(n))):(f.isScattermap(e)||f.isAreamap(e))&&(r=[...t.geo]),r.map(f.translateColumnToAttribute)}function rj(e,t,r){const n=Dv(t,e.attribute);if(!n||Hu(n))return null;if(Nv(e,n))return gs(e);if(f.isMembersFilter(n)&&r){const[o,i]=oi(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return $v(e.attribute,i,[n])}return null}function nj(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>rj(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function nl(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>$v(i,a,t)),o=oj(t,n);return nj(o,t,r)}function oj(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>zu(o,n))):t}function ij(e,t,r){const n=Hi(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>Lv;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function sh(e,t,r){const n=ij(e,t,r);return n?{id:zo.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function lh(e,t){return{items:[{caption:e,onClick:t}]}}const aj=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=f.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:l,drilldownDimension:c,selectDrilldown:d,sliceDrilldownSelections:p,clearDrilldownSelections:h}=kv({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),m=S.useCallback((g,y)=>{const b=[Fv(y,c),jv(a,c,(T,E)=>{d(y,T,E)},i)];n({id:la.WIDGET_POINTS_DRILLDOWN,position:g,itemSections:b})},[c,a,i,d,n]),v=S.useMemo(()=>c&&f.jsx(Ov,{filtersDisplayValues:l,currentDimension:c,clearDrilldownSelections:h,sliceDrilldownSelections:p}),[h,c,l,p]);return{drilldownDimension:c,drilldownFilters:s,breadcrumbs:v,openDrilldownMenu:m}};function Fv(e,t){const r=yc(e.map(Pv).filter(n=>!!n));return r.length>Lv?{id:zo.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:zo.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function sj(e){return 30+12*e}function jv(e,t,r,n){const[o,i]=oi(e,f.MetadataTypes.isAttribute.bind(f.MetadataTypes)),a=o.map(l=>({caption:l.name,onClick:()=>r(l)})),s=i.map(l=>({caption:l.title,subItems:[{items:l.levels.map((c,d)=>({caption:c.name,class:d===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${sj(d)}px`},disabled:Pt(c,t),onClick:()=>r(c,l)}))}]}));return{id:zo.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var ms=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Bv(e){return function(t){t=f.toString(t);var r=F0(t)?Sl(t):void 0,n=r?r[0]:t.charAt(0),o=r?L0(r,1).join(""):t.slice(1);return n[e]()+o}}var Hv=Bv("toUpperCase");function lj(e){return Hv(f.toString(e).toLowerCase())}function cj(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;)r=t(r,e[o],o,e);return r}function uj(e){return function(t){return e==null?void 0:e[t]}}var dj={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},fj=uj(dj),pj=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hj="\\u0300-\\u036f",gj="\\ufe20-\\ufe2f",mj="\\u20d0-\\u20ff",vj=hj+gj+mj,yj="["+vj+"]",bj=RegExp(yj,"g");function wj(e){return e=f.toString(e),e&&e.replace(pj,fj).replace(bj,"")}var xj=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Cj(e){return e.match(xj)||[]}var Ej=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Tj(e){return Ej.test(e)}var zv="\\ud800-\\udfff",Sj="\\u0300-\\u036f",Rj="\\ufe20-\\ufe2f",_j="\\u20d0-\\u20ff",Mj=Sj+Rj+_j,Wv="\\u2700-\\u27bf",Vv="a-z\\xdf-\\xf6\\xf8-\\xff",Oj="\\xac\\xb1\\xd7\\xf7",kj="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Aj="\\u2000-\\u206f",Ij=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Uv="A-Z\\xc0-\\xd6\\xd8-\\xde",Pj="\\ufe0e\\ufe0f",Gv=Oj+kj+Aj+Ij,Yv="['’]",ch="["+Gv+"]",Dj="["+Mj+"]",qv="\\d+",$j="["+Wv+"]",Xv="["+Vv+"]",Kv="[^"+zv+Gv+qv+Wv+Vv+Uv+"]",Nj="\\ud83c[\\udffb-\\udfff]",Lj="(?:"+Dj+"|"+Nj+")",Fj="[^"+zv+"]",Qv="(?:\\ud83c[\\udde6-\\uddff]){2}",Zv="[\\ud800-\\udbff][\\udc00-\\udfff]",pn="["+Uv+"]",jj="\\u200d",uh="(?:"+Xv+"|"+Kv+")",Bj="(?:"+pn+"|"+Kv+")",dh="(?:"+Yv+"(?:d|ll|m|re|s|t|ve))?",fh="(?:"+Yv+"(?:D|LL|M|RE|S|T|VE))?",Jv=Lj+"?",e1="["+Pj+"]?",Hj="(?:"+jj+"(?:"+[Fj,Qv,Zv].join("|")+")"+e1+Jv+")*",zj="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Wj="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vj=e1+Jv+Hj,Uj="(?:"+[$j,Qv,Zv].join("|")+")"+Vj,Gj=RegExp([pn+"?"+Xv+"+"+dh+"(?="+[ch,pn,"$"].join("|")+")",Bj+"+"+fh+"(?="+[ch,pn+uh,"$"].join("|")+")",pn+"?"+uh+"+"+dh,pn+"+"+fh,Wj,zj,qv,Uj].join("|"),"g");function Yj(e){return e.match(Gj)||[]}function qj(e,t,r){return e=f.toString(e),t=t,t===void 0?Tj(e)?Yj(e):Cj(e):e.match(t)||[]}var Xj="['’]",Kj=RegExp(Xj,"g");function Qj(e){return function(t){return cj(qj(wj(t).replace(Kj,"")),e,"")}}var t1=Qj(function(e,t,r){return t=t.toLowerCase(),e+(r?lj(t):t)});function Zj(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>f.createDimensionalElementFromJaql(o))}}function r1(e,t,r){return _t(this,null,function*(){const o=yield new f.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>Zj(i))})}const Jj=wv("useGetHierarchyModels")(n1);function n1(e){const t=ju(e,["dataSource","dimension","ids","alwaysIncluded"]),r=xv(e,t),[n,o]=S.useReducer(vc,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=f.useSisenseContext();return S.useEffect(()=>{i||o({type:"error",error:new f.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),r1(a.httpClient,e,a.defaultDataSource).then(s=>{o({type:"success",data:s})}).catch(s=>{o({type:"error",error:s})}))},[a,i,e,r]),n.data&&t?ph(vc(n,{type:"loading"})):ph(n)}function ph(e){const n=e,{data:t}=n,r=te(n,["data"]);return $(w({},r),{hierarchies:t})}function eB({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=S.useMemo(()=>oi(r,f.isString),[r]),{hierarchies:a=[]}=n1({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return S.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function tB(e,t){return Vu(e,t)[0]}function rB(e){return[...f.CARTESIAN_CHART_TYPES,...f.CATEGORICAL_CHART_TYPES,...f.SCATTER_CHART_TYPES,...f.BOXPLOT_CHART_TYPES,...f.RANGE_CHART_TYPES].includes(e)}function nB(e,t){return Vu(e,t).length===1}function oB(e,t){return nB(e,t)&&rB(e)}function o1(e,t,r){const n=o=>!!o&&!Pt(r,f.translateColumnToAttribute(o));if(f.isCartesian(e)||f.isCategorical(e)||f.isBoxplot(e)||f.isRange(e)){const o=t.category[0];if(n(o))return $(w({},t),{category:[r]})}else if(f.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!f.isMeasureColumn(s)&&n(s))return $(w({},o),{[a]:r})}}return t}function hh(e,t,r){return e.map(n=>{const o=["x","y","breakByPoint","breakByColor"],i=[...o,"size"].some(s=>s in n),a=o.find(s=>r[s]&&!f.isMeasureColumn(r[s]));if(i){const s=t,l=s.type==="mouseup";l&&console.warn("No drilldown support for multi-selection in scatter chart");const c=l?n[a]:s.point.options.custom[t1(`{masked ${a}`)];return{categoryValue:c,categoryDisplayValue:c}}return n})}const iB=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=Cv(),l=S.useMemo(()=>oB(r,n),[r,n]),c=S.useMemo(()=>(i==null?void 0:i.drilldownPaths)||[],[i==null?void 0:i.drilldownPaths]),d=S.useMemo(()=>{const k=f.createAttribute({name:"dummy drilldown initial attribute"});return tB(r,n)||k},[r,n]),p=eB({attribute:d,dataSource:o,drilldownPaths:c,enabled:l}),h=S.useMemo(()=>{var D;return(((D=i==null?void 0:i.drilldownSelections)==null?void 0:D.length)||(p==null?void 0:p.length))&&l},[i,l,p]),{drilldownDimension:m,drilldownFilters:v,breadcrumbs:g,openDrilldownMenu:y}=aj({initialDimension:d,drilldownSelections:a,drilldownPaths:p,openMenu:s,onDrilldownSelectionsChange:t}),b=S.useCallback((k,D)=>{const F=hh(k,D,n);y({left:D.clientX,top:D.clientY},F)},[n,y]),T=S.useCallback((k,D)=>{const F=hh([k],D,n);y({left:D.clientX,top:D.clientY},F)},[n,y]),E=S.useMemo(()=>o1(r,n,m),[r,n,m]),x=S.useMemo(()=>v.length?Oh(e.filters||[],v):e.filters,[e.filters,v]),C=S.useMemo(()=>f.combineHandlers([b,e.onDataPointsSelected]),[b,e.onDataPointsSelected]),_=S.useMemo(()=>f.combineHandlers([T,e.onDataPointContextMenu]),[T,e.onDataPointContextMenu]);return{propsWithDrilldown:w(w({},e),h&&{dataOptions:E,filters:x,onDataPointsSelected:C,onDataPointContextMenu:_}),isDrilldownEnabled:h,breadcrumbs:g}},aB=Xo({componentName:"ChartWidget"})(e=>{var k,D;const{app:t}=f.useSisenseContext(),{chartType:r,dataSource:n=t==null?void 0:t.defaultDataSource,dataOptions:o,styleOptions:i,highlightSelectionDisabled:a=!1,highlights:s,description:l,onChange:c}=e,{width:d,height:p}=i||{},h=K0(r,{hasHeader:!((k=i==null?void 0:i.header)!=null&&k.hidden)}),[m,v]=S.useState(0),g=S.useMemo(()=>f.omit(i,["width","height"]),[i]),y=S.useCallback(F=>{c==null||c({drilldownOptions:{drilldownSelections:F}})},[c]),{propsWithDrilldown:b,isDrilldownEnabled:T,breadcrumbs:E}=iB({propsToExtend:e,onDrilldownSelectionsChange:y}),x=p9({chartType:r,dataOptions:o,enabled:!a&&!T&&!(s!=null&&s.length)}),C=(D=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:D.enabled,_=S.useCallback(F=>{var W;return C?$(w({},F),{accessibility:$(w({},F.accessibility),{description:l!=null?l:(W=F.accessibility)==null?void 0:W.description})}):F},[l,C]);if(!r||!o)return null;const O=$(w({},b),{dataSet:n,styleOptions:g,refreshCounter:m,onDataPointClick:S.useMemo(()=>f.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:b.onDataPointContextMenu,onDataPointsSelected:S.useMemo(()=>f.combineHandlers([x.onDataPointsSelected,b.onDataPointsSelected]),[x.onDataPointsSelected,b.onDataPointsSelected]),onBeforeRender:S.useMemo(()=>f.combineHandlers([_,x.onBeforeRender,e.onBeforeRender],!0),[_,x.onBeforeRender,e.onBeforeRender])});return f.jsx(Fa,{defaultSize:h,size:{width:d,height:p},children:f.jsx(mv,$(w({},e),{topSlot:f.jsxs(f.Fragment,{children:[e.topSlot,E]}),dataSetName:n&&f.getDataSourceName(n),onRefresh:()=>v(m+1),children:f.jsx(dv,w({},O))}))})});class Hn{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const r={listener:t};return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Wo=typeof window=="undefined"||"Deno"in window;function Mt(){}function sB(e,t){return typeof e=="function"?e(t):e}function bc(e){return typeof e=="number"&&e>=0&&e!==1/0}function i1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function uo(e,t,r){return ii(e)?typeof t=="function"?$(w({},r),{queryKey:e,queryFn:t}):$(w({},t),{queryKey:e}):e}function lB(e,t,r){return ii(e)?$(w({},t),{mutationKey:e}):typeof e=="function"?$(w({},t),{mutationFn:e}):w({},e)}function hr(e,t,r){return ii(e)?[$(w({},t),{queryKey:e}),r]:[e||{},t]}function gh(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(ii(a)){if(n){if(t.queryHash!==Uu(a,t.options))return!1}else if(!mn(t.queryKey,a))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function mh(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(ii(i)){if(!t.options.mutationKey)return!1;if(r){if(Lr(t.options.mutationKey)!==Lr(i))return!1}else if(!mn(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function Uu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Lr)(e)}function Lr(e){return JSON.stringify(e,(t,r)=>wc(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function mn(e,t){return a1(e,t)}function a1(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!a1(e[r],t[r])):!1}function s1(e,t){if(e===t)return e;const r=vh(e)&&vh(t);if(r||wc(e)&&wc(t)){const n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{};let s=0;for(let l=0;l<i;l++){const c=r?l:o[l];a[c]=s1(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function ca(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function vh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function wc(e){if(!yh(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!yh(r)||!r.hasOwnProperty("isPrototypeOf"))}function yh(e){return Object.prototype.toString.call(e)==="[object Object]"}function ii(e){return Array.isArray(e)}function l1(e){return new Promise(t=>{setTimeout(t,e)})}function bh(e){l1(0).then(e)}function cB(){if(typeof AbortController=="function")return new AbortController}function xc(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?s1(e,t):t}class uB extends Hn{constructor(){super(),this.setup=t=>{if(!Wo&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),window.addEventListener("focus",r,!1),()=>{window.removeEventListener("visibilitychange",r),window.removeEventListener("focus",r)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const ua=new uB,wh=["online","offline"];class dB extends Hn{constructor(){super(),this.setup=t=>{if(!Wo&&window.addEventListener){const r=()=>t();return wh.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{wh.forEach(n=>{window.removeEventListener(n,r)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setOnline(n):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const da=new dB;function fB(e){return Math.min(1e3*Bt(2,e),3e4)}function vs(e){return(e!=null?e:"online")==="online"?da.isOnline():!0}class c1{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function zi(e){return e instanceof c1}function u1(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,b)=>{i=y,a=b}),l=y=>{n||(m(new c1(y)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},p=()=>!ua.isFocused()||e.networkMode!=="always"&&!da.isOnline(),h=y=>{n||(n=!0,e.onSuccess==null||e.onSuccess(y),o==null||o(),i(y))},m=y=>{n||(n=!0,e.onError==null||e.onError(y),o==null||o(),a(y))},v=()=>new Promise(y=>{o=b=>{const T=n||!p();return T&&y(b),T},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),g=()=>{if(n)return;let y;try{y=e.fn()}catch(b){y=Promise.reject(b)}Promise.resolve(y).then(h).catch(b=>{var T,E;if(n)return;const x=(T=e.retry)!=null?T:3,C=(E=e.retryDelay)!=null?E:fB,_=typeof C=="function"?C(r,b):C,O=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,b);if(t||!O){m(b);return}r++,e.onFail==null||e.onFail(r,b),l1(_).then(()=>{if(p())return v()}).then(()=>{t?m(b):g()})})};return vs(e.networkMode)?g():v().then(g),{promise:s,cancel:l,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:c,continueRetry:d}}const Gu=console;function pB(){let e=[],t=0,r=d=>{d()},n=d=>{d()};const o=d=>{let p;t++;try{p=d()}finally{t--,t||s()}return p},i=d=>{t?e.push(d):bh(()=>{r(d)})},a=d=>(...p)=>{i(()=>{d(...p)})},s=()=>{const d=e;e=[],d.length&&bh(()=>{n(()=>{d.forEach(p=>{r(p)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{n=d}}}const Ge=pB();class d1{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bc(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Wo?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class hB extends d1{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Gu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||gB(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=w(w({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=xc(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){this.dispatch({type:"setState",state:t,setStateOptions:r})}cancel(t){var r;const n=this.promise;return(r=this.retryer)==null||r.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!i1(this.state.dataUpdatedAt,t)}onFocus(){var t;const r=this.observers.find(n=>n.shouldFetchOnWindowFocus());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const r=this.observers.find(n=>n.shouldFetchOnReconnect());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,r){var n,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&r!=null&&r.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(v=>v.options.queryFn);m&&this.setOptions(m.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const a=cB(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),d={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(d),(n=this.options.behavior)==null||n.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=d.fetchOptions)==null?void 0:o.meta)){var p;this.dispatch({type:"fetch",meta:(p=d.fetchOptions)==null?void 0:p.meta})}const h=m=>{if(zi(m)&&m.silent||this.dispatch({type:"error",error:m}),!zi(m)){var v,g,y,b;(v=(g=this.cache.config).onError)==null||v.call(g,m,this),(y=(b=this.cache.config).onSettled)==null||y.call(b,this.state.data,m,this),process.env.NODE_ENV!=="production"&&this.logger.error(m)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=u1({fn:d.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:m=>{var v,g,y,b;if(typeof m=="undefined"){process.env.NODE_ENV!=="production"&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),h(new Error(this.queryHash+" data is undefined"));return}this.setData(m),(v=(g=this.cache.config).onSuccess)==null||v.call(g,m,this),(y=(b=this.cache.config).onSettled)==null||y.call(b,m,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:h,onFail:(m,v)=>{this.dispatch({type:"failed",failureCount:m,error:v})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return $(w({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return $(w({},n),{fetchStatus:"paused"});case"continue":return $(w({},n),{fetchStatus:"fetching"});case"fetch":return w($(w({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:vs(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return w($(w({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const a=t.error;return zi(a)&&a.revert&&this.revertState?$(w({},this.revertState),{fetchStatus:"idle"}):$(w({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return $(w({},n),{isInvalidated:!0});case"setState":return w(w({},n),t.state)}};this.state=r(this.state),Ge.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function gB(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof t!="undefined",n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n!=null?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}class mB extends Hn{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,r,n){var o;const i=r.queryKey,a=(o=r.queryHash)!=null?o:Uu(i,r);let s=this.get(a);return s||(s=new hB({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const r=this.queriesMap[t.queryHash];r&&(t.destroy(),this.queries=this.queries.filter(n=>n!==t),r===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=hr(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>gh(n,o))}findAll(t,r){const[n]=hr(t,r);return Object.keys(n).length>0?this.queries.filter(o=>gh(n,o)):this.queries}notify(t){Ge.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){Ge.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class vB extends d1{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Gu,this.observers=[],this.state=t.state||f1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=w(w({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,r;return(t=(r=this.retryer)==null?void 0:r.continue())!=null?t:this.execute()}execute(){return _t(this,null,function*(){const t=()=>{var O;return this.retryer=u1({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(k,D)=>{this.dispatch({type:"failed",failureCount:k,error:D})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(O=this.options.retry)!=null?O:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,l,c,d;if(!r){var p,h,m,v;this.dispatch({type:"loading",variables:this.options.variables}),yield(p=(h=this.mutationCache.config).onMutate)==null?void 0:p.call(h,this.state.variables,this);const k=yield(m=(v=this.options).onMutate)==null?void 0:m.call(v,this.state.variables);k!==this.state.context&&this.dispatch({type:"loading",context:k,variables:this.state.variables})}const O=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,O,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,O,this.state.variables,this.state.context),yield(s=(l=this.mutationCache.config).onSettled)==null?void 0:s.call(l,O,null,this.state.variables,this.state.context,this),yield(c=(d=this.options).onSettled)==null?void 0:c.call(d,O,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:O}),O}catch(O){try{var g,y,b,T,E,x,C,_;throw yield(g=(y=this.mutationCache.config).onError)==null?void 0:g.call(y,O,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(O),yield(b=(T=this.options).onError)==null?void 0:b.call(T,O,this.state.variables,this.state.context),yield(E=(x=this.mutationCache.config).onSettled)==null?void 0:E.call(x,void 0,O,this.state.variables,this.state.context,this),yield(C=(_=this.options).onSettled)==null?void 0:C.call(_,void 0,O,this.state.variables,this.state.context),O}finally{this.dispatch({type:"error",error:O})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return $(w({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return $(w({},n),{isPaused:!0});case"continue":return $(w({},n),{isPaused:!1});case"loading":return $(w({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!vs(this.options.networkMode),status:"loading",variables:t.variables});case"success":return $(w({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return $(w({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return w(w({},n),t.state)}};this.state=r(this.state),Ge.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function f1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class yB extends Hn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new vB({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(r),state:n,defaultOptions:r.mutationKey?t.getMutationDefaults(r.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(r=>r!==t),this.notify({type:"removed",mutation:t})}clear(){Ge.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(r=>mh(t,r))}findAll(t){return this.mutations.filter(r=>mh(t,r))}notify(t){Ge.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const r=this.mutations.filter(n=>n.state.isPaused);return Ge.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(Mt)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function bB(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,i,a;const s=(t=e.fetchOptions)==null||(r=t.meta)==null?void 0:r.refetchPage,l=(n=e.fetchOptions)==null||(o=n.meta)==null?void 0:o.fetchMore,c=l==null?void 0:l.pageParam,d=(l==null?void 0:l.direction)==="forward",p=(l==null?void 0:l.direction)==="backward",h=((i=e.state.data)==null?void 0:i.pages)||[],m=((a=e.state.data)==null?void 0:a.pageParams)||[];let v=m,g=!1;const y=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>{var O;if((O=e.signal)!=null&&O.aborted)g=!0;else{var k;(k=e.signal)==null||k.addEventListener("abort",()=>{g=!0})}return e.signal}})},b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),T=(_,O,k,D)=>(v=D?[O,...v]:[...v,O],D?[k,..._]:[..._,k]),E=(_,O,k,D)=>{if(g)return Promise.reject("Cancelled");if(typeof k=="undefined"&&!O&&_.length)return Promise.resolve(_);const F={queryKey:e.queryKey,pageParam:k,meta:e.options.meta};y(F);const W=b(F);return Promise.resolve(W).then(A=>T(_,k,A,D))};let x;if(!h.length)x=E([]);else if(d){const _=typeof c!="undefined",O=_?c:xh(e.options,h);x=E(h,_,O)}else if(p){const _=typeof c!="undefined",O=_?c:wB(e.options,h);x=E(h,_,O,!0)}else{v=[];const _=typeof e.options.getNextPageParam=="undefined";x=(s&&h[0]?s(h[0],0,h):!0)?E([],_,m[0]):Promise.resolve(T([],m[0],h[0]));for(let k=1;k<h.length;k++)x=x.then(D=>{if(s&&h[k]?s(h[k],k,h):!0){const W=_?m[k]:xh(e.options,D);return E(D,_,W)}return Promise.resolve(T(D,m[k],h[k]))})}return x.then(_=>({pages:_,pageParams:v}))}}}}function xh(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function wB(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class xB{constructor(t={}){this.queryCache=t.queryCache||new mB,this.mutationCache=t.mutationCache||new yB,this.logger=t.logger||Gu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,process.env.NODE_ENV!=="production"&&t.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=ua.subscribe(()=>{ua.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=da.subscribe(()=>{da.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,r;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(r=this.unsubscribeOnline)==null||r.call(this),this.unsubscribeOnline=void 0)}isFetching(t,r){const[n]=hr(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll($(w({},t),{fetching:!0})).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}ensureQueryData(t,r,n){const o=uo(t,r,n),i=this.getQueryData(o.queryKey);return i?Promise.resolve(i):this.fetchQuery(o)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:r,state:n})=>{const o=n.data;return[r,o]})}setQueryData(t,r,n){const o=this.queryCache.find(t),i=o==null?void 0:o.state.data,a=sB(r,i);if(typeof a=="undefined")return;const s=uo(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,$(w({},n),{manual:!0}))}setQueriesData(t,r,n){return Ge.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,r,n)]))}getQueryState(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state}removeQueries(t,r){const[n]=hr(t,r),o=this.queryCache;Ge.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=hr(t,r,n),a=this.queryCache,s=w({type:"active"},o);return Ge.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=hr(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=Ge.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(Mt).catch(Mt)}invalidateQueries(t,r,n){const[o,i]=hr(t,r,n);return Ge.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(c=>{c.invalidate()}),o.refetchType==="none")return Promise.resolve();const l=$(w({},o),{type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"});return this.refetchQueries(l,i)})}refetchQueries(t,r,n){const[o,i]=hr(t,r,n),a=Ge.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,$(w({},i),{cancelRefetch:(c=i==null?void 0:i.cancelRefetch)!=null?c:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(Mt);return i!=null&&i.throwOnError||(s=s.catch(Mt)),s}fetchQuery(t,r,n){const o=uo(t,r,n),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,r,n){return this.fetchQuery(t,r,n).then(Mt).catch(Mt)}fetchInfiniteQuery(t,r,n){const o=uo(t,r,n);return o.behavior=bB(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(Mt).catch(Mt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,r){const n=this.queryDefaults.find(o=>Lr(t)===Lr(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>mn(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>mn(t,o.queryKey)).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(t)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."),r==null?void 0:r.defaultOptions}setMutationDefaults(t,r){const n=this.mutationDefaults.find(o=>Lr(t)===Lr(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>mn(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>mn(t,o.mutationKey)).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(t)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults."),r==null?void 0:r.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const r=$(w(w(w({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=Uu(r.queryKey,r)),typeof r.refetchOnReconnect=="undefined"&&(r.refetchOnReconnect=r.networkMode!=="always"),typeof r.useErrorBoundary=="undefined"&&(r.useErrorBoundary=!!r.suspense),r}defaultMutationOptions(t){return t!=null&&t._defaulted?t:$(w(w(w({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class CB extends Hn{constructor(t,r){super(),this.client=t,this.options=r,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),Ch(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cc(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cc(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,r){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),process.env.NODE_ENV!=="production"&&typeof(t==null?void 0:t.isDataEqual)!="undefined"&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),ca(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled!="undefined"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const i=this.hasListeners();i&&Eh(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(r),i&&(this.currentQuery!==o||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();const a=this.computeRefetchInterval();i&&(this.currentQuery!==o||this.options.enabled!==n.enabled||a!==this.currentRefetchInterval)&&this.updateRefetchInterval(a)}getOptimisticResult(t){const r=this.client.getQueryCache().build(this.client,t),n=this.createResult(r,t);return TB(this,n,t)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){const r={};return Object.keys(t).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})}),r}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch(n={}){var o=n,{refetchPage:t}=o,r=te(o,["refetchPage"]);return this.fetch($(w({},r),{meta:{refetchPage:t}}))}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch($(w({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Mt)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),Wo||this.currentResult.isStale||!bc(this.options.staleTime))return;const r=i1(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},r)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Wo||this.options.enabled===!1||!bc(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||ua.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,r){const n=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=t!==n,c=l?t.state:this.currentQueryInitialState,d=l?this.currentResult:this.previousQueryResult,{state:p}=t;let{dataUpdatedAt:h,error:m,errorUpdatedAt:v,fetchStatus:g,status:y}=p,b=!1,T=!1,E;if(r._optimisticResults){const k=this.hasListeners(),D=!k&&Ch(t,r),F=k&&Eh(t,n,r,o);(D||F)&&(g=vs(t.options.networkMode)?"fetching":"paused",h||(y="loading")),r._optimisticResults==="isRestoring"&&(g="idle")}if(r.keepPreviousData&&!p.dataUpdatedAt&&d!=null&&d.isSuccess&&y!=="error")E=d.data,h=d.dataUpdatedAt,y=d.status,b=!0;else if(r.select&&typeof p.data!="undefined")if(i&&p.data===(a==null?void 0:a.data)&&r.select===this.selectFn)E=this.selectResult;else try{this.selectFn=r.select,E=r.select(p.data),E=xc(i==null?void 0:i.data,E,r),this.selectResult=E,this.selectError=null}catch(k){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(k),this.selectError=k}else E=p.data;if(typeof r.placeholderData!="undefined"&&typeof E=="undefined"&&y==="loading"){let k;if(i!=null&&i.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))k=i.data;else if(k=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof k!="undefined")try{k=r.select(k),this.selectError=null}catch(D){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(D),this.selectError=D}typeof k!="undefined"&&(y="success",E=xc(i==null?void 0:i.data,k,r),T=!0)}this.selectError&&(m=this.selectError,E=this.selectResult,v=Date.now(),y="error");const x=g==="fetching",C=y==="loading",_=y==="error";return{status:y,fetchStatus:g,isLoading:C,isSuccess:y==="success",isError:_,isInitialLoading:C&&x,data:E,dataUpdatedAt:h,error:m,errorUpdatedAt:v,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>c.dataUpdateCount||p.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!C,isLoadingError:_&&p.dataUpdatedAt===0,isPaused:g==="paused",isPlaceholderData:T,isPreviousData:b,isRefetchError:_&&p.dataUpdatedAt!==0,isStale:Yu(t,r),refetch:this.refetch,remove:this.remove}}updateResult(t){const r=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,ca(n,r))return;this.currentResult=n;const o={cache:!0},i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,s=typeof a=="function"?a():a;if(s==="all"||!s&&!this.trackedProps.size)return!0;const l=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&l.add("error"),Object.keys(this.currentResult).some(c=>{const d=c;return this.currentResult[d]!==r[d]&&l.has(d)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(w(w({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!zi(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){Ge.batch(()=>{if(t.onSuccess){var r,n,o,i;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,l,c;(a=(s=this.options).onError)==null||a.call(s,this.currentResult.error),(l=(c=this.options).onSettled)==null||l.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(({listener:d})=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function EB(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Ch(e,t){return EB(e,t)||e.state.dataUpdatedAt>0&&Cc(e,t,t.refetchOnMount)}function Cc(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Yu(e,t)}return!1}function Eh(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Yu(e,r)}function Yu(e,t){return e.isStaleByTime(t.staleTime)}function TB(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!ca(e.getCurrentResult(),t)}var Ec={exports:{}},ol={};/**
327
+ `,jF=typeof vc!="string"?f.css`
328
+ animation: ${vc} 1.4s linear infinite;
329
+ `:null,BF=typeof yc!="string"?f.css`
330
+ animation: ${yc} 1.4s ease-in-out infinite;
331
+ `:null,HF=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${fe(n)}`],svg:["svg"],circle:["circle",`circle${fe(r)}`,o&&"circleDisableShrink"]};return Be(i,FF,t)},zF=de("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${fe(r.color)}`]]}})(Ye(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:jF||{animation:`${vc} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Cr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),WF=de("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),VF=de("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${fe(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Ye(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:BF||{animation:`${yc} 1.4s ease-in-out infinite`}}]}))),zu=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiCircularProgress"}),T=n,{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:d=0,variant:p="indeterminate"}=T,h=te(T,["className","color","disableShrink","size","style","thickness","value","variant"]),m=$(w({},n),{color:i,disableShrink:a,size:s,thickness:c,value:d,variant:p}),v=HF(m),g={},y={},b={};if(p==="determinate"){const E=2*Math.PI*((dr-c)/2);g.strokeDasharray=E.toFixed(3),b["aria-valuenow"]=Math.round(d),g.strokeDashoffset=`${((100-d)/100*E).toFixed(3)}px`,y.transform="rotate(-90deg)"}return Z.jsx(zF,$(w(w({className:he(v.root,o),style:w(w({width:s,height:s},y),l),ownerState:m,ref:r,role:"progressbar"},b),h),{children:Z.jsx(WF,{className:v.svg,ownerState:m,viewBox:`${dr/2} ${dr/2} ${dr} ${dr}`,children:Z.jsx(VF,{className:v.circle,style:g,ownerState:m,cx:dr,cy:dr,r:(dr-c)/2,fill:"none",strokeWidth:c})})}))});process.env.NODE_ENV!=="production"&&(zu.propTypes={classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","primary","secondary","error","info","success","warning"]),u.string]),disableShrink:lr(u.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:u.oneOfType([u.number,u.string]),style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),thickness:u.number,value:u.number,variant:u.oneOf(["determinate","indeterminate"])});function UF(e){return Oe("MuiIconButton",e)}const sh=ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),GF=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${fe(n)}`,o&&`edge${fe(o)}`,`size${fe(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Be(s,UF,t)},YF=de(Yr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(Ye(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Ye(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Cr()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Cr()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${sh.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${sh.loading}`]:{color:"transparent"}}))),qF=de("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),On=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiIconButton"}),E=n,{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:d="medium",id:p,loading:h=null,loadingIndicator:m}=E,v=te(E,["edge","children","className","color","disabled","disableFocusRipple","size","id","loading","loadingIndicator"]),g=Pa(p),y=m!=null?m:Z.jsx(zu,{"aria-labelledby":g,color:"inherit",size:16}),b=$(w({},n),{edge:o,color:s,disabled:l,disableFocusRipple:c,loading:h,loadingIndicator:y,size:d}),T=GF(b);return Z.jsxs(YF,$(w({id:h?g:p,className:he(T.root,a),centerRipple:!0,focusRipple:!c,disabled:l||h,ref:r},v),{ownerState:b,children:[typeof h=="boolean"&&Z.jsx("span",{className:T.loadingWrapper,style:{display:"contents"},children:Z.jsx(qF,{className:T.loadingIndicator,ownerState:b,children:h&&y})}),i]}))});process.env.NODE_ENV!=="production"&&(On.propTypes={children:lr(u.node,e=>L.Children.toArray(e.children).some(r=>L.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
332
+ `)):null),classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),u.string]),disabled:u.bool,disableFocusRipple:u.bool,disableRipple:u.bool,edge:u.oneOf(["end","start",!1]),id:u.string,loading:u.bool,loadingIndicator:u.node,size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function XF({fill:e="rgba(38, 46, 61, 0.67)"}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{fill:e,d:"M11.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zM13 8.878c0-1.27-.499-1.896-1.496-1.878C10.501 7.03 10 7.68 10 8.95c0 .737.17 1.647.51 2.731l.318.98c.081.245.14.413.175.503.197.533.376.811.537.835.15.018.314-.248.493-.8.083-.257.161-.512.233-.763.071-.252.146-.503.224-.755.34-1.12.51-2.054.51-2.803zM11.5 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})})}function KF({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var b,T,E;const[i,a]=S.useState(null),{themeSettings:s}=f.useThemeContext(),{typography:{primaryTextColor:l,secondaryTextColor:c,fontFamily:d}}=s,{t:p}=f.useTranslation(),h=x=>{a(x.currentTarget)},m=()=>{a(null)},v=S.useMemo(()=>e?f.jsx(vt,{variant:"body2",style:{color:l,fontFamily:d,fontSize:13},children:e}):null,[e,l,d]),g=S.useMemo(()=>r.length===0?null:r.map(x=>f.jsxs(f.Fragment,{children:[f.jsx(Fr,{sx:{my:1,borderColor:c,opacity:.3,marginY:"8px"}}),f.jsxs("div",{className:"csdk-flex",children:[f.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:f.jsx(XF,{fill:"#fa5656"})}),f.jsx(vt,{variant:"body2",className:"csdk-grow-1",style:{color:c,fontFamily:d,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,c,d]),y=S.useMemo(()=>t?f.jsxs(f.Fragment,{children:[f.jsx(Fr,{sx:{my:"8px",borderColor:c,opacity:.3}}),f.jsx(vt,{variant:"body2",style:{color:c,fontFamily:d,fontSize:13},children:t})]}):null,[t,c,d]);return f.jsxs(f.Fragment,{children:[f.jsx(ms,{title:p("widgetHeader.info.tooltip"),style:{color:(b=s.chart)==null?void 0:b.textColor,fontFamily:(T=s.typography)==null?void 0:T.fontFamily},children:f.jsx(On,{onClick:h,sx:{p:0},children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:f.jsx("path",{fill:(n==null?void 0:n.titleTextColor)||s.widget.header.titleTextColor,d:"M11.5 20a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zm0-1a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zm-.5-8h1v5h-1v-5zm0-1v-.998h1V10h-1z"})})})}),f.jsx(Qc,{open:!!i,position:i?{anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"center"},contentOrigin:{vertical:"top",horizontal:"center"}}:void 0,onClose:m,children:f.jsxs(gv,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[f.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:f.getSlightlyDifferentColor(s.general.backgroundColor)},children:[f.jsx(vt,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:p("widgetHeader.info.details")}),f.jsx(On,{onClick:o,sx:{p:0},children:f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:f.jsx("path",{fill:(E=s.chart)==null?void 0:E.textColor,d:"M20 12a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm0 0a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm-8-7a7 7 0 0 1 6.267 3.877l1.003-.22A8.001 8.001 0 0 0 4 12l1.003-.22A7 7 0 0 1 12 5zm6.998 3.12A8 8 0 0 0 4 12l1.003-.22a7 7 0 0 1 13.264-2.903l.73-.16v.28l-2.98.016-.017.971h3.985V6h-.987v2.12zm-14.01 9.864H4V14h3.985l-.016.971-2.981.017v2.996z"})})})]}),f.jsx(Fr,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),f.jsxs(mv,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[v,g,y]})]})})]})}const QF=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var c,d,p;const{themeSettings:s}=f.useThemeContext(),l=()=>{var m;const h=f.jsx(f.Fragment,{children:f.jsx(KF,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(m=i==null?void 0:i.renderToolbar)==null?void 0:m.call(i,a,h):h};return f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-items-center csdk-px-2 csdk-min-h-[32px]",style:{backgroundColor:(i==null?void 0:i.backgroundColor)||s.widget.header.backgroundColor},children:[f.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:ZF((i==null?void 0:i.titleAlignment)||s.widget.header.titleAlignment),color:(i==null?void 0:i.titleTextColor)||s.widget.header.titleTextColor,fontFamily:(c=s.typography)==null?void 0:c.fontFamily,fontSize:s.widget.header.titleFontSize},children:(p=(d=i==null?void 0:i.renderTitle)==null?void 0:d.call(i,e))!=null?p:e}),f.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:l()})]}),f.get(i,"dividerLine",s.widget.header.dividerLine)&&f.jsx(Fr,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function ZF(e){return e.toLowerCase()}const vv=e=>f.jsx(TF,{children:f.jsx(JF,w({},e))}),JF=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var p,h,m;const{errors:l,warnings:c}=dv(),{themeSettings:d}=f.useThemeContext();return f.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden csdk-accessible",children:f.jsx("div",{className:"csdk-h-full",style:{padding:hv[f.get(t,"spaceAround",d.widget.spaceAround)]||"0px"},children:f.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:f.get(t,"border",d.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||d.widget.borderColor,borderRadius:kF[(t==null?void 0:t.cornerRadius)||d.widget.cornerRadius]||0,boxShadow:AF(t,d),display:"flex",flexDirection:"column"},children:[!((p=t==null?void 0:t.header)!=null&&p.hidden)&&f.jsx(QF,{title:r,description:n,dataSetName:e,errorMessages:l,warningMessages:c,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,f.jsx(N0,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((h=d.chart)==null?void 0:h.backgroundColor)}},children:f.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((m=d.chart)==null?void 0:m.backgroundColor)},children:a})}),i]})})})},e9=e=>{const t=t9(e);return t.config.disabled=!e.config.disabled,t},t9=e=>{const t=f.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function r9(e,t,r){const n={guid:t,excludeMembers:!1,backgroundFilter:r};return f.members(e,[],n)}function vs(e){if(!f.isMembersFilter(e))throw new f.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return r9(t,r,n)}function Wu(e){return"members"in e&&e.members.length===0}function Pt(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function yv(e,t){return e===void 0&&t===void 0?!1:[e,t].some(r=>r===void 0)||e.length!==t.length?!0:e.length===0&&t.length===0?!1:e.some((r,n)=>!f.isEqualWith(r,t[n],bv))}function Vu(e,t){return Pt(e.attribute,t.attribute)}function bv(e,t){const r=f.flow(n9,o9);return f.isEqual(r(e),r(t))}function n9(e){return $(w({},e),{name:""})}function o9(e){return $(w({},e),{config:$(w({},e.config),{guid:""})})}function i9(e,t,r,n){if(r===void 0&&n===void 0)return!1;if([r,n].some(i=>i===void 0))return!0;function o(i,a){const s=i,l=i,c=a,d=a;return i===void 0&&a===void 0?!0:[i,a].some(p=>p===void 0)||s.operator!==c.operator?!1:l.instanceid&&d.instanceid?!yv(e==null?void 0:e.filter(p=>p.config.guid===l.instanceid),t==null?void 0:t.filter(p=>p.config.guid===d.instanceid)):o(s.left,c.left)&&o(s.right,c.right)||o(s.left,c.right)&&o(s.right,c.left)}return!o(r,n)}const wv="sdkHookInit",a9=(e,t,r,n)=>{if(!r)return;Lh(wv,{packageName:t,packageVersion:"2.6.0",hookName:e},r.httpClient).finally(n)};function s9(e){const{tracking:t,app:r}=f.useSisenseContext(),{trackEvent:n}=Oc(),o=S.useRef(!1);S.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"2.6.0",hookName:e};n(wv,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const xv=e=>t=>(...r)=>(s9(e),t(...r));function bc(e,t){switch(t.type){case"loading":return l9(e);case"success":return c9(t.data);case"error":return u9(t.error)}}function l9(e){return e.status==="loading"?e:$(w({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function c9(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function u9(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function Cv({enabled:e},t){const r=S.useRef(!1);return S.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var ol=function(){return f.root.Date.now()},d9="Expected a function",f9=Math.max,p9=Math.min;function h9(e,t,r){var n,o,i,a,s,l,c=0,d=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError(d9);t=f.toNumber(t)||0,f.isObject(r)&&(d=!!r.leading,p="maxWait"in r,i=p?f9(f.toNumber(r.maxWait)||0,t):i,h="trailing"in r?!!r.trailing:h);function m(_){var k=n,O=o;return n=o=void 0,c=_,a=e.apply(O,k),a}function v(_){return c=_,s=setTimeout(b,t),d?m(_):a}function g(_){var k=_-l,O=_-c,P=t-k;return p?p9(P,i-O):P}function y(_){var k=_-l,O=_-c;return l===void 0||k>=t||k<0||p&&O>=i}function b(){var _=ol();if(y(_))return T(_);s=setTimeout(b,g(_))}function T(_){return s=void 0,h&&n?m(_):(n=o=void 0,a)}function E(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:T(ol())}function C(){var _=ol(),k=y(_);if(n=arguments,o=this,l=_,k){if(s===void 0)return v(l);if(p)return clearTimeout(s),s=setTimeout(b,t),m(l)}return s===void 0&&(s=setTimeout(b,t)),a}return C.cancel=E,C.flush=x,C}function Uu(e,{onLocalStateChange:t,syncCompareFn:r=f.isEqual}={}){const[n,o]=S.useState(e),i=S.useRef(e);S.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=S.useCallback(s=>{o(l=>{const c=f.isFunction(s)?s(l):s;return t==null||t(c),c})},[t]);return[n,a]}function g9({chartType:e,dataOptions:t,enabled:r}){const[n,o]=S.useState([]),i=S.useMemo(()=>{var h;const p=f.isCartesian(e)&&((h=t.category)==null?void 0:h.length)===1||f.isScatter(e);return r&&p},[r,e,t]),a=S.useMemo(()=>{if(n.length===0)return p=>$(w({},p),{series:p.series.map(h=>$(w({},h),{data:h.data.map(m=>$(w({},m),{selected:!1}))}))});if(f.isScatter(e))return p=>$(w({},p),{series:p.series.map(h=>$(w({},h),{data:h.data.map(m=>$(w({},m),{selected:!n.some(v=>{var g,y;return v.x===m.x&&v.y===m.y&&v.size===m.z&&v.breakByPoint===((g=m.custom)==null?void 0:g.maskedBreakByPoint)&&v.breakByColor===((y=m.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const p=n.reduce((h,{categoryValue:m})=>(m&&(h[`${m}`]=!0),h),{});return h=>$(w({},h),{series:h.series.map(m=>$(w({},m),{data:m.data.map(v=>{var g,y;return p[(y=(g=v.custom)==null?void 0:g.xValue)==null?void 0:y[0]]?v:$(w({},v),{selected:!0})})}))})}},[n,e]),s=S.useMemo(()=>p=>{var h;return $(w({},p),{chart:$(w({},p.chart),{events:$(w({},(h=p.chart)==null?void 0:h.events),{click:()=>{o([])}})})})},[]),l=S.useCallback(p=>(i&&(p=a(p),p=s(p)),p),[a,s,i]),c=S.useCallback(p=>{i&&o(p)},[i]),d=S.useCallback(p=>{i&&o([p])},[i]);return{onBeforeRender:l,onDataPointsSelected:c,onDataPointClick:d}}const Ev=()=>{const e=va();if(!e)throw new f.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function wc(e){return e&&e.length?tu(e):[]}function m9(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;){var a=e[o];t(n,a,r(a),e)}return n}function v9(e,t){return function(r,n){if(r==null)return r;if(!f.isArrayLike(r))return e(r,n);for(var o=r.length,i=-1,a=Object(r);++i<o&&n(a[i],i,a)!==!1;);return r}}var y9=v9(f.baseForOwn);function b9(e,t,r,n){return y9(e,function(o,i,a){t(n,o,r(o),a)}),n}function Tv(e,t){return function(r,n){var o=f.isArray(r)?m9:b9,i=t?t():{};return o(r,e,f.baseIteratee(n),i)}}var oi=Tv(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const w9=In(Z.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),x9=de(Yr)(Ye(({theme:e})=>$(w({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]}),{borderRadius:2,"&:hover, &:focus":w({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":w({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:gl(e.palette.grey[200],.12)}:{backgroundColor:gl(e.palette.grey[600],.12)})}))),C9=de(w9)({width:24,height:16});function Sv(e){const i=e,{slots:t={},slotProps:r={}}=i,n=te(i,["slots","slotProps"]),o=e;return Z.jsx("li",{children:Z.jsx(x9,$(w({focusRipple:!0},n),{ownerState:o,children:Z.jsx(C9,w({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(Sv.propTypes={slotProps:u.shape({collapsedIcon:u.oneOfType([u.func,u.object])}),slots:u.shape({CollapsedIcon:u.elementType}),sx:u.object});function E9(e){return Oe("MuiBreadcrumbs",e)}const T9=ke("MuiBreadcrumbs",["root","ol","li","separator"]),S9=e=>{const{classes:t}=e;return Be({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},E9,t)},R9=de(vt,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${T9.li}`]:t.li},t.root]})({}),_9=de("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),M9=de("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function O9(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,Z.jsx(M9,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const Rv=L.forwardRef(function(t,r){const n=Fe({props:t,name:"MuiBreadcrumbs"}),k=n,{children:o,className:i,component:a="nav",slots:s={},slotProps:l={},expandText:c="Show path",itemsAfterCollapse:d=1,itemsBeforeCollapse:p=1,maxItems:h=8,separator:m="/"}=k,v=te(k,["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),[g,y]=L.useState(!1),b=$(w({},n),{component:a,expanded:g,expandText:c,itemsAfterCollapse:d,itemsBeforeCollapse:p,maxItems:h,separator:m}),T=S9(b),E=$c({elementType:s.CollapsedIcon,externalSlotProps:l.collapsedIcon,ownerState:b}),x=L.useRef(null),C=O=>{const P=()=>{y(!0);const F=x.current.querySelector("a[href],button,[tabindex]");F&&F.focus()};return p+d>=O.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${d}} + itemsBeforeCollapse={${p}} >= maxItems={${h}}`].join(`
333
+ `)),O):[...O.slice(0,p),Z.jsx(Sv,{"aria-label":c,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:E},onClick:P},"ellipsis"),...O.slice(O.length-d,O.length)]},_=L.Children.toArray(o).filter(O=>(process.env.NODE_ENV!=="production"&&Pc.isFragment(O)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
334
+ `)),L.isValidElement(O))).map((O,P)=>Z.jsx("li",{className:T.li,children:O},`child-${P}`));return Z.jsx(R9,$(w({ref:r,component:a,color:"textSecondary",className:he(T.root,i),ownerState:b},v),{children:Z.jsx(_9,{className:T.ol,ref:x,ownerState:b,children:O9(g||h&&_.length<=h?_:C(_),T.separator,m,b)})}))});process.env.NODE_ENV!=="production"&&(Rv.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,expandText:u.string,itemsAfterCollapse:Ut,itemsBeforeCollapse:Ut,maxItems:Ut,separator:u.node,slotProps:u.shape({collapsedIcon:u.oneOfType([u.func,u.object])}),slots:u.shape({CollapsedIcon:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function k9(e){return Oe("MuiButton",e)}const Or=ke("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","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),_v=L.createContext({});process.env.NODE_ENV!=="production"&&(_v.displayName="ButtonGroupContext");const Mv=L.createContext(void 0);process.env.NODE_ENV!=="production"&&(Mv.displayName="ButtonGroupButtonContext");const A9=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,loading:a,loadingPosition:s,classes:l}=e,c={root:["root",a&&"loading",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${fe(s)}`],startIcon:["icon","startIcon",`iconSize${fe(o)}`],endIcon:["icon","endIcon",`iconSize${fe(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=Be(c,k9,l);return w(w({},l),d)},Ov=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],I9=de(Yr,{shouldForwardProp:e=>qo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fe(r.color)}`],t[`size${fe(r.size)}`],t[`${r.variant}Size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(Ye(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return $(w({},e.typography.button),{minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Or.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Or.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Or.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Or.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Cr()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(e.vars||e).palette[n].main,"--variant-outlinedColor":(e.vars||e).palette[n].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.5)`:Ne(e.palette[n].main,.5),"--variant-containedColor":(e.vars||e).palette[n].contrastText,"--variant-containedBg":(e.vars||e).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[n].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette[n].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[n].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette[n].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ne(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Or.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Or.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Or.loading}`]:{color:"transparent"}}}]})})),P9=de("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${fe(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Ov]})),D9=de("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${fe(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Ov]})),$9=de("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),lh=de("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Ho=L.forwardRef(function(t,r){const n=L.useContext(_v),o=L.useContext(Mv),i=To(n,t),a=Fe({props:i,name:"MuiButton"}),H=a,{children:s,color:l="primary",component:c="button",className:d,disabled:p=!1,disableElevation:h=!1,disableFocusRipple:m=!1,endIcon:v,focusVisibleClassName:g,fullWidth:y=!1,id:b,loading:T=null,loadingIndicator:E,loadingPosition:x="center",size:C="medium",startIcon:_,type:k,variant:O="text"}=H,P=te(H,["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","id","loading","loadingIndicator","loadingPosition","size","startIcon","type","variant"]),F=Pa(b),W=E!=null?E:Z.jsx(zu,{"aria-labelledby":F,color:"inherit",size:16}),R=$(w({},a),{color:l,component:c,disabled:p,disableElevation:h,disableFocusRipple:m,fullWidth:y,loading:T,loadingIndicator:W,loadingPosition:x,size:C,type:k,variant:O}),A=A9(R),B=(_||T&&x==="start")&&Z.jsx(P9,{className:A.startIcon,ownerState:R,children:_||Z.jsx(lh,{className:A.loadingIconPlaceholder,ownerState:R})}),j=(v||T&&x==="end")&&Z.jsx(D9,{className:A.endIcon,ownerState:R,children:v||Z.jsx(lh,{className:A.loadingIconPlaceholder,ownerState:R})}),N=o||"",I=typeof T=="boolean"?Z.jsx("span",{className:A.loadingWrapper,style:{display:"contents"},children:T&&Z.jsx($9,{className:A.loadingIndicator,ownerState:R,children:W})}):null;return Z.jsxs(I9,$(w({ownerState:R,className:he(n.className,A.root,d,N),component:c,disabled:p||T,focusRipple:!m,focusVisibleClassName:he(A.focusVisible,g),ref:r,type:k,id:T?F:b},P),{classes:A,children:[B,x!=="end"&&I,s,x==="end"&&I,j]}))});process.env.NODE_ENV!=="production"&&(Ho.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","primary","secondary","success","error","info","warning"]),u.string]),component:u.elementType,disabled:u.bool,disableElevation:u.bool,disableFocusRipple:u.bool,disableRipple:u.bool,endIcon:u.node,focusVisibleClassName:u.string,fullWidth:u.bool,href:u.string,id:u.string,loading:u.bool,loadingIndicator:u.node,loadingPosition:u.oneOf(["center","end","start"]),size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),startIcon:u.node,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),type:u.oneOfType([u.oneOf(["button","reset","submit"]),u.string]),variant:u.oneOfType([u.oneOf(["contained","outlined","text"]),u.string])});const N9=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=f.useTranslation(),i=t.name,a=f.newStyled(Ho,{target:"e1olvz1k0",label:"StyledCancelButton"})("&&{background-color:",n.activeDrillBackgroundColor,";color:",n.primaryButtonTextColor,";border-radius:100%;border:2px solid white;min-width:39px;width:39px;height:39px;z-index:10;padding:7px;cursor:pointer;text-transform:none;margin-right:-5px;&:hover{background-color:",n.activeDrillHoverBackgroundColor,";color:",n.primaryTextColor,";}}"),s=f.newStyled("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),l=()=>f.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:f.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:f.jsx("path",{fill:"#9EA2AB",d:"M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"})})}),c=f.newStyled(Ho,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",p=>p.theme.fontFamily,";border-radius:0;border:1px solid ",Yt,";background-color:",p=>p.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",p=>p.theme.secondaryTextColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;transition:background-color 0.2s,border-color 0.2s,color 0.2s;text-transform:none;cursor:auto;pointer-events:none;white-space:nowrap;&:hover{background-color:",p=>p.theme.chartBackgroundColor,";border:1px solid ",Yt,";border-right:none;border-left:none;}}");return{CancelButton:l,CurrentDrillButton:()=>f.jsxs(c,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",f.jsx("span",{className:"flex items-center justify-between",children:f.jsx("span",{className:"csdk-absolute csdk-right-[0px] csdk-top-[3px] csdk-h-[18px] csdk-w-[18px] csdk-transform csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:"transparent",borderTop:`1px solid ${Yt}`,borderRight:`1px solid ${Yt}`}})})]})}},L9={modifiers:[{name:"offset",options:{offset:[0,12]}}]},F9=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=f.useTranslation();return f.jsxs("div",{className:"csdk-w-50 csdk-px-[12px] csdk-shadow-md csdk-shadow-gray-500 csdk-rounded-md csdk-bg-white",style:{backgroundColor:e.chartBackgroundColor,color:e.primaryTextColor},children:[f.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),f.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),f.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),f.jsx(vt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},j9=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return f.jsx(ni,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:L9,children:e&&f.jsx(F9,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},B9=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=f.useThemeContext(),s=f.scaleBrightness(a,-.02),l=f.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:l}},H9=f.newStyled(On,{target:"egcu0nk0",label:"StyledPrevButton"})("&&{position:absolute;left:0;right:auto;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,white 30%,rgba(255,255,255,0) 100%);display:inline-flex;span[aria-label='prev-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"),z9=f.newStyled(On,{target:"egcu0nk1",label:"StyledNextButton"})("&&{position:absolute;left:auto;right:0;margin:auto;bottom:0;top:0;z-index:10;background:linear-gradient(to right,rgba(255,255,255,0) 0,white 70%);display:inline-flex;span[aria-label='next-item']{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:5px solid #000;color:transparent;opacity:0.3;&:hover{opacity:0.8;}}}"),W9=({currentDimension:e,children:t})=>{const{t:r}=f.useTranslation(),n=S.useRef(null),[o,i]=S.useState(0),[a,s]=S.useState(0),[l,c]=S.useState(0),d=()=>{var v;return(v=n.current)==null?void 0:v.querySelector("ol")};S.useEffect(()=>{const v=d();if(v){const g=v.clientWidth,y=v.scrollWidth,b=v.scrollLeft;i(g),s(y),c(b)}},[e]),S.useEffect(()=>{const v=d();function g(){if(v){const T=v.clientWidth;i(T)}}function y(){if(v){const T=v.scrollLeft;c(T)}}const b=new ResizeObserver(g);return v?(b.observe(v),v.addEventListener("scroll",y),()=>{b.disconnect(),v.removeEventListener("scroll",y)}):()=>{}},[]);const p=v=>{const y="smooth",b=d();b&&b.scrollBy({left:v==="right"?200:-200,behavior:y})},h=l!=0,m=Math.floor(a-l)>o;return f.jsxs("div",{style:{position:"relative"},children:[h&&f.jsx(H9,{onClick:()=>p("left"),children:f.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),m&&f.jsx(z9,{onClick:()=>p("right"),children:f.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),f.jsx("div",{ref:n,children:t})]})},Yt="#F2F2F2",V9=f.newStyled(Ho,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",Yt,";border-right:none;color:",({active:e,theme:t})=>e==="true"?t.primaryTextColor:t.secondaryTextColor,";background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillBackgroundColor:t.chartBackgroundColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;text-transform:none;transition:background-color 0.2s,border-color 0.2s,color 0.2s;white-space:nowrap;cursor:",({active:e})=>e==="true"?"pointer":"auto",";margin-right:",({active:e})=>e==="true"?"5px":"0px",";&:hover{background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillHoverBackgroundColor:t.chartBackgroundColor,";border:1px solid ",Yt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),U9=f.newStyled(Rv,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),G9=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>f.jsx(V9,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:f.jsxs("span",{className:"flex items-center justify-between",children:[f.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?f.jsx("span",{className:"csdk-absolute csdk-right-0 csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:t===(a==null?void 0:a.filterDisplayValues)?i.activeDrillHoverBackgroundColor:i.activeDrillBackgroundColor,borderTop:`1px solid ${Yt}`,borderRight:`1px solid ${Yt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,f.jsx("span",{className:`csdk-absolute ${e?"csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-right-[-15px]":"csdk-h-[10px] csdk-w-[10px] csdk-top-[7px] csdk-right-[-5px]"} csdk-transform translate-x-1/2 csdk-rotate-45`,style:{backgroundColor:i.chartBackgroundColor,borderTop:`1px solid ${Yt}`,borderRight:`1px solid ${Yt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),kv=Xo({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=S.useState(null),[a,s]=S.useState(!1),l=B9(),{CancelButton:c,CurrentDrillButton:d}=N9({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:l}),p=g=>y=>{s(!0),i({filterDisplayValues:g,anchorEl:y.currentTarget})},h=()=>{s(!1),i(null)},m=g=>g<e.length-1,v=g=>g===e.length-2;return e.length?f.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:f.jsx(W9,{currentDimension:t,children:f.jsxs(U9,{separator:null,sx:{backgroundColor:l.chartBackgroundColor,padding:"4px"},children:[f.jsx(c,{}),e.map((g,y)=>{const b=m(y),T=v(y);return f.jsx("div",{children:f.jsx(G9,{isActive:b,isLastActive:T,filterDisplayValue:g,handleMouseEnter:p(g),handleMouseLeave:h,handleClick:()=>n(y+1),themeProps:l,popperParams:o,index:y})},y)}),f.jsx(d,{}),f.jsx(j9,{popperParams:o,currentDimension:t,themeProps:l})]})})}):null}),Av=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=S.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=S.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=f.useTranslation();if(!t)throw new f.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=Uu(o,{onLocalStateChange:r}),l=S.useMemo(()=>[f.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),c=S.useMemo(()=>n.filter(y=>{if(f.MetadataTypes.isAttribute(y)){const E=y;return l.every(x=>!Pt(x,E))}const T=y;return l.every((E,x)=>Pt(E,T.levels[x]))}),[n,l]),d=S.useCallback((y,b,T)=>{s(E=>Iv(E,y,b,T))},[s]),p=S.useCallback(y=>{s(b=>b.slice(0,y))},[s]),h=S.useCallback(()=>{s([])},[s]),{drilldownFilters:m,drilldownFiltersDisplayValues:v,drilldownDimension:g}=S.useMemo(()=>Pv(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:c,drilldownFilters:m,drilldownFiltersDisplayValues:v,drilldownDimension:g,selectDrilldown:d,sliceDrilldownSelections:p,clearDrilldownSelections:h}},Iv=(e,t,r,n)=>{var h,m;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(Pt(n.levels[0],r))return[];const i=(h=e==null?void 0:e.findIndex(v=>Pt(v.nextDimension,r)))!=null?h:-1;if(i!==-1)return e.slice(0,i+1);const s=(m=f.last(e))==null?void 0:m.nextDimension,l=e.length?n.levels.findIndex(v=>s&&Pt(v,s)):0,c=n.levels.indexOf(r),p=n.levels.slice(l+1,c+1).map((v,g)=>({points:g===0?t:[],nextDimension:v}));return[...e,...p]},Pv=(e,t,r)=>{let n=t&&f.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(f.members(n,a.map(Y9)));const l=a.length?a.map(Dv):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(l),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function Dv(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function Y9(e){return"categoryValue"in e?`${e.categoryValue}`:""}var q9=Object.prototype,X9=q9.hasOwnProperty,K9=Tv(function(e,t,r){X9.call(e,r)?e[r].push(t):f.baseAssignValue(e,r,[t])});function Q9(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function $v(e,t){return e.find(r=>Pt(r.attribute,t))}function Nv(e,t,r){const n=$v(r,e);return f.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function Lv(e,t){return Vu(e,t)&&"members"in e&&"members"in t&&f.isEqual(e.members,t.members)}var ca=function(e){return e.WIDGET_POINTS_DRILLDOWN="widget-points-drilldown",e.WIDGET_POINTS_CROSSFILTERING="widget-points-crossfiltering",e}({}),zo=function(e){return e.DRILLDOWN_CHART_POINTS_SELECTION="drilldown-chart-points-selection",e.DRILLDOWN_DRILL_DIRECTIONS="drilldown-drill-directions",e.CROSSFILTERING_CHART_POINTS_SELECTION="crossfiltering-chart-points-selection",e}({});const Fv=2;function Bn(e,t){const r=e.flatMap(({entries:o={}})=>t.flatMap(i=>{const a=o[i];return a?(Array.isArray(a)?a:[a]).filter(({attribute:l})=>!!l):[]})),n=K9(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:wc(o.map(({value:i})=>i)),displayValues:wc(o.map(({displayValue:i})=>i))}))}function Z9(e){return Bn(e,["category"])}function J9(e){return Bn(e,["category"])}function ej(e,t){const r=Bn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:f.translateColumnToAttribute(o),values:[],displayValues:[]})}function tj(e){return Bn(e,["x","y","breakByPoint","breakByColor"])}function rj(e){return Bn(e,["geo"])}function nj(e){return Bn(e,["geo"])}function zi(e,t,r){return e==="custom"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?ej(r,t):f.isCartesian(e)||e==="pie"||e==="funnel"?Z9(r):f.isBoxplot(e)?J9(r):f.isScatter(e)?tj(r):f.isScattermap(e)?rj(r):f.isAreamap(e)?nj(r):[]}function Gu(e,t){let r=[];return e==="custom"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:f.isCartesian(e)||f.isCategorical(e)||f.isBoxplot(e)||f.isRange(e)?r=[...t.category]:f.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!f.isMeasureColumn(n))):(f.isScattermap(e)||f.isAreamap(e))&&(r=[...t.geo]),r.map(f.translateColumnToAttribute)}function oj(e,t,r){const n=$v(t,e.attribute);if(!n||Wu(n))return null;if(Lv(e,n))return vs(e);if(f.isMembersFilter(n)&&r){const[o,i]=oi(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return Nv(e.attribute,i,[n])}return null}function ij(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>oj(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function il(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>Nv(i,a,t)),o=aj(t,n);return ij(o,t,r)}function aj(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>Vu(o,n))):t}function sj(e,t,r){const n=zi(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>Fv;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function ch(e,t,r){const n=sj(e,t,r);return n?{id:zo.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function uh(e,t){return{items:[{caption:e,onClick:t}]}}const lj=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=f.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:l,drilldownDimension:c,selectDrilldown:d,sliceDrilldownSelections:p,clearDrilldownSelections:h}=Av({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),m=S.useCallback((g,y)=>{const b=[jv(y,c),Bv(a,c,(T,E)=>{d(y,T,E)},i)];n({id:ca.WIDGET_POINTS_DRILLDOWN,position:g,itemSections:b})},[c,a,i,d,n]),v=S.useMemo(()=>c&&f.jsx(kv,{filtersDisplayValues:l,currentDimension:c,clearDrilldownSelections:h,sliceDrilldownSelections:p}),[h,c,l,p]);return{drilldownDimension:c,drilldownFilters:s,breadcrumbs:v,openDrilldownMenu:m}};function jv(e,t){const r=wc(e.map(Dv).filter(n=>!!n));return r.length>Fv?{id:zo.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:zo.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function cj(e){return 30+12*e}function Bv(e,t,r,n){const[o,i]=oi(e,f.MetadataTypes.isAttribute.bind(f.MetadataTypes)),a=o.map(l=>({caption:l.name,onClick:()=>r(l)})),s=i.map(l=>({caption:l.title,subItems:[{items:l.levels.map((c,d)=>({caption:c.name,class:d===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${cj(d)}px`},disabled:Pt(c,t),onClick:()=>r(c,l)}))}]}));return{id:zo.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var ys=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Hv(e){return function(t){t=f.toString(t);var r=B0(t)?_l(t):void 0,n=r?r[0]:t.charAt(0),o=r?j0(r,1).join(""):t.slice(1);return n[e]()+o}}var zv=Hv("toUpperCase");function uj(e){return zv(f.toString(e).toLowerCase())}function dj(e,t,r,n){for(var o=-1,i=e==null?0:e.length;++o<i;)r=t(r,e[o],o,e);return r}function fj(e){return function(t){return e==null?void 0:e[t]}}var pj={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},hj=fj(pj),gj=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mj="\\u0300-\\u036f",vj="\\ufe20-\\ufe2f",yj="\\u20d0-\\u20ff",bj=mj+vj+yj,wj="["+bj+"]",xj=RegExp(wj,"g");function Cj(e){return e=f.toString(e),e&&e.replace(gj,hj).replace(xj,"")}var Ej=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Tj(e){return e.match(Ej)||[]}var Sj=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Rj(e){return Sj.test(e)}var Wv="\\ud800-\\udfff",_j="\\u0300-\\u036f",Mj="\\ufe20-\\ufe2f",Oj="\\u20d0-\\u20ff",kj=_j+Mj+Oj,Vv="\\u2700-\\u27bf",Uv="a-z\\xdf-\\xf6\\xf8-\\xff",Aj="\\xac\\xb1\\xd7\\xf7",Ij="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pj="\\u2000-\\u206f",Dj=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Gv="A-Z\\xc0-\\xd6\\xd8-\\xde",$j="\\ufe0e\\ufe0f",Yv=Aj+Ij+Pj+Dj,qv="['’]",dh="["+Yv+"]",Nj="["+kj+"]",Xv="\\d+",Lj="["+Vv+"]",Kv="["+Uv+"]",Qv="[^"+Wv+Yv+Xv+Vv+Uv+Gv+"]",Fj="\\ud83c[\\udffb-\\udfff]",jj="(?:"+Nj+"|"+Fj+")",Bj="[^"+Wv+"]",Zv="(?:\\ud83c[\\udde6-\\uddff]){2}",Jv="[\\ud800-\\udbff][\\udc00-\\udfff]",pn="["+Gv+"]",Hj="\\u200d",fh="(?:"+Kv+"|"+Qv+")",zj="(?:"+pn+"|"+Qv+")",ph="(?:"+qv+"(?:d|ll|m|re|s|t|ve))?",hh="(?:"+qv+"(?:D|LL|M|RE|S|T|VE))?",e1=jj+"?",t1="["+$j+"]?",Wj="(?:"+Hj+"(?:"+[Bj,Zv,Jv].join("|")+")"+t1+e1+")*",Vj="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Uj="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Gj=t1+e1+Wj,Yj="(?:"+[Lj,Zv,Jv].join("|")+")"+Gj,qj=RegExp([pn+"?"+Kv+"+"+ph+"(?="+[dh,pn,"$"].join("|")+")",zj+"+"+hh+"(?="+[dh,pn+fh,"$"].join("|")+")",pn+"?"+fh+"+"+ph,pn+"+"+hh,Uj,Vj,Xv,Yj].join("|"),"g");function Xj(e){return e.match(qj)||[]}function Kj(e,t,r){return e=f.toString(e),t=t,t===void 0?Rj(e)?Xj(e):Tj(e):e.match(t)||[]}var Qj="['’]",Zj=RegExp(Qj,"g");function Jj(e){return function(t){return dj(Kj(Cj(t).replace(Zj,"")),e,"")}}var r1=Jj(function(e,t,r){return t=t.toLowerCase(),e+(r?uj(t):t)});function eB(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>f.createDimensionalElementFromJaql(o))}}function n1(e,t,r){return _t(this,null,function*(){const o=yield new f.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>eB(i))})}const tB=xv("useGetHierarchyModels")(o1);function o1(e){const t=Hu(e,["dataSource","dimension","ids","alwaysIncluded"]),r=Cv(e,t),[n,o]=S.useReducer(bc,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=f.useSisenseContext();return S.useEffect(()=>{i||o({type:"error",error:new f.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),n1(a.httpClient,e,a.defaultDataSource).then(s=>{o({type:"success",data:s})}).catch(s=>{o({type:"error",error:s})}))},[a,i,e,r]),n.data&&t?gh(bc(n,{type:"loading"})):gh(n)}function gh(e){const n=e,{data:t}=n,r=te(n,["data"]);return $(w({},r),{hierarchies:t})}function rB({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=S.useMemo(()=>oi(r,f.isString),[r]),{hierarchies:a=[]}=o1({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return S.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function nB(e,t){return Gu(e,t)[0]}function oB(e){return[...f.CARTESIAN_CHART_TYPES,...f.CATEGORICAL_CHART_TYPES,...f.SCATTER_CHART_TYPES,...f.BOXPLOT_CHART_TYPES,...f.RANGE_CHART_TYPES].includes(e)}function iB(e,t){return Gu(e,t).length===1}function aB(e,t){return iB(e,t)&&oB(e)}function i1(e,t,r){const n=o=>!!o&&!Pt(r,f.translateColumnToAttribute(o));if(f.isCartesian(e)||f.isCategorical(e)||f.isBoxplot(e)||f.isRange(e)){const o=t.category[0];if(n(o))return $(w({},t),{category:[r]})}else if(f.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!f.isMeasureColumn(s)&&n(s))return $(w({},o),{[a]:r})}}return t}function mh(e,t,r){return e.map(n=>{const o=["x","y","breakByPoint","breakByColor"],i=[...o,"size"].some(s=>s in n),a=o.find(s=>r[s]&&!f.isMeasureColumn(r[s]));if(i){const s=t,l=s.type==="mouseup";l&&console.warn("No drilldown support for multi-selection in scatter chart");const c=l?n[a]:s.point.options.custom[r1(`{masked ${a}`)];return{categoryValue:c,categoryDisplayValue:c}}return n})}const sB=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=Ev(),l=S.useMemo(()=>aB(r,n),[r,n]),c=S.useMemo(()=>(i==null?void 0:i.drilldownPaths)||[],[i==null?void 0:i.drilldownPaths]),d=S.useMemo(()=>{const O=f.createAttribute({name:"dummy drilldown initial attribute"});return nB(r,n)||O},[r,n]),p=rB({attribute:d,dataSource:o,drilldownPaths:c,enabled:l}),h=S.useMemo(()=>{var P;return(((P=i==null?void 0:i.drilldownSelections)==null?void 0:P.length)||(p==null?void 0:p.length))&&l},[i,l,p]),{drilldownDimension:m,drilldownFilters:v,breadcrumbs:g,openDrilldownMenu:y}=lj({initialDimension:d,drilldownSelections:a,drilldownPaths:p,openMenu:s,onDrilldownSelectionsChange:t}),b=S.useCallback((O,P)=>{const F=mh(O,P,n);y({left:P.clientX,top:P.clientY},F)},[n,y]),T=S.useCallback((O,P)=>{const F=mh([O],P,n);y({left:P.clientX,top:P.clientY},F)},[n,y]),E=S.useMemo(()=>i1(r,n,m),[r,n,m]),x=S.useMemo(()=>v.length?Ah(e.filters||[],v):e.filters,[e.filters,v]),C=S.useMemo(()=>f.combineHandlers([b,e.onDataPointsSelected]),[b,e.onDataPointsSelected]),_=S.useMemo(()=>f.combineHandlers([T,e.onDataPointContextMenu]),[T,e.onDataPointContextMenu]);return{propsWithDrilldown:w(w({},e),h&&{dataOptions:E,filters:x,onDataPointsSelected:C,onDataPointContextMenu:_}),isDrilldownEnabled:h,breadcrumbs:g}},lB=Xo({componentName:"ChartWidget"})(e=>{var O,P;const{app:t}=f.useSisenseContext(),{chartType:r,dataSource:n=t==null?void 0:t.defaultDataSource,dataOptions:o,styleOptions:i,highlightSelectionDisabled:a=!1,highlights:s,description:l,onChange:c}=e,{width:d,height:p}=i||{},h=Z0(r,{hasHeader:!((O=i==null?void 0:i.header)!=null&&O.hidden)}),[m,v]=S.useState(0),g=S.useMemo(()=>f.omit(i,["width","height"]),[i]),y=S.useCallback(F=>{c==null||c({drilldownOptions:{drilldownSelections:F}})},[c]),{propsWithDrilldown:b,isDrilldownEnabled:T,breadcrumbs:E}=sB({propsToExtend:e,onDrilldownSelectionsChange:y}),x=g9({chartType:r,dataOptions:o,enabled:!a&&!T&&!(s!=null&&s.length)}),C=(P=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:P.enabled,_=S.useCallback(F=>{var W;return C?$(w({},F),{accessibility:$(w({},F.accessibility),{description:l!=null?l:(W=F.accessibility)==null?void 0:W.description})}):F},[l,C]);if(!r||!o)return null;const k=$(w({},b),{dataSet:n,styleOptions:g,refreshCounter:m,onDataPointClick:S.useMemo(()=>f.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:b.onDataPointContextMenu,onDataPointsSelected:S.useMemo(()=>f.combineHandlers([x.onDataPointsSelected,b.onDataPointsSelected]),[x.onDataPointsSelected,b.onDataPointsSelected]),onBeforeRender:S.useMemo(()=>f.combineHandlers([_,x.onBeforeRender,e.onBeforeRender],!0),[_,x.onBeforeRender,e.onBeforeRender])});return f.jsx(ja,{defaultSize:h,size:{width:d,height:p},children:f.jsx(vv,$(w({},e),{topSlot:f.jsxs(f.Fragment,{children:[e.topSlot,E]}),dataSetName:n&&f.getDataSourceName(n),onRefresh:()=>v(m+1),children:f.jsx(fv,w({},k))}))})});class Hn{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const r={listener:t};return this.listeners.add(r),this.onSubscribe(),()=>{this.listeners.delete(r),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Wo=typeof window=="undefined"||"Deno"in window;function Mt(){}function cB(e,t){return typeof e=="function"?e(t):e}function xc(e){return typeof e=="number"&&e>=0&&e!==1/0}function a1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function uo(e,t,r){return ii(e)?typeof t=="function"?$(w({},r),{queryKey:e,queryFn:t}):$(w({},t),{queryKey:e}):e}function uB(e,t,r){return ii(e)?$(w({},t),{mutationKey:e}):typeof e=="function"?$(w({},t),{mutationFn:e}):w({},e)}function hr(e,t,r){return ii(e)?[$(w({},t),{queryKey:e}),r]:[e||{},t]}function vh(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(ii(a)){if(n){if(t.queryHash!==Yu(a,t.options))return!1}else if(!mn(t.queryKey,a))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function yh(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(ii(i)){if(!t.options.mutationKey)return!1;if(r){if(Lr(t.options.mutationKey)!==Lr(i))return!1}else if(!mn(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function Yu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Lr)(e)}function Lr(e){return JSON.stringify(e,(t,r)=>Cc(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function mn(e,t){return s1(e,t)}function s1(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!s1(e[r],t[r])):!1}function l1(e,t){if(e===t)return e;const r=bh(e)&&bh(t);if(r||Cc(e)&&Cc(t)){const n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{};let s=0;for(let l=0;l<i;l++){const c=r?l:o[l];a[c]=l1(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function ua(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function bh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Cc(e){if(!wh(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!wh(r)||!r.hasOwnProperty("isPrototypeOf"))}function wh(e){return Object.prototype.toString.call(e)==="[object Object]"}function ii(e){return Array.isArray(e)}function c1(e){return new Promise(t=>{setTimeout(t,e)})}function xh(e){c1(0).then(e)}function dB(){if(typeof AbortController=="function")return new AbortController}function Ec(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?l1(e,t):t}class fB extends Hn{constructor(){super(),this.setup=t=>{if(!Wo&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),window.addEventListener("focus",r,!1),()=>{window.removeEventListener("visibilitychange",r),window.removeEventListener("focus",r)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(({listener:t})=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const da=new fB,Ch=["online","offline"];class pB extends Hn{constructor(){super(),this.setup=t=>{if(!Wo&&window.addEventListener){const r=()=>t();return Ch.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{Ch.forEach(n=>{window.removeEventListener(n,r)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setOnline(n):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(({listener:t})=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const fa=new pB;function hB(e){return Math.min(1e3*Bt(2,e),3e4)}function bs(e){return(e!=null?e:"online")==="online"?fa.isOnline():!0}class u1{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Wi(e){return e instanceof u1}function d1(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,b)=>{i=y,a=b}),l=y=>{n||(m(new u1(y)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},p=()=>!da.isFocused()||e.networkMode!=="always"&&!fa.isOnline(),h=y=>{n||(n=!0,e.onSuccess==null||e.onSuccess(y),o==null||o(),i(y))},m=y=>{n||(n=!0,e.onError==null||e.onError(y),o==null||o(),a(y))},v=()=>new Promise(y=>{o=b=>{const T=n||!p();return T&&y(b),T},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),g=()=>{if(n)return;let y;try{y=e.fn()}catch(b){y=Promise.reject(b)}Promise.resolve(y).then(h).catch(b=>{var T,E;if(n)return;const x=(T=e.retry)!=null?T:3,C=(E=e.retryDelay)!=null?E:hB,_=typeof C=="function"?C(r,b):C,k=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,b);if(t||!k){m(b);return}r++,e.onFail==null||e.onFail(r,b),c1(_).then(()=>{if(p())return v()}).then(()=>{t?m(b):g()})})};return bs(e.networkMode)?g():v().then(g),{promise:s,cancel:l,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:c,continueRetry:d}}const qu=console;function gB(){let e=[],t=0,r=d=>{d()},n=d=>{d()};const o=d=>{let p;t++;try{p=d()}finally{t--,t||s()}return p},i=d=>{t?e.push(d):xh(()=>{r(d)})},a=d=>(...p)=>{i(()=>{d(...p)})},s=()=>{const d=e;e=[],d.length&&xh(()=>{n(()=>{d.forEach(p=>{r(p)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{n=d}}}const Ge=gB();class f1{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xc(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Wo?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class mB extends f1{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||qu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||vB(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=w(w({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=Ec(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){this.dispatch({type:"setState",state:t,setStateOptions:r})}cancel(t){var r;const n=this.promise;return(r=this.retryer)==null||r.cancel(t),n?n.then(Mt).catch(Mt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!a1(this.state.dataUpdatedAt,t)}onFocus(){var t;const r=this.observers.find(n=>n.shouldFetchOnWindowFocus());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const r=this.observers.find(n=>n.shouldFetchOnReconnect());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,r){var n,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&r!=null&&r.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(v=>v.options.queryFn);m&&this.setOptions(m.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const a=dB(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),d={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(d),(n=this.options.behavior)==null||n.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=d.fetchOptions)==null?void 0:o.meta)){var p;this.dispatch({type:"fetch",meta:(p=d.fetchOptions)==null?void 0:p.meta})}const h=m=>{if(Wi(m)&&m.silent||this.dispatch({type:"error",error:m}),!Wi(m)){var v,g,y,b;(v=(g=this.cache.config).onError)==null||v.call(g,m,this),(y=(b=this.cache.config).onSettled)==null||y.call(b,this.state.data,m,this),process.env.NODE_ENV!=="production"&&this.logger.error(m)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=d1({fn:d.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:m=>{var v,g,y,b;if(typeof m=="undefined"){process.env.NODE_ENV!=="production"&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),h(new Error(this.queryHash+" data is undefined"));return}this.setData(m),(v=(g=this.cache.config).onSuccess)==null||v.call(g,m,this),(y=(b=this.cache.config).onSettled)==null||y.call(b,m,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:h,onFail:(m,v)=>{this.dispatch({type:"failed",failureCount:m,error:v})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return $(w({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return $(w({},n),{fetchStatus:"paused"});case"continue":return $(w({},n),{fetchStatus:"fetching"});case"fetch":return w($(w({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:bs(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return w($(w({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const a=t.error;return Wi(a)&&a.revert&&this.revertState?$(w({},this.revertState),{fetchStatus:"idle"}):$(w({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return $(w({},n),{isInvalidated:!0});case"setState":return w(w({},n),t.state)}};this.state=r(this.state),Ge.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function vB(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof t!="undefined",n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n!=null?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}class yB extends Hn{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,r,n){var o;const i=r.queryKey,a=(o=r.queryHash)!=null?o:Yu(i,r);let s=this.get(a);return s||(s=new mB({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const r=this.queriesMap[t.queryHash];r&&(t.destroy(),this.queries=this.queries.filter(n=>n!==t),r===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=hr(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>vh(n,o))}findAll(t,r){const[n]=hr(t,r);return Object.keys(n).length>0?this.queries.filter(o=>vh(n,o)):this.queries}notify(t){Ge.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){Ge.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class bB extends f1{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||qu,this.observers=[],this.state=t.state||p1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=w(w({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,r;return(t=(r=this.retryer)==null?void 0:r.continue())!=null?t:this.execute()}execute(){return _t(this,null,function*(){const t=()=>{var k;return this.retryer=d1({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(O,P)=>{this.dispatch({type:"failed",failureCount:O,error:P})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(k=this.options.retry)!=null?k:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,l,c,d;if(!r){var p,h,m,v;this.dispatch({type:"loading",variables:this.options.variables}),yield(p=(h=this.mutationCache.config).onMutate)==null?void 0:p.call(h,this.state.variables,this);const O=yield(m=(v=this.options).onMutate)==null?void 0:m.call(v,this.state.variables);O!==this.state.context&&this.dispatch({type:"loading",context:O,variables:this.state.variables})}const k=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,k,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,k,this.state.variables,this.state.context),yield(s=(l=this.mutationCache.config).onSettled)==null?void 0:s.call(l,k,null,this.state.variables,this.state.context,this),yield(c=(d=this.options).onSettled)==null?void 0:c.call(d,k,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:k}),k}catch(k){try{var g,y,b,T,E,x,C,_;throw yield(g=(y=this.mutationCache.config).onError)==null?void 0:g.call(y,k,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(k),yield(b=(T=this.options).onError)==null?void 0:b.call(T,k,this.state.variables,this.state.context),yield(E=(x=this.mutationCache.config).onSettled)==null?void 0:E.call(x,void 0,k,this.state.variables,this.state.context,this),yield(C=(_=this.options).onSettled)==null?void 0:C.call(_,void 0,k,this.state.variables,this.state.context),k}finally{this.dispatch({type:"error",error:k})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return $(w({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return $(w({},n),{isPaused:!0});case"continue":return $(w({},n),{isPaused:!1});case"loading":return $(w({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!bs(this.options.networkMode),status:"loading",variables:t.variables});case"success":return $(w({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return $(w({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return w(w({},n),t.state)}};this.state=r(this.state),Ge.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function p1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class wB extends Hn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new bB({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(r),state:n,defaultOptions:r.mutationKey?t.getMutationDefaults(r.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(r=>r!==t),this.notify({type:"removed",mutation:t})}clear(){Ge.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(r=>yh(t,r))}findAll(t){return this.mutations.filter(r=>yh(t,r))}notify(t){Ge.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const r=this.mutations.filter(n=>n.state.isPaused);return Ge.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(Mt)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function xB(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,i,a;const s=(t=e.fetchOptions)==null||(r=t.meta)==null?void 0:r.refetchPage,l=(n=e.fetchOptions)==null||(o=n.meta)==null?void 0:o.fetchMore,c=l==null?void 0:l.pageParam,d=(l==null?void 0:l.direction)==="forward",p=(l==null?void 0:l.direction)==="backward",h=((i=e.state.data)==null?void 0:i.pages)||[],m=((a=e.state.data)==null?void 0:a.pageParams)||[];let v=m,g=!1;const y=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>{var k;if((k=e.signal)!=null&&k.aborted)g=!0;else{var O;(O=e.signal)==null||O.addEventListener("abort",()=>{g=!0})}return e.signal}})},b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),T=(_,k,O,P)=>(v=P?[k,...v]:[...v,k],P?[O,..._]:[..._,O]),E=(_,k,O,P)=>{if(g)return Promise.reject("Cancelled");if(typeof O=="undefined"&&!k&&_.length)return Promise.resolve(_);const F={queryKey:e.queryKey,pageParam:O,meta:e.options.meta};y(F);const W=b(F);return Promise.resolve(W).then(A=>T(_,O,A,P))};let x;if(!h.length)x=E([]);else if(d){const _=typeof c!="undefined",k=_?c:Eh(e.options,h);x=E(h,_,k)}else if(p){const _=typeof c!="undefined",k=_?c:CB(e.options,h);x=E(h,_,k,!0)}else{v=[];const _=typeof e.options.getNextPageParam=="undefined";x=(s&&h[0]?s(h[0],0,h):!0)?E([],_,m[0]):Promise.resolve(T([],m[0],h[0]));for(let O=1;O<h.length;O++)x=x.then(P=>{if(s&&h[O]?s(h[O],O,h):!0){const W=_?m[O]:Eh(e.options,P);return E(P,_,W)}return Promise.resolve(T(P,m[O],h[O]))})}return x.then(_=>({pages:_,pageParams:v}))}}}}function Eh(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function CB(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class EB{constructor(t={}){this.queryCache=t.queryCache||new yB,this.mutationCache=t.mutationCache||new wB,this.logger=t.logger||qu,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,process.env.NODE_ENV!=="production"&&t.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=da.subscribe(()=>{da.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=fa.subscribe(()=>{fa.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,r;this.mountCount--,this.mountCount===0&&((t=this.unsubscribeFocus)==null||t.call(this),this.unsubscribeFocus=void 0,(r=this.unsubscribeOnline)==null||r.call(this),this.unsubscribeOnline=void 0)}isFetching(t,r){const[n]=hr(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll($(w({},t),{fetching:!0})).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}ensureQueryData(t,r,n){const o=uo(t,r,n),i=this.getQueryData(o.queryKey);return i?Promise.resolve(i):this.fetchQuery(o)}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:r,state:n})=>{const o=n.data;return[r,o]})}setQueryData(t,r,n){const o=this.queryCache.find(t),i=o==null?void 0:o.state.data,a=cB(r,i);if(typeof a=="undefined")return;const s=uo(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,$(w({},n),{manual:!0}))}setQueriesData(t,r,n){return Ge.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,r,n)]))}getQueryState(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state}removeQueries(t,r){const[n]=hr(t,r),o=this.queryCache;Ge.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=hr(t,r,n),a=this.queryCache,s=w({type:"active"},o);return Ge.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=hr(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=Ge.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(Mt).catch(Mt)}invalidateQueries(t,r,n){const[o,i]=hr(t,r,n);return Ge.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(c=>{c.invalidate()}),o.refetchType==="none")return Promise.resolve();const l=$(w({},o),{type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"});return this.refetchQueries(l,i)})}refetchQueries(t,r,n){const[o,i]=hr(t,r,n),a=Ge.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,$(w({},i),{cancelRefetch:(c=i==null?void 0:i.cancelRefetch)!=null?c:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(Mt);return i!=null&&i.throwOnError||(s=s.catch(Mt)),s}fetchQuery(t,r,n){const o=uo(t,r,n),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,r,n){return this.fetchQuery(t,r,n).then(Mt).catch(Mt)}fetchInfiniteQuery(t,r,n){const o=uo(t,r,n);return o.behavior=xB(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(Mt).catch(Mt)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,r){const n=this.queryDefaults.find(o=>Lr(t)===Lr(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>mn(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>mn(t,o.queryKey)).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(t)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."),r==null?void 0:r.defaultOptions}setMutationDefaults(t,r){const n=this.mutationDefaults.find(o=>Lr(t)===Lr(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>mn(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>mn(t,o.mutationKey)).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(t)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults."),r==null?void 0:r.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const r=$(w(w(w({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=Yu(r.queryKey,r)),typeof r.refetchOnReconnect=="undefined"&&(r.refetchOnReconnect=r.networkMode!=="always"),typeof r.useErrorBoundary=="undefined"&&(r.useErrorBoundary=!!r.suspense),r}defaultMutationOptions(t){return t!=null&&t._defaulted?t:$(w(w(w({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class TB extends Hn{constructor(t,r){super(),this.client=t,this.options=r,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.currentQuery.addObserver(this),Th(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Tc(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Tc(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,r){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),process.env.NODE_ENV!=="production"&&typeof(t==null?void 0:t.isDataEqual)!="undefined"&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),ua(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled!="undefined"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const i=this.hasListeners();i&&Sh(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(r),i&&(this.currentQuery!==o||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();const a=this.computeRefetchInterval();i&&(this.currentQuery!==o||this.options.enabled!==n.enabled||a!==this.currentRefetchInterval)&&this.updateRefetchInterval(a)}getOptimisticResult(t){const r=this.client.getQueryCache().build(this.client,t),n=this.createResult(r,t);return RB(this,n,t)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){const r={};return Object.keys(t).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})}),r}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch(n={}){var o=n,{refetchPage:t}=o,r=te(o,["refetchPage"]);return this.fetch($(w({},r),{meta:{refetchPage:t}}))}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch($(w({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Mt)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),Wo||this.currentResult.isStale||!xc(this.options.staleTime))return;const r=a1(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},r)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(Wo||this.options.enabled===!1||!xc(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||da.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,r){const n=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=t!==n,c=l?t.state:this.currentQueryInitialState,d=l?this.currentResult:this.previousQueryResult,{state:p}=t;let{dataUpdatedAt:h,error:m,errorUpdatedAt:v,fetchStatus:g,status:y}=p,b=!1,T=!1,E;if(r._optimisticResults){const O=this.hasListeners(),P=!O&&Th(t,r),F=O&&Sh(t,n,r,o);(P||F)&&(g=bs(t.options.networkMode)?"fetching":"paused",h||(y="loading")),r._optimisticResults==="isRestoring"&&(g="idle")}if(r.keepPreviousData&&!p.dataUpdatedAt&&d!=null&&d.isSuccess&&y!=="error")E=d.data,h=d.dataUpdatedAt,y=d.status,b=!0;else if(r.select&&typeof p.data!="undefined")if(i&&p.data===(a==null?void 0:a.data)&&r.select===this.selectFn)E=this.selectResult;else try{this.selectFn=r.select,E=r.select(p.data),E=Ec(i==null?void 0:i.data,E,r),this.selectResult=E,this.selectError=null}catch(O){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(O),this.selectError=O}else E=p.data;if(typeof r.placeholderData!="undefined"&&typeof E=="undefined"&&y==="loading"){let O;if(i!=null&&i.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))O=i.data;else if(O=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof O!="undefined")try{O=r.select(O),this.selectError=null}catch(P){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(P),this.selectError=P}typeof O!="undefined"&&(y="success",E=Ec(i==null?void 0:i.data,O,r),T=!0)}this.selectError&&(m=this.selectError,E=this.selectResult,v=Date.now(),y="error");const x=g==="fetching",C=y==="loading",_=y==="error";return{status:y,fetchStatus:g,isLoading:C,isSuccess:y==="success",isError:_,isInitialLoading:C&&x,data:E,dataUpdatedAt:h,error:m,errorUpdatedAt:v,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>c.dataUpdateCount||p.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!C,isLoadingError:_&&p.dataUpdatedAt===0,isPaused:g==="paused",isPlaceholderData:T,isPreviousData:b,isRefetchError:_&&p.dataUpdatedAt!==0,isStale:Xu(t,r),refetch:this.refetch,remove:this.remove}}updateResult(t){const r=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,ua(n,r))return;this.currentResult=n;const o={cache:!0},i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,s=typeof a=="function"?a():a;if(s==="all"||!s&&!this.trackedProps.size)return!0;const l=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&l.add("error"),Object.keys(this.currentResult).some(c=>{const d=c;return this.currentResult[d]!==r[d]&&l.has(d)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(w(w({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!Wi(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){Ge.batch(()=>{if(t.onSuccess){var r,n,o,i;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,l,c;(a=(s=this.options).onError)==null||a.call(s,this.currentResult.error),(l=(c=this.options).onSettled)==null||l.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(({listener:d})=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function SB(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Th(e,t){return SB(e,t)||e.state.dataUpdatedAt>0&&Tc(e,t,t.refetchOnMount)}function Tc(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Xu(e,t)}return!1}function Sh(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Xu(e,r)}function Xu(e,t){return e.isStaleByTime(t.staleTime)}function RB(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!ua(e.getCurrentResult(),t)}var Sc={exports:{}},al={};/**
335
335
  * @license React
336
336
  * use-sync-external-store-shim.production.min.js
337
337
  *
@@ -339,7 +339,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
339
339
  *
340
340
  * This source code is licensed under the MIT license found in the
341
341
  * LICENSE file in the root directory of this source tree.
342
- */var Th;function SB(){if(Th)return ol;Th=1;var e=S;function t(p,h){return p===h&&(p!==0||1/p===1/h)||p!==p&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(p,h){var m=h(),v=n({inst:{value:m,getSnapshot:h}}),g=v[0].inst,y=v[1];return i(function(){g.value=m,g.getSnapshot=h,l(g)&&y({inst:g})},[p,m,h]),o(function(){return l(g)&&y({inst:g}),p(function(){l(g)&&y({inst:g})})},[p]),a(m),m}function l(p){var h=p.getSnapshot;p=p.value;try{var m=h();return!r(p,m)}catch(v){return!0}}function c(p,h){return h()}var d=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?c:s;return ol.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,ol}var il={};/**
342
+ */var Rh;function _B(){if(Rh)return al;Rh=1;var e=S;function t(p,h){return p===h&&(p!==0||1/p===1/h)||p!==p&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(p,h){var m=h(),v=n({inst:{value:m,getSnapshot:h}}),g=v[0].inst,y=v[1];return i(function(){g.value=m,g.getSnapshot=h,l(g)&&y({inst:g})},[p,m,h]),o(function(){return l(g)&&y({inst:g}),p(function(){l(g)&&y({inst:g})})},[p]),a(m),m}function l(p){var h=p.getSnapshot;p=p.value;try{var m=h();return!r(p,m)}catch(v){return!0}}function c(p,h){return h()}var d=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?c:s;return al.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,al}var sl={};/**
343
343
  * @license React
344
344
  * use-sync-external-store-shim.development.js
345
345
  *
@@ -347,4 +347,4 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
347
347
  *
348
348
  * This source code is licensed under the MIT license found in the
349
349
  * LICENSE file in the root directory of this source tree.
350
- */var Sh;function RB(){return Sh||(Sh=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=S,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(E){{for(var x=arguments.length,C=new Array(x>1?x-1:0),_=1;_<x;_++)C[_-1]=arguments[_];n("error",E,C)}}function n(E,x,C){{var _=t.ReactDebugCurrentFrame,O=_.getStackAddendum();O!==""&&(x+="%s",C=C.concat([O]));var k=C.map(function(D){return String(D)});k.unshift("Warning: "+x),Function.prototype.apply.call(console[E],console,k)}}function o(E,x){return E===x&&(E!==0||1/E===1/x)||E!==E&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue,d=!1,p=!1;function h(E,x,C){d||e.startTransition!==void 0&&(d=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var _=x();if(!p){var O=x();i(_,O)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),p=!0)}var k=a({inst:{value:_,getSnapshot:x}}),D=k[0].inst,F=k[1];return l(function(){D.value=_,D.getSnapshot=x,m(D)&&F({inst:D})},[E,_,x]),s(function(){m(D)&&F({inst:D});var W=function(){m(D)&&F({inst:D})};return E(W)},[E]),c(_),_}function m(E){var x=E.getSnapshot,C=E.value;try{var _=x();return!i(C,_)}catch(O){return!0}}function v(E,x,C){return x()}var g=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",y=!g,b=y?v:h,T=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b;il.useSyncExternalStore=T,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),il}process.env.NODE_ENV==="production"?Ec.exports=SB():Ec.exports=RB();var _B=Ec.exports;const p1=_B.useSyncExternalStore,Rh=L.createContext(void 0),h1=L.createContext(!1);function g1(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Rh),window.ReactQueryClientContext):Rh)}const m1=({context:e}={})=>{const t=L.useContext(g1(e,L.useContext(h1)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},MB=({client:e,children:t,context:r,contextSharing:n=!1})=>{L.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),process.env.NODE_ENV!=="production"&&n&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const o=g1(r,n);return L.createElement(h1.Provider,{value:!r&&n},L.createElement(o.Provider,{value:e},t))},OB=L.createContext(!1),kB=()=>L.useContext(OB);function AB(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const IB=L.createContext(AB()),PB=()=>L.useContext(IB);function v1(e,t){return typeof e=="function"?e(...t):!!e}const DB=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},$B=e=>{L.useEffect(()=>{e.clearReset()},[e])},NB=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&v1(r,[e.error,n]),LB=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},FB=(e,t)=>e.isLoading&&e.isFetching&&!t,jB=(e,t,r)=>(e==null?void 0:e.suspense)&&FB(t,r),BB=(e,t,r)=>t.fetchOptimistic(e).then(({data:n})=>{e.onSuccess==null||e.onSuccess(n),e.onSettled==null||e.onSettled(n,null)}).catch(n=>{r.clearReset(),e.onError==null||e.onError(n),e.onSettled==null||e.onSettled(void 0,n)});function HB(e,t){const r=m1({context:e.context}),n=kB(),o=PB(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=Ge.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Ge.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Ge.batchCalls(i.onSettled)),LB(i),DB(i,o),$B(o);const[a]=L.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(p1(L.useCallback(l=>{const c=n?()=>{}:a.subscribe(Ge.batchCalls(l));return a.updateResult(),c},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),L.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),jB(i,s,n))throw BB(i,a,o);if(NB({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function zB(e,t,r){const n=uo(e,t,r);return HB(n,CB)}function WB({fill:e="rgba(38, 46, 61, 0.67)"}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7C13 7.55228 12.5523 8 12 8C11.4477 8 11 7.55228 11 7ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16Z",fill:e})})}const VB=f.newStyled("button",{target:"e14rhw2k0",label:"ClearSelectionButton"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";background:none;font-size:13px;border:none;height:26px;padding:0 6px 0 2px;margin:0 4px 0 4px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;&:hover{background-color:rgba(247,247,247,1);}"),UB=f.newStyled("span",{target:"e14rhw2k1",label:"ClearSelectionText"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";display:inline-block;padding-top:3px;white-space:nowrap;"),GB=({onClick:e})=>{var n;const{themeSettings:t}=f.useThemeContext(),{t:r}=f.useTranslation();return f.jsxs(VB,{onClick:e,theme:t,children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:f.jsx("path",{fill:(n=t.chart)==null?void 0:n.textColor,d:"M7.187 7l9.774 10.279A1 1 0 0 0 17 17V8a1 1 0 0 0-1-1H7.187zm9.018 10.979L6.206 7.463l.487-.415A1 1 0 0 0 6 8v9a1 1 0 0 0 1 1h9c.07 0 .139-.007.205-.021zM7 6h9a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z"})}),f.jsx(UB,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function YB(e){const t={};return{flatFilters:e.reduce((n,o)=>(f.isCascadingFilter(o)?(t[o.config.guid]||(t[o.config.guid]=[]),o.filters.forEach(i=>{t[o.config.guid].push(i),n.push(i)})):n.push(o),n),[]),cascadingToPureFiltersMap:t}}function y1(e,t,r){const n=t.filter(f.isCascadingFilter);return XB(e,n).map(i=>{if(qB(i)){const a=n.find(l=>l.config.guid===i.groupId);if(!a)throw new f.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return KB(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function qB(e){return"groupId"in e}function XB(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>Eo(a)===Eo(n)));if(o){const i=o.config.guid,a=r.find(s=>"groupId"in s&&s.groupId===i);a?a.filters.push(n):r.push({groupId:i,filters:[n],previousFilters:o.filters})}else r.push(n)}),r}function KB(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?JB(e.filters,e.previousFilters):e.filters,o=QB(n,t.config.disabled);return f.cascading(n,{guid:t.config.guid,disabled:o})}function QB(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function ZB(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=YB(e);return{pureFilters:n,updateFilters:a=>{const s=y1(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:eH(r,o)}}function JB(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>zu(s,o));return a&&!Nv(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?gs(n):n)}function eH(e,t){var r;return{all:e.all,ids:((r=e.ids)==null?void 0:r.reduce((n,o)=>{const i=t[o];return i?n.concat(i.map(a=>a.config.guid)):n.concat(o)},[]))||[]}}const _h={applyMode:ms.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function tH(e,t){return e==="table"?{applyMode:ms.FILTER,shouldAffectFilters:!1,ignoreFilters:f.merge(_h.ignoreFilters,t.ignoreFilters||{})}:f.merge(_h,t)}function rH(e,t,r,n,o,i,a){const s={},l=tH(r,o),{pureFilters:c,updateFilters:d,pureFiltersIgnoringRules:p}=ZB(e,t,l.ignoreFilters||{}),h=c.filter(E=>!E.config.disabled),m=X9(h,p),v=Vu(r,n),g=l.shouldAffectFilters&&v.length,[y,b]=oH(m,v,l.applyMode),T=l.forceApplyBackgroundFilters?At(nH(c),y):y;if(s.filters=T,s.highlights=b,s.onDataPointsSelected=(E,x)=>{const C=[];if(g){const _=sh(r,n,E);_&&C.push(_);const O=Hi(r,n,E),{filters:k,isSelection:D}=nl(O,c,!0),F=i(D?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),W=lh(F,()=>{d(At(c,k))});C.push(W)}C.length&&(a==null||a({id:la.WIDGET_POINTS_CROSSFILTERING,position:{left:x.clientX,top:x.clientY},itemSections:C}))},s.onDataPointContextMenu=(E,x)=>{const C=[];if(g){const _=sh(r,n,[E]);_&&C.push(_);const O=Hi(r,n,[E]),{filters:k,isSelection:D}=nl(O,c,!0),F=i(D?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),W=lh(F,()=>{d(At(c,k))});C.push(W)}C.length&&(a==null||a({id:la.WIDGET_POINTS_CROSSFILTERING,position:{left:x.clientX,top:x.clientY},itemSections:C}))},g){s.onDataPointClick=_=>{const O=Hi(r,n,[_]),{filters:k}=nl(O,c);d(At(c,k))};const E=h.filter(_=>v==null?void 0:v.some(O=>f.isMembersFilter(_)&&Pt(_.attribute,O)&&!Hu(_)&&!_.config.locked)),x=!!E.length,C=()=>{const _=E.map(gs);d(At(c,_))};x&&(s.renderToolbar=(_,O)=>{const k=v.map(({expression:D})=>D).join(";");return f.jsxs("div",{style:{display:"flex"},children:[f.jsx(GB,{onClick:C}),O]},k)})}return s}function nH(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function oH(e,t,r){if(r===ms.HIGHLIGHT){const[n,o]=oi(e,a=>t.every(s=>!Pt(s,a.attribute))),i=o.filter(a=>!Hu(a));return[n,i]}return[e,[]]}function iH(e,t){const[r,n]=Wu(S.useMemo(()=>Co(e),[e]),{onLocalStateChange:S.useCallback(h=>{const{filters:m,relations:v}=h;t&&t(fo(m,v))},[t])}),{filters:o,relations:i}=r,a=S.useMemo(()=>fo(o,i),[o,i]),s=S.useCallback(h=>{if(xo(h)){const{filters:m,relations:v}=Co(h);n({filters:m||[],relations:v||null})}else n({filters:h,relations:null})},[n]),l=S.useCallback(h=>{const m=At(o,[h]);n({filters:m,relations:po(o,i,m)})},[o,i,n]),c=S.useCallback(h=>{n({filters:h,relations:po(o,i,h)})},[o,i,n]),d=S.useMemo(()=>o.some(h=>f.isCascadingFilter(h)),[o]),p=S.useCallback(h=>{if(!i)return h;const m=d?y1(h,o):h,v=po(o,i,m);return fo(m,v)},[d,o,i]);return{regularFilters:o,addFilter:l,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:c,applyRelationsToOtherFilters:p}}const aH=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=f.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:l,setFilters:c,applyRelationsToOtherFilters:d}=iH(e,n),p=S.useCallback((h,m={})=>{var x,C;if(f.isTextWidgetProps(h))return h;const v=f.getInternalWidgetType(h),g=h,y=f.cloneDeep(h),T="drilldownOptions"in h&&((C=(x=h.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:C.length)?o1(h.chartType,h.dataOptions,f.last(h.drilldownOptions.drilldownSelections).nextDimension):h.dataOptions,E=rH(a,c,v,T,m,o,t);return y.highlights=At(E.highlights,g.highlights),y.onBeforeMenuOpen=r,E.onDataPointClick&&f.registerDataPointClickHandler(y,E.onDataPointClick),y.filters=d(At(E.filters,Sc(g.filters))),E.onDataPointClick&&f.registerDataPointClickHandler(y,E.onDataPointClick),E.onDataPointsSelected&&f.registerDataPointsSelectedHandler(y,E.onDataPointsSelected),E.onDataPointContextMenu&&f.registerDataPointContextMenuHandler(y,E.onDataPointContextMenu),E.renderToolbar&&f.registerRenderToolbarHandler(y,E.renderToolbar),y},[a,c,o,t,r,d]);return{filters:i,setFilters:l,addFilter:s,connectToWidgetProps:p}};exports.Backdrop=Vc;exports.Button=Ho;exports.ButtonBase=Yr;exports.Chart=dv;exports.ChartWidget=aB;exports.CommonFiltersApplyMode=ms;exports.ContextMenu=O0;exports.DEFAULT_PIVOT_TABLE_SIZE=X0;exports.DEFAULT_TABLE_ROWS_PER_PAGE=ov;exports.DrilldownBreadcrumbs=Ov;exports.DynamicSizeContainer=Fa;exports.ElementStates=gC;exports.ErrorBoundary=Bh;exports.ErrorBoundary$1=lv;exports.ErrorBoundaryBox=jh;exports.ExclamationMarkIcon=Fh;exports.Fade=Wc;exports.I18nProvider=Wh;exports.IconButton=On;exports.LEGACY_DESIGN_TYPES=to;exports.List=jc;exports.ListContext=Ro;exports.LoadingDots=Mc;exports.LoadingIndicator=ga;exports.LoadingOverlay=ao;exports.Menu=$a;exports.MenuIds=la;exports.MenuItem=Na;exports.MenuList=Bc;exports.MenuProvider=k0;exports.MenuSectionIds=zo;exports.Modal=Uc;exports.NoResultsOverlay=Xc;exports.PAGES_BATCH_SIZE=iv;exports.Paper=Da;exports.Popover=qc;exports.Popper=ni;exports.PropTypes=u;exports.QueryClient=xB;exports.QueryClientProvider=MB;exports.SizeMeasurement=hC;exports.Subscribable=Hn;exports.TableComponent=av;exports.ThemeProvider=D0;exports.ThreeDotsIcon=WB;exports.Tooltip=hs;exports.Transition=jt;exports.Typography=vt;exports.UnknownRelationsNodeError=ha;exports.WidgetContainer=mv;exports.WidgetSpaceAround=pv;exports.alpha=Ne;exports.areFiltersEqual=yv;exports.asSisenseComponent=Xo;exports.baseUniq=Jc;exports.boxWhiskerProcessResult=PE;exports.calculateNewRelations=po;exports.camelCase=t1;exports.capitalize=fe;exports.classNames=Fo;exports.clearMembersFilter=gs;exports.cloneFilterAndToggleDisabled=ZF;exports.clsx=he;exports.combineFiltersAndRelations=fo;exports.composeClasses=Be;exports.convertFilterRelationsModelToJaql=Z1;exports.convertFilterRelationsModelToRelationRules=H1;exports.convertToThemeSettings=Ah;exports.createCaseFirst=Bv;exports.createChainedFunction=hl;exports.createSimplePaletteValueFilter=Cr;exports.createStyled=s0;exports.createSvgIcon=In;exports.createTheme=Ma;exports.createUnarySpacing=Ca;exports.darken=ka;exports.dataLoadStateReducer=vc;exports.debounce=f9;exports.deepmerge=dt;exports.duration=v0;exports.elementAcceptingRef=Gr;exports.elementTypeAcceptingRef=$c;exports.exactProp=Nc;exports.extendSxProp=t0;exports.filterRelationRulesToFilterRelationsModel=G1;exports.findFilterByGuid=Y1;exports.generateUtilityClass=Oe;exports.generateUtilityClasses=ke;exports.getDefaultState=f1;exports.getDrilldownMenuItems=jv;exports.getFiltersArray=Sc;exports.getHierarchyModels=r1;exports.getLegacyPalette=Dh;exports.getListItemTextUtilityClass=gx;exports.getNonceFromMetaTag=zh;exports.getPaletteName=Ih;exports.getReactElementRef=An;exports.getRelationsWithReplacedFilter=F1;exports.getSelectionTitleMenuItem=Fv;exports.getTableAttributesAndMeasures=cg;exports.getThemeSettingsByOid=Ph;exports.getTransitionProps=_o;exports.getTranslatedDataOptions=tg;exports.getValue=kn;exports.getWidgetDefaultSize=K0;exports.handleBreakpoints=Kt;exports.isAttributeDescriptionNode=K1;exports.isCloseBracketDescriptionNode=X1;exports.isFilterRelations=xo;exports.isFiltersChanged=vv;exports.isOpenBracketDescriptionNode=q1;exports.isOperatorDescriptionNode=Q1;exports.isRelationsChanged=n9;exports.isRelationsRule=pa;exports.isRelationsRuleIdNode=fa;exports.isSameAttribute=Pt;exports.isThemeOid=Pi;exports.isTrivialSingleNodeRelations=Rc;exports.lighten=Aa;exports.listItemTextClasses=xl;exports.memoTheme=Ye;exports.mergeBreakpointsInOrder=Ny;exports.mergeFilters=At;exports.mergeFiltersOrFilterRelations=Oh;exports.notifyManager=Ge;exports.ownerDocument=xt;exports.parseMutationArgs=lB;exports.partition=oi;exports.processDrilldownSelections=Iv;exports.refType=Go;exports.resolveBreakpointValues=Fy;exports.resolveProps=To;exports.rootShouldForwardProp=qo;exports.shallowEqualObjects=ca;exports.shouldSkipSisenseContextWaiting=sv;exports.shouldThrowError=v1;exports.splitFiltersAndRelations=Co;exports.styled=de;exports.trackHook=o9;exports.translatePivotTableDataOptions=SE;exports.translateTableDataOptions=eg;exports.typographyClasses=ux;exports.updateDrilldownSelections=Av;exports.upperFirst=Hv;exports.useCommonFilters=aH;exports.useControlled=Lc;exports.useDefaultProps=Fe;exports.useDrilldownCore=kv;exports.useEnhancedEffect=wr;exports.useEventCallback=rr;exports.useForkRef=ft;exports.useGetHierarchyModels=Jj;exports.useHasChanged=ju;exports.useId=Ia;exports.useMenu=Cv;exports.useModalContext=La;exports.useQuery=zB;exports.useQueryClient=m1;exports.useSetError=Zc;exports.useShouldLoad=xv;exports.useSlot=tt;exports.useSyncExternalStore=p1;exports.useSyncedState=Wu;exports.useTheme=n0;exports.useTheme$1=Yo;exports.useTimeout=Dr;exports.withErrorBoundary=Hh;exports.withTracking=wv;
350
+ */var _h;function MB(){return _h||(_h=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=S,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(E){{for(var x=arguments.length,C=new Array(x>1?x-1:0),_=1;_<x;_++)C[_-1]=arguments[_];n("error",E,C)}}function n(E,x,C){{var _=t.ReactDebugCurrentFrame,k=_.getStackAddendum();k!==""&&(x+="%s",C=C.concat([k]));var O=C.map(function(P){return String(P)});O.unshift("Warning: "+x),Function.prototype.apply.call(console[E],console,O)}}function o(E,x){return E===x&&(E!==0||1/E===1/x)||E!==E&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue,d=!1,p=!1;function h(E,x,C){d||e.startTransition!==void 0&&(d=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var _=x();if(!p){var k=x();i(_,k)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),p=!0)}var O=a({inst:{value:_,getSnapshot:x}}),P=O[0].inst,F=O[1];return l(function(){P.value=_,P.getSnapshot=x,m(P)&&F({inst:P})},[E,_,x]),s(function(){m(P)&&F({inst:P});var W=function(){m(P)&&F({inst:P})};return E(W)},[E]),c(_),_}function m(E){var x=E.getSnapshot,C=E.value;try{var _=x();return!i(C,_)}catch(k){return!0}}function v(E,x,C){return x()}var g=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",y=!g,b=y?v:h,T=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b;sl.useSyncExternalStore=T,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),sl}process.env.NODE_ENV==="production"?Sc.exports=_B():Sc.exports=MB();var OB=Sc.exports;const h1=OB.useSyncExternalStore,Mh=L.createContext(void 0),g1=L.createContext(!1);function m1(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Mh),window.ReactQueryClientContext):Mh)}const v1=({context:e}={})=>{const t=L.useContext(m1(e,L.useContext(g1)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},kB=({client:e,children:t,context:r,contextSharing:n=!1})=>{L.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),process.env.NODE_ENV!=="production"&&n&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const o=m1(r,n);return L.createElement(g1.Provider,{value:!r&&n},L.createElement(o.Provider,{value:e},t))},AB=L.createContext(!1),IB=()=>L.useContext(AB);function PB(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const DB=L.createContext(PB()),$B=()=>L.useContext(DB);function y1(e,t){return typeof e=="function"?e(...t):!!e}const NB=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},LB=e=>{L.useEffect(()=>{e.clearReset()},[e])},FB=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&y1(r,[e.error,n]),jB=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},BB=(e,t)=>e.isLoading&&e.isFetching&&!t,HB=(e,t,r)=>(e==null?void 0:e.suspense)&&BB(t,r),zB=(e,t,r)=>t.fetchOptimistic(e).then(({data:n})=>{e.onSuccess==null||e.onSuccess(n),e.onSettled==null||e.onSettled(n,null)}).catch(n=>{r.clearReset(),e.onError==null||e.onError(n),e.onSettled==null||e.onSettled(void 0,n)});function WB(e,t){const r=v1({context:e.context}),n=IB(),o=$B(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=Ge.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Ge.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Ge.batchCalls(i.onSettled)),jB(i),NB(i,o),LB(o);const[a]=L.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(h1(L.useCallback(l=>{const c=n?()=>{}:a.subscribe(Ge.batchCalls(l));return a.updateResult(),c},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),L.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),HB(i,s,n))throw zB(i,a,o);if(FB({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function VB(e,t,r){const n=uo(e,t,r);return WB(n,TB)}function UB({fill:e="rgba(38, 46, 61, 0.67)"}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7C13 7.55228 12.5523 8 12 8C11.4477 8 11 7.55228 11 7ZM11 12C11 11.4477 11.4477 11 12 11C12.5523 11 13 11.4477 13 12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16Z",fill:e})})}const GB=f.newStyled("button",{target:"e14rhw2k0",label:"ClearSelectionButton"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";background:none;font-size:13px;border:none;height:26px;padding:0 6px 0 2px;margin:0 4px 0 4px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;&:hover{background-color:rgba(247,247,247,1);}"),YB=f.newStyled("span",{target:"e14rhw2k1",label:"ClearSelectionText"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";display:inline-block;padding-top:3px;white-space:nowrap;"),qB=({onClick:e})=>{var n;const{themeSettings:t}=f.useThemeContext(),{t:r}=f.useTranslation();return f.jsxs(GB,{onClick:e,theme:t,children:[f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:f.jsx("path",{fill:(n=t.chart)==null?void 0:n.textColor,d:"M7.187 7l9.774 10.279A1 1 0 0 0 17 17V8a1 1 0 0 0-1-1H7.187zm9.018 10.979L6.206 7.463l.487-.415A1 1 0 0 0 6 8v9a1 1 0 0 0 1 1h9c.07 0 .139-.007.205-.021zM7 6h9a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z"})}),f.jsx(YB,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function XB(e){const t={};return{flatFilters:e.reduce((n,o)=>(f.isCascadingFilter(o)?(t[o.config.guid]||(t[o.config.guid]=[]),o.filters.forEach(i=>{t[o.config.guid].push(i),n.push(i)})):n.push(o),n),[]),cascadingToPureFiltersMap:t}}function b1(e,t,r){const n=t.filter(f.isCascadingFilter);return QB(e,n).map(i=>{if(KB(i)){const a=n.find(l=>l.config.guid===i.groupId);if(!a)throw new f.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return ZB(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function KB(e){return"groupId"in e}function QB(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>Eo(a)===Eo(n)));if(o){const i=o.config.guid,a=r.find(s=>"groupId"in s&&s.groupId===i);a?a.filters.push(n):r.push({groupId:i,filters:[n],previousFilters:o.filters})}else r.push(n)}),r}function ZB(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?tH(e.filters,e.previousFilters):e.filters,o=JB(n,t.config.disabled);return f.cascading(n,{guid:t.config.guid,disabled:o})}function JB(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function eH(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=XB(e);return{pureFilters:n,updateFilters:a=>{const s=b1(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:rH(r,o)}}function tH(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>Vu(s,o));return a&&!Lv(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?vs(n):n)}function rH(e,t){var r;return{all:e.all,ids:((r=e.ids)==null?void 0:r.reduce((n,o)=>{const i=t[o];return i?n.concat(i.map(a=>a.config.guid)):n.concat(o)},[]))||[]}}const Oh={applyMode:ys.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function nH(e,t){return e==="table"?{applyMode:ys.FILTER,shouldAffectFilters:!1,ignoreFilters:f.merge(Oh.ignoreFilters,t.ignoreFilters||{})}:f.merge(Oh,t)}function oH(e,t,r,n,o,i,a){const s={},l=nH(r,o),{pureFilters:c,updateFilters:d,pureFiltersIgnoringRules:p}=eH(e,t,l.ignoreFilters||{}),h=c.filter(E=>!E.config.disabled),m=Q9(h,p),v=Gu(r,n),g=l.shouldAffectFilters&&v.length,[y,b]=aH(m,v,l.applyMode),T=l.forceApplyBackgroundFilters?At(iH(c),y):y;if(s.filters=T,s.highlights=b,s.onDataPointsSelected=(E,x)=>{const C=[];if(g){const _=ch(r,n,E);_&&C.push(_);const k=zi(r,n,E),{filters:O,isSelection:P}=il(k,c,!0),F=i(P?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),W=uh(F,()=>{d(At(c,O))});C.push(W)}C.length&&(a==null||a({id:ca.WIDGET_POINTS_CROSSFILTERING,position:{left:x.clientX,top:x.clientY},itemSections:C}))},s.onDataPointContextMenu=(E,x)=>{const C=[];if(g){const _=ch(r,n,[E]);_&&C.push(_);const k=zi(r,n,[E]),{filters:O,isSelection:P}=il(k,c,!0),F=i(P?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),W=uh(F,()=>{d(At(c,O))});C.push(W)}C.length&&(a==null||a({id:ca.WIDGET_POINTS_CROSSFILTERING,position:{left:x.clientX,top:x.clientY},itemSections:C}))},g){s.onDataPointClick=_=>{const k=zi(r,n,[_]),{filters:O}=il(k,c);d(At(c,O))};const E=h.filter(_=>v==null?void 0:v.some(k=>f.isMembersFilter(_)&&Pt(_.attribute,k)&&!Wu(_)&&!_.config.locked)),x=!!E.length,C=()=>{const _=E.map(vs);d(At(c,_))};x&&(s.renderToolbar=(_,k)=>{const O=v.map(({expression:P})=>P).join(";");return f.jsxs("div",{style:{display:"flex"},children:[f.jsx(qB,{onClick:C}),k]},O)})}return s}function iH(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function aH(e,t,r){if(r===ys.HIGHLIGHT){const[n,o]=oi(e,a=>t.every(s=>!Pt(s,a.attribute))),i=o.filter(a=>!Wu(a));return[n,i]}return[e,[]]}function sH(e,t){const[r,n]=Uu(S.useMemo(()=>Co(e),[e]),{onLocalStateChange:S.useCallback(h=>{const{filters:m,relations:v}=h;t&&t(fo(m,v))},[t])}),{filters:o,relations:i}=r,a=S.useMemo(()=>fo(o,i),[o,i]),s=S.useCallback(h=>{if(xo(h)){const{filters:m,relations:v}=Co(h);n({filters:m||[],relations:v||null})}else n({filters:h,relations:null})},[n]),l=S.useCallback(h=>{const m=At(o,[h]);n({filters:m,relations:po(o,i,m)})},[o,i,n]),c=S.useCallback(h=>{n({filters:h,relations:po(o,i,h)})},[o,i,n]),d=S.useMemo(()=>o.some(h=>f.isCascadingFilter(h)),[o]),p=S.useCallback(h=>{if(!i)return h;const m=d?b1(h,o):h,v=po(o,i,m);return fo(m,v)},[d,o,i]);return{regularFilters:o,addFilter:l,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:c,applyRelationsToOtherFilters:p}}const lH=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=f.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:l,setFilters:c,applyRelationsToOtherFilters:d}=sH(e,n),p=S.useCallback((h,m={})=>{var x,C;if(f.isTextWidgetProps(h))return h;const v=f.getInternalWidgetType(h),g=h,y=f.cloneDeep(h),T="drilldownOptions"in h&&((C=(x=h.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:C.length)?i1(h.chartType,h.dataOptions,f.last(h.drilldownOptions.drilldownSelections).nextDimension):h.dataOptions,E=oH(a,c,v,T,m,o,t);return y.highlights=At(E.highlights,g.highlights),y.onBeforeMenuOpen=r,E.onDataPointClick&&f.registerDataPointClickHandler(y,E.onDataPointClick),y.filters=d(At(E.filters,_c(g.filters))),E.onDataPointClick&&f.registerDataPointClickHandler(y,E.onDataPointClick),E.onDataPointsSelected&&f.registerDataPointsSelectedHandler(y,E.onDataPointsSelected),E.onDataPointContextMenu&&f.registerDataPointContextMenuHandler(y,E.onDataPointContextMenu),E.renderToolbar&&f.registerRenderToolbarHandler(y,E.renderToolbar),y},[a,c,o,t,r,d]);return{filters:i,setFilters:l,addFilter:s,connectToWidgetProps:p}};exports.Backdrop=Yc;exports.Button=Ho;exports.ButtonBase=Yr;exports.Chart=fv;exports.ChartWidget=lB;exports.CommonFiltersApplyMode=ys;exports.ContextMenu=k0;exports.DEFAULT_PIVOT_TABLE_SIZE=Q0;exports.DEFAULT_TABLE_ROWS_PER_PAGE=av;exports.DrilldownBreadcrumbs=kv;exports.DynamicSizeContainer=ja;exports.ElementStates=gC;exports.ErrorBoundary=Hh;exports.ErrorBoundary$1=hc;exports.ErrorBoundaryBox=kc;exports.ExclamationMarkIcon=Bh;exports.Fade=Gc;exports.I18nProvider=Vh;exports.IconButton=On;exports.LEGACY_DESIGN_TYPES=to;exports.List=zc;exports.ListContext=Ro;exports.LoadingDots=Ac;exports.LoadingIndicator=ma;exports.LoadingOverlay=ao;exports.Menu=Na;exports.MenuIds=ca;exports.MenuItem=La;exports.MenuList=Wc;exports.MenuProvider=A0;exports.MenuSectionIds=zo;exports.Modal=qc;exports.ModalProvider=I0;exports.NoResultsOverlay=Zc;exports.PAGES_BATCH_SIZE=sv;exports.Paper=$a;exports.Popover=Qc;exports.Popper=ni;exports.PropTypes=u;exports.QueryClient=EB;exports.QueryClientProvider=kB;exports.SizeMeasurement=hC;exports.Subscribable=Hn;exports.TableComponent=lv;exports.ThemeProvider=N0;exports.ThreeDotsIcon=UB;exports.Tooltip=ms;exports.Transition=jt;exports.Typography=vt;exports.UnknownRelationsNodeError=ga;exports.WidgetContainer=vv;exports.WidgetSpaceAround=hv;exports.alpha=Ne;exports.areFiltersEqual=bv;exports.asSisenseComponent=Xo;exports.baseUniq=tu;exports.boxWhiskerProcessResult=PE;exports.calculateNewRelations=po;exports.camelCase=r1;exports.capitalize=fe;exports.classNames=Fo;exports.clearMembersFilter=vs;exports.cloneFilterAndToggleDisabled=e9;exports.clsx=he;exports.combineFiltersAndRelations=fo;exports.composeClasses=Be;exports.convertFilterRelationsModelToJaql=J1;exports.convertFilterRelationsModelToRelationRules=z1;exports.convertToThemeSettings=Ph;exports.createCaseFirst=Hv;exports.createChainedFunction=ml;exports.createSimplePaletteValueFilter=Cr;exports.createStyled=l0;exports.createSvgIcon=In;exports.createTheme=Oa;exports.createUnarySpacing=Ea;exports.darken=Aa;exports.dataLoadStateReducer=bc;exports.debounce=h9;exports.deepmerge=dt;exports.duration=y0;exports.elementAcceptingRef=Gr;exports.elementTypeAcceptingRef=Fc;exports.exactProp=jc;exports.extendSxProp=r0;exports.filterRelationRulesToFilterRelationsModel=Y1;exports.findFilterByGuid=q1;exports.generateUtilityClass=Oe;exports.generateUtilityClasses=ke;exports.getChartDefaultSize=Ba;exports.getDefaultState=p1;exports.getDrilldownMenuItems=Bv;exports.getFiltersArray=_c;exports.getHierarchyModels=n1;exports.getLegacyPalette=Nh;exports.getListItemTextUtilityClass=mx;exports.getNonceFromMetaTag=Wh;exports.getPaletteName=Dh;exports.getReactElementRef=An;exports.getRelationsWithReplacedFilter=j1;exports.getSelectionTitleMenuItem=jv;exports.getTableAttributesAndMeasures=dg;exports.getThemeSettingsByOid=$h;exports.getTransitionProps=_o;exports.getTranslatedDataOptions=ng;exports.getValue=kn;exports.getWidgetDefaultSize=Z0;exports.handleBreakpoints=Kt;exports.isAttributeDescriptionNode=Q1;exports.isCloseBracketDescriptionNode=K1;exports.isFilterRelations=xo;exports.isFiltersChanged=yv;exports.isOpenBracketDescriptionNode=X1;exports.isOperatorDescriptionNode=Z1;exports.isRelationsChanged=i9;exports.isRelationsRule=ha;exports.isRelationsRuleIdNode=pa;exports.isSameAttribute=Pt;exports.isThemeOid=Pi;exports.isTrivialSingleNodeRelations=Mc;exports.lighten=Ia;exports.listItemTextClasses=El;exports.memoTheme=Ye;exports.mergeBreakpointsInOrder=Ly;exports.mergeFilters=At;exports.mergeFiltersOrFilterRelations=Ah;exports.notifyManager=Ge;exports.ownerDocument=xt;exports.parseMutationArgs=uB;exports.partition=oi;exports.processDrilldownSelections=Pv;exports.refType=Go;exports.resolveBreakpointValues=jy;exports.resolveProps=To;exports.rootShouldForwardProp=qo;exports.shallowEqualObjects=ua;exports.shouldSkipSisenseContextWaiting=cv;exports.shouldThrowError=y1;exports.splitFiltersAndRelations=Co;exports.styled=de;exports.trackHook=a9;exports.translatePivotTableDataOptions=SE;exports.translateTableDataOptions=rg;exports.typographyClasses=dx;exports.updateDrilldownSelections=Iv;exports.upperFirst=zv;exports.useCommonFilters=lH;exports.useControlled=Bc;exports.useDefaultProps=Fe;exports.useDrilldownCore=Av;exports.useEnhancedEffect=wr;exports.useEventCallback=rr;exports.useForkRef=ft;exports.useGetHierarchyModels=tB;exports.useHasChanged=Hu;exports.useId=Pa;exports.useMenu=Ev;exports.useModalContext=Fa;exports.useQuery=VB;exports.useQueryClient=v1;exports.useSetError=eu;exports.useShouldLoad=Cv;exports.useSlot=tt;exports.useSyncExternalStore=h1;exports.useSyncedState=Uu;exports.useTheme=o0;exports.useTheme$1=Yo;exports.useTimeout=Dr;exports.withErrorBoundary=zh;exports.withTracking=xv;