@sisense/sdk-ui 2.2.0 → 2.3.1

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 (83) hide show
  1. package/dist/ai.cjs +39 -27
  2. package/dist/ai.js +1650 -1155
  3. package/dist/analytics-composer.cjs +24 -24
  4. package/dist/analytics-composer.js +131 -127
  5. package/dist/derive-chart-family-5O0nGmIH.cjs +669 -0
  6. package/dist/derive-chart-family-H5uuw6lv.js +90468 -0
  7. package/dist/{dimensions-mYUylB-h.cjs → dimensions-R6yuR7CB.cjs} +1 -1
  8. package/dist/{dimensions-HgrcPa-Q.js → dimensions-aqixuZxM.js} +13 -13
  9. package/dist/index.cjs +27 -27
  10. package/dist/index.js +12531 -12644
  11. package/dist/index.umd.js +1578 -0
  12. package/dist/packages/sdk-ui/src/ai/api/types.d.ts +2 -0
  13. package/dist/packages/sdk-ui/src/ai/common/icon-button.d.ts +1 -1
  14. package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +1 -0
  15. package/dist/packages/sdk-ui/src/analytics-composer/widget/chart-options/get-widget-options.d.ts +23 -7
  16. package/dist/packages/sdk-ui/src/app/client-application.d.ts +16 -0
  17. package/dist/packages/sdk-ui/src/chart/restructured-charts/chart-builder-factory.d.ts +3 -1
  18. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/alerts.d.ts +3 -0
  19. package/dist/packages/sdk-ui/src/chart/restructured-charts/{helpers/cartesians → highchart-based-charts/cartesians/helpers}/data-options.d.ts +2 -2
  20. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data.d.ts +4 -0
  21. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/get-legacy-cartesian-chart-options.d.ts +3 -0
  22. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/bar-chart/bar-chart-builder.d.ts +2 -0
  23. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/bar-chart/highcharts-options-builder.d.ts +2 -0
  24. package/dist/packages/sdk-ui/src/chart/restructured-charts/{column-chart → highchart-based-charts/cartesians/stackable/column-chart}/column-chart-builder.d.ts +1 -1
  25. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/stackable/column-chart/highcharts-options-builder.d.ts +2 -0
  26. package/dist/packages/sdk-ui/src/chart/restructured-charts/{helpers/cartesians/stackable → highchart-based-charts/cartesians/stackable/helpers}/design-options.d.ts +3 -3
  27. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/types.d.ts +1 -0
  28. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/build-highchart-options.d.ts +20 -0
  29. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +39 -0
  30. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/utils.d.ts +2 -0
  31. package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +28 -0
  32. package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +2 -2
  33. package/dist/packages/sdk-ui/src/chart/types.d.ts +0 -1
  34. package/dist/packages/sdk-ui/src/chart-options-processor/apply-event-handlers.d.ts +15 -0
  35. package/dist/packages/sdk-ui/src/chart-options-processor/common-highcharts-option-service.d.ts +9 -0
  36. package/dist/packages/sdk-ui/src/chart-options-processor/subtype-to-design-options.d.ts +2 -1
  37. package/dist/packages/sdk-ui/src/chart-options-processor/theme-option-service.d.ts +8 -0
  38. package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +4 -1
  39. package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/group.d.ts +1 -0
  40. package/dist/packages/sdk-ui/src/common/components/grouped-items-browser/types.d.ts +3 -0
  41. package/dist/packages/sdk-ui/src/common/components/loading-overlay.d.ts +1 -3
  42. package/dist/packages/sdk-ui/src/common/components/menu/menu-ids.d.ts +10 -1
  43. package/dist/packages/sdk-ui/src/common/components/menu/types.d.ts +2 -0
  44. package/dist/packages/sdk-ui/src/common/components/modal/index.d.ts +2 -0
  45. package/dist/packages/sdk-ui/src/common/components/modal/modal-context.d.ts +39 -0
  46. package/dist/packages/sdk-ui/src/common/components/modal/modal-provider.d.ts +19 -0
  47. package/dist/packages/sdk-ui/src/common/components/popover.d.ts +10 -0
  48. package/dist/packages/sdk-ui/src/common/hooks/use-combined-menu.d.ts +4 -8
  49. package/dist/packages/sdk-ui/src/dashboard/components/jtd-dashboard.d.ts +15 -0
  50. package/dist/packages/sdk-ui/src/dashboard/hooks/use-jtd.d.ts +113 -0
  51. package/dist/packages/sdk-ui/src/dashboard/types.d.ts +9 -2
  52. package/dist/packages/sdk-ui/src/data-browser/data-schema-browser/data-schema-browser.d.ts +14 -0
  53. package/dist/packages/sdk-ui/src/data-browser/data-schema-browser/data-schema-browser.styles.d.ts +6 -0
  54. package/dist/packages/sdk-ui/src/data-browser/dimensions-browser/types.d.ts +5 -0
  55. package/dist/packages/sdk-ui/src/decorators/component-decorators/as-sisense-component.d.ts +2 -0
  56. package/dist/packages/sdk-ui/src/decorators/component-decorators/with-modal.d.ts +6 -0
  57. package/dist/packages/sdk-ui/src/index.d.ts +2 -1
  58. package/dist/packages/sdk-ui/src/models/dashboard/index.d.ts +1 -0
  59. package/dist/packages/sdk-ui/src/models/dashboard/types.d.ts +6 -0
  60. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model.d.ts +18 -17
  61. package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-persistence.d.ts +34 -0
  62. package/dist/packages/sdk-ui/src/pivot-table/hooks/use-render-pivot.d.ts +4 -4
  63. package/dist/packages/sdk-ui/src/plugins-provider/types.d.ts +2 -2
  64. package/dist/packages/sdk-ui/src/props.d.ts +3 -3
  65. package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +7 -0
  66. package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +14 -0
  67. package/dist/packages/sdk-ui/src/types.d.ts +26 -3
  68. package/dist/packages/sdk-ui/src/utils/filter-relations.d.ts +4 -4
  69. package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +72 -0
  70. package/dist/packages/sdk-ui/src/widgets/common/drilldown-breadcrumbs/styled-buttons.d.ts +2 -2
  71. package/dist/packages/sdk-ui/src/widgets/tabber-widget.d.ts +2 -1
  72. package/dist/use-common-filters-CN2YnxBs.cjs +350 -0
  73. package/dist/use-common-filters-CSwVz8Hy.js +32068 -0
  74. package/dist/{widget-composer-JVl8mNCt.cjs → widget-composer-BB1-bv-q.cjs} +7 -7
  75. package/dist/{widget-composer-CACtfvw6.js → widget-composer-BpeW0NNz.js} +83 -73
  76. package/package.json +23 -19
  77. package/dist/derive-chart-family-BsbFdcgd.cjs +0 -758
  78. package/dist/derive-chart-family-C9IDI6UV.js +0 -102051
  79. package/dist/packages/sdk-ui/src/chart/restructured-charts/bar-chart/bar-chart-builder.d.ts +0 -2
  80. package/dist/packages/sdk-ui/src/chart/restructured-charts/helpers/cartesians/data.d.ts +0 -4
  81. package/dist/packages/sdk-ui/src/widget-by-id/use-get-dashboard-model-and-widget-model.d.ts +0 -14
  82. package/dist/use-common-filters-BKYG6WGA.cjs +0 -271
  83. package/dist/use-common-filters-DkwU7HJ3.js +0 -28928
@@ -1,271 +0,0 @@
1
- "use strict";var gm=Object.defineProperty,vm=Object.defineProperties;var ym=Object.getOwnPropertyDescriptors;var To=Object.getOwnPropertySymbols;var Ll=Object.prototype.hasOwnProperty,Fl=Object.prototype.propertyIsEnumerable;var Qe=Math.pow,$l=(e,t,r)=>t in e?gm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))Ll.call(t,r)&&$l(e,r,t[r]);if(To)for(var r of To(t))Fl.call(t,r)&&$l(e,r,t[r]);return e},J=(e,t)=>vm(e,ym(t));var xr=(e,t)=>{var r={};for(var n in e)Ll.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&To)for(var n of To(e))t.indexOf(n)<0&&Fl.call(e,n)&&(r[n]=e[n]);return r};var rt=(e,t,r)=>new Promise((n,o)=>{var i=c=>{try{s(r.next(c))}catch(u){o(u)}},a=c=>{try{s(r.throw(c))}catch(u){o(u)}},s=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,a);s((r=r.apply(e,t)).next())});const l=require("./derive-chart-family-BsbFdcgd.cjs"),F=require("react"),te=require("react/jsx-runtime"),Ar=require("react-dom");function wd(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 W=wd(F),bm=wd(Ar);function _m(e){let{i18n:t,defaultNS:r,children:n}=e;const o=F.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return F.createElement(l.I18nContext.Provider,{value:o},n)}function Vt(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const We={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 fs(e){return[l.customFormula(We.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),l.customFormula(We.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),l.customFormula(We.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function xm(e){return[...fs(e),l.customFormula(We.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),l.customFormula(We.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),l.customFormula(We.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function wm(e){return[...fs(e),l.customFormula(We.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),l.customFormula(We.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function Cm(e){return[...fs(e),l.customFormula(We.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),l.customFormula(We.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),l.customFormula(We.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const Tm=l.withComposeCodeForAnalytics(e=>{const t=l.cloneDeep(e),r=l.customFormula(We.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=l.customFormula(We.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"),Em=l.withComposeCodeForAnalytics(e=>{const t=l.cloneDeep(e),r=l.customFormula(We.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=l.customFormula(We.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 In(e){return!!e&&"operator"in e&&(e.operator==="AND"||e.operator==="OR")&&!!e.right&&!!e.left}function Cd(e=[],t=[]){if(!In(e)&&!In(t))return lt(e,t);const{filters:r,relations:n}=An(e),o=ps(t),i=lt(r,o),a=On(r,n,i);return Rn(i,a)}function An(e){if(!e)return{filters:[],relations:null};if(l.isArray(e))return{filters:e,relations:null};const t=new Set;function r(o){if(Td(o))return t.add(o),{instanceid:o.config.guid};if(In(o)){const i=r(o.left),a=r(o.right);return{left:i,right:a,operator:o.operator}}throw new si}const n=r(e);return{filters:Array.from(t),relations:n}}function ps(e){return e?An(e).filters:[]}function Rn(e,t){if(!t||hs(t))return e;const r=n(t);return Td(r)?[r]:r;function n(o){if(ii(o))return e.find(i=>i.config.guid===o.instanceid);if(ai(o))return(o.operator==="AND"?l.logic.and:l.logic.or)(n(o.left),n(o.right));throw new si}}function hs(e){return!!e&&"instanceid"in e}function On(e,t,r){if(t===null)return null;const n=Rm(e,r);return n.length===0?t:n.reduce((o,i)=>{switch(i.type){case"add":return Om(i.payload,o);case"remove":return Ta(i.payload,o)}},t)}function Bl(e,t){return e.config.guid===t.config.guid}function Sm(e,t,r){if(!e)return null;return o(e);function o(i){if(ii(i))return i.instanceid===t.config.guid?{instanceid:r.config.guid}:i;if(ai(i))return{left:o(i.left),right:o(i.right),operator:i.operator};throw new si}}function Rm(e,t){const r=[],n=[...e],o=[...t];return n.forEach(i=>{o.some(s=>Bl(i,s))||r.push({type:"remove",payload:i})}),o.forEach(i=>{n.some(s=>Bl(i,s))||r.push({type:"add",payload:i})}),r}function Om(e,t){return t?{left:t,right:{instanceid:e.config.guid},operator:"AND"}:{instanceid:e.config.guid}}function Ta(e,t){if(!t)return null;if(hs(t))return t.instanceid===e.config.guid?null:t;const r=Ta(e,t.left),n=Ta(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 Mm(e,t){if(!e)return null;function r(n){if(Pm(n))return{instanceid:n.instanceId};if(Dm(n))return r(n.value);if(km(n))return{operator:n.operator,left:r(n.left),right:r(n.right)};if(Im(n)){const o=t.find(i=>{if(!l.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 Pm(e){return"instanceId"in e}function Dm(e){return"value"in e}function km(e){return"operator"in e}function Im(e){return"levels"in e&&l.isArray(e.levels)}function ii(e){return"instanceid"in e}function ai(e){return"operator"in e}function Td(e){return"config"in e&&"guid"in e.config}function Am(e,t){if(!e)return;function r(n){if(ii(n)){const o=t.find(i=>i.config.guid===n.instanceid);return o&&l.isCascadingFilter(o)?{type:"CascadingIdentifier",levels:o.filters.map(a=>({type:"Identifier",instanceId:a.config.guid}))}:{type:"Identifier",instanceId:n.instanceid}}else{if(ai(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 Nm(e,t){return e.find(r=>r.config.guid===t)}class si extends Error{constructor(){super("Broken filter relations. Unknown node type.")}}function $m(e){return e.nodeType==="openBracket"}function Lm(e){return e.nodeType==="closeBracket"}function Fm(e){return e.nodeType==="attribute"}function Bm(e){return e.nodeType==="operator"}function Nn(e){if(l.isCascadingFilter(e))return e.filters.map(Nn).join("-");const{attribute:t}=e,r=e.jaql().jaql,n=t.expression||r.dim,o=t.granularity||((r==null?void 0:r.datatype)==="datetime"?l.DimensionalLevelAttribute.translateJaqlToGranularity(r):"");return`${n}${o}`}function lt(e=[],t=[]){const r=[...e];return t.forEach(n=>{const o=r.findIndex(a=>Nn(n)===Nn(a));o!==-1?r[o]=n:r.push(n)}),r}function Hm(e){if(!e)return e;const t=l.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 jm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return Ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ea(e,t)}function Wm(e,t){if(l._typeof(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(l._typeof(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function zm(e){var t=Wm(e,"string");return l._typeof(t)=="symbol"?t:t+""}function Vm(e,t,r){return t=zm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const wn={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function Ed(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:Um(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:l.getDefaultThemeSettings().general.popover,buttons:{cancel:{backgroundColor:{default:e.general.secondaryButtonBaseColor,hover:e.general.secondaryButtonHoverColor,focus:e.general.secondaryButtonHoverColor},textColor:e.general.secondaryButtonTextColor}}},widget:{spaceAround:wn[e.dashboards.widgetSpacing],cornerRadius:wn[e.dashboards.widgetCornerRadius],shadow:wn[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:wn[e.dashboards.widgetTitleAlignment],titleFontSize:l.DEFAULT_TITLE_FONT_SIZE,dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:l.DEFAULT_DIVIDER_WIDTH,dividerLineColor:l.DEFAULT_DIVIDER_COLOR,borderWidth:l.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:l.DEFAULT_DASHBOARD_BORDER_COLOR},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor,borderWidth:l.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:l.DEFAULT_FILTER_PANEL_BORDER_COLOR}}};return l.merge.withOptions({mergeArrays:!1},l.getDefaultThemeSettings(),n)}function Sd(e){return e.dashboards.colorPaletteName}function Um(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 Rd(e,t){return rt(this,null,function*(){const r=yield qm(e,t);if(!r)throw new l.TranslatableError("errors.themeNotFound",{themeOid:e});const n=Sd(r),o=yield Od(n,t);return Ed(r,o,t.url)})}function qm(e,t){return rt(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new l.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function Od(e,t){return rt(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new l.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const Gm={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}},Hl="composesdk",Md=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:Hl,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=${Hl}`,i)})},jl=(e,t,r,n,o)=>{const i=Gm[`${e}`];return i.internal&&Md(e,t,r,o),i.external&&n&&n(q({action:e},t)),Promise.resolve()},ms=()=>{var i,a;const{tracking:e,app:t}=l.useSisenseContext(),r=(a=(i=t==null?void 0:t.httpClient)==null?void 0:i.auth)==null?void 0:a.type,n=F.useCallback((s,c={},u=!1)=>t?jl(s,J(q({},c),{authType:r}),t.httpClient,e.onTrackingEvent,u):Promise.resolve(),[e,t,r]),o=F.useCallback((s,c=!1)=>{if(!t)return Promise.resolve();const{packageName:u,packageVersion:p,component:h,error:d}=s;let m="";return typeof d=="string"?m=d:d instanceof Error&&(m=d.message||d.toString()),jl("sdkError",J(q({},{packageName:u,packageVersion:p,component:h,error:m}),{authType:r}),t.httpClient,e.onTrackingEvent,c)},[e,t,r]);return{trackEvent:n,trackError:o}},Ym="sdkComponentInit",Pd=F.createContext(!1),Km=({skipNested:e=!0,children:t})=>l.jsx(Pd.Provider,{value:e,children:t}),Xm=(e,t)=>{const{tracking:r,app:n}=l.useSisenseContext(),{trackEvent:o}=ms(),i=F.useContext(Pd),a=F.useRef(!1);F.useEffect(()=>{if(!r||!n)return;if(!a.current&&!i){const c={packageName:r.packageName,packageVersion:"2.2.0",componentName:e,attributesUsed:Object.entries(t).filter(([,u])=>!!u).map(([u])=>u).join(", ")};o(Ym,c,!r.enabled).finally(()=>a.current=!0)}},[e,t,r,i,o,n])};var Qm="[object Boolean]";function Dd(e){return e===!0||e===!1||l.isObjectLike(e)&&l.baseGetTag(e)==Qm}const Nl=class Nl extends F.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.2.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}};Nl.contextType=l.SisenseContext;let Sa=Nl;const Zm=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=ms();return Dd(r)&&r||l.isFunction(r)&&r(a)?l.jsx(o,q({},a)):(Xm(e,a),l.jsx(Km,{skipNested:!n,children:l.jsx(Sa,{componentName:e,handler:s,children:l.jsx(o,q({},a))})}))}},Jm="_container_1wquj_1",eg="_card_1wquj_11",tg="_text_1wquj_19",Qi={container:Jm,card:eg,text:tg};function kd({color:e="#FFCB05"}){return l.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:l.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:l.jsxs("g",{children:[l.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),l.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 Id=({error:e=new l.TranslatableError("errors.componentRenderError")})=>{var d,m,g,v,y,w;const{themeSettings:t}=l.useThemeContext(),{app:r}=l.useSisenseContext(),{t:n}=l.useTranslation(),[o,i]=F.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},c=l.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:l.jsx(kd,{color:(d=t==null?void 0:t.general)==null?void 0:d.brandColor})}),u=e instanceof l.AbstractTranslatableError?n(e.key,q({},e.interpolationOptions)):n(e instanceof Error?e.message:e),p=n("errorBoxText",{errorMessage:u,interpolation:{escapeValue:!1}}),h=(g=(m=r==null?void 0:r.settings)==null?void 0:m.errorBoundaryConfig)==null?void 0:g.alwaysShowErrorText;return l.jsx("div",{onMouseEnter:h?void 0:a,onMouseLeave:h?void 0:s,className:Qi.container,"aria-label":"error-box",children:l.jsxs("div",{className:Qi.card,style:{backgroundColor:((v=t==null?void 0:t.general)==null?void 0:v.backgroundColor)||"rgba(255,255,255,0.5)"},children:[c,(h||o)&&l.jsx("div",{className:Qi.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||l.DEFAULT_TEXT_COLOR,fontFamily:((w=t==null?void 0:t.typography)==null?void 0:w.fontFamily)||"inherit"},children:p})]})})};let Ad=class extends F.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&&F.isValidElement(n)){this.setState({error:t,customErrorUI:n});return}}this.setState({error:t})}componentDidUpdate(t,r){if(r.error!==null&&rg(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&&F.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||l.jsx(Id,{error:s}):null}};function rg(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!l.isEqual(r,t[n]))}const Nd=({componentName:e})=>t=>function(n){const o=l.useSisenseContext(),i=a=>{var s,c;return(c=(s=o.errorBoundary).onError)==null?void 0:c.call(s,a,{componentName:e,componentProps:n})};return l.jsx(Ad,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:l.jsx(t,q({},n))})};function $d(){var e,t;return(t=(e=document.head.querySelector('meta[property="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}const Wl=$d(),gs=({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=J(q({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=J(q({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=J(q({},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 l.jsxs("div",{children:[l.jsx("style",J(q({},Wl&&{nonce:Wl}),{children:`
2
- @keyframes loading-dots-animation {
3
- ${Object.entries(i).map(([a,s])=>`${a} { ${Object.entries(s).map(([c,u])=>`${c}: ${u};`).join("")} }`).join("")}
4
- }
5
- `})),l.jsx("div",{style:r}),l.jsx("div",{style:n}),l.jsx("div",{style:o})]})},li=({themeSettings:e,onCancel:t})=>{const{t:r}=l.useTranslation(),n=e!=null&&e.chart.backgroundColor?{backgroundColor:e.chart.backgroundColor}:void 0;return l.jsx("div",{style:n,className:"csdk-h-full csdk-bg-white csdk-p-[20px]","aria-label":"csdk-loading-indicator",children:l.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:[l.jsx(gs,{color:e==null?void 0:e.chart.textColor}),t&&l.jsx("div",{className:"csdk-text-ai-sm csdk-text-text-link csdk-cursor-pointer",onClick:t,children:r("cancel")})]})})},ng=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>r=>function(o){if(og(e,o))return l.jsx(r,q({},o));const{app:i,isInitialized:a}=l.useSisenseContext();if(!a){const s=t||"errors.noSisenseContext";throw new l.TranslatableError(s)}return i?l.jsx(r,q({},o)):l.jsx(li,{})};function og(e,t){return Dd(e)&&e||l.isFunction(e)&&e(t)}function ig(){const[e,t]=F.useState(null);return F.useEffect(()=>{l.initializeI18n().initPromise.then(r=>t(r))},[]),e}const Ld=({children:e,userLanguage:t,customTranslations:r=[]})=>{const n=ig();return F.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&&l.jsx(_m,{i18n:n,children:e})},ag=()=>e=>function(r){const{isInitialized:n}=l.useSisenseContext();return n?l.jsx(e,q({},r)):l.jsx(Ld,{children:l.jsx(e,q({},r))})},vs=F.createContext(null),ci=()=>F.useContext(vs);function ae(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}var Ra={exports:{}},he={};/**
6
- * @license React
7
- * react-is.production.min.js
8
- *
9
- * Copyright (c) Facebook, Inc. and its affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */var zl;function sg(){if(zl)return he;zl=1;var e=Symbol.for("react.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.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function v(y){if(typeof y=="object"&&y!==null){var w=y.$$typeof;switch(w){case e:switch(y=y.type,y){case r:case o:case n:case u:case p:return y;default:switch(y=y&&y.$$typeof,y){case s:case a:case c:case d:case h:case i:return y;default:return w}}case t:return w}}}return he.ContextConsumer=a,he.ContextProvider=i,he.Element=e,he.ForwardRef=c,he.Fragment=r,he.Lazy=d,he.Memo=h,he.Portal=t,he.Profiler=o,he.StrictMode=n,he.Suspense=u,he.SuspenseList=p,he.isAsyncMode=function(){return!1},he.isConcurrentMode=function(){return!1},he.isContextConsumer=function(y){return v(y)===a},he.isContextProvider=function(y){return v(y)===i},he.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},he.isForwardRef=function(y){return v(y)===c},he.isFragment=function(y){return v(y)===r},he.isLazy=function(y){return v(y)===d},he.isMemo=function(y){return v(y)===h},he.isPortal=function(y){return v(y)===t},he.isProfiler=function(y){return v(y)===o},he.isStrictMode=function(y){return v(y)===n},he.isSuspense=function(y){return v(y)===u},he.isSuspenseList=function(y){return v(y)===p},he.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===p||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===h||y.$$typeof===i||y.$$typeof===a||y.$$typeof===c||y.$$typeof===g||y.getModuleId!==void 0)},he.typeOf=v,he}var me={};/**
14
- * @license React
15
- * react-is.development.js
16
- *
17
- * Copyright (c) Facebook, Inc. and its affiliates.
18
- *
19
- * This source code is licensed under the MIT license found in the
20
- * LICENSE file in the root directory of this source tree.
21
- */var Vl;function lg(){return Vl||(Vl=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.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.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,v=!1,y=!1,w=!1,T=!1,_;_=Symbol.for("react.module.reference");function x(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===r||Z===o||T||Z===n||Z===u||Z===p||w||Z===m||g||v||y||typeof Z=="object"&&Z!==null&&(Z.$$typeof===d||Z.$$typeof===h||Z.$$typeof===i||Z.$$typeof===a||Z.$$typeof===c||Z.$$typeof===_||Z.getModuleId!==void 0))}function b(Z){if(typeof Z=="object"&&Z!==null){var oe=Z.$$typeof;switch(oe){case e:var de=Z.type;switch(de){case r:case o:case n:case u:case p:return de;default:var pe=de&&de.$$typeof;switch(pe){case s:case a:case c:case d:case h:case i:return pe;default:return oe}}case t:return oe}}}var C=a,S=i,O=e,M=c,D=r,R=d,E=h,I=t,A=o,P=n,N=u,B=p,H=!1,L=!1;function k(Z){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function $(Z){return L||(L=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function V(Z){return b(Z)===a}function j(Z){return b(Z)===i}function z(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===e}function U(Z){return b(Z)===c}function Y(Z){return b(Z)===r}function X(Z){return b(Z)===d}function K(Z){return b(Z)===h}function Q(Z){return b(Z)===t}function ee(Z){return b(Z)===o}function re(Z){return b(Z)===n}function G(Z){return b(Z)===u}function ne(Z){return b(Z)===p}me.ContextConsumer=C,me.ContextProvider=S,me.Element=O,me.ForwardRef=M,me.Fragment=D,me.Lazy=R,me.Memo=E,me.Portal=I,me.Profiler=A,me.StrictMode=P,me.Suspense=N,me.SuspenseList=B,me.isAsyncMode=k,me.isConcurrentMode=$,me.isContextConsumer=V,me.isContextProvider=j,me.isElement=z,me.isForwardRef=U,me.isFragment=Y,me.isLazy=X,me.isMemo=K,me.isPortal=Q,me.isProfiler=ee,me.isStrictMode=re,me.isSuspense=G,me.isSuspenseList=ne,me.isValidElementType=x,me.typeOf=b}()),me}process.env.NODE_ENV==="production"?Ra.exports=sg():Ra.exports=lg();var $n=Ra.exports,Oa={exports:{}},Eo={exports:{}},ge={};/** @license React v16.13.1
22
- * react-is.production.min.js
23
- *
24
- * Copyright (c) Facebook, Inc. and its affiliates.
25
- *
26
- * This source code is licensed under the MIT license found in the
27
- * LICENSE file in the root directory of this source tree.
28
- */var Ul;function cg(){if(Ul)return ge;Ul=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,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function _(b){if(typeof b=="object"&&b!==null){var C=b.$$typeof;switch(C){case t:switch(b=b.type,b){case c:case u:case n:case i:case o:case h:return b;default:switch(b=b&&b.$$typeof,b){case s:case p:case g:case m:case a:return b;default:return C}}case r:return C}}}function x(b){return _(b)===u}return ge.AsyncMode=c,ge.ConcurrentMode=u,ge.ContextConsumer=s,ge.ContextProvider=a,ge.Element=t,ge.ForwardRef=p,ge.Fragment=n,ge.Lazy=g,ge.Memo=m,ge.Portal=r,ge.Profiler=i,ge.StrictMode=o,ge.Suspense=h,ge.isAsyncMode=function(b){return x(b)||_(b)===c},ge.isConcurrentMode=x,ge.isContextConsumer=function(b){return _(b)===s},ge.isContextProvider=function(b){return _(b)===a},ge.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},ge.isForwardRef=function(b){return _(b)===p},ge.isFragment=function(b){return _(b)===n},ge.isLazy=function(b){return _(b)===g},ge.isMemo=function(b){return _(b)===m},ge.isPortal=function(b){return _(b)===r},ge.isProfiler=function(b){return _(b)===i},ge.isStrictMode=function(b){return _(b)===o},ge.isSuspense=function(b){return _(b)===h},ge.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===u||b===i||b===o||b===h||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===p||b.$$typeof===y||b.$$typeof===w||b.$$typeof===T||b.$$typeof===v)},ge.typeOf=_,ge}var ve={};/** @license React v16.13.1
29
- * react-is.development.js
30
- *
31
- * Copyright (c) Facebook, Inc. and its affiliates.
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */var ql;function ug(){return ql||(ql=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,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function _(G){return typeof G=="string"||typeof G=="function"||G===n||G===u||G===i||G===o||G===h||G===d||typeof G=="object"&&G!==null&&(G.$$typeof===g||G.$$typeof===m||G.$$typeof===a||G.$$typeof===s||G.$$typeof===p||G.$$typeof===y||G.$$typeof===w||G.$$typeof===T||G.$$typeof===v)}function x(G){if(typeof G=="object"&&G!==null){var ne=G.$$typeof;switch(ne){case t:var Z=G.type;switch(Z){case c:case u:case n:case i:case o:case h:return Z;default:var oe=Z&&Z.$$typeof;switch(oe){case s:case p:case g:case m:case a:return oe;default:return ne}}case r:return ne}}}var b=c,C=u,S=s,O=a,M=t,D=p,R=n,E=g,I=m,A=r,P=i,N=o,B=h,H=!1;function L(G){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.")),k(G)||x(G)===c}function k(G){return x(G)===u}function $(G){return x(G)===s}function V(G){return x(G)===a}function j(G){return typeof G=="object"&&G!==null&&G.$$typeof===t}function z(G){return x(G)===p}function U(G){return x(G)===n}function Y(G){return x(G)===g}function X(G){return x(G)===m}function K(G){return x(G)===r}function Q(G){return x(G)===i}function ee(G){return x(G)===o}function re(G){return x(G)===h}ve.AsyncMode=b,ve.ConcurrentMode=C,ve.ContextConsumer=S,ve.ContextProvider=O,ve.Element=M,ve.ForwardRef=D,ve.Fragment=R,ve.Lazy=E,ve.Memo=I,ve.Portal=A,ve.Profiler=P,ve.StrictMode=N,ve.Suspense=B,ve.isAsyncMode=L,ve.isConcurrentMode=k,ve.isContextConsumer=$,ve.isContextProvider=V,ve.isElement=j,ve.isForwardRef=z,ve.isFragment=U,ve.isLazy=Y,ve.isMemo=X,ve.isPortal=K,ve.isProfiler=Q,ve.isStrictMode=ee,ve.isSuspense=re,ve.isValidElementType=_,ve.typeOf=x}()),ve}var Gl;function Fd(){return Gl||(Gl=1,process.env.NODE_ENV==="production"?Eo.exports=cg():Eo.exports=ug()),Eo.exports}/*
36
- object-assign
37
- (c) Sindre Sorhus
38
- @license MIT
39
- */var Zi,Yl;function dg(){if(Yl)return Zi;Yl=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 c=Object.getOwnPropertyNames(a).map(function(p){return a[p]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(p){u[p]=p}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch(p){return!1}}return Zi=o()?Object.assign:function(i,a){for(var s,c=n(i),u,p=1;p<arguments.length;p++){s=Object(arguments[p]);for(var h in s)t.call(s,h)&&(c[h]=s[h]);if(e){u=e(s);for(var d=0;d<u.length;d++)r.call(s,u[d])&&(c[u[d]]=s[u[d]])}}return c},Zi}var Ji,Kl;function ys(){if(Kl)return Ji;Kl=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ji=e,Ji}var ea,Xl;function Bd(){return Xl||(Xl=1,ea=Function.call.bind(Object.prototype.hasOwnProperty)),ea}var ta,Ql;function fg(){if(Ql)return ta;Ql=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ys(),r={},n=Bd();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,c,u){if(process.env.NODE_ENV!=="production"){for(var p in i)if(n(i,p)){var h;try{if(typeof i[p]!="function"){var d=Error((c||"React class")+": "+s+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}h=i[p](a,p,c,s,null,t)}catch(g){h=g}if(h&&!(h instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var m=u?u():"";e("Failed "+s+" type: "+h.message+(m!=null?m:""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},ta=o,ta}var ra,Zl;function pg(){if(Zl)return ra;Zl=1;var e=Fd(),t=dg(),r=ys(),n=Bd(),o=fg(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console!="undefined"&&console.error(c);try{throw new Error(c)}catch(u){}});function a(){return null}return ra=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function h(k){var $=k&&(u&&k[u]||k[p]);if(typeof $=="function")return $}var d="<<anonymous>>",m={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:T(),arrayOf:_,element:x(),elementType:b(),instanceOf:C,node:D(),objectOf:O,oneOf:S,oneOfType:M,shape:E,exact:I};function g(k,$){return k===$?k!==0||1/k===1/$:k!==k&&$!==$}function v(k,$){this.message=k,this.data=$&&typeof $=="object"?$:{},this.stack=""}v.prototype=Error.prototype;function y(k){if(process.env.NODE_ENV!=="production")var $={},V=0;function j(U,Y,X,K,Q,ee,re){if(K=K||d,ee=ee||X,re!==r){if(c){var G=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 G.name="Invariant Violation",G}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var ne=K+":"+X;!$[ne]&&V<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ee+"` prop on `"+K+"`. 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."),$[ne]=!0,V++)}}return Y[X]==null?U?Y[X]===null?new v("The "+Q+" `"+ee+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new v("The "+Q+" `"+ee+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:k(Y,X,K,Q,ee)}var z=j.bind(null,!1);return z.isRequired=j.bind(null,!0),z}function w(k){function $(V,j,z,U,Y,X){var K=V[j],Q=N(K);if(Q!==k){var ee=B(K);return new v("Invalid "+U+" `"+Y+"` of type "+("`"+ee+"` supplied to `"+z+"`, expected ")+("`"+k+"`."),{expectedType:k})}return null}return y($)}function T(){return y(a)}function _(k){function $(V,j,z,U,Y){if(typeof k!="function")return new v("Property `"+Y+"` of component `"+z+"` has invalid PropType notation inside arrayOf.");var X=V[j];if(!Array.isArray(X)){var K=N(X);return new v("Invalid "+U+" `"+Y+"` of type "+("`"+K+"` supplied to `"+z+"`, expected an array."))}for(var Q=0;Q<X.length;Q++){var ee=k(X,Q,z,U,Y+"["+Q+"]",r);if(ee instanceof Error)return ee}return null}return y($)}function x(){function k($,V,j,z,U){var Y=$[V];if(!s(Y)){var X=N(Y);return new v("Invalid "+z+" `"+U+"` of type "+("`"+X+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return y(k)}function b(){function k($,V,j,z,U){var Y=$[V];if(!e.isValidElementType(Y)){var X=N(Y);return new v("Invalid "+z+" `"+U+"` of type "+("`"+X+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return y(k)}function C(k){function $(V,j,z,U,Y){if(!(V[j]instanceof k)){var X=k.name||d,K=L(V[j]);return new v("Invalid "+U+" `"+Y+"` of type "+("`"+K+"` supplied to `"+z+"`, expected ")+("instance of `"+X+"`."))}return null}return y($)}function S(k){if(!Array.isArray(k))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,j,z,U,Y){for(var X=V[j],K=0;K<k.length;K++)if(g(X,k[K]))return null;var Q=JSON.stringify(k,function(re,G){var ne=B(G);return ne==="symbol"?String(G):G});return new v("Invalid "+U+" `"+Y+"` of value `"+String(X)+"` "+("supplied to `"+z+"`, expected one of "+Q+"."))}return y($)}function O(k){function $(V,j,z,U,Y){if(typeof k!="function")return new v("Property `"+Y+"` of component `"+z+"` has invalid PropType notation inside objectOf.");var X=V[j],K=N(X);if(K!=="object")return new v("Invalid "+U+" `"+Y+"` of type "+("`"+K+"` supplied to `"+z+"`, expected an object."));for(var Q in X)if(n(X,Q)){var ee=k(X,Q,z,U,Y+"."+Q,r);if(ee instanceof Error)return ee}return null}return y($)}function M(k){if(!Array.isArray(k))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var $=0;$<k.length;$++){var V=k[$];if(typeof V!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+H(V)+" at index "+$+"."),a}function j(z,U,Y,X,K){for(var Q=[],ee=0;ee<k.length;ee++){var re=k[ee],G=re(z,U,Y,X,K,r);if(G==null)return null;G.data&&n(G.data,"expectedType")&&Q.push(G.data.expectedType)}var ne=Q.length>0?", expected one of type ["+Q.join(", ")+"]":"";return new v("Invalid "+X+" `"+K+"` supplied to "+("`"+Y+"`"+ne+"."))}return y(j)}function D(){function k($,V,j,z,U){return A($[V])?null:new v("Invalid "+z+" `"+U+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return y(k)}function R(k,$,V,j,z){return new v((k||"React class")+": "+$+" type `"+V+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+z+"`.")}function E(k){function $(V,j,z,U,Y){var X=V[j],K=N(X);if(K!=="object")return new v("Invalid "+U+" `"+Y+"` of type `"+K+"` "+("supplied to `"+z+"`, expected `object`."));for(var Q in k){var ee=k[Q];if(typeof ee!="function")return R(z,U,Y,Q,B(ee));var re=ee(X,Q,z,U,Y+"."+Q,r);if(re)return re}return null}return y($)}function I(k){function $(V,j,z,U,Y){var X=V[j],K=N(X);if(K!=="object")return new v("Invalid "+U+" `"+Y+"` of type `"+K+"` "+("supplied to `"+z+"`, expected `object`."));var Q=t({},V[j],k);for(var ee in Q){var re=k[ee];if(n(k,ee)&&typeof re!="function")return R(z,U,Y,ee,B(re));if(!re)return new v("Invalid "+U+" `"+Y+"` key `"+ee+"` supplied to `"+z+"`.\nBad object: "+JSON.stringify(V[j],null," ")+`
40
- Valid keys: `+JSON.stringify(Object.keys(k),null," "));var G=re(X,ee,z,U,Y+"."+ee,r);if(G)return G}return null}return y($)}function A(k){switch(typeof k){case"number":case"string":case"undefined":return!0;case"boolean":return!k;case"object":if(Array.isArray(k))return k.every(A);if(k===null||s(k))return!0;var $=h(k);if($){var V=$.call(k),j;if($!==k.entries){for(;!(j=V.next()).done;)if(!A(j.value))return!1}else for(;!(j=V.next()).done;){var z=j.value;if(z&&!A(z[1]))return!1}}else return!1;return!0;default:return!1}}function P(k,$){return k==="symbol"?!0:$?$["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&$ instanceof Symbol:!1}function N(k){var $=typeof k;return Array.isArray(k)?"array":k instanceof RegExp?"object":P($,k)?"symbol":$}function B(k){if(typeof k=="undefined"||k===null)return""+k;var $=N(k);if($==="object"){if(k instanceof Date)return"date";if(k instanceof RegExp)return"regexp"}return $}function H(k){var $=B(k);switch($){case"array":case"object":return"an "+$;case"boolean":case"date":case"regexp":return"a "+$;default:return $}}function L(k){return!k.constructor||!k.constructor.name?d:k.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},ra}var na,Jl;function hg(){if(Jl)return na;Jl=1;var e=ys();function t(){}function r(){}return r.resetWarningCache=t,na=function(){function n(a,s,c,u,p,h){if(h!==e){var d=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 d.name="Invariant Violation",d}}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},na}if(process.env.NODE_ENV!=="production"){var mg=Fd(),gg=!0;Oa.exports=pg()(mg.isElement,gg)}else Oa.exports=hg()();var Ye=Oa.exports;const f=l.getDefaultExportFromCjs(Ye);function Hd(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=Hd(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function se(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Hd(e))&&(n&&(n+=" "),n+=t);return n}function De(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}function Mt(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 vg=W.createContext(),bs=()=>{const e=W.useContext(vg);return e!=null?e:!1};function Ma(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ve(...e){return W.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ma(r,t)})},e)}function _s(e){return typeof e=="string"}function Cn(e,t,r){return e===void 0||_s(e)?t:l._extends({},t,{ownerState:l._extends({},t.ownerState,r)})}function jd(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 ec(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 yg(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const m=se(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),g=l._extends({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),v=l._extends({},r,o,n);return m.length>0&&(v.className=m),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const a=jd(l._extends({},o,n)),s=ec(n),c=ec(o),u=t(a),p=se(u==null?void 0:u.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),h=l._extends({},u==null?void 0:u.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),d=l._extends({},u,r,c,s);return p.length>0&&(d.className=p),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:u.ref}}function bg(e,t,r){return typeof e=="function"?e(t,r):e}const _g=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ut(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=ae(e,_g),s=i?{}:bg(n,o),{props:c,internalRef:u}=yg(l._extends({},a,{externalSlotProps:s})),p=Ve(u,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return Cn(r,l._extends({},c,{ref:p}),o)}function ze(e){return e&&e.ownerDocument||document}var Kn={};const xg=l.getAugmentedNamespace(l._extends$1);var oa={exports:{}},tc;function wg(){return tc||(tc=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)){if(n.indexOf(i)>=0)continue;o[i]=r[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(oa)),oa.exports}function Cg(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Tg(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Eg=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Tg(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
41
- `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=Cg(o);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Sg=function(t,r,n){for(var o=0,i=0;o=i,i=l.peek(),o===38&&i===12&&(r[n]=1),!l.token(i);)l.next();return l.slice(t,l.position)},Rg=function(t,r){var n=-1,o=44;do switch(l.token(o)){case 0:o===38&&l.peek()===12&&(r[n]=1),t[n]+=Sg(l.position-1,r,n);break;case 2:t[n]+=l.delimit(o);break;case 4:if(o===44){t[++n]=l.peek()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=l.from(o)}while(o=l.next());return t},Og=function(t,r){return l.dealloc(Rg(l.alloc(t),r))},rc=new WeakMap,Mg=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!rc.get(n))&&!o){rc.set(t,!0);for(var i=[],a=Og(r,i),s=n.props,c=0,u=0;c<a.length;c++)for(var p=0;p<s.length;p++,u++)t.props[u]=i[c]?a[c].replace(/&\f/g,s[p]):s[p]+" "+a[c]}}},Pg=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Dg="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",kg=function(t){return t.type==="comm"&&t.children.indexOf(Dg)>-1},Ig=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,s=a?r.parent.children:o,c=s.length-1;c>=0;c--){var u=s[c];if(u.line<r.line)break;if(u.column<r.column){if(kg(u))return;break}}i.forEach(function(p){console.error('The pseudo class "'+p+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+p.split("-child")[0]+'-of-type".')})}}}},Wd=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Ag=function(t,r){for(var n=t-1;n>=0;n--)if(!Wd(r[n]))return!0;return!1},nc=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Ng=function(t,r,n){Wd(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),nc(t)):Ag(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),nc(t)))};function zd(e,t){switch(l.hash(e,t)){case 5103:return l.WEBKIT+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return l.WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return l.WEBKIT+e+l.MOZ+e+l.MS+e+e;case 6828:case 4268:return l.WEBKIT+e+l.MS+e+e;case 6165:return l.WEBKIT+e+l.MS+"flex-"+e+e;case 5187:return l.WEBKIT+e+l.replace(e,/(\w+).+(:[^]+)/,l.WEBKIT+"box-$1$2"+l.MS+"flex-$1$2")+e;case 5443:return l.WEBKIT+e+l.MS+"flex-item-"+l.replace(e,/flex-|-self/,"")+e;case 4675:return l.WEBKIT+e+l.MS+"flex-line-pack"+l.replace(e,/align-content|flex-|-self/,"")+e;case 5548:return l.WEBKIT+e+l.MS+l.replace(e,"shrink","negative")+e;case 5292:return l.WEBKIT+e+l.MS+l.replace(e,"basis","preferred-size")+e;case 6060:return l.WEBKIT+"box-"+l.replace(e,"-grow","")+l.WEBKIT+e+l.MS+l.replace(e,"grow","positive")+e;case 4554:return l.WEBKIT+l.replace(e,/([^-])(transform)/g,"$1"+l.WEBKIT+"$2")+e;case 6187:return l.replace(l.replace(l.replace(e,/(zoom-|grab)/,l.WEBKIT+"$1"),/(image-set)/,l.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return l.replace(e,/(image-set\([^]*)/,l.WEBKIT+"$1$`$1");case 4968:return l.replace(l.replace(e,/(.+:)(flex-)?(.*)/,l.WEBKIT+"box-pack:$3"+l.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+l.WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return l.replace(e,/(.+)-inline(.+)/,l.WEBKIT+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(l.strlen(e)-1-t>6)switch(l.charat(e,t+1)){case 109:if(l.charat(e,t+4)!==45)break;case 102:return l.replace(e,/(.+:)(.+)-([^]+)/,"$1"+l.WEBKIT+"$2-$3$1"+l.MOZ+(l.charat(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~l.indexof(e,"stretch")?zd(l.replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(l.charat(e,t+1)!==115)break;case 6444:switch(l.charat(e,l.strlen(e)-3-(~l.indexof(e,"!important")&&10))){case 107:return l.replace(e,":",":"+l.WEBKIT)+e;case 101:return l.replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+l.WEBKIT+(l.charat(e,14)===45?"inline-":"")+"box$3$1"+l.WEBKIT+"$2$3$1"+l.MS+"$2box$3")+e}break;case 5936:switch(l.charat(e,t+11)){case 114:return l.WEBKIT+e+l.MS+l.replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return l.WEBKIT+e+l.MS+l.replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return l.WEBKIT+e+l.MS+l.replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return l.WEBKIT+e+l.MS+e+e}return e}var $g=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case l.DECLARATION:t.return=zd(t.value,t.length);break;case l.KEYFRAMES:return l.serialize([l.copy(t,{value:l.replace(t.value,"@","@"+l.WEBKIT)})],o);case l.RULESET:if(t.length)return l.combine(t.props,function(i){switch(l.match(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return l.serialize([l.copy(t,{props:[l.replace(i,/:(read-\w+)/,":"+l.MOZ+"$1")]})],o);case"::placeholder":return l.serialize([l.copy(t,{props:[l.replace(i,/:(plac\w+)/,":"+l.WEBKIT+"input-$1")]}),l.copy(t,{props:[l.replace(i,/:(plac\w+)/,":"+l.MOZ+"$1")]}),l.copy(t,{props:[l.replace(i,/:(plac\w+)/,l.MS+"input-$1")]})],o)}return""})}},Lg=[$g],Fg=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
42
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var y=v.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||Lg;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var y=v.getAttribute("data-emotion").split(" "),w=1;w<y.length;w++)i[y[w]]=!0;s.push(v)});var c,u=[Mg,Pg];process.env.NODE_ENV!=="production"&&u.push(Ig({get compat(){return g.compat}}),Ng);{var p,h=[l.stringify,process.env.NODE_ENV!=="production"?function(v){v.root||(v.return?p.insert(v.return):v.value&&v.type!==l.COMMENT&&p.insert(v.value+"{}"))}:l.rulesheet(function(v){p.insert(v)})],d=l.middleware(u.concat(o,h)),m=function(y){return l.serialize(l.compile(y),d)};c=function(y,w,T,_){p=T,process.env.NODE_ENV!=="production"&&w.map!==void 0&&(p={insert:function(b){T.insert(b+w.map)}}),m(y?y+"{"+w.styles+"}":w.styles),_&&(g.inserted[w.name]=!0)}}var g={key:r,sheet:new Eg({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return g.sheet.hydrate(s),g};let Pa;typeof document=="object"&&(Pa=Fg({key:"css",prepend:!0}));function Vd(e){const{injectFirst:t,children:r}=e;return t&&Pa?te.jsx(l.CacheProvider,{value:Pa,children:r}):r}process.env.NODE_ENV!=="production"&&(Vd.propTypes={children:f.node,injectFirst:f.bool});function Bg(e){return e==null||Object.keys(e).length===0}function Ud(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Bg(o)?r:o):t;return te.jsx(l.Global,{styles:n})}process.env.NODE_ENV!=="production"&&(Ud.propTypes={defaultTheme:f.object,styles:f.oneOfType([f.array,f.string,f.object,f.func])});/**
43
- * @mui/styled-engine v5.16.6
44
- *
45
- * @license MIT
46
- * This source code is licensed under the MIT license found in the
47
- * LICENSE file in the root directory of this source tree.
48
- */function qd(e,t){const r=l.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(`
49
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const Gd=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Hg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ud,StyledEngineProvider:Vd,ThemeContext:l.ThemeContext$1,css:l.css,default:qd,internal_processStyles:Gd,keyframes:l.keyframes},Symbol.toStringTag,{value:"Module"})),Yd=l.getAugmentedNamespace(Hg);function St(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 Kd(e){if(!St(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Kd(e[r])}),t}function fr(e,t,r={clone:!0}){const n=r.clone?l._extends({},e):e;return St(e)&&St(t)&&Object.keys(t).forEach(o=>{St(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&St(e[o])?n[o]=fr(e[o],t[o],r):r.clone?n[o]=St(t[o])?Kd(t[o]):t[o]:n[o]=t[o]}),n}const jg=Object.freeze(Object.defineProperty({__proto__:null,default:fr,isPlainObject:St},Symbol.toStringTag,{value:"Module"})),Wg=l.getAugmentedNamespace(jg);function Xd(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const zg=Object.freeze(Object.defineProperty({__proto__:null,default:Xd},Symbol.toStringTag,{value:"Module"}));function ui(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Xd(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Vg=Object.freeze(Object.defineProperty({__proto__:null,default:ui},Symbol.toStringTag,{value:"Module"})),Ug=l.getAugmentedNamespace(Vg),qg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Qd(e){const t=`${e}`.match(qg);return t&&t[1]||""}function Zd(e,t=""){return e.displayName||e.name||Qd(e)||t}function oc(e,t,r){const n=Zd(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Jd(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Zd(e,"Component");if(typeof e=="object")switch(e.$$typeof){case $n.ForwardRef:return oc(e,e.render,"ForwardRef");case $n.Memo:return oc(e,e.type,"memo");default:return}}}const Gg=Object.freeze(Object.defineProperty({__proto__:null,default:Jd,getFunctionName:Qd},Symbol.toStringTag,{value:"Module"})),Yg=l.getAugmentedNamespace(Gg),Kg=["values","unit","step"],Xg=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)=>l._extends({},r,{[n.key]:n.val}),{})};function ef(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=ae(e,Kg),i=Xg(t),a=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function c(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function u(d,m){const g=a.indexOf(m);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:m)-n/100}${r})`}function p(d){return a.indexOf(d)+1<a.length?u(d,a[a.indexOf(d)+1]):s(d)}function h(d){const m=a.indexOf(d);return m===0?s(a[1]):m===a.length-1?c(a[m]):u(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return l._extends({keys:a,values:i,up:s,down:c,between:u,only:p,not:h,unit:r},o)}const Qg={borderRadius:4},Gt=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.string,f.object,f.array]):{};function Mn(e,t){return t?fr(e,t,{clone:!1}):e}const xs={xs:0,sm:600,md:900,lg:1200,xl:1536},ic={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${xs[e]}px)`};function Tt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ic;return t.reduce((a,s,c)=>(a[i.up(i.keys[c])]=r(t[c]),a),{})}if(typeof t=="object"){const i=n.breakpoints||ic;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||xs).indexOf(s)!==-1){const c=i.up(s);a[c]=r(t[s],s)}else{const c=s;a[c]=t[c]}return a},{})}return r(t)}function tf(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function rf(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Zg(e,...t){const r=tf(e),n=[r,...t].reduce((o,i)=>fr(o,i),{});return rf(Object.keys(r),n)}function Jg(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 ev({values:e,breakpoints:t,base:r}){const n=r||Jg(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,s,c)=>(Array.isArray(e)?(a[s]=e[c]!=null?e[c]:e[i],i=c):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function di(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 Uo(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=di(e,r)||n,t&&(o=t(o,n,e)),o}function Ie(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],c=a.theme,u=di(c,n)||{};return Tt(a,s,h=>{let d=Uo(u,o,h);return h===d&&typeof h=="string"&&(d=Uo(u,o,`${t}${h==="default"?"":ui(h)}`,h)),r===!1?d:{[r]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Gt}:{},i.filterProps=[t],i}function tv(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const rv={m:"margin",p:"padding"},nv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ac={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ov=tv(e=>{if(e.length>2)if(ac[e])e=ac[e];else return[e];const[t,r]=e.split(""),n=rv[t],o=nv[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),fi=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pi=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],iv=[...fi,...pi];function Xn(e,t,r,n){var o;const i=(o=di(e,t,!1))!=null?o:r;return typeof i=="number"?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}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
50
- `)):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(`
51
- `))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
52
- `)),()=>{})}function ws(e){return Xn(e,"spacing",8,"spacing")}function zr(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function av(e,t){return r=>e.reduce((n,o)=>(n[o]=zr(t,r),n),{})}function sv(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=ov(r),i=av(o,n),a=e[r];return Tt(e,a,i)}function nf(e,t){const r=ws(e.theme);return Object.keys(e).map(n=>sv(e,t,n,r)).reduce(Mn,{})}function Oe(e){return nf(e,fi)}Oe.propTypes=process.env.NODE_ENV!=="production"?fi.reduce((e,t)=>(e[t]=Gt,e),{}):{};Oe.filterProps=fi;function Me(e){return nf(e,pi)}Me.propTypes=process.env.NODE_ENV!=="production"?pi.reduce((e,t)=>(e[t]=Gt,e),{}):{};Me.filterProps=pi;process.env.NODE_ENV!=="production"&&iv.reduce((e,t)=>(e[t]=Gt,e),{});function lv(e=8){if(e.mui)return e;const t=ws({spacing:e}),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 hi(...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]?Mn(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 st(e){return typeof e!="number"?e:`${e}px solid`}function ht(e,t){return Ie({prop:e,themeKey:"borders",transform:t})}const cv=ht("border",st),uv=ht("borderTop",st),dv=ht("borderRight",st),fv=ht("borderBottom",st),pv=ht("borderLeft",st),hv=ht("borderColor"),mv=ht("borderTopColor"),gv=ht("borderRightColor"),vv=ht("borderBottomColor"),yv=ht("borderLeftColor"),bv=ht("outline",st),_v=ht("outlineColor"),mi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Xn(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:zr(t,n)});return Tt(e,e.borderRadius,r)}return null};mi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Gt}:{};mi.filterProps=["borderRadius"];hi(cv,uv,dv,fv,pv,hv,mv,gv,vv,yv,mi,bv,_v);const gi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Xn(e.theme,"spacing",8,"gap"),r=n=>({gap:zr(t,n)});return Tt(e,e.gap,r)}return null};gi.propTypes=process.env.NODE_ENV!=="production"?{gap:Gt}:{};gi.filterProps=["gap"];const vi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Xn(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:zr(t,n)});return Tt(e,e.columnGap,r)}return null};vi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Gt}:{};vi.filterProps=["columnGap"];const yi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Xn(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:zr(t,n)});return Tt(e,e.rowGap,r)}return null};yi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Gt}:{};yi.filterProps=["rowGap"];const xv=Ie({prop:"gridColumn"}),wv=Ie({prop:"gridRow"}),Cv=Ie({prop:"gridAutoFlow"}),Tv=Ie({prop:"gridAutoColumns"}),Ev=Ie({prop:"gridAutoRows"}),Sv=Ie({prop:"gridTemplateColumns"}),Rv=Ie({prop:"gridTemplateRows"}),Ov=Ie({prop:"gridTemplateAreas"}),Mv=Ie({prop:"gridArea"});hi(gi,vi,yi,xv,wv,Cv,Tv,Ev,Sv,Rv,Ov,Mv);function $r(e,t){return t==="grey"?t:e}const Pv=Ie({prop:"color",themeKey:"palette",transform:$r}),Dv=Ie({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$r}),kv=Ie({prop:"backgroundColor",themeKey:"palette",transform:$r});hi(Pv,Dv,kv);function Je(e){return e<=1&&e!==0?`${e*100}%`:e}const Iv=Ie({prop:"width",transform:Je}),Cs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||xs[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Je(r)}};return Tt(e,e.maxWidth,t)}return null};Cs.filterProps=["maxWidth"];const Av=Ie({prop:"minWidth",transform:Je}),Nv=Ie({prop:"height",transform:Je}),$v=Ie({prop:"maxHeight",transform:Je}),Lv=Ie({prop:"minHeight",transform:Je});Ie({prop:"size",cssProperty:"width",transform:Je});Ie({prop:"size",cssProperty:"height",transform:Je});const Fv=Ie({prop:"boxSizing"});hi(Iv,Cs,Av,Nv,$v,Lv,Fv);const Qn={border:{themeKey:"borders",transform:st},borderTop:{themeKey:"borders",transform:st},borderRight:{themeKey:"borders",transform:st},borderBottom:{themeKey:"borders",transform:st},borderLeft:{themeKey:"borders",transform:st},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:st},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:mi},color:{themeKey:"palette",transform:$r},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$r},backgroundColor:{themeKey:"palette",transform:$r},p:{style:Me},pt:{style:Me},pr:{style:Me},pb:{style:Me},pl:{style:Me},px:{style:Me},py:{style:Me},padding:{style:Me},paddingTop:{style:Me},paddingRight:{style:Me},paddingBottom:{style:Me},paddingLeft:{style:Me},paddingX:{style:Me},paddingY:{style:Me},paddingInline:{style:Me},paddingInlineStart:{style:Me},paddingInlineEnd:{style:Me},paddingBlock:{style:Me},paddingBlockStart:{style:Me},paddingBlockEnd:{style:Me},m:{style:Oe},mt:{style:Oe},mr:{style:Oe},mb:{style:Oe},ml:{style:Oe},mx:{style:Oe},my:{style:Oe},margin:{style:Oe},marginTop:{style:Oe},marginRight:{style:Oe},marginBottom:{style:Oe},marginLeft:{style:Oe},marginX:{style:Oe},marginY:{style:Oe},marginInline:{style:Oe},marginInlineStart:{style:Oe},marginInlineEnd:{style:Oe},marginBlock:{style:Oe},marginBlockStart:{style:Oe},marginBlockEnd:{style:Oe},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:gi},rowGap:{style:yi},columnGap:{style:vi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Je},maxWidth:{style:Cs},minWidth:{transform:Je},height:{transform:Je},maxHeight:{transform:Je},minHeight:{transform:Je},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Bv(...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 Hv(e,t){return typeof e=="function"?e(t):e}function of(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:p,style:h}=s;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const d=di(o,u)||{};return h?h(a):Tt(a,n,g=>{let v=Uo(d,p,g);return g===v&&typeof g=="string"&&(v=Uo(d,p,`${r}${g==="default"?"":ui(g)}`,g)),c===!1?v:{[c]:v}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Qn;function s(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const p=tf(i.breakpoints),h=Object.keys(p);let d=p;return Object.keys(u).forEach(m=>{const g=Hv(u[m],i);if(g!=null)if(typeof g=="object")if(a[m])d=Mn(d,e(m,g,i,a));else{const v=Tt({theme:i},g,y=>({[m]:y}));Bv(v,g)?d[m]=t({sx:g,theme:i}):d=Mn(d,v)}else d=Mn(d,e(m,g,i,a))}),rf(h,d)}return Array.isArray(o)?o.map(s):s(o)}return t}const Zn=of();Zn.filterProps=["sx"];function af(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const jv=["breakpoints","palette","spacing","shape"];function bi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=ae(e,jv),s=ef(r),c=lv(o);let u=fr({breakpoints:s,direction:"ltr",components:{},palette:l._extends({mode:"light"},n),spacing:c,shape:l._extends({},Qg,i)},a);return u.applyStyles=af,u=t.reduce((p,h)=>fr(p,h),u),u.unstable_sxConfig=l._extends({},Qn,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(h){return Zn({sx:h,theme:this})},u}const Wv=Object.freeze(Object.defineProperty({__proto__:null,default:bi,private_createBreakpoints:ef,unstable_applyStyles:af},Symbol.toStringTag,{value:"Module"})),zv=l.getAugmentedNamespace(Wv),Vv=["sx"],Uv=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Qn;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function Ts(e){const{sx:t}=e,r=ae(e,Vv),{systemProps:n,otherProps:o}=Uv(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return St(s)?l._extends({},n,s):n}:i=l._extends({},n,t),l._extends({},o,{sx:i})}const qv=Object.freeze(Object.defineProperty({__proto__:null,default:Zn,extendSxProp:Ts,unstable_createStyleFunctionSx:of,unstable_defaultSxConfig:Qn},Symbol.toStringTag,{value:"Module"})),Gv=l.getAugmentedNamespace(qv);var Vr=l.interopRequireDefaultExports;Object.defineProperty(Kn,"__esModule",{value:!0});var Yv=Kn.default=l1;Kn.shouldForwardProp=Lo;Kn.systemDefaultTheme=void 0;var ot=Vr(xg),Da=Vr(wg()),sc=n1(Yd),Kv=Wg,Xv=Vr(Ug),Qv=Vr(Yg),Zv=Vr(zv),Jv=Vr(Gv);const e1=["ownerState"],t1=["variants"],r1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function sf(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(sf=function(n){return n?r:t})(e)}function n1(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=sf(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function o1(e){return Object.keys(e).length===0}function i1(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Lo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const a1=Kn.systemDefaultTheme=(0,Zv.default)(),lc=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function So({defaultTheme:e,theme:t,themeId:r}){return o1(t)?e:t[r]||t}function s1(e){return e?(t,r)=>r[e]:null}function Fo(e,t){let{ownerState:r}=t,n=(0,Da.default)(t,e1);const o=typeof e=="function"?e((0,ot.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>Fo(i,(0,ot.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=(0,Da.default)(o,t1);return i.forEach(c=>{let u=!0;typeof c.props=="function"?u=c.props((0,ot.default)({ownerState:r},n,r)):Object.keys(c.props).forEach(p=>{(r==null?void 0:r[p])!==c.props[p]&&n[p]!==c.props[p]&&(u=!1)}),u&&(Array.isArray(s)||(s=[s]),s.push(typeof c.style=="function"?c.style((0,ot.default)({ownerState:r},n,r)):c.style))}),s}return o}function l1(e={}){const{themeId:t,defaultTheme:r=a1,rootShouldForwardProp:n=Lo,slotShouldForwardProp:o=Lo}=e,i=a=>(0,Jv.default)((0,ot.default)({},a,{theme:So((0,ot.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{(0,sc.internal_processStyles)(a,b=>b.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:c,slot:u,skipVariantsResolver:p,skipSx:h,overridesResolver:d=s1(lc(u))}=s,m=(0,Da.default)(s,r1),g=p!==void 0?p:u&&u!=="Root"&&u!=="root"||!1,v=h||!1;let y;process.env.NODE_ENV!=="production"&&c&&(y=`${c}-${lc(u||"Root")}`);let w=Lo;u==="Root"||u==="root"?w=n:u?w=o:i1(a)&&(w=void 0);const T=(0,sc.default)(a,(0,ot.default)({shouldForwardProp:w,label:y},m)),_=b=>typeof b=="function"&&b.__emotion_real!==b||(0,Kv.isPlainObject)(b)?C=>Fo(b,(0,ot.default)({},C,{theme:So({theme:C.theme,defaultTheme:r,themeId:t})})):b,x=(b,...C)=>{let S=_(b);const O=C?C.map(_):[];c&&d&&O.push(R=>{const E=So((0,ot.default)({},R,{defaultTheme:r,themeId:t}));if(!E.components||!E.components[c]||!E.components[c].styleOverrides)return null;const I=E.components[c].styleOverrides,A={};return Object.entries(I).forEach(([P,N])=>{A[P]=Fo(N,(0,ot.default)({},R,{theme:E}))}),d(R,A)}),c&&!g&&O.push(R=>{var E;const I=So((0,ot.default)({},R,{defaultTheme:r,themeId:t})),A=I==null||(E=I.components)==null||(E=E[c])==null?void 0:E.variants;return Fo({variants:A},(0,ot.default)({},R,{theme:I}))}),v||O.push(i);const M=O.length-C.length;if(Array.isArray(b)&&M>0){const R=new Array(M).fill("");S=[...b,...R],S.raw=[...b.raw,...R]}const D=T(S,...O);if(process.env.NODE_ENV!=="production"){let R;c&&(R=`${c}${(0,Xv.default)(u||"")}`),R===void 0&&(R=`Styled(${(0,Qv.default)(a)})`),D.displayName=R}return a.muiName&&(D.muiName=a.muiName),D};return T.withConfig&&(x.withConfig=T.withConfig),x}}function qo(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Mr(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 lf(e){if(!Mr(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=lf(e[r])}),t}function Lr(e,t,r={clone:!0}){const n=r.clone?l._extends({},e):e;return Mr(e)&&Mr(t)&&Object.keys(t).forEach(o=>{Mr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Mr(e[o])?n[o]=Lr(e[o],t[o],r):r.clone?n[o]=Mr(t[o])?lf(t[o]):t[o]:n[o]=t[o]}),n}const cc=e=>e,c1=()=>{let e=cc;return{configure(t){e=t},generate(t){return e(t)},reset(){e=cc}}},u1=c1(),d1={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 we(e,t,r="Mui"){const n=d1[t];return n?`${r}-${n}`:`${u1.generate(e)}-${t}`}function f1(e,t){return l._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ae={};const p1=l.getAugmentedNamespace(zg);function h1(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const m1=Object.freeze(Object.defineProperty({__proto__:null,default:h1},Symbol.toStringTag,{value:"Module"})),g1=l.getAugmentedNamespace(m1);var cf=l.interopRequireDefaultExports;Object.defineProperty(Ae,"__esModule",{value:!0});var Pe=Ae.alpha=mf;Ae.blend=S1;Ae.colorChannel=void 0;var uf=Ae.darken=Ss;Ae.decomposeColor=dt;var uc=Ae.emphasize=gf,dc=Ae.getContrastRatio=x1;Ae.getLuminance=Go;Ae.hexToRgb=ff;Ae.hslToRgb=hf;var df=Ae.lighten=Rs;Ae.private_safeAlpha=w1;Ae.private_safeColorChannel=void 0;Ae.private_safeDarken=C1;Ae.private_safeEmphasize=E1;Ae.private_safeLighten=T1;Ae.recomposeColor=Ur;Ae.rgbToHex=_1;var fc=cf(p1),v1=cf(g1);function Es(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}].`),(0,v1.default)(e,t,r)}function ff(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)),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 y1(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function dt(e){if(e.type)return e;if(e.charAt(0)==="#")return dt(ff(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
53
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,fc.default)(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"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
54
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,fc.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const pf=e=>{const t=dt(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};Ae.colorChannel=pf;const b1=(e,t)=>{try{return pf(e)}catch(r){return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};Ae.private_safeColorChannel=b1;function Ur(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function _1(e){if(e.indexOf("#")===0)return e;const{values:t}=dt(e);return`#${t.map((r,n)=>y1(n===3?Math.round(255*r):r)).join("")}`}function hf(e){e=dt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(u,p=(u+r/30)%12)=>o-i*Math.max(Math.min(p-3,9-p,1),-1);let s="rgb";const c=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",c.push(t[3])),Ur({type:s,values:c})}function Go(e){e=dt(e);let t=e.type==="hsl"||e.type==="hsla"?dt(hf(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:Qe((r+.055)/1.055,2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function x1(e,t){const r=Go(e),n=Go(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function mf(e,t){return e=dt(e),t=Es(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ur(e)}function w1(e,t,r){try{return mf(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Ss(e,t){if(e=dt(e),t=Es(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ur(e)}function C1(e,t,r){try{return Ss(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Rs(e,t){if(e=dt(e),t=Es(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ur(e)}function T1(e,t,r){try{return Rs(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function gf(e,t=.15){return Go(e)>.5?Ss(e,t):Rs(e,t)}function E1(e,t,r){try{return gf(e,t)}catch(n){return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function S1(e,t,r,n=1){const o=(c,u)=>Math.round(Qe(Qe(c,1/n)*(1-r)+Qe(u,1/n)*r,n)),i=dt(e),a=dt(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Ur({type:"rgb",values:s})}const Ln={black:"#000",white:"#fff"},R1={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"},wr={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"},Cr={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"},hn={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"},Tr={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"},Er={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"},Sr={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"},O1=["mode","contrastThreshold","tonalOffset"],pc={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:Ln.white,default:Ln.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}},ia={text:{primary:Ln.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:Ln.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function hc(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=df(e.main,o):t==="dark"&&(e.dark=uf(e.main,i)))}function M1(e="light"){return e==="dark"?{main:Tr[200],light:Tr[50],dark:Tr[400]}:{main:Tr[700],light:Tr[400],dark:Tr[800]}}function P1(e="light"){return e==="dark"?{main:wr[200],light:wr[50],dark:wr[400]}:{main:wr[500],light:wr[300],dark:wr[700]}}function D1(e="light"){return e==="dark"?{main:Cr[500],light:Cr[300],dark:Cr[700]}:{main:Cr[700],light:Cr[400],dark:Cr[800]}}function k1(e="light"){return e==="dark"?{main:Er[400],light:Er[300],dark:Er[700]}:{main:Er[700],light:Er[500],dark:Er[900]}}function I1(e="light"){return e==="dark"?{main:Sr[400],light:Sr[300],dark:Sr[700]}:{main:Sr[800],light:Sr[500],dark:Sr[900]}}function A1(e="light"){return e==="dark"?{main:hn[400],light:hn[300],dark:hn[700]}:{main:"#ed6c02",light:hn[500],dark:hn[900]}}function N1(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=ae(e,O1),i=e.primary||M1(t),a=e.secondary||P1(t),s=e.error||D1(t),c=e.info||k1(t),u=e.success||I1(t),p=e.warning||A1(t);function h(v){const y=dc(v,ia.text.primary)>=r?ia.text.primary:pc.text.primary;if(process.env.NODE_ENV!=="production"){const w=dc(v,y);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${y} on ${v}`,"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(`
55
- `))}return y}const d=({color:v,name:y,mainShade:w=500,lightShade:T=300,darkShade:_=700})=>{if(v=l._extends({},v),!v.main&&v[w]&&(v.main=v[w]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
56
- The color object needs to have a \`main\` property or a \`${w}\` property.`:qo(11,y?` (${y})`:"",w));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
57
- \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
58
-
59
- Did you intend to use one of the following approaches?
60
-
61
- import { green } from "@mui/material/colors";
62
-
63
- const theme1 = createTheme({ palette: {
64
- primary: green,
65
- } });
66
-
67
- const theme2 = createTheme({ palette: {
68
- primary: { main: green[500] },
69
- } });`:qo(12,y?` (${y})`:"",JSON.stringify(v.main)));return hc(v,"light",T,n),hc(v,"dark",_,n),v.contrastText||(v.contrastText=h(v.main)),v},m={dark:ia,light:pc};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Lr(l._extends({common:l._extends({},Ln),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:p,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:u,name:"success"}),grey:R1,contrastThreshold:r,getContrastText:h,augmentColor:d,tonalOffset:n},m[t]),o)}const $1=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function L1(e){return Math.round(e*1e5)/1e5}const mc={textTransform:"uppercase"},gc='"Roboto", "Helvetica", "Arial", sans-serif';function F1(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=gc,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:p,pxToRem:h}=r,d=ae(r,$1);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=o/14,g=h||(w=>`${w/u*m}rem`),v=(w,T,_,x,b)=>l._extends({fontFamily:n,fontWeight:w,fontSize:g(T),lineHeight:_},n===gc?{letterSpacing:`${L1(x/T)}em`}:{},b,p),y={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(a,48,1.167,0),h4:v(a,34,1.235,.25),h5:v(a,24,1.334,0),h6:v(s,20,1.6,.15),subtitle1:v(a,16,1.75,.15),subtitle2:v(s,14,1.57,.1),body1:v(a,16,1.5,.15),body2:v(a,14,1.43,.15),button:v(s,14,1.75,.4,mc),caption:v(a,12,1.66,.4),overline:v(a,12,2.66,1,mc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Lr(l._extends({htmlFontSize:u,pxToRem:g,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},y),d,{clone:!1})}const B1=.2,H1=.14,j1=.12;function Ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${B1})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${H1})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${j1})`].join(",")}const W1=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],z1=["duration","easing","delay"],V1={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)"},vf={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vc(e){return`${Math.round(e)}ms`}function U1(e){if(!e)return 0;const t=e/36;return Math.round((4+15*Qe(t,.25)+t/5)*10)}function q1(e){const t=l._extends({},V1,e.easing),r=l._extends({},vf,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=i,u=ae(i,z1);if(process.env.NODE_ENV!=="production"){const p=d=>typeof d=="string",h=d=>!isNaN(parseFloat(d));!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(c)&&!p(c)&&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(`
70
- `)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof a=="string"?a:vc(a)} ${s} ${typeof c=="string"?c:vc(c)}`).join(",")};return l._extends({getAutoHeightDuration:U1,create:n},e,{easing:t,duration:r})}const G1={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Y1=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function K1(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=ae(e,Y1);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":qo(18));const s=N1(n),c=bi(e);let u=Lr(c,{mixins:f1(c.breakpoints,r),palette:s,shadows:W1.slice(),typography:F1(s,i),transitions:q1(o),zIndex:l._extends({},G1)});if(u=Lr(u,a),u=t.reduce((p,h)=>Lr(p,h),u),process.env.NODE_ENV!=="production"){const p=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(d,m)=>{let g;for(g in d){const v=d[g];if(p.indexOf(g)!==-1&&Object.keys(v).length>0){if(process.env.NODE_ENV!=="production"){const y=we("",g);console.error([`MUI: The \`${m}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:v}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
71
- `))}d[g]={}}}};Object.keys(u.components).forEach(d=>{const m=u.components[d].styleOverrides;m&&d.indexOf("Mui")===0&&h(m,d)})}return u.unstable_sxConfig=l._extends({},Qn,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(h){return Zn({sx:h,theme:this})},u}const yf=K1(),bf="$$material";function X1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Jn=e=>X1(e)&&e!=="classes",le=Yv({themeId:bf,defaultTheme:yf,rootShouldForwardProp:Jn});function Yo(e,t){const r=l._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=l._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=l._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=Yo(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const Q1=W.createContext(void 0);function Z1(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?Yo(o.defaultProps,n):!o.styleOverrides&&!o.variants?Yo(o,n):n}function J1({props:e,name:t}){const r=W.useContext(Q1);return Z1({props:e,name:t,theme:{components:r}})}function Re(e){return J1(e)}const Fn=W.createContext({});process.env.NODE_ENV!=="production"&&(Fn.displayName="ListContext");function Ce(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=we(e,o,r)}),n}function ey(e){return we("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const ty=["children","className","component","dense","disablePadding","subheader"],ry=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return De({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},ey,t)},ny=le("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>l._extends({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Os=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:c=!1,subheader:u}=n,p=ae(n,ty),h=W.useMemo(()=>({dense:s}),[s]),d=l._extends({},n,{component:a,dense:s,disablePadding:c}),m=ry(d);return te.jsx(Fn.Provider,{value:h,children:te.jsxs(ny,l._extends({as:a,className:se(m.root,i),ref:r,ownerState:d},p,{children:[u,o]}))})});process.env.NODE_ENV!=="production"&&(Os.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,dense:f.bool,disablePadding:f.bool,subheader:f.node,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function _f(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const qt=typeof window!="undefined"?W.useLayoutEffect:W.useEffect,oy=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function aa(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function yc(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function xf(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.indexOf(t.keys.join(""))===0}function mn(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 c=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!xf(s,i)||c)s=o(e,s,r);else return s.focus(),!0}return!1}const Ms=W.forwardRef(function(t,r){const{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:p,variant:h="selectedMenu"}=t,d=ae(t,oy),m=W.useRef(null),g=W.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});qt(()=>{o&&m.current.focus()},[o]),W.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(_,{direction:x})=>{const b=!m.current.style.width;if(_.clientHeight<m.current.clientHeight&&b){const C=`${_f(ze(_))}px`;m.current.style[x==="rtl"?"paddingLeft":"paddingRight"]=C,m.current.style.width=`calc(100% + ${C})`}return m.current}}),[]);const v=_=>{const x=m.current,b=_.key,C=ze(x).activeElement;if(b==="ArrowDown")_.preventDefault(),mn(x,C,u,c,aa);else if(b==="ArrowUp")_.preventDefault(),mn(x,C,u,c,yc);else if(b==="Home")_.preventDefault(),mn(x,null,u,c,aa);else if(b==="End")_.preventDefault(),mn(x,null,u,c,yc);else if(b.length===1){const S=g.current,O=b.toLowerCase(),M=performance.now();S.keys.length>0&&(M-S.lastTime>500?(S.keys=[],S.repeating=!0,S.previousKeyMatched=!0):S.repeating&&O!==S.keys[0]&&(S.repeating=!1)),S.lastTime=M,S.keys.push(O);const D=C&&!S.repeating&&xf(C,S);S.previousKeyMatched&&(D||mn(x,C,!1,c,aa,S))?_.preventDefault():S.previousKeyMatched=!1}p&&p(_)},y=Ve(m,r);let w=-1;W.Children.forEach(a,(_,x)=>{if(!W.isValidElement(_)){w===x&&(w+=1,w>=a.length&&(w=-1));return}process.env.NODE_ENV!=="production"&&$n.isFragment(_)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
72
- `)),_.props.disabled||(h==="selectedMenu"&&_.props.selected||w===-1)&&(w=x),w===x&&(_.props.disabled||_.props.muiSkipListHighlight||_.type.muiSkipListHighlight)&&(w+=1,w>=a.length&&(w=-1))});const T=W.Children.map(a,(_,x)=>{if(x===w){const b={};return i&&(b.autoFocus=!0),_.props.tabIndex===void 0&&h==="selectedMenu"&&(b.tabIndex=0),W.cloneElement(_,b)}return _});return te.jsx(Os,l._extends({role:"menu",ref:y,className:s,onKeyDown:v,tabIndex:o?0:-1},d,{children:T}))});process.env.NODE_ENV!=="production"&&(Ms.propTypes={autoFocus:f.bool,autoFocusItem:f.bool,children:f.node,className:f.string,disabledItemsFocusable:f.bool,disableListWrap:f.bool,onKeyDown:f.func,variant:f.oneOf(["menu","selectedMenu"])});const eo=f.oneOfType([f.func,f.object]);function Dt(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function iy(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ay(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"&&!iy(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 Ps=Dt(f.elementType,ay);function sy(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 ly(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const cy=Number.isInteger||ly;function wf(e,t,r,n){const o=e[t];if(o==null||!cy(o)){const i=sy(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function Cf(e,t,...r){return e[t]===void 0?null:wf(e,t,...r)}function ka(){return null}Cf.isRequired=wf;ka.isRequired=ka;const bt=process.env.NODE_ENV==="production"?ka:Cf;function uy(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 Bn(e){return ze(e).defaultView||window}const bc={};function dy(e,t){const r=W.useRef(bc);return r.current===bc&&(r.current=e(t)),r}const fy=[];function py(e){W.useEffect(e,fy)}class to{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new to}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function lr(){const e=dy(to.create).current;return py(e.disposeEffect),e}function hy(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Tf(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;const c=i.type;return typeof c=="function"&&!hy(c)&&(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 mr=Dt(f.element,Tf);mr.isRequired=Dt(f.element.isRequired,Tf);function Ef(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ea(e,t)}const _c={disabled:!1};var my=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.shape({enter:f.number,exit:f.number,appear:f.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&f.oneOfType([f.string,f.shape({enter:f.string,exit:f.string,active:f.string}),f.shape({enter:f.string,enterDone:f.string,enterActive:f.string,exit:f.string,exitDone:f.string,exitActive:f.string})]);const Ko=F.createContext(null);var Tn="unmounted",ir="exited",ar="entering",Pr="entered",Ia="exiting",gt=function(e){Ef(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,c;return i.appearStatus=null,n.in?s?(c=ir,i.appearStatus=ar):c=Pr:n.unmountOnExit||n.mountOnEnter?c=Tn:c=ir,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Tn?{status:ir}: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!==Pr&&(i=ar):(a===ar||a===Pr)&&(i=Ia)}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:Ar.findDOMNode(this)),this.performEnter(o)):this.performExit()):this.props.unmountOnExit&&this.state.status===ir&&this.setState({status:Tn})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,c=this.props.nodeRef?[s]:[Ar.findDOMNode(this),s],u=c[0],p=c[1],h=this.getTimeouts(),d=s?h.appear:h.enter;if(!o&&!a||_c.disabled){this.safeSetState({status:Pr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:ar},function(){i.props.onEntering(u,p),i.onTransitionEnd(d,function(){i.safeSetState({status:Pr},function(){i.props.onEntered(u,p)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Ar.findDOMNode(this);if(!i||_c.disabled){this.safeSetState({status:ir},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Ia},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ir},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:Ar.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=c[0],p=c[1];this.props.addEndListener(u,p)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Tn)return null;var i=this.props,a=i.children,s=ae(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return F.createElement(Ko.Provider,{value:null},typeof a=="function"?a(o,s):F.cloneElement(F.Children.only(a),s))},t}(F.Component);gt.contextType=Ko;gt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:f.shape({current:typeof Element=="undefined"?f.any:function(e,t,r,n,o,i){var a=e[t];return f.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:f.oneOfType([f.func.isRequired,f.element.isRequired]).isRequired,in:f.bool,mountOnEnter:f.bool,unmountOnExit:f.bool,appear:f.bool,enter:f.bool,exit:f.bool,timeout:function(t){var r=my;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:f.func,onEnter:f.func,onEntering:f.func,onEntered:f.func,onExit:f.func,onExiting:f.func,onExited:f.func}:{};function Rr(){}gt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Rr,onEntering:Rr,onEntered:Rr,onExit:Rr,onExiting:Rr,onExited:Rr};gt.UNMOUNTED=Tn;gt.EXITED=ir;gt.ENTERING=ar;gt.ENTERED=Pr;gt.EXITING=Ia;function Ds(e,t){var r=function(i){return t&&F.isValidElement(i)?t(i):i},n=Object.create(null);return e&&F.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function gy(e,t){e=e||{},t=t||{};function r(p){return p in t?t[p]:e[p]}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 c in t){if(n[c])for(a=0;a<n[c].length;a++){var u=n[c][a];s[n[c][a]]=r(u)}s[c]=r(c)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function cr(e,t,r){return r[t]!=null?r[t]:e.props[t]}function vy(e,t){return Ds(e.children,function(r){return F.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:cr(r,"appear",e),enter:cr(r,"enter",e),exit:cr(r,"exit",e)})})}function yy(e,t,r){var n=Ds(e.children),o=gy(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(F.isValidElement(a)){var s=i in t,c=i in n,u=t[i],p=F.isValidElement(u)&&!u.props.in;c&&(!s||p)?o[i]=F.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:cr(a,"exit",e),enter:cr(a,"enter",e)}):!c&&s&&!p?o[i]=F.cloneElement(a,{in:!1}):c&&s&&F.isValidElement(u)&&(o[i]=F.cloneElement(a,{onExited:r.bind(null,a),in:u.props.in,exit:cr(a,"exit",e),enter:cr(a,"enter",e)}))}}),o}var by=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},_y={component:"div",childFactory:function(t){return t}},ks=function(e){Ef(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(jm(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,c=i.firstRender;return{children:c?vy(o,s):yy(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Ds(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var c=l._extends({},s.children);return delete c[o.key],{children:c}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=ae(o,["component","childFactory"]),c=this.state.contextValue,u=by(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?F.createElement(Ko.Provider,{value:c},u):F.createElement(Ko.Provider,{value:c},F.createElement(i,s,u))},t}(F.Component);ks.propTypes=process.env.NODE_ENV!=="production"?{component:f.any,children:f.node,appear:f.bool,enter:f.bool,exit:f.bool,childFactory:f.func}:{};ks.defaultProps=_y;function xy(e){return Object.keys(e).length===0}function wy(e=null){const t=W.useContext(l.ThemeContext$1);return!t||xy(t)?e:t}const Cy=bi();function Sf(e=Cy){return wy(e)}function ro(){const e=Sf(yf);return process.env.NODE_ENV!=="production"&&W.useDebugValue(e),e[bf]||e}function Hn(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}const Ty=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Aa(e){return`scale(${e}, ${Qe(e,2)})`}const Ey={entering:{opacity:1,transform:Aa(1)},entered:{opacity:1,transform:"none"}},sa=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),jn=W.forwardRef(function(t,r){const{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:c,onEntered:u,onEntering:p,onExit:h,onExited:d,onExiting:m,style:g,timeout:v="auto",TransitionComponent:y=gt}=t,w=ae(t,Ty),T=lr(),_=W.useRef(),x=ro(),b=W.useRef(null),C=Ve(b,i.ref,r),S=P=>N=>{if(P){const B=b.current;N===void 0?P(B):P(B,N)}},O=S(p),M=S((P,N)=>{const{duration:B,delay:H,easing:L}=Hn({style:g,timeout:v,easing:a},{mode:"enter"});let k;v==="auto"?(k=x.transitions.getAutoHeightDuration(P.clientHeight),_.current=k):k=B,P.style.transition=[x.transitions.create("opacity",{duration:k,delay:H}),x.transitions.create("transform",{duration:sa?k:k*.666,delay:H,easing:L})].join(","),c&&c(P,N)}),D=S(u),R=S(m),E=S(P=>{const{duration:N,delay:B,easing:H}=Hn({style:g,timeout:v,easing:a},{mode:"exit"});let L;v==="auto"?(L=x.transitions.getAutoHeightDuration(P.clientHeight),_.current=L):L=N,P.style.transition=[x.transitions.create("opacity",{duration:L,delay:B}),x.transitions.create("transform",{duration:sa?L:L*.666,delay:sa?B:B||L*.333,easing:H})].join(","),P.style.opacity=0,P.style.transform=Aa(.75),h&&h(P)}),I=S(d),A=P=>{v==="auto"&&T.start(_.current||0,P),n&&n(b.current,P)};return te.jsx(y,l._extends({appear:o,in:s,nodeRef:b,onEnter:M,onEntered:D,onEntering:O,onExit:E,onExited:I,onExiting:R,addEndListener:A,timeout:v==="auto"?null:v},w,{children:(P,N)=>W.cloneElement(i,l._extends({style:l._extends({opacity:0,transform:Aa(.75),visibility:P==="exited"&&!s?"hidden":void 0},Ey[P],g,i.props.style),ref:C},N))}))});process.env.NODE_ENV!=="production"&&(jn.propTypes={addEndListener:f.func,appear:f.bool,children:mr.isRequired,easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});jn.muiSupportAuto=!0;const Sy="exact-prop: ​";function Is(e){return process.env.NODE_ENV==="production"?e:l._extends({},e,{[Sy]: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}})}function fe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":qo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Na(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}let xc=0;function Ry(e){const[t,r]=W.useState(e),n=e||t;return W.useEffect(()=>{t==null&&(xc+=1,r(`mui-${xc}`))},[t]),n}const wc=W[`useId${Math.random()}`.slice(0,5)];function Rf(e){if(wc!==void 0){const t=wc();return e!=null?e:t}return Ry(e)}function As({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=W.useRef(e!==void 0),[i,a]=W.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){W.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(`
73
- `))},[n,r,e]);const{current:u}=W.useRef(t);W.useEffect(()=>{!o&&!Object.is(u,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(`
74
- `))},[JSON.stringify(t)])}const c=W.useCallback(u=>{o||a(u)},[]);return[s,c]}function Rt(e){const t=W.useRef(e);return qt(()=>{t.current=e}),W.useRef((...r)=>(0,t.current)(...r)).current}let _i=!0,$a=!1;const Oy=new to,My={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Py(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&My[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Dy(e){e.metaKey||e.altKey||e.ctrlKey||(_i=!0)}function la(){_i=!1}function ky(){this.visibilityState==="hidden"&&$a&&(_i=!0)}function Iy(e){e.addEventListener("keydown",Dy,!0),e.addEventListener("mousedown",la,!0),e.addEventListener("pointerdown",la,!0),e.addEventListener("touchstart",la,!0),e.addEventListener("visibilitychange",ky,!0)}function Ay(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return _i||Py(t)}function Of(){const e=W.useCallback(o=>{o!=null&&Iy(o.ownerDocument)},[]),t=W.useRef(!1);function r(){return t.current?($a=!0,Oy.start(100,()=>{$a=!1}),t.current=!1,!0):!1}function n(o){return Ay(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function Mf(e,t){const r=l._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=l._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=l._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=Mf(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Ny(e){const t=ze(e);return t.body===e?Bn(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Pn(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Cc(e){return parseInt(Bn(e).getComputedStyle(e).paddingRight,10)||0}function $y(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Tc(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,c=!$y(a);s&&c&&Pn(a,o)})}function ca(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function Ly(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Ny(n)){const a=_f(ze(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Cc(n)+a}px`;const s=ze(n).querySelectorAll(".mui-fixed");[].forEach.call(s,c=>{r.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${Cc(c)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=ze(n).body;else{const a=n.parentElement,s=Bn(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 Fy(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class By{constructor(){this.containers=void 0,this.modals=void 0,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&&Pn(t.modalRef,!1);const o=Fy(r);Tc(r,t.mount,t.modalRef,o,!0);const i=ca(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=ca(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=Ly(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=ca(this.containers,a=>a.modals.indexOf(t)!==-1),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&&Pn(t.modalRef,r),Tc(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&&Pn(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Hy=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function jy(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 Wy(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 zy(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Wy(e))}function Vy(e){const t=[],r=[];return Array.from(e.querySelectorAll(Hy)).forEach((n,o)=>{const i=jy(n);i===-1||!zy(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 Uy(){return!0}function Xo(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=Vy,isEnabled:a=Uy,open:s}=e,c=W.useRef(!1),u=W.useRef(null),p=W.useRef(null),h=W.useRef(null),d=W.useRef(null),m=W.useRef(!1),g=W.useRef(null),v=Ve(t.ref,g),y=W.useRef(null);W.useEffect(()=>{!s||!g.current||(m.current=!r)},[r,s]),W.useEffect(()=>{if(!s||!g.current)return;const _=ze(g.current);return g.current.contains(_.activeElement)||(g.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(`
75
- `)),g.current.setAttribute("tabIndex","-1")),m.current&&g.current.focus()),()=>{o||(h.current&&h.current.focus&&(c.current=!0,h.current.focus()),h.current=null)}},[s]),W.useEffect(()=>{if(!s||!g.current)return;const _=ze(g.current),x=S=>{y.current=S,!(n||!a()||S.key!=="Tab")&&_.activeElement===g.current&&S.shiftKey&&(c.current=!0,p.current&&p.current.focus())},b=()=>{const S=g.current;if(S===null)return;if(!_.hasFocus()||!a()||c.current){c.current=!1;return}if(S.contains(_.activeElement)||n&&_.activeElement!==u.current&&_.activeElement!==p.current)return;if(_.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!m.current)return;let O=[];if((_.activeElement===u.current||_.activeElement===p.current)&&(O=i(g.current)),O.length>0){var M,D;const R=!!((M=y.current)!=null&&M.shiftKey&&((D=y.current)==null?void 0:D.key)==="Tab"),E=O[0],I=O[O.length-1];typeof E!="string"&&typeof I!="string"&&(R?I.focus():E.focus())}else S.focus()};_.addEventListener("focusin",b),_.addEventListener("keydown",x,!0);const C=setInterval(()=>{_.activeElement&&_.activeElement.tagName==="BODY"&&b()},50);return()=>{clearInterval(C),_.removeEventListener("focusin",b),_.removeEventListener("keydown",x,!0)}},[r,n,o,a,s,i]);const w=_=>{h.current===null&&(h.current=_.relatedTarget),m.current=!0,d.current=_.target;const x=t.props.onFocus;x&&x(_)},T=_=>{h.current===null&&(h.current=_.relatedTarget),m.current=!0};return te.jsxs(W.Fragment,{children:[te.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:u,"data-testid":"sentinelStart"}),W.cloneElement(t,{ref:v,onFocus:w}),te.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Xo.propTypes={children:mr,disableAutoFocus:f.bool,disableEnforceFocus:f.bool,disableRestoreFocus:f.bool,getTabbable:f.func,isEnabled:f.func,open:f.bool.isRequired});process.env.NODE_ENV!=="production"&&(Xo.propTypes=Is(Xo.propTypes));function qy(e){return typeof e=="function"?e():e}const Wn=W.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=W.useState(null),c=Ve(W.isValidElement(n)?n.ref:null,r);if(qt(()=>{i||s(qy(o)||document.body)},[o,i]),qt(()=>{if(a&&!i)return Ma(r,a),()=>{Ma(r,null)}},[r,a,i]),i){if(W.isValidElement(n)){const u={ref:c};return W.cloneElement(n,u)}return te.jsx(W.Fragment,{children:n})}return te.jsx(W.Fragment,{children:a&&bm.createPortal(n,a)})});process.env.NODE_ENV!=="production"&&(Wn.propTypes={children:f.node,container:f.oneOfType([Mt,f.func]),disablePortal:f.bool});process.env.NODE_ENV!=="production"&&(Wn.propTypes=Is(Wn.propTypes));const Gy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Yy={entering:{opacity:1},entered:{opacity:1}},Ns=W.forwardRef(function(t,r){const n=ro(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:c,in:u,onEnter:p,onEntered:h,onEntering:d,onExit:m,onExited:g,onExiting:v,style:y,timeout:w=o,TransitionComponent:T=gt}=t,_=ae(t,Gy),x=W.useRef(null),b=Ve(x,s.ref,r),C=A=>P=>{if(A){const N=x.current;P===void 0?A(N):A(N,P)}},S=C(d),O=C((A,P)=>{const N=Hn({style:y,timeout:w,easing:c},{mode:"enter"});A.style.webkitTransition=n.transitions.create("opacity",N),A.style.transition=n.transitions.create("opacity",N),p&&p(A,P)}),M=C(h),D=C(v),R=C(A=>{const P=Hn({style:y,timeout:w,easing:c},{mode:"exit"});A.style.webkitTransition=n.transitions.create("opacity",P),A.style.transition=n.transitions.create("opacity",P),m&&m(A)}),E=C(g),I=A=>{i&&i(x.current,A)};return te.jsx(T,l._extends({appear:a,in:u,nodeRef:x,onEnter:O,onEntered:M,onEntering:S,onExit:R,onExited:E,onExiting:D,addEndListener:I,timeout:w},_,{children:(A,P)=>W.cloneElement(s,l._extends({style:l._extends({opacity:0,visibility:A==="exited"&&!u?"hidden":void 0},Yy[A],y,s.props.style),ref:b},P))}))});process.env.NODE_ENV!=="production"&&(Ns.propTypes={addEndListener:f.func,appear:f.bool,children:mr.isRequired,easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});function Ky(e){return we("MuiBackdrop",e)}Ce("MuiBackdrop",["root","invisible"]);const Xy=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Qy=e=>{const{classes:t,invisible:r}=e;return De({root:["root",r&&"invisible"]},Ky,t)},Zy=le("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>l._extends({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),$s=W.forwardRef(function(t,r){var n,o,i;const a=Re({props:t,name:"MuiBackdrop"}),{children:s,className:c,component:u="div",components:p={},componentsProps:h={},invisible:d=!1,open:m,slotProps:g={},slots:v={},TransitionComponent:y=Ns,transitionDuration:w}=a,T=ae(a,Xy),_=l._extends({},a,{component:u,invisible:d}),x=Qy(_),b=(n=g.root)!=null?n:h.root;return te.jsx(y,l._extends({in:m,timeout:w},T,{children:te.jsx(Zy,l._extends({"aria-hidden":!0},b,{as:(o=(i=v.root)!=null?i:p.Root)!=null?o:u,className:se(x.root,c,b==null?void 0:b.className),ownerState:l._extends({},_,b==null?void 0:b.ownerState),classes:x,ref:r,children:s}))}))});process.env.NODE_ENV!=="production"&&($s.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,components:f.shape({Root:f.elementType}),componentsProps:f.shape({root:f.object}),invisible:f.bool,open:f.bool.isRequired,slotProps:f.shape({root:f.object}),slots:f.shape({root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),TransitionComponent:f.elementType,transitionDuration:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});function Jy(e){return typeof e=="function"?e():e}function eb(e){return e?e.props.hasOwnProperty("in"):!1}const tb=new By;function rb(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=tb,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:c,onClose:u,open:p,rootRef:h}=e,d=W.useRef({}),m=W.useRef(null),g=W.useRef(null),v=Ve(g,h),[y,w]=W.useState(!p),T=eb(c);let _=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(_=!1);const x=()=>ze(m.current),b=()=>(d.current.modalRef=g.current,d.current.mount=m.current,d.current),C=()=>{o.mount(b(),{disableScrollLock:n}),g.current&&(g.current.scrollTop=0)},S=Rt(()=>{const N=Jy(t)||x().body;o.add(b(),N),g.current&&C()}),O=W.useCallback(()=>o.isTopModal(b()),[o]),M=Rt(N=>{m.current=N,N&&(p&&O()?C():g.current&&Pn(g.current,_))}),D=W.useCallback(()=>{o.remove(b(),_)},[_,o]);W.useEffect(()=>()=>{D()},[D]),W.useEffect(()=>{p?S():(!T||!i)&&D()},[p,D,T,i,S]);const R=N=>B=>{var H;(H=N.onKeyDown)==null||H.call(N,B),!(B.key!=="Escape"||B.which===229||!O())&&(r||(B.stopPropagation(),u&&u(B,"escapeKeyDown")))},E=N=>B=>{var H;(H=N.onClick)==null||H.call(N,B),B.target===B.currentTarget&&u&&u(B,"backdropClick")};return{getRootProps:(N={})=>{const B=jd(e);delete B.onTransitionEnter,delete B.onTransitionExited;const H=l._extends({},B,N);return l._extends({role:"presentation"},H,{onKeyDown:R(H),ref:v})},getBackdropProps:(N={})=>{const B=N;return l._extends({"aria-hidden":!0},B,{onClick:E(B),open:p})},getTransitionProps:()=>{const N=()=>{w(!1),a&&a()},B=()=>{w(!0),s&&s(),i&&D()};return{onEnter:Na(N,c==null?void 0:c.props.onEnter),onExited:Na(B,c==null?void 0:c.props.onExited)}},rootRef:v,portalRef:M,isTopModal:O,exited:y,hasTransition:T}}function nb(e){return we("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const ob=["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"],ib=e=>{const{open:t,exited:r,classes:n}=e;return De({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},nb,n)},ab=le("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>l._extends({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),sb=le($s,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ls=W.forwardRef(function(t,r){var n,o,i,a,s,c;const u=Re({name:"MuiModal",props:t}),{BackdropComponent:p=sb,BackdropProps:h,className:d,closeAfterTransition:m=!1,children:g,container:v,component:y,components:w={},componentsProps:T={},disableAutoFocus:_=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:b=!1,disablePortal:C=!1,disableRestoreFocus:S=!1,disableScrollLock:O=!1,hideBackdrop:M=!1,keepMounted:D=!1,onBackdropClick:R,open:E,slotProps:I,slots:A}=u,P=ae(u,ob),N=l._extends({},u,{closeAfterTransition:m,disableAutoFocus:_,disableEnforceFocus:x,disableEscapeKeyDown:b,disablePortal:C,disableRestoreFocus:S,disableScrollLock:O,hideBackdrop:M,keepMounted:D}),{getRootProps:B,getBackdropProps:H,getTransitionProps:L,portalRef:k,isTopModal:$,exited:V,hasTransition:j}=rb(l._extends({},N,{rootRef:r})),z=l._extends({},N,{exited:V}),U=ib(z),Y={};if(g.props.tabIndex===void 0&&(Y.tabIndex="-1"),j){const{onEnter:ne,onExited:Z}=L();Y.onEnter=ne,Y.onExited=Z}const X=(n=(o=A==null?void 0:A.root)!=null?o:w.Root)!=null?n:ab,K=(i=(a=A==null?void 0:A.backdrop)!=null?a:w.Backdrop)!=null?i:p,Q=(s=I==null?void 0:I.root)!=null?s:T.root,ee=(c=I==null?void 0:I.backdrop)!=null?c:T.backdrop,re=Ut({elementType:X,externalSlotProps:Q,externalForwardedProps:P,getSlotProps:B,additionalProps:{ref:r,as:y},ownerState:z,className:se(d,Q==null?void 0:Q.className,U==null?void 0:U.root,!z.open&&z.exited&&(U==null?void 0:U.hidden))}),G=Ut({elementType:K,externalSlotProps:ee,additionalProps:h,getSlotProps:ne=>H(l._extends({},ne,{onClick:Z=>{R&&R(Z),ne!=null&&ne.onClick&&ne.onClick(Z)}})),className:se(ee==null?void 0:ee.className,h==null?void 0:h.className,U==null?void 0:U.backdrop),ownerState:z});return!D&&!E&&(!j||V)?null:te.jsx(Wn,{ref:k,container:v,disablePortal:C,children:te.jsxs(X,l._extends({},re,{children:[!M&&p?te.jsx(K,l._extends({},G)):null,te.jsx(Xo,{disableEnforceFocus:x,disableAutoFocus:_,disableRestoreFocus:S,isEnabled:$,open:E,children:W.cloneElement(g,Y)})]}))})});process.env.NODE_ENV!=="production"&&(Ls.propTypes={BackdropComponent:f.elementType,BackdropProps:f.object,children:mr.isRequired,classes:f.object,className:f.string,closeAfterTransition:f.bool,component:f.elementType,components:f.shape({Backdrop:f.elementType,Root:f.elementType}),componentsProps:f.shape({backdrop:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),container:f.oneOfType([Mt,f.func]),disableAutoFocus:f.bool,disableEnforceFocus:f.bool,disableEscapeKeyDown:f.bool,disablePortal:f.bool,disableRestoreFocus:f.bool,disableScrollLock:f.bool,hideBackdrop:f.bool,keepMounted:f.bool,onBackdropClick:f.func,onClose:f.func,onTransitionEnter:f.func,onTransitionExited:f.func,open:f.bool.isRequired,slotProps:f.shape({backdrop:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({backdrop:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});const Ec=e=>{let t;return e<1?t=5.11916*Qe(e,2):t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function lb(e){return we("MuiPaper",e)}Ce("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 cb=["className","component","elevation","square","variant"],ub=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return De(i,lb,o)},db=le("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}`]]}})(({theme:e,ownerState:t})=>{var r;return l._extends({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&l._extends({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Pe("#fff",Ec(t.elevation))}, ${Pe("#fff",Ec(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),xi=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:c="elevation"}=n,u=ae(n,cb),p=l._extends({},n,{component:i,elevation:a,square:s,variant:c}),h=ub(p);return process.env.NODE_ENV!=="production"&&ro().shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
76
- `)),te.jsx(db,l._extends({as:i,ownerState:p,className:se(h.root,o),ref:r},u))});process.env.NODE_ENV!=="production"&&(xi.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,elevation:Dt(bt,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:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["elevation","outlined"]),f.string])});function fb(e){return we("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);const pb=["onEntering"],hb=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],mb=["slotProps"];function Sc(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Rc(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Oc(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Bo(e){return typeof e=="function"?e():e}const gb=e=>{const{classes:t}=e;return De({root:["root"],paper:["paper"]},fb,t)},vb=le(Ls,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pf=le(xi,{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}),Fs=W.forwardRef(function(t,r){var n,o,i;const a=Re({props:t,name:"MuiPopover"}),{action:s,anchorEl:c,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:h="anchorEl",children:d,className:m,container:g,elevation:v=8,marginThreshold:y=16,open:w,PaperProps:T={},slots:_,slotProps:x,transformOrigin:b={vertical:"top",horizontal:"left"},TransitionComponent:C=jn,transitionDuration:S="auto",TransitionProps:{onEntering:O}={},disableScrollLock:M=!1}=a,D=ae(a.TransitionProps,pb),R=ae(a,hb),E=(n=x==null?void 0:x.paper)!=null?n:T,I=W.useRef(),A=Ve(I,E.ref),P=l._extends({},a,{anchorOrigin:u,anchorReference:h,elevation:v,marginThreshold:y,externalPaperSlotProps:E,transformOrigin:b,TransitionComponent:C,transitionDuration:S,TransitionProps:D}),N=gb(P),B=W.useCallback(()=>{if(h==="anchorPosition")return process.env.NODE_ENV!=="production"&&(p||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),p;const ne=Bo(c),Z=ne&&ne.nodeType===1?ne:ze(I.current).body,oe=Z.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const de=Z.getBoundingClientRect();process.env.NODE_ENV!=="test"&&de.top===0&&de.left===0&&de.right===0&&de.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(`
77
- `))}return{top:oe.top+Sc(oe,u.vertical),left:oe.left+Rc(oe,u.horizontal)}},[c,u.horizontal,u.vertical,p,h]),H=W.useCallback(ne=>({vertical:Sc(ne,b.vertical),horizontal:Rc(ne,b.horizontal)}),[b.horizontal,b.vertical]),L=W.useCallback(ne=>{const Z={width:ne.offsetWidth,height:ne.offsetHeight},oe=H(Z);if(h==="none")return{top:null,left:null,transformOrigin:Oc(oe)};const de=B();let pe=de.top-oe.vertical,ue=de.left-oe.horizontal;const Ne=pe+Z.height,Te=ue+Z.width,$e=Bn(Bo(c)),Le=$e.innerHeight-y,ye=$e.innerWidth-y;if(y!==null&&pe<y){const be=pe-y;pe-=be,oe.vertical+=be}else if(y!==null&&Ne>Le){const be=Ne-Le;pe-=be,oe.vertical+=be}if(process.env.NODE_ENV!=="production"&&Z.height>Le&&Z.height&&Le&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${Z.height-Le}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
78
- `)),y!==null&&ue<y){const be=ue-y;ue-=be,oe.horizontal+=be}else if(Te>ye){const be=Te-ye;ue-=be,oe.horizontal+=be}return{top:`${Math.round(pe)}px`,left:`${Math.round(ue)}px`,transformOrigin:Oc(oe)}},[c,h,B,H,y]),[k,$]=W.useState(w),V=W.useCallback(()=>{const ne=I.current;if(!ne)return;const Z=L(ne);Z.top!==null&&(ne.style.top=Z.top),Z.left!==null&&(ne.style.left=Z.left),ne.style.transformOrigin=Z.transformOrigin,$(!0)},[L]);W.useEffect(()=>(M&&window.addEventListener("scroll",V),()=>window.removeEventListener("scroll",V)),[c,M,V]);const j=(ne,Z)=>{O&&O(ne,Z),V()},z=()=>{$(!1)};W.useEffect(()=>{w&&V()}),W.useImperativeHandle(s,()=>w?{updatePosition:()=>{V()}}:null,[w,V]),W.useEffect(()=>{if(!w)return;const ne=uy(()=>{V()}),Z=Bn(c);return Z.addEventListener("resize",ne),()=>{ne.clear(),Z.removeEventListener("resize",ne)}},[c,w,V]);let U=S;S==="auto"&&!C.muiSupportAuto&&(U=void 0);const Y=g||(c?ze(Bo(c)).body:void 0),X=(o=_==null?void 0:_.root)!=null?o:vb,K=(i=_==null?void 0:_.paper)!=null?i:Pf,Q=Ut({elementType:K,externalSlotProps:l._extends({},E,{style:k?E.style:l._extends({},E.style,{opacity:0})}),additionalProps:{elevation:v,ref:A},ownerState:P,className:se(N.paper,E==null?void 0:E.className)}),ee=Ut({elementType:X,externalSlotProps:(x==null?void 0:x.root)||{},externalForwardedProps:R,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:Y,open:w},ownerState:P,className:se(N.root,m)}),{slotProps:re}=ee,G=ae(ee,mb);return te.jsx(X,l._extends({},G,!_s(X)&&{slotProps:re,disableScrollLock:M},{children:te.jsx(C,l._extends({appear:!0,in:w,onEntering:j,onExited:z,timeout:U},D,{children:te.jsx(K,l._extends({},Q,{children:d}))}))}))});process.env.NODE_ENV!=="production"&&(Fs.propTypes={action:eo,anchorEl:Dt(f.oneOfType([Mt,f.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=Bo(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(`
79
- `))}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(`
80
- `))}return null}),anchorOrigin:f.shape({horizontal:f.oneOfType([f.oneOf(["center","left","right"]),f.number]).isRequired,vertical:f.oneOfType([f.oneOf(["bottom","center","top"]),f.number]).isRequired}),anchorPosition:f.shape({left:f.number.isRequired,top:f.number.isRequired}),anchorReference:f.oneOf(["anchorEl","anchorPosition","none"]),children:f.node,classes:f.object,className:f.string,container:f.oneOfType([Mt,f.func]),disableScrollLock:f.bool,elevation:bt,marginThreshold:f.number,onClose:f.func,open:f.bool.isRequired,PaperProps:f.shape({component:Ps}),slotProps:f.shape({paper:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({paper:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transformOrigin:f.shape({horizontal:f.oneOfType([f.oneOf(["center","left","right"]),f.number]).isRequired,vertical:f.oneOfType([f.oneOf(["bottom","center","top"]),f.number]).isRequired}),TransitionComponent:f.elementType,transitionDuration:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})]),TransitionProps:f.object});function yb(e){return we("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const bb=["onEntering"],_b=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],xb={vertical:"top",horizontal:"right"},wb={vertical:"top",horizontal:"left"},Cb=e=>{const{classes:t}=e;return De({root:["root"],paper:["paper"],list:["list"]},yb,t)},Tb=le(Fs,{shouldForwardProp:e=>Jn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Eb=le(Pf,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Sb=le(Ms,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),wi=W.forwardRef(function(t,r){var n,o;const i=Re({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:c,disableAutoFocusItem:u=!1,MenuListProps:p={},onClose:h,open:d,PaperProps:m={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:y}={},variant:w="selectedMenu",slots:T={},slotProps:_={}}=i,x=ae(i.TransitionProps,bb),b=ae(i,_b),C=bs(),S=l._extends({},i,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:p,onEntering:y,PaperProps:m,transitionDuration:v,TransitionProps:x,variant:w}),O=Cb(S),M=a&&!u&&d,D=W.useRef(null),R=(H,L)=>{D.current&&D.current.adjustStyleForScrollbar(H,{direction:C?"rtl":"ltr"}),y&&y(H,L)},E=H=>{H.key==="Tab"&&(H.preventDefault(),h&&h(H,"tabKeyDown"))};let I=-1;W.Children.map(s,(H,L)=>{W.isValidElement(H)&&(process.env.NODE_ENV!=="production"&&$n.isFragment(H)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
81
- `)),H.props.disabled||(w==="selectedMenu"&&H.props.selected||I===-1)&&(I=L))});const A=(n=T.paper)!=null?n:Eb,P=(o=_.paper)!=null?o:m,N=Ut({elementType:T.root,externalSlotProps:_.root,ownerState:S,className:[O.root,c]}),B=Ut({elementType:A,externalSlotProps:P,ownerState:S,className:O.paper});return te.jsx(Tb,l._extends({onClose:h,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?xb:wb,slots:{paper:A,root:T.root},slotProps:{root:N,paper:B},open:d,ref:r,transitionDuration:v,TransitionProps:l._extends({onEntering:R},x),ownerState:S},b,{classes:g,children:te.jsx(Sb,l._extends({onKeyDown:E,actions:D,autoFocus:a&&(I===-1||u),autoFocusItem:M,variant:w},p,{className:se(O.list,p.className),children:s}))}))});process.env.NODE_ENV!=="production"&&(wi.propTypes={anchorEl:f.oneOfType([Mt,f.func]),autoFocus:f.bool,children:f.node,classes:f.object,className:f.string,disableAutoFocusItem:f.bool,MenuListProps:f.object,onClose:f.func,open:f.bool.isRequired,PaperProps:f.object,PopoverClasses:f.object,slotProps:f.shape({paper:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({paper:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transitionDuration:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})]),TransitionProps:f.object,variant:f.oneOf(["menu","selectedMenu"])});const Rb=({children:e,open:t,position:r,onClose:n})=>{const{themeSettings:o}=l.useThemeContext();return l.jsx(wi,{MenuListProps:{dense:!0,sx:{paddingTop:0,paddingBottom:0,fontFamily:o.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:o.typography.fontFamily}}},children:e})};function Df(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:c,timeout:u}=e,[p,h]=W.useState(!1),d=se(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},g=se(r.child,p&&r.childLeaving,n&&r.childPulsate);return!s&&!p&&h(!0),W.useEffect(()=>{if(!s&&c!=null){const v=setTimeout(c,u);return()=>{clearTimeout(v)}}},[c,s,u]),te.jsx("span",{className:d,style:m,children:te.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(Df.propTypes={classes:f.object.isRequired,className:f.string,in:f.bool,onExited:f.func,pulsate:f.bool,rippleSize:f.number,rippleX:f.number,rippleY:f.number,timeout:f.number.isRequired});const at=Ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ob=["center","classes","className"];let Ci=e=>e,Mc,Pc,Dc,kc;const La=550,Mb=80,Pb=l.keyframes(Mc||(Mc=Ci`
82
- 0% {
83
- transform: scale(0);
84
- opacity: 0.1;
85
- }
86
-
87
- 100% {
88
- transform: scale(1);
89
- opacity: 0.3;
90
- }
91
- `)),Db=l.keyframes(Pc||(Pc=Ci`
92
- 0% {
93
- opacity: 1;
94
- }
95
-
96
- 100% {
97
- opacity: 0;
98
- }
99
- `)),kb=l.keyframes(Dc||(Dc=Ci`
100
- 0% {
101
- transform: scale(1);
102
- }
103
-
104
- 50% {
105
- transform: scale(0.92);
106
- }
107
-
108
- 100% {
109
- transform: scale(1);
110
- }
111
- `)),Ib=le("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ab=le(Df,{name:"MuiTouchRipple",slot:"Ripple"})(kc||(kc=Ci`
112
- opacity: 0;
113
- position: absolute;
114
-
115
- &.${0} {
116
- opacity: 0.3;
117
- transform: scale(1);
118
- animation-name: ${0};
119
- animation-duration: ${0}ms;
120
- animation-timing-function: ${0};
121
- }
122
-
123
- &.${0} {
124
- animation-duration: ${0}ms;
125
- }
126
-
127
- & .${0} {
128
- opacity: 1;
129
- display: block;
130
- width: 100%;
131
- height: 100%;
132
- border-radius: 50%;
133
- background-color: currentColor;
134
- }
135
-
136
- & .${0} {
137
- opacity: 0;
138
- animation-name: ${0};
139
- animation-duration: ${0}ms;
140
- animation-timing-function: ${0};
141
- }
142
-
143
- & .${0} {
144
- position: absolute;
145
- /* @noflip */
146
- left: 0px;
147
- top: 0;
148
- animation-name: ${0};
149
- animation-duration: 2500ms;
150
- animation-timing-function: ${0};
151
- animation-iteration-count: infinite;
152
- animation-delay: 200ms;
153
- }
154
- `),at.rippleVisible,Pb,La,({theme:e})=>e.transitions.easing.easeInOut,at.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,at.child,at.childLeaving,Db,La,({theme:e})=>e.transitions.easing.easeInOut,at.childPulsate,kb,({theme:e})=>e.transitions.easing.easeInOut),kf=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=ae(n,Ob),[c,u]=W.useState([]),p=W.useRef(0),h=W.useRef(null);W.useEffect(()=>{h.current&&(h.current(),h.current=null)},[c]);const d=W.useRef(!1),m=lr(),g=W.useRef(null),v=W.useRef(null),y=W.useCallback(x=>{const{pulsate:b,rippleX:C,rippleY:S,rippleSize:O,cb:M}=x;u(D=>[...D,te.jsx(Ab,{classes:{ripple:se(i.ripple,at.ripple),rippleVisible:se(i.rippleVisible,at.rippleVisible),ripplePulsate:se(i.ripplePulsate,at.ripplePulsate),child:se(i.child,at.child),childLeaving:se(i.childLeaving,at.childLeaving),childPulsate:se(i.childPulsate,at.childPulsate)},timeout:La,pulsate:b,rippleX:C,rippleY:S,rippleSize:O},p.current)]),p.current+=1,h.current=M},[i]),w=W.useCallback((x={},b={},C=()=>{})=>{const{pulsate:S=!1,center:O=o||b.pulsate,fakeElement:M=!1}=b;if((x==null?void 0:x.type)==="mousedown"&&d.current){d.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(d.current=!0);const D=M?null:v.current,R=D?D.getBoundingClientRect():{width:0,height:0,left:0,top:0};let E,I,A;if(O||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)E=Math.round(R.width/2),I=Math.round(R.height/2);else{const{clientX:P,clientY:N}=x.touches&&x.touches.length>0?x.touches[0]:x;E=Math.round(P-R.left),I=Math.round(N-R.top)}if(O)A=Math.sqrt((2*Qe(R.width,2)+Qe(R.height,2))/3),A%2===0&&(A+=1);else{const P=Math.max(Math.abs((D?D.clientWidth:0)-E),E)*2+2,N=Math.max(Math.abs((D?D.clientHeight:0)-I),I)*2+2;A=Math.sqrt(Qe(P,2)+Qe(N,2))}x!=null&&x.touches?g.current===null&&(g.current=()=>{y({pulsate:S,rippleX:E,rippleY:I,rippleSize:A,cb:C})},m.start(Mb,()=>{g.current&&(g.current(),g.current=null)})):y({pulsate:S,rippleX:E,rippleY:I,rippleSize:A,cb:C})},[o,y,m]),T=W.useCallback(()=>{w({},{pulsate:!0})},[w]),_=W.useCallback((x,b)=>{if(m.clear(),(x==null?void 0:x.type)==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{_(x,b)});return}g.current=null,u(C=>C.length>0?C.slice(1):C),h.current=b},[m]);return W.useImperativeHandle(r,()=>({pulsate:T,start:w,stop:_}),[T,w,_]),te.jsx(Ib,l._extends({className:se(at.root,i.root,a),ref:v},s,{children:te.jsx(ks,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(kf.propTypes={center:f.bool,classes:f.object,className:f.string});function Nb(e){return we("MuiButtonBase",e)}const $b=Ce("MuiButtonBase",["root","disabled","focusVisible"]),Lb=["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"],Fb=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=De({root:["root",t&&"disabled",r&&"focusVisible"]},Nb,o);return r&&n&&(a.root+=` ${n}`),a},Bb=le("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"},[`&.${$b.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),gr=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:c="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:m="a",onBlur:g,onClick:v,onContextMenu:y,onDragLeave:w,onFocus:T,onFocusVisible:_,onKeyDown:x,onKeyUp:b,onMouseDown:C,onMouseLeave:S,onMouseUp:O,onTouchEnd:M,onTouchMove:D,onTouchStart:R,tabIndex:E=0,TouchRippleProps:I,touchRippleRef:A,type:P}=n,N=ae(n,Lb),B=W.useRef(null),H=W.useRef(null),L=Ve(H,A),{isFocusVisibleRef:k,onFocus:$,onBlur:V,ref:j}=Of(),[z,U]=W.useState(!1);u&&z&&U(!1),W.useImperativeHandle(o,()=>({focusVisible:()=>{U(!0),B.current.focus()}}),[]);const[Y,X]=W.useState(!1);W.useEffect(()=>{X(!0)},[]);const K=Y&&!p&&!u;W.useEffect(()=>{z&&d&&!p&&Y&&H.current.pulsate()},[p,d,z,Y]);function Q(ie,He,Zt=h){return Rt(vt=>(He&&He(vt),!Zt&&H.current&&H.current[ie](vt),!0))}const ee=Q("start",C),re=Q("stop",y),G=Q("stop",w),ne=Q("stop",O),Z=Q("stop",ie=>{z&&ie.preventDefault(),S&&S(ie)}),oe=Q("start",R),de=Q("stop",M),pe=Q("stop",D),ue=Q("stop",ie=>{V(ie),k.current===!1&&U(!1),g&&g(ie)},!1),Ne=Rt(ie=>{B.current||(B.current=ie.currentTarget),$(ie),k.current===!0&&(U(!0),_&&_(ie)),T&&T(ie)}),Te=()=>{const ie=B.current;return c&&c!=="button"&&!(ie.tagName==="A"&&ie.href)},$e=W.useRef(!1),Le=Rt(ie=>{d&&!$e.current&&z&&H.current&&ie.key===" "&&($e.current=!0,H.current.stop(ie,()=>{H.current.start(ie)})),ie.target===ie.currentTarget&&Te()&&ie.key===" "&&ie.preventDefault(),x&&x(ie),ie.target===ie.currentTarget&&Te()&&ie.key==="Enter"&&!u&&(ie.preventDefault(),v&&v(ie))}),ye=Rt(ie=>{d&&ie.key===" "&&H.current&&z&&!ie.defaultPrevented&&($e.current=!1,H.current.stop(ie,()=>{H.current.pulsate(ie)})),b&&b(ie),v&&ie.target===ie.currentTarget&&Te()&&ie.key===" "&&!ie.defaultPrevented&&v(ie)});let be=c;be==="button"&&(N.href||N.to)&&(be=m);const Ue={};be==="button"?(Ue.type=P===void 0?"button":P,Ue.disabled=u):(!N.href&&!N.to&&(Ue.role="button"),u&&(Ue["aria-disabled"]=u));const Be=Ve(r,j,B);process.env.NODE_ENV!=="production"&&W.useEffect(()=>{K&&!H.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
155
- `))},[K]);const Ke=l._extends({},n,{centerRipple:i,component:c,disabled:u,disableRipple:p,disableTouchRipple:h,focusRipple:d,tabIndex:E,focusVisible:z}),It=Fb(Ke);return te.jsxs(Bb,l._extends({as:be,className:se(It.root,s),ownerState:Ke,onBlur:ue,onClick:v,onContextMenu:re,onFocus:Ne,onKeyDown:Le,onKeyUp:ye,onMouseDown:ee,onMouseLeave:Z,onMouseUp:ne,onDragLeave:G,onTouchEnd:de,onTouchMove:pe,onTouchStart:oe,ref:Be,tabIndex:u?-1:E,type:P},Ue,N,{children:[a,K?te.jsx(kf,l._extends({ref:L,center:i},I)):null]}))});process.env.NODE_ENV!=="production"&&(gr.propTypes={action:eo,centerRipple:f.bool,children:f.node,classes:f.object,className:f.string,component:Ps,disabled:f.bool,disableRipple:f.bool,disableTouchRipple:f.bool,focusRipple:f.bool,focusVisibleClassName:f.string,href:f.any,LinkComponent:f.elementType,onBlur:f.func,onClick:f.func,onContextMenu:f.func,onDragLeave:f.func,onFocus:f.func,onFocusVisible:f.func,onKeyDown:f.func,onKeyUp:f.func,onMouseDown:f.func,onMouseLeave:f.func,onMouseUp:f.func,onTouchEnd:f.func,onTouchMove:f.func,onTouchStart:f.func,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,TouchRippleProps:f.object,touchRippleRef:f.oneOfType([f.func,f.shape({current:f.shape({pulsate:f.func.isRequired,start:f.func.isRequired,stop:f.func.isRequired})})]),type:f.oneOfType([f.oneOf(["button","reset","submit"]),f.string])});function Hb(e){return we("MuiDivider",e)}const Ic=Ce("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),jb=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Wb=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:c}=e;return De({root:["root",t&&"absolute",c,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"]},Hb,n)},zb=le("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]}})(({theme:e,ownerState:t})=>l._extends({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Pe(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>l._extends({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>l._extends({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>l._extends({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>l._extends({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),Vb=le("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>l._extends({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),Fr=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiDivider"}),{absolute:o=!1,children:i,className:a,component:s=i?"div":"hr",flexItem:c=!1,light:u=!1,orientation:p="horizontal",role:h=s!=="hr"?"separator":void 0,textAlign:d="center",variant:m="fullWidth"}=n,g=ae(n,jb),v=l._extends({},n,{absolute:o,component:s,flexItem:c,light:u,orientation:p,role:h,textAlign:d,variant:m}),y=Wb(v);return te.jsx(zb,l._extends({as:s,className:se(y.root,a),role:h,ref:r,ownerState:v},g,{children:i?te.jsx(Vb,{className:y.wrapper,ownerState:v,children:i}):null}))});Fr.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(Fr.propTypes={absolute:f.bool,children:f.node,classes:f.object,className:f.string,component:f.elementType,flexItem:f.bool,light:f.bool,orientation:f.oneOf(["horizontal","vertical"]),role:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),textAlign:f.oneOf(["center","left","right"]),variant:f.oneOfType([f.oneOf(["fullWidth","inset","middle"]),f.string])});const Ac=Ce("MuiListItemIcon",["root","alignItemsFlexStart"]);function Ub(e){return we("MuiTypography",e)}Ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const qb=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Gb=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 De(s,Ub,a)},Yb=le("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]}})(({theme:e,ownerState:t})=>l._extends({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Nc={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Kb={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Xb=e=>Kb[e]||e,Ze=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTypography"}),o=Xb(n.color),i=Ts(l._extends({},n,{color:o})),{align:a="inherit",className:s,component:c,gutterBottom:u=!1,noWrap:p=!1,paragraph:h=!1,variant:d="body1",variantMapping:m=Nc}=i,g=ae(i,qb),v=l._extends({},i,{align:a,color:o,className:s,component:c,gutterBottom:u,noWrap:p,paragraph:h,variant:d,variantMapping:m}),y=c||(h?"p":m[d]||Nc[d])||"span",w=Gb(v);return te.jsx(Yb,l._extends({as:y,ref:r,ownerState:v,className:se(w.root,s)},g))});process.env.NODE_ENV!=="production"&&(Ze.propTypes={align:f.oneOf(["center","inherit","justify","left","right"]),children:f.node,classes:f.object,className:f.string,component:f.elementType,gutterBottom:f.bool,noWrap:f.bool,paragraph:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),f.string]),variantMapping:f.object});function Qb(e){return we("MuiListItemText",e)}const Fa=Ce("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Zb(e){return we("MuiMenuItem",e)}const gn=Ce("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jb=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],e2=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},t2=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,c=De({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},Zb,a);return l._extends({},a,c)},r2=le(gr,{shouldForwardProp:e=>Jn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:e2})(({theme:e,ownerState:t})=>l._extends({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${gn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${gn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${gn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pe(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})`:Pe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${gn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${gn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ic.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ic.inset}`]:{marginLeft:52},[`& .${Fa.root}`]:{marginTop:0,marginBottom:0},[`& .${Fa.inset}`]:{paddingLeft:36},[`& .${Ac.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&l._extends({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Ac.root} svg`]:{fontSize:"1.25rem"}}))),Ti=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:c=!1,focusVisibleClassName:u,role:p="menuitem",tabIndex:h,className:d}=n,m=ae(n,Jb),g=W.useContext(Fn),v=W.useMemo(()=>({dense:a||g.dense||!1,disableGutters:c}),[g.dense,a,c]),y=W.useRef(null);qt(()=>{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 w=l._extends({},n,{dense:v.dense,divider:s,disableGutters:c}),T=t2(n),_=Ve(y,r);let x;return n.disabled||(x=h!==void 0?h:-1),te.jsx(Fn.Provider,{value:v,children:te.jsx(r2,l._extends({ref:_,role:p,tabIndex:x,component:i,focusVisibleClassName:se(T.focusVisible,u),className:se(T.root,d)},m,{ownerState:w,classes:T}))})});process.env.NODE_ENV!=="production"&&(Ti.propTypes={autoFocus:f.bool,children:f.node,classes:f.object,className:f.string,component:f.elementType,dense:f.bool,disabled:f.bool,disableGutters:f.bool,divider:f.bool,focusVisibleClassName:f.string,role:f.string,selected:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number});const n2=({children:e,disabled:t,style:r,className:n="",onClick:o})=>{const{themeSettings:i}=l.useThemeContext();return l.jsx("div",{className:`csdk-menu-item ${n}`,children:l.jsx(Ti,{disabled:t,sx:q({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:i.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"15px",color:l.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:l.DEFAULT_BACKGROUND_COLOR}},r),onClick:o,children:l.jsx("div",{className:"csdk-menu-item-content",children:e})})})};function o2(e){return we("MuiListSubheader",e)}Ce("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const i2=["className","color","component","disableGutters","disableSticky","inset"],a2=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 De(a,o2,t)},s2=le("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]}})(({theme:e,ownerState:t})=>l._extends({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)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),Bs=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiListSubheader"}),{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:c=!1,inset:u=!1}=n,p=ae(n,i2),h=l._extends({},n,{color:i,component:a,disableGutters:s,disableSticky:c,inset:u}),d=a2(h);return te.jsx(s2,l._extends({as:a,className:se(d.root,o),ref:r,ownerState:h},p))});Bs.muiSkipListHighlight=!0;process.env.NODE_ENV!=="production"&&(Bs.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOf(["default","inherit","primary"]),component:f.elementType,disableGutters:f.bool,disableSticky:f.bool,inset:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});const l2=({children:e})=>{const{themeSettings:t}=l.useThemeContext();return l.jsx(Bs,{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:l.DEFAULT_TEXT_COLOR},children:e})};function c2({color:e=l.DEFAULT_TEXT_COLOR}){return l.jsx("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",children:l.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 u2=({children:e,label:t,allowOpen:r,disabled:n,style:o,className:i=""})=>{const{themeSettings:a}=l.useThemeContext(),s=F.useRef(null),c=F.useRef(null),[u,p]=F.useState(!1),h=F.useCallback(()=>{n||p(!0)},[n]),d=F.useCallback(()=>p(!1),[]),m=F.useCallback(()=>p(!0),[]),g=F.useCallback(()=>p(!1),[]),v=u&&r;return l.jsxs("div",{ref:s,className:`csdk-menu-item ${i}`,children:[l.jsx(Ti,{disabled:n,sx:q({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:a.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"0px",color:l.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:l.DEFAULT_BACKGROUND_COLOR}},o),onMouseEnter:h,onMouseLeave:d,children:l.jsxs("div",{className:"csdk-menu-item-content",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t,l.jsx(c2,{})]})}),l.jsx(wi,{ref:c,style:{pointerEvents:"none"},anchorEl:s.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:v,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:()=>{p(!1)},onMouseEnter:m,onMouseLeave:g,children:l.jsx("div",{style:{pointerEvents:"auto"},children:e})})]})},If=({position:e,itemSections:t,children:r,closeContextMenu:n})=>{const[o,i]=F.useState(t),a=!!e;F.useEffect(()=>{t&&i(t)},[t]);const s=F.useCallback((c,u)=>{const{sectionTitle:p,items:h=[]}=c;return l.jsxs("div",{className:"csdk-menu-section",children:[p&&l.jsx(l2,{children:p}),h.map((d,m)=>{const{subItems:g}=d;return g&&g.length?l.jsx(u2,{label:d.caption,allowOpen:a,style:d.style,className:d.class,children:g.map(s)},m):l.jsx(n2,{disabled:d.disabled,style:d.style,className:d.class,onClick:()=>{var y;n(),(y=d.onClick)==null||y.call(d)},children:d.caption},m)})]},u!=null?u:p)},[n,a]);return l.jsx(l.Fragment,{children:l.jsxs(Rb,{position:e!=null?e:null,open:a,onClose:n,children:[o==null?void 0:o.map(s),r]})})},d2=({children:e,onBeforeMenuOpen:t})=>{const[r,n]=F.useState(null),o=F.useCallback(c=>{const u=t?t(c):c;u&&n(u)},[t]),i=F.useCallback(()=>{n(null)},[]),a=F.useCallback(()=>{var c;(c=r==null?void 0:r.onClose)==null||c.call(r),i()},[i,r]),s=F.useMemo(()=>({openMenu:o,closeMenu:i}),[o,i]);return l.jsxs(vs.Provider,{value:s,children:[l.jsx(If,{position:r==null?void 0:r.position,itemSections:r==null?void 0:r.itemSections,closeContextMenu:a}),e]})},f2=({children:e,onBeforeMenuOpen:t})=>{const r=ci(),n=F.useCallback(a=>{const s=t?t(a):a;s&&(r==null||r.openMenu(s))},[t,r]),o=F.useCallback(()=>{r==null||r.closeMenu()},[r]),i={openMenu:n,closeMenu:o};return l.jsx(vs.Provider,{value:i,children:e})},Af=({children:e,onBeforeMenuOpen:t})=>ci()?t?l.jsx(f2,{onBeforeMenuOpen:t,children:e}):l.jsx(l.Fragment,{children:e}):l.jsx(d2,{onBeforeMenuOpen:t,children:e}),p2=({shouldHaveOwnMenuRoot:e}={})=>t=>function(n){const i=!!ci();return e&&!i?l.jsx(Af,{children:l.jsx(t,q({},n))}):l.jsx(t,q({},n))},h2=e=>t=>(t.displayName=e,t),no=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:r,trackingConfig:n={},customContextErrorMessageKey:o,shouldHaveOwnMenuRoot:i}=e;return a=>l.flow(h2(t),ng({shouldSkipSisenseContextWaiting:r,customContextErrorMessageKey:o}),Zm({componentName:t,config:n}),Nd({componentName:t}),ag(),p2({shouldHaveOwnMenuRoot:i}))(a)};class oo{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 Dr=new oo,or=function(e,t){return Dr.floor(e*t.value,t.decimals)};function m2(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function g2(e,t,r){const{showTitle:n,showSecondary:o,skin:i,maxHeight:a,maxWidth:s,borderWidth:c}=r;for(let u=0;u<t.length;u++){const p=t[u],h=p.value,d=or(h,e.valueSectionMarginBottom),g=or(h,e.indicatorVerticalMargin)*2;let v=h+d+g;if(n&&i==="vertical"){const y=or(h,e.titleSectionHeight);v+=y}if(o){const y=or(h,e.secSectionHeight),w=or(h,e.secSectionMarginTop);v+=y+w+(c||0)}if(v<=a){const y=or(h,e.numericMinWidth),T=or(h,e.indicatorHorizontalMargin)*2;if(y+T<=s)return J(q({},p),{maxWidth:s-T,maxHeight:a-g})}}return null}class v2{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),c=Math.floor(n.clientWidth),u=Math.floor(n.clientHeight),p=m2(s,a);return g2(p,i,{maxWidth:c,maxHeight:u,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,Dr.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=Dr.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=Dr.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=Dr.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),c=i-s.width,u=Dr.getFitStringMeasure(t,r.secondaryTitle.text,c,n.secondaryTitleFont);return{width:u.width+s.width+o,titleString:u.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(c=>{const u=r[c.key],p=t[c.dataKey];return!!(u&&p&&u[c.prop]!==p.text)}))return r.maxWidth;if(t.skin==="vertical"){let u=o&&o.width>i.width?o:i;u=a&&a.width>u.width?a:u,n=u.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 kr=new oo,Ro=function(e,t){return kr.floor(e*t.value,t.decimals)};function y2(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function b2(e,t,r){const{showTitle:n,showSecondary:o,maxHeight:i,maxWidth:a,bracketThickness:s}=r;for(let c=0;c<t.length;c++){const u=t[c],p=u.value,h=Ro(p,e.indicatorMargin);let d=p+h;if(n){const m=Ro(p,e.titleSectionHeight);d+=m}if(o){const m=Ro(p,e.secSectionHeight);d+=m}if(d<=i){const m=Ro(p,e.numericMinWidth),g=h*2;if(m+s*2+g<=a)return J(q({},u),{maxWidth:a-g,maxHeight:i-h})}}return null}class _2{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),c=Math.floor(n.clientWidth),u=Math.floor(n.clientHeight),p=y2(s,a);return b2(p,i,{maxWidth:c,maxHeight:u,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,kr.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=kr.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=kr.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=kr.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),c=i-s.width,u=kr.getFitStringMeasure(t,r.secondaryTitle.text,c,n.secondaryTitleFont);return{width:u.width+s.width+o,titleString:u.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 c=r.fitSecondaryMeasure,u=c&&c.width>s.width;let p;return s=u?c:s,u?p=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:p=s.string!==t[s.key].text,p?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 Se=new oo,Or=function(e,t){return Se.floor(e*t.value,t.decimals)};function x2(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function w2(e,t,r){const{maxWidth:n,maxHeight:o,showTitle:i,showSecondary:a}=r;for(let s=0;s<t.length;s++){const c=t[s],u=c.value,p=Or(u,e.valueSectionHeight),h=Or(u,e.indicatorMargin),d=Math.ceil(h*1.5);let m=u+p+d;if(i){const g=Or(u,e.titleSectionHeight);m+=g}if(a){const g=Or(u,e.secSectionHeight);m+=g}if(m<=o){const g=Or(u,e.gaugeWidth),v=Or(u,e.bracketWidth),y=h*2;if(g+v*2+y<=n)return J(q({},c),{maxWidth:n-y,maxHeight:o-d})}}return null}class C2{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(),c=Math.floor(n.clientWidth),u=Math.floor(n.clientHeight),p=x2(s,a);return w2(p,i,{maxWidth:c,maxHeight:u,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,Se.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=Se.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=Se.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=Se.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),c=i-s.width,u=Se.getFitStringMeasure(t,r.secondaryTitle.text,c,n.secondaryTitleFont);return{width:u.width+s.width+o,titleString:u.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 c=r.fitSecondaryMeasure,u=c&&c.width>s.width;let p;return s=u?c:s,u?p=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:p=s.string!==t[s.key].text,p?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=Se.degToRad(n.startAngle+180),c=Se.degToRad(n.endAngle+180);let u;const p=h=>this.getAngle(n,h,i,a);for(this.drawArc(t,n,s,c,n.defaultDialColor),u=o.length-1;u>=0;u--){const h=o[u];let d=+h.data,m,g=NaN,v=NaN,y=NaN,w=NaN;const T=.25;switch(h.operator){case"<":if(d<=i)break;d=d>a?a:d,m=p(d),g=s,v=Se.degToRad(m+180);break;case">":if(d>=a)break;d=d<i?i:d,m=p(d),g=Se.degToRad(m+180),v=c;break;case"≤":if(d<i)break;d=d>a?a:d,m=p(d),g=s,v=Se.degToRad(m+(m+T<=n.endAngle?T:0)+180);break;case"≥":if(d>a)break;d=d<i?i:d,m=p(d),g=Se.degToRad(m-(m-T>=n.startAngle?T:0)+180),v=c;break;case"=":if(d<i||d>a)break;m=p(d),g=Se.degToRad(m-(m-T>=n.startAngle?T:0)+180),v=Se.degToRad(m+(m+T<=n.endAngle?T:0)+180);break;case"≠":if(d<i||d>a)g=s,v=c;else if(d===i||d===a){const _=d===i;g=Se.degToRad(n.startAngle+(_?T:0)+180),v=Se.degToRad(n.endAngle-(_?0:T)+180)}else m=p(d),g=s,v=Se.degToRad(m-(m-T>=n.startAngle?T:0)+180),y=Se.degToRad(m+(m+T<=n.endAngle?T:0)+180),w=c}!isNaN(g)&&!isNaN(v)&&this.drawArc(t,n,g,v,h.color),!isNaN(y)&&!isNaN(w)&&this.drawArc(t,n,y,w,h.color)}}drawSimpleDial(t,r,n){const o=Se.degToRad(n.startAngle+180),i=Se.degToRad(n.needleAngle+180),a=Se.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 c;for(c=o;c<=i;c+=a){const u=Se.degToRad(c),p=n.gaugeCenterX-n.lengthToTick*Math.cos(u),h=n.gaugeCenterY-n.lengthToTick*Math.sin(u),d=s<o,m=s>=c-a/2&&s<c+a/2,g=c===i&&s>=c;t.fillStyle=!d&&m||g?r.color:n.tickColor,t.beginPath(),t.arc(p,h,n.tickRadius,0,2*Math.PI),t.fill()}}drawNeedle(t,r){const n=Se.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 yt=new oo;class T2{render(t,r,n,o){const i=t.getContext("2d"),a=Math.floor(o.clientWidth)-n.horizontalMargin*2,s=n.sectionMinWidth;let c=0,u=0,p=0,h=0,d=0,m=0,g=0,v=0,y;if(i.font=n.valueFont,y=yt.getStringWidth(i,r.value.text),n.offsetX=0,r.title.text+=":",r.secondaryTitle&&(r.secondaryTitle.text+=":"),r.showTitle&&(i.font=n.titleFont,m=yt.getStringWidth(i,r.value.text),d=yt.getStringWidth(i,r.title.text),u=d<s?d:s,y+=u+n.textPadding),r.showSecondary&&(i.font=n.secondaryValueFont,v=yt.getStringWidth(i,r.secondary.text),h=v<s?v:s,y+=h,i.font=n.secondaryTitleFont||"",g=yt.getStringWidth(i,r.secondaryTitle.text),p=g<s?g:s,y+=p+n.horizontalPadding*2+n.dividerWidth+n.textPadding),r.type==="gauge"){const T=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const x=m+d+g+v+n.textPadding*4+T,b=a-T-x;n.barWidth=Math.max(b,n.barWidth)}const _=n.barWidth+T;y+=_,n.showTickerBar=y<=a||!0,c+=n.showTickerBar?_:0}c+=r.showTitle?n.textPadding:0,c+=r.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const w=a-c-u-p-h;if(n.fitValueMeasure=yt.getFitStringMeasure(i,r.value.text,w,n.valueFont),c+=n.fitValueMeasure.width,r.showSecondary){const T=a-c-u-p;let _;n.fitSecValueMeasure=yt.getFitStringMeasure(i,r.secondary.text,T,n.secondaryValueFont),c+=n.fitSecValueMeasure.width;const x=a-c,b=x/2;r.showTitle?d+g>x?d>b&&g>b?_=b:g>b&&d<=b?_=x-d:_=g:_=g:_=x,n.fitSecTitleMeasure=yt.getFitStringMeasure(i,r.secondaryTitle.text,_,n.secondaryTitleFont),c+=n.fitSecTitleMeasure.width}if(r.showTitle){const T=a-c;n.fitTitleMeasure=yt.getFitStringMeasure(i,r.title.text,T,n.titleFont),c+=n.fitTitleMeasure.width}n.width=c,yt.setCanvasSizes(t,i,c,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 u;const o=+r.min.data,i=+r.max.data,a=+(((u=r.value)==null?void 0:u.data)||0),s=Math.round((n.height-n.barHeight)/2);let c;if(t.fillStyle=n.valueColor,a<=o)t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),c=0;else if(a>=i)t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),c=n.barWidth-n.tickerBarWidth;else{const p=(a-Math.abs(o))/(i-o),h=n.barWidth*p;t.fillRect(n.offsetX,s,h,n.barHeight),t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX+h,s,n.barWidth-h,n.barHeight),h>n.barWidth-n.tickerBarWidth?c=n.barWidth-n.tickerBarWidth:h<n.tickerBarWidth?c=0:c=h-1}t.globalAlpha=1,t.fillStyle=n.barHandleColor,t.fillRect(n.offsetX+c,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 $c={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"}]},E2={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}]},S2={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"]},R2={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 O2(e,t){const r=l.cloneDeep(R2);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 M2=new oo,P2=new v2,D2=new _2,k2=new C2,I2=new T2;class A2{getService(t){switch(t){case"numericSimple":return P2;case"numericBar":return D2;case"gauge":return k2;case"ticker":return I2}}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=O2(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 l.TranslatableError("errors.indicatorInvalidRelativeSize");const s=a*n;r[i.key]=M2.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} `:"",c=`${Number.parseFloat(o.fontSizes&&o.fontSizes[r]||o.fontSize||t.fontSize)}px `,u=o.fontFamily||t.fontFamily,{color:p}=o;t[`${n}Font`]=i+a+s+c+u,t[`${n}Color`]=p})}}function Nf(e){var r;const t=(r=e.value)==null?void 0:r[0];if(t&&"color"in t)return t.color}function N2(e,t,r){if(!$2(e))return r;const o=l.getColoringServiceByColorOptions(e).getColor(t);return o?J(q({},r),{value:J(q({},r.value),{color:o})}):r}function $2(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}const L2=(e,t)=>{const r=Nf(t);return r&&e.value?l.getColoringServiceByColorOptions(r).getColor(l.isNumber(e.value)?e.value:0):null},F2=(e,t,r)=>{var h,d,m,g,v,y,w,T,_,x,b,C;const n=l.isNumber(e.min)?e.min:0,o=l.isNumber(e.max)?e.max:100,i=Oo(r,"value"),a=Oo(r,"secondary"),s=Oo(r,"min"),c=Oo(r,"max"),u=L2(e,r),p=t.indicatorType==="gauge"?1:"vertical";return J(q(q({},H2),u?{color:u}:null),{type:B2(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||p,title:{text:(m=(d=(h=t.indicatorComponents)==null?void 0:h.title)==null?void 0:d.text)!=null?m:""},min:{data:n,text:l.applyFormatPlainText(s,n)},max:{data:o,text:l.applyFormatPlainText(c,o)},value:{data:e.value,text:Lc(e.value,i)},secondary:{data:e.secondary,text:Lc(e.secondary,a)},secondaryTitle:{text:(y=(v=(g=t.indicatorComponents)==null?void 0:g.secondaryTitle)==null?void 0:v.text)!=null?y:""},showSecondary:e.secondary!==void 0,showTitle:!!((T=(w=t.indicatorComponents)==null?void 0:w.title)!=null&&T.shouldBeShown),showLabels:!!((x=(_=t.indicatorComponents)==null?void 0:_.labels)!=null&&x.shouldBeShown),showTicks:!!((C=(b=t.indicatorComponents)==null?void 0:b.ticks)!=null&&C.shouldBeShown)})};function B2(e,t){return e==="numeric"?t:e}function Oo(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return l.getCompleteNumberFormatConfig(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const H2={color:"#00cee6",showSecondary:!1};function Lc(e,t){return e===void 0?"":isNaN(e)?"#N/A":l.applyFormatPlainText(t,e)}function Ba(e,t,r){const n=l.cloneDeep(r);for(const o in t){const i=t[o],a=j2(e,i);a&&$f(n,o,a)}return n}function $f(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(!Lf(a))return;$f(a,i.join("."),r)}}function j2(e,t){const r=t.split(".");let n=e;for(const o of r){if(!Lf(n)||!(o in n))return;n=n[o]}return n}function Lf(e){return typeof e=="object"&&e!==null}function W2(e,t,r){return Ba(e,t,r)}const z2={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"},V2=(e,t)=>{const{chartData:r,dataOptions:n,themeSettings:o}=t,{type:i}=e;let a;switch(i){case"gauge":a=S2;break;case"numeric":e.numericSubtype==="numericBar"?a=E2:a=$c;break;default:a=$c}o&&(a=W2(o,z2,a));const s=Nf(n);return s&&r.value&&l.isNumber(r.value)&&(a=N2(s,r.value,a)),q(J(q({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};var U2=function(e){return e.DEFAULT="default",e.HOVER="hover",e.FOCUS="focus",e}({});function Ho(e){return typeof e=="string"}function q2(e){var c;const t=l.useThemeContext().themeSettings,[r,n]=F.useState(null),[o,i]=F.useState(null),a=(c=l.useSisenseContext().app)==null?void 0:c.httpClient;F.useEffect(()=>{e&&Ho(e)&&a&&Rd(e,a).then(u=>{n(u)}).catch(i)},[a,e]),F.useEffect(()=>{(!e||!Ho(e))&&(n(null),i(null))},[e]);const s=F.useMemo(()=>r?Fc(t,r):e&&!Ho(e)?Fc(t,e):t,[r,t,e]);return o?[null,o]:[s,null]}function Fc(e,t){return l.merge.withOptions({mergeArrays:!1},e,t)}function Bc(e){return`${e.fontFamily}|${e.fontWeight}|${e.fontStyle}`}function G2(e,t){const[r,n]=F.useState([]),[o,i]=F.useState(!1),a=F.useMemo(()=>e.filter(s=>!t.includes(Bc(s))),[e,t]);return F.useEffect(()=>{if(a.length===0){i(!0);return}let s=!1;const c=a.map(u=>{const p=u.src.map(d=>Object.entries(d).map(([g,v])=>`${g}('${v}')`).join(" ")).join(", ");return new FontFace(u.fontFamily,p,{style:u.fontStyle,weight:u.fontWeight.toString()}).load().then(d=>(s||document.fonts.add(d),Bc(u)))});return Promise.all(c).then(u=>{s||(n(p=>[...p,...u]),i(!0))}).catch(u=>{console.error("Failed to load fonts:",u),i(!0)}),()=>{s=!0}},[a]),{loadedFonts:r,areAllFontsLoaded:o}}const Hc=F.createContext({loadedFonts:[]}),Y2=({fonts:e,children:t})=>{var a;const{loadedFonts:r}=F.useContext(Hc),{themeSettings:n}=l.useThemeContext(),{loadedFonts:o,areAllFontsLoaded:i}=G2(e||((a=n.typography.fontsLoader)==null?void 0:a.fonts)||[],r);return l.jsx(Hc.Provider,{value:{loadedFonts:[...r,...o]},children:i&&t})},Ff=no({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:r}=e,[n,o]=q2(t);if(o)throw o;return l.jsx(l.Fragment,{children:n&&l.jsx(l.ThemeContext.Provider,{value:{themeSettings:n},children:l.jsx(Y2,{children:r})})})});function K2(e,t,r){return e==null?e:l.baseSet(e,t,r)}const Bf={"value.data":"value.data","value.text":"value.text","secondary.data":"secondary.data","secondary.text":"secondary.text","title.text":"title.text","secondaryTitle.text":"secondaryTitle.text"},Hf={"value.color":"value.color","secondaryValue.color":"secondary.color","secondaryValue.fontWeight":"secondary.fontWeight","title.color":"title.color","secondaryTitle.color":"secondaryTitle.color"};function X2(e,t){const r={};return l.flow(jc(e,Bf),jc(t,Hf))(r)}function jc(e,t){return r=>{const n=q({},r);for(const[o,i]of Object.entries(t))K2(n,i,l.get(e,o));return n}}const Q2=(e,t,r)=>{const n=Ba(e,Bf,t),o=Ba(e,Hf,r);return{legacyDataOptions:n,legacyChartOptions:o}},Z2=e=>e,J2=({chartData:e,dataOptions:t,designOptions:r,onBeforeRender:n=Z2})=>{var s;const o=F.useRef(null),i=F.useRef(null),{themeSettings:a}=l.useThemeContext();return F.useEffect(()=>{if(!i.current||!o.current)return;const c=new A2,u=F2(e,r,t),p=V2({type:r.indicatorType,numericSubtype:"numericSubtype"in r?r.numericSubtype:void 0,forceTickerView:r.forceTickerView,tickerBarHeight:r.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:a}),h=X2(u,p),d=n(h),{legacyDataOptions:m,legacyChartOptions:g}=Q2(d,u,p);c.render(i.current,m,g,o.current)},[e,t,r,a,n]),l.jsx("div",{ref:o,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(s=a==null?void 0:a.chart)==null?void 0:s.backgroundColor},"aria-label":"indicator-root",children:l.jsx("canvas",{ref:i})})},e_=e=>e.type==="indicator",t_=e=>"min"in e,r_=e=>"indicatorComponents"in e,n_=e=>!!e.chartData&&e_(e.chartData)&&t_(e.dataOptions)&&r_(e.designOptions);function jf(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:l.baseSlice(e,t,r)}function o_(e,t){for(var r=e.length;r--&&l.baseIndexOf(t,e[r],0)>-1;);return r}function i_(e,t){for(var r=-1,n=e.length;++r<n&&l.baseIndexOf(t,e[r],0)>-1;);return r}function a_(e){return e.split("")}var s_="\\ud800-\\udfff",l_="\\u0300-\\u036f",c_="\\ufe20-\\ufe2f",u_="\\u20d0-\\u20ff",d_=l_+c_+u_,f_="\\ufe0e\\ufe0f",p_="\\u200d",h_=RegExp("["+p_+s_+d_+f_+"]");function Wf(e){return h_.test(e)}var zf="\\ud800-\\udfff",m_="\\u0300-\\u036f",g_="\\ufe20-\\ufe2f",v_="\\u20d0-\\u20ff",y_=m_+g_+v_,b_="\\ufe0e\\ufe0f",__="["+zf+"]",Ha="["+y_+"]",ja="\\ud83c[\\udffb-\\udfff]",x_="(?:"+Ha+"|"+ja+")",Vf="[^"+zf+"]",Uf="(?:\\ud83c[\\udde6-\\uddff]){2}",qf="[\\ud800-\\udbff][\\udc00-\\udfff]",w_="\\u200d",Gf=x_+"?",Yf="["+b_+"]?",C_="(?:"+w_+"(?:"+[Vf,Uf,qf].join("|")+")"+Yf+Gf+")*",T_=Yf+Gf+C_,E_="(?:"+[Vf+Ha+"?",Ha,Uf,qf,__].join("|")+")",S_=RegExp(ja+"(?="+ja+")|"+E_+T_,"g");function R_(e){return e.match(S_)||[]}function Wa(e){return Wf(e)?R_(e):a_(e)}function O_(e,t,r){if(e=l.toString(e),e&&(r||t===void 0))return l.baseTrim(e);if(!e||!(t=l.baseToString(t)))return e;var n=Wa(e),o=Wa(t),i=i_(n,o),a=o_(n,o)+1;return jf(n,i,a).join("")}const Kf=",";function M_(e){return e.join(`${Kf} `)}function P_(e){return e.split(Kf).map(O_)}function D_(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function k_(e,t){const{name:r,rawName:n,coordinates:o,value:i,colorValue:a,details:s}=e,u={geo:t.locations.map((p,h)=>J(q({},l.getDataPointMetadata(`geo.${h}`,p)),{value:n[h]}))};if(t.size&&(u.size=J(q({},l.getDataPointMetadata("size",t.size)),{value:i})),t.colorBy&&(u.colorBy=J(q({},l.getDataPointMetadata("colorBy",t.colorBy)),{value:a})),t.details){const p=l.getDataPointMetadata("details",t.details);p.measure&&(u.details=J(q({},p),{value:s}))}return{categories:n,displayName:r,coordinates:{lat:o.lat,lng:o.lng},value:i,entries:u}}const I_=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function A_(e,t){const r=I_[e.toLowerCase()];return r&&(t[r]=e),r||e}function N_(e,t){return t[e.toLowerCase()]||e}const $_=(e,t)=>{const{app:r}=l.useSisenseContext(),[n,o]=F.useState([]),i=F.useRef(e),a=F.useCallback(()=>rt(exports,null,function*(){if(!r||!e)return;const s={},c=D_(t),u=yield r.httpClient.post("api/v1/geo/locations",q({locations:e.map(g=>({name:A_(g.name,s)}))},c&&{geoLevel:c})),p=i.current!==e;if(!u||p)return;const h=u.reduce((g,v)=>{const y=J(q({},v),{name:N_(v.name,s)});return g[y.name]=y,g},{}),d=[],m=e.map(g=>(h[g.name]||d.push(g.name),q(q({},g),h[g.name]?{coordinates:h[g.name].latLng}:null)));d.length&&console.warn(`Locations "${d.join(", ")}" coordinates not found`),o(m)}),[r,o,e,t]);return F.useEffect(()=>{e&&(i.current=e,e.some(c=>!!c.coordinates)?o(e):a())},[e,r,a,o]),n};function L_(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 F_(e,t=4,r=24){let n=0;const{min:o,max:i}=L_(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 B_=()=>{const{app:e}=l.useSisenseContext(),[t,r]=F.useState(null),n=F.useCallback(()=>rt(exports,null,function*(){if(!e)return;const o=yield e.httpClient.get("api/v1/settings/system");o&&r(o.geo)}),[r,e]);return F.useEffect(()=>{n()},[e,n]),t},H_="#00cee6",j_=l.createDataColoringFunction({getValueFromDataStructure:({colorValue:e})=>parseFloat(`${e}`),applyColorToDataStructure:(e,t)=>J(q({},e),{color:t})});function W_(e,t){return t?j_(e.map(({colorValue:r})=>({colorValue:r})),t).map(({color:r})=>r):e.map(()=>H_)}function Xf(e){return{isLight:["hollow","filled-light"].includes(e),isFilled:["filled","filled-light"].includes(e)}}function Qf(e){const{color:t,size:r,fill:n,blur:o}=e,{isFilled:i}=Xf(n),c=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:c,opacity:c,fillColor:i?t:"transparent",color:i?"transparent":t,stroke:!i,weight:i?0:2,customStyle:e}}function z_({coordinates:e,style:t}){const r=new l.Leaflet.CircleMarker({lat:e.lat,lng:e.lng},Qf(t));return r.on("mouseover",V_),r.on("mouseout",U_),r}function V_(e){const t=e.target,r=t.options.customStyle,{isFilled:n,isLight:o}=Xf(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 U_(e){const t=e.target,r=t.options.customStyle;t.setStyle(Qf(r))}function q_(e){e.forEach(t=>t.remove())}function G_(e,t){const r=`
156
- © <a href='https://www.mapbox.com/about/maps/'>Mapbox</a>
157
- © <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>
158
- <strong>
159
- <a href='https://www.mapbox.com/map-feedback/' target='_blank' aria-label='Improve this map (opens in a new tab)'>
160
- Improve this map
161
- </a>
162
- </strong>`,n="© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",o=l.Leaflet.control.attribution();return t.indexOf("mapbox")>-1?o.addAttribution(r).addTo(e):t.indexOf("openstreetmap")>-1&&o.addAttribution(n).addTo(e),o}var Y_="Expected a function";function K_(e,t,r){if(typeof e!="function")throw new TypeError(Y_);return setTimeout(function(){e.apply(void 0,r)},t)}var X_=l.baseRest(function(e,t,r){return K_(e,l.toNumber(t)||0,r)}),ua=function(e){return e[e.YES=0]="YES",e[e.NO=1]="NO",e[e.LOADING=2]="LOADING",e}({});const Wc="N/A",da=10,Q_=`
163
- <svg
164
- xmlns="http://www.w3.org/2000/svg"
165
- width="24"
166
- height="24"
167
- viewBox="0 0 24 24"
168
- fill="green"
169
- class="csdk-animate-spin"
170
- >
171
- <path
172
- fillRule="evenodd"
173
- clipRule="evenodd"
174
- d="M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"
175
- fill="transparent"
176
- fillOpacity="0.3"
177
- />
178
- <path
179
- fillRule="evenodd"
180
- clipRule="evenodd"
181
- d="M20 12C20 16.4183 16.4183 20 12 20C11.2844 20 10.5908 19.906 9.93078 19.7298C9.96227 19.5889 9.97888 19.4423 9.97888 19.2918C9.97888 18.1873 9.08345 17.2918 7.97888 17.2918C6.87431 17.2918 5.97888 18.1873 5.97888 19.2918C5.97888 20.3964 6.87431 21.2918 7.97888 21.2918C8.56576 21.2918 9.0936 21.0391 9.45946 20.6364C10.2652 20.8731 11.1178 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3V4C16.4183 4 20 7.58172 20 12Z"
182
- fill="#22C3C3"
183
- />
184
- </svg>
185
- `,Ot=e=>`<span class="csdk-scattermap-tooltip-label">${e}</span>`,Z_=e=>{const t=`
186
- <div>
187
- <div>${Ot("...")}</div>
188
- <div>${Ot(`Showing first ${da} results`)}</div>
189
- </div>
190
- `;return`
191
- <div>
192
- ${e.slice(0,da).map(r=>`<div>${Ot(r)}</div>`).join("")}
193
- ${e.length>da?t:""}
194
- </div>
195
- `},fa=e=>`
196
- <span class="csdk-scattermap-tooltip-category">
197
- ${Ot(e)}
198
- </span>
199
- `,J_=()=>Ot(Q_),Mo=(e,t,r=1)=>{const n=l.formatTooltipValue(t.size,e.value,`${e.value}`),o=l.formatTooltipValue(t.colorBy,e.colorValue,`${e.colorValue}`),i=t.details&&l.formatTooltipValue(t.details,e.details,`${e.details}`);return`
200
- <div class="csdk-scattermap-tooltip-container">
201
- <div class="csdk-scattermap-tooltip-content">
202
- <div>${Ot(e.name)}</div>
203
- <div class="csdk-scattermap-tooltip-row">
204
- ${t.size?fa(l.getDataOptionTitle(t.size)):""}
205
- ${t.size?Ot(n):""}
206
- </div>
207
- <div class="csdk-scattermap-tooltip-row">
208
- ${t.colorBy?fa(l.getDataOptionTitle(t.colorBy)):""}
209
- ${t.colorBy?Ot(o||Wc):""}
210
- </div>
211
- <div class="csdk-scattermap-tooltip-row">
212
- ${(r===2||r===0)&&t.details?fa(l.getDataOptionTitle(t.details)):""}
213
- ${r===2?J_():""}
214
- ${r===0&&t.details&&l.isMeasureColumn(t.details)?Ot(i||Wc):""}
215
- </div>
216
- <div>
217
- ${r===0&&t.details&&!l.isMeasureColumn(t.details)?Z_(e.details):""}
218
- </div>
219
- </div>
220
- </div>
221
- `},ex=600,tx=11,rx=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=l.useSisenseContext(),o=F.useCallback(a=>rt(exports,null,function*(){if(!n||!e.details||l.isMeasureColumn(e.details))return[];const s=e.locations.map((p,h)=>{const d=l.translateColumnToAttribute(p),m=P_(a)[h];return l.members(d,[m])}),c={dataSource:t,dimensions:[l.translateColumnToAttribute(e.details)],filters:lt(r,s),count:tx};return(yield l.executeQuery(c,n)).rows.map(([p])=>p.text)}),[n,e,t,r]);return F.useCallback(a=>{if(!e.details||e.details&&!l.isMeasureColumn(e.details)&&!t)return{content:Mo(a,e)};if(l.isMeasureColumn(e.details))return{content:Mo(a,e,ua.YES)};const s=new Promise(u=>X_(u,ex)),c=Promise.all([o(a.name),s]).then(([u])=>Mo(J(q({},a),{details:u}),e,ua.YES));return{content:Mo(a,e,ua.LOADING),postponedContent:c}},[e,t,o])},nx=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=B_(),{themeSettings:c}=l.useThemeContext(),u=$_(a,t.locationLevel),{filters:p}=l.getFilterListAndRelationsJaql(n),h=rx({dataOptions:t,dataSource:r,filters:p}),d=F.useRef(null),m=F.useRef(null),g=F.useMemo(()=>F_(u,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[u,t,o]),v=F.useMemo(()=>{var x;return W_(u,(x=t.colorBy)==null?void 0:x.color)},[u,t]),y=F.useRef([]),w=F.useRef(l.Leaflet.layerGroup([])),T=F.useRef(null),_=F.useRef(null);return F.useEffect(()=>{d.current&&!m.current&&(m.current=l.Leaflet.map(d.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),w.current.addTo(m.current),m.current.fitWorld())},[]),F.useEffect(()=>{y.current&&(q_(y.current),y.current=[]),u&&(u.forEach((x,b)=>{if(!x.coordinates)return;const C=z_({coordinates:x.coordinates,style:{color:v[b],size:g[b],fill:o.markers.fill,blur:!!x.blur}});y.current.push(C),C.addTo(w.current),i&&C.on("click",S=>{i(k_(x,t),S.originalEvent)}),C.bindTooltip(()=>{const{content:S,postponedContent:O}=h(x);return O==null||O.then(M=>C.setTooltipContent(M)),S})}),l.fitMapToBounds(m.current,y.current,l.prepareFitBoundsAnimationOptions(c)))},[u,v,g,o,c,t,h,i]),F.useEffect(()=>{var x;s&&(T.current&&T.current.remove(),T.current=l.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),m.current&&(T.current.addTo(m.current),(x=_.current)==null||x.remove(),_.current=G_(m.current,s.maps_api_provider)))},[s]),l.jsx("div",{className:"csdk-map-container",ref:d,style:{width:"100%",height:"100%"}})},Zf=e=>e.type==="scattermap"&&"locations"in e,ox=e=>"locations"in e,ix=e=>"markers"in e,ax=e=>!!e.chartData&&Zf(e.chartData)&&ox(e.dataOptions)&&ix(e.designOptions),sx="_wrapper_g0ngm_1",lx="_title_g0ngm_7",cx="_image_g0ngm_18",pa={wrapper:sx,title:lx,image:cx},ux="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",dx="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",fx="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",px="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",hx="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",mx="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",gx="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",vx="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",yx="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",bx="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",_x="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",zc="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",xx="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",wx="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",Vc={area:ux,line:dx,bar:fx,column:px,polar:hx,funnel:mx,pie:gx,scatter:vx,indicator:yx,table:bx,treemap:_x,areamap:zc,scattermap:zc,boxplot:xx,sunburst:wx};function Cx(e){var r;return(r=Vc[e])!=null?r:Vc["bar"]}const Hs=({iconType:e})=>{var s;const{themeSettings:t}=l.useThemeContext(),r=F.useRef(null),[n,o]=F.useState({width:null,height:null});F.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=Cx(e),{t:a}=l.useTranslation();return l.jsxs("div",{ref:r,className:pa.wrapper,children:[l.jsx("div",{className:pa.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:Tx(n.width,n.height)},children:a("chartNoData")}),i?l.jsx("img",{className:pa.image,src:i}):null]})};function Tx(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 Ex=(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}),Ei=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i})=>{const a=F.useRef(null),[s,c]=F.useState(),u=F.useCallback(()=>{var _,x;const T={width:(_=a.current)==null?void 0:_.offsetWidth,height:(x=a.current)==null?void 0:x.offsetHeight};c(b=>{const C=(b==null?void 0:b.width)===0&&T.width===t.width,S=(b==null?void 0:b.height)===0&&T.height===t.height,O={width:C?b.width:T.width,height:S?b.height:T.height};return l.isEqual(b,O)?b:O})},[a,t]);F.useLayoutEffect(()=>{u()},[u]),F.useEffect(()=>(window.addEventListener("resize",u),()=>window.removeEventListener("resize",u)),[u]);const p=F.useMemo(()=>Ex(s,r,t),[s,t,r]),h=!!s;F.useEffect(()=>{h&&i&&i(p)},[p,h,i]);const d={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,g=(s==null?void 0:s.height)||(s==null?void 0:s.width)===void 0,v={width:m||o!=null&&o.width?"100%":`${p.width}px`,height:g||o!=null&&o.height?"100%":`${p.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},w=n?`${p==null?void 0:p.width}${p==null?void 0:p.height}`:"";return l.jsx("div",{style:d,ref:a,children:l.jsx("div",{style:v,children:l.jsx("div",{style:y,children:p&&(typeof e=="function"?e(p):e)})},w)})},Jf={width:400,height:500},js=e=>l.isTable(e)?{width:400,height:500}:l.isIndicator(e)?{width:200,height:200}:{width:400,height:400},Sx=25,ep=(e,{hasHeader:t}={})=>{const r=e==="pivot"?Jf:js(e);return t&&(r.height=r.height+Sx),r},jo=({isVisible:e,themeSettings:t,children:r})=>l.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&l.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:l.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:l.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:l.jsx("div",{style:{backgroundColor:t.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:l.jsx(gs,{color:t==null?void 0:t.chart.textColor})})})})}),r]});function za(e,t,r=l.getBaseDateFnsLocale(),n=l.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(l.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(u){return u.name===a.column.name&&l.isDatetime(a.column.type)&&l.isDatetime(u.type)});s!==-1&&o.set(s,a.dateFormat)}),o.size===0||(e.rows=e.rows.map(function(a){return a.map(function(c,u){const p=o.get(u);if(!p)return c;let h,d;if(l.isCell(c))h=q({},c);else{const g=l.createCompareValue(`${c}`,"datetime");d=new Date(g.value),h={data:d.toISOString(),text:`${c}`}}if(!h.data)return c;let m=h.text;try{m=l.applyDateFormat(l.parseISO(h.data),p,r,n)}catch(g){console.error(g)}return h.text=m,h})})),e}function Rx(e,t){return Mx(e,t)}const Ox={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function Mx(e,t){const r=Ox[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)),J(q({},t),{category:n,value:o})}const Ws=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},Px=(e,t)=>{if(t==="funnel"){const r=l.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},tp=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new l.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(c=>c.name===a.name)===-1)throw new l.TranslatableError("errors.dataOptions.attributeNotFound",{attributeName:a.name})}),r.forEach(a=>{if(e.columns.findIndex(c=>c.name===a.name||c.name===n[a.name])===-1)throw new l.TranslatableError("errors.dataOptions.measureNotFound",{measureName:n[a.name]})}),o&&o.forEach(a=>{if(e.columns.findIndex(c=>c.name===a.attribute.name)===-1)throw new l.TranslatableError("errors.dataOptions.filterAttributeNotFound",{attributeName:a.attribute.name})}),i&&i.forEach(a=>{if(e.columns.findIndex(c=>c.name===a.attribute.name)===-1)throw new l.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function Dx(e,t){switch(e){case"pie":case"funnel":case"treemap":return Rx(e,t);default:return t}}const zs=()=>{const[e,t]=F.useState();if(e)throw e;return t},kx=e=>e==="funnel"?e:l.deriveChartFamily(e),Ix=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:c,setIsLoading:u,enabled:p=!0,loadData:h})=>{const d=zs(),m=F.useMemo(()=>kx(r),[r]),g=F.useMemo(()=>[void 0,t],[t]),[v,y]=F.useState({}),{app:w}=l.useSisenseContext();return F.useEffect(()=>{if(!p)return;let T=!1;const{filters:_,relations:x}=l.getFilterListAndRelationsJaql(a);if(Vt(e)){if(!w)return;const b=h({app:w,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:_,filterRelations:x,highlights:s,count:w.settings.queryLimit}}),C=w==null?void 0:w.settings.loadingIndicatorConfig,S=setTimeout(()=>{C!=null&&C.enabled&&(u==null||u(!0))},C==null?void 0:C.delay);b.then(O=>{const M=za(O,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);T||y({[m]:[M,t]})}).catch(O=>{d(O)}).finally(()=>{clearTimeout(S),C!=null&&C.enabled&&(u==null||u(!1))})}else{tp(e,n,o,i,_,s);const b=za(e,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);y({[m]:[b,t]})}return()=>{T=!0}},[r,t,e,a,s,w,c,p]),v[m]||g},Ax=(e,t)=>{switch(t){case"iqr":return xm(e);case"extremums":return wm(e);case"standardDeviation":return Cm(e)}},Nx=(e,t)=>{switch(t){case"iqr":return Tm(e);case"standardDeviation":return Em(e)}},$x=(e,t,r)=>{const{column:n,style:o}=l.splitColumn(e);let i=Ax(n,t),a;return o&&(i=i.map(s=>q({column:s},o))),r&&(a=Nx(n,t),a&&o&&(a=q({column:a},o))),{values:i,outliers:a}},Lx=e=>e.value.length>1,rp=e=>{var h;const{category:t}=e;let r,n,o;if(Lx(e))r=e.value,o=e.valueTitle,n=(h=e.outliers)==null?void 0:h[0];else{const{outliersEnabled:d,boxType:m}=e,g=l.normalizeColumn(e.value[0]),{values:v,outliers:y}=$x(g,m,!!d);r=v,n=y,o=l.getDataOptionTitle(g)}const[i,a,s,c,u,p]=r;return{category:t[0]&&l.normalizeColumn(t[0]),boxMin:i&&l.normalizeMeasureColumn(i),boxMedian:a&&l.normalizeMeasureColumn(a),boxMax:s&&l.normalizeMeasureColumn(s),whiskerMin:c&&l.normalizeMeasureColumn(c),whiskerMax:u&&l.normalizeMeasureColumn(u),outliersCount:p&&l.normalizeMeasureColumn(p),outliers:n&&l.normalizeColumn(n),valueTitle:o}},Uc={city:4,state:3,country:2,auto:1};function Fx(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>Uc[n]>Uc[r]?n:r,"auto")}function Bx(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(l.normalizeColumn),size:r&&l.normalizeMeasureColumn(r),colorBy:n&&l.normalizeMeasureColumn(n),details:o&&l.normalizeAnyColumn(o),locationLevel:Fx(t)}}function Hx(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[l.normalizeMeasureColumn(a)];const h=a,{lowerBound:s,upperBound:c,title:u}=h,p=xr(h,["lowerBound","upperBound","title"]);return[l.normalizeMeasureColumn(q({column:l.safeMerge(s,{title:u})},p)),l.normalizeMeasureColumn(q({column:l.safeMerge(c,{title:u})},p))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(l.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(l.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}const jx=(e,t)=>{if(l.emptyTable(t))return{rows:[],columns:[]};const r=l.getColumnsByName(t,e);return l.selectColumns(t,r)},Va=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case l.Sort.Ascending:return 1;case"sortDesc":case l.Sort.Descending:return-1;default:return 0}},Wx=(e,t)=>{const r=e.columns.find(n=>Va(n)!==0);if(r){const n=l.getColumnByName(t,r.column.name);n&&(n.direction=Va(r))}return t},np=e=>{if(!("sortType"in e))return e;const t=e.sortType,r=l.convertSortDirectionToSort(t);return J(q({},e),{sortType:t,column:zx(e.column,r)})};function zx(e,t){return Ux(e)?Vx(e,t):e}function Vx(e,t){const r=e.sort(t);return l.isMeasureColumn(r)&&l.isMeasureColumn(e)&&(r.title=e.title),r}function Ux(e){return"sort"in e&&typeof e.sort=="function"}const qx=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=Va(r),i=n?o===1?"sortDesc":"sortAsc":"sortNone";return r.sortType=i,np(r)})}),Gx=(e,t)=>{const r=jx(e.columns.map(({column:{name:n}})=>n),t);return Wx(e,r)};function Yx(e,t){if(l.isCartesian(e))return l.translateCartesianChartDataOptions(t);if(l.isCategorical(e))return Kx(t);if(l.isIndicator(e))return Xx(t);if(l.isScatter(e))return Qx(t);if(l.isBoxplot(e))return rp(t);if(l.isScattermap(e))return Bx(t);if(l.isRange(e))return Hx(t);throw new l.TranslatableError("errors.unexpectedChartType",{chartType:e})}const Kx=e=>({y:e.value.map(l.normalizeMeasureColumn),breakBy:e.category.map(l.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),Xx=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(l.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(l.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(l.normalizeMeasureColumn))==null?void 0:o.map(qc("min")),max:(a=(i=e.max)==null?void 0:i.map(l.normalizeMeasureColumn))==null?void 0:a.map(qc("max"))}},qc=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return J(q({},t),{column:l.safeMerge(r,{aggregation:n})})},Qx=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&l.normalizeAnyColumn(t),y:r&&l.normalizeAnyColumn(r),breakByPoint:n&&l.normalizeColumn(n),breakByColor:o&&l.normalizeAnyColumn(o),size:i&&l.normalizeMeasureColumn(i),seriesToColorMap:a}};function Zx(e,t){let r=[];return l.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:l.isCartesian(t)||l.isCategorical(t)||l.isRange(t)?r=["x","breakBy"]:l.isBoxplot(t)?r=["category","outliers"]:l.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!l.isMeasureColumn(o)).map(({column:o})=>o)}function Jx(e,t){let r=[];return l.isIndicator(t)?r=["value","secondary","min","max"]:l.isScatter(t)?r=["x","y","breakByColor","size"]:l.isCartesian(t)||l.isCategorical(t)||l.isRange(t)?r=["y"]:l.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:l.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(l.isMeasureColumn).map(({column:o})=>o)}function op(e){return{columns:e.columns.map(l.normalizeAnyColumn).map(np)}}function e3(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(l.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(l.normalizeColumn),values:(n=e.values)==null?void 0:n.map(l.normalizeMeasureColumn),grandTotals:e.grandTotals}}function ip(e,t){{const r=Dx(t,e),n=Yx(t,r),o=Px(n,t),i=Zx(o,t),a=Jx(o,t);return{dataOptions:o,attributes:i,measures:a}}}const t3=(e,t)=>F.useMemo(()=>{if(l.isRestructuredChartType(t)){const r=l.getChartBuilder(t);if(!r.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return r3(r,e)}else return n3(e,t)},[e,t]);function r3(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=Ws(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function n3(e,t){const{dataOptions:r,attributes:n,measures:o}=ip(e,t),i=Ws(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function o3(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:c,onDataPointsSelected:u,filters:p}=e;return!o||!i?null:{dataSource:Vt(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:c,onDataPointsSelected:u,filters:p}}const i3=(e,t)=>{const r=e.category&&l.getColumnByName(t,e.category.column.name);r&&(r.direction=l.sortDirection(e.category.sortType));const n=l.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?l.rownumColumnName:void 0),o=l.getIndexedRows(t.rows,r?[r]:[]),i=l.getColumnByName(t,e.boxMin.column.name),a=l.getColumnByName(t,e.boxMedian.column.name),s=l.getColumnByName(t,e.boxMax.column.name),c=l.getColumnByName(t,e.whiskerMin.column.name),u=l.getColumnByName(t,e.whiskerMax.column.name),p=e.outliers&&l.getColumnByName(t,e.outliers.column.name),h=[],d=[];n.forEach((g,v)=>{const y=o[g.key],w=y?y[0]:[],T=r&&!!l.isBlurred(w,r);h.push({q1:i?l.getValue(w,i):0,median:a?l.getValue(w,a):0,q3:s?l.getValue(w,s):0,low:c?l.getValue(w,c):0,high:u?l.getValue(w,u):0,blur:T});const _=p?w[p.index].rawValue.split(",").map(x=>parseFloat(x)):[];d.push(..._.map(x=>({x:v,y:x,blur:T})))});const m=[{name:e.valueTitle,title:e.valueTitle,data:h}];return d.length>0&&m.push({name:e.valueTitle,title:e.valueTitle,data:d}),{type:"boxplot",xValues:n,series:m}};function a3(e){return e.type==="boxplot"}const s3=2e4;function vn(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 ap=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=vn(e.columns,r.category),o=vn(e.columns,r.whiskerMin),i=vn(e.columns,r.whiskerMax),a=vn(t.columns,r.category),s=vn(t.columns,r.outliers)),l.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(u=>{const p=l.isNull(n)?null:u[n].data,h=u[i].data,d=u[o].data,m=t.rows.filter(g=>{const v=l.isNull(a)?null:g[a].data,y=g[s].data;return v===p&&(y<d||y>h)}).map(g=>g[s].data).join(",");return[...u,{data:m}]})}};function l3(e,t,r){const n=r&&rp(r);return ap(e,t,n)}const c3=(u,p)=>rt(exports,[u,p],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},c){var v;const h={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},d=yield c(h,e);let m=d;const g=t.outliersCount?u3(d,t.outliersCount.column.name):0;if(t.outliers&&g<s3){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const w=yield c(y,e);m=ap(d,w,t)}catch(w){if((v=w==null?void 0:w.message)!=null&&v.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw w}}return m}),u3=(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 d3(e){return l.isRestructuredChartType(e)?l.getChartBuilder(e).data.loadData:e==="boxplot"?p3:f3}const f3=n=>rt(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)?l.executeQueryWithCache:l.executeQuery)(t,e,r)}),p3=n=>rt(exports,[n],function*({app:e,chartDataOptionsInternal:t,queryDescription:r}){var a,s,c,u;const i=((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?l.executeQueryWithCache:l.executeQuery;return c3({app:e,chartDataOptions:t,dataSource:r.dataSource,attributes:(c=r.dimensions)!=null?c:[],measures:(u=r.measures)!=null?u:[],filters:r.filters,highlights:r.highlights,filterRelations:r.filterRelations},i)}),h3=(e,t)=>{const r=J(q({},e),{x:e.breakBy,breakBy:[]});let n=l.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>l.isNumber$1(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:c},numberFormatConfig:u},p)=>{const h=l.getCompleteNumberFormatConfig(u),d=a.xValues[p];l.isNumber$1(c)?s.push(l.applyFormatPlainText(h,parseFloat(d))):s.push(a.xValues[p])}),J(q({},a),{xValues:s})});n=J(q({},n),{xValues:i})}return J(q({},n),{type:"categorical"})},Po=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=l.getColumnByName(e,t[0].column.name);return r?[l.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},m3=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=Po(t,e.value);if(n===void 0)return r;const[o]=Po(t,e.secondary),[i]=Po(t,e.min),[a]=Po(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},g3="N\\A",v3=1,y3=(e,t)=>{const r=b3(e),n=e.locations&&l.getColumnsByName(t,e.locations.map(({column:{name:c}})=>c)),o=e.size&&l.getColumnByName(t,e.size.column.name),i=e.colorBy&&l.getColumnByName(t,e.colorBy.column.name),a=e.details&&l.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(c=>n.some(u=>l.getValue(c,u)!==g3)).map(c=>{const u=n.map(m=>l.getValue(c,m)),p=M_(u);let h;r&&(h={lat:l.getValue(c,n[0]),lng:l.getValue(c,n[1])});const d=n[0]&&!!l.isBlurred(c,n[0]);return q(J(q(q({name:p,rawName:u,value:o?l.getValue(c,o):v3},i&&{colorValue:l.getValue(c,i)}),a&&{details:l.getValue(c,a)}),{blur:d}),h?{coordinates:h}:null)})}};function b3(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>l.isNumber$1(t)).length===2}const _3=(e,t,r)=>{if(l.isCartesian(e))return l.isForecastChart(t)?l.advancedAnalyticsData(t,r):l.cartesianData(t,r);if(l.isCategorical(e))return h3(t,r);if(l.isScatter(e))return l.scatterData(t,r);if(l.isScattermap(e))return y3(t,r);if(l.isIndicator(e))return m3(t,r);if(l.isBoxplot(e))return i3(t,r);if(l.isRange(e))return l.rangeData(t,r);throw new l.TranslatableError("errors.unexpectedChartType",{chartType:e})};var x3=1/0,w3=l.Set&&1/l.setToArray(new l.Set([,-0]))[1]==x3?function(e){return new l.Set(e)}:l.noop,C3=200;function Vs(e,t,r){var n=-1,o=l.arrayIncludes,i=e.length,a=!0,s=[],c=s;if(i>=C3){var u=t?null:w3(e);if(u)return l.setToArray(u);a=!1,o=l.cacheHas,c=new l.SetCache}else c=t?[]:s;e:for(;++n<i;){var p=e[n],h=t?t(p):p;if(p=p!==0?p:0,a&&h===h){for(var d=c.length;d--;)if(c[d]===h)continue e;t&&c.push(h),s.push(p)}else o(c,h,r)||(c!==s&&c.push(h),s.push(p))}return s}var T3=l.baseRest(function(e){return Vs(l.baseFlatten(e,1,l.isArrayLikeObject,!0))});const sp=(e,t,r,n={})=>{if(l.emptyTable(e))return{rows:[],columns:[]};const o=T3(l.getColumnsByName(e,t.map(p=>p.name))),i=e,s=[...r.map(p=>{var h,d;return{column:(h=n[p.name])!=null?h:p.name,title:p.name,agg:(d=p.aggregation)!=null?d:"sum"}}),{column:l.rownumColumnName,title:l.rownumColumnName,agg:"min"}],c=l.groupBy(i,o,s),u=l.getColumnByName(c,l.rownumColumnName);if(!u)throw new l.TranslatableError("errors.noRowNumColumn");return l.orderBy(c,[u])};function E3({dataSet:e,data:t,chartDataOptions:r,chartType:n,attributes:o,measures:i,dataColumnNamesMapping:a,onDataReady:s}){return F.useMemo(()=>{if(!t||!r)return null;let c;if(s&&(c=s(t),!lp(c)))throw new l.TranslatableError("errors.incorrectOnDataReadyHandler");const u=c||t;let p=l.createDataTableFromData(u);return Vt(e)||(p=sp(p,o,i,a)),S3(n,r,p)},[t,n])}function S3(e,t,r){if(l.isRestructuredChartType(e)){const n=l.getChartBuilder(e);if(n.dataOptions.isCorrectDataOptionsInternal(t))return n.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return _3(e,t,r)}const R3=e=>e==="indicator",O3=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&l.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&Zf(t)?t.locations.length===0:e==="boxplot"&&a3(t)?t.xValues.length===0:"series"in t&&t.series.length===0,Ua=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:c,onDataPointContextMenu:u,onDataPointsSelected:p,onBeforeRender:h,onDataReady:d}=e,[m,g]=F.useState(!1),v=js(t),{themeSettings:y}=l.useThemeContext(),{dataOptions:w,attributes:T,measures:_,dataColumnNamesMapping:x}=t3(n,t),b=T.length===0&&_.length===0,C=F.useMemo(()=>d3(t),[t]),[S,O]=Ix({dataSet:r,chartDataOptions:w,chartType:t,attributes:T,measures:_,dataColumnNamesMapping:x,filters:o,highlights:i,refreshCounter:s,setIsLoading:g,enabled:!b,loadData:C}),M=F.useMemo(()=>n?l.prepareChartDesignOptions(t,O,a):null,[n,t,O,a]),D=E3({dataSet:r,data:S,chartDataOptions:w,chartType:t,attributes:T,measures:_,dataColumnNamesMapping:x,onDataReady:d}),R=o3({dataSet:r,chartType:t,chartData:D,internalDataOptions:O,designOptions:M,onBeforeRender:h,onDataPointClick:c,onDataPointContextMenu:u,onDataPointsSelected:p,filters:o});return R?l.jsx(Ei,{defaultSize:v,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:R3(t),children:()=>{if(!D&&m)return l.jsx(li,{themeSettings:y});if(D&&O3(t,D)||b)return l.jsx(Hs,{iconType:t});if(l.isRestructuredChartType(t)){const E=l.getChartBuilder(t);if(E.renderer.isCorrectRendererProps(R))return l.jsx(E.renderer.ChartRendererComponent,q({},R))}return t==="scattermap"&&ax(R)?l.jsx(jo,{themeSettings:y,isVisible:m,children:l.jsx(nx,q({},R))}):t==="indicator"&&n_(R)?l.jsx(jo,{themeSettings:y,isVisible:m,children:l.jsx(J2,q({},R))}):l.isSisenseChartType(t)&&l.isSisenseChartProps(R)?l.jsx(jo,{themeSettings:y,isVisible:m,children:l.jsx(l.SisenseChart,J(q({},R),{designOptions:q({},R.designOptions)}))}):null}}):null};function lp(e){return e&&typeof e=="object"&&"columns"in e&&l.isArray(e.columns)&&"rows"in e&&l.isArray(e.rows)}function M3(e){return we("MuiPagination",e)}Ce("MuiPagination",["root","ul","outlined","text"]);const P3=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function D3(e={}){const{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:c,page:u,showFirstButton:p=!1,showLastButton:h=!1,siblingCount:d=1}=e,m=ae(e,P3),[g,v]=As({controlled:u,default:o,name:r,state:"page"}),y=(M,D)=>{u||v(D),c&&c(M,D)},w=(M,D)=>{const R=D-M+1;return Array.from({length:R},(E,I)=>M+I)},T=w(1,Math.min(t,n)),_=w(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(g-d,n-t-d*2-1),t+2),b=Math.min(Math.max(g+d,t+d*2+2),_.length>0?_[0]-2:n-1),C=[...p?["first"]:[],...s?[]:["previous"],...T,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...w(x,b),...b<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],..._,...a?[]:["next"],...h?["last"]:[]],S=M=>{switch(M){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return n;default:return null}},O=C.map(M=>typeof M=="number"?{onClick:D=>{y(D,M)},type:"page",page:M,selected:M===g,disabled:i,"aria-current":M===g?"true":void 0}:{onClick:D=>{y(D,S(M))},type:M,page:S(M),selected:!1,disabled:i||M.indexOf("ellipsis")===-1&&(M==="next"||M==="last"?g>=n:g<=1)});return l._extends({items:O},m)}function k3(e){return we("MuiPaginationItem",e)}const nt=Ce("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);function I3(e){return we("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const A3=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],N3=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return De(o,I3,n)},$3=le("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)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,c,u,p,h,d,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(c=s.pxToRem)==null?void 0:c.call(s,24))||"1.5rem",large:((u=e.typography)==null||(p=u.pxToRem)==null?void 0:p.call(u,35))||"2.1875rem"}[t.fontSize],color:(h=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?h:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),Qo=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:h,viewBox:d="0 0 24 24"}=n,m=ae(n,A3),g=W.isValidElement(o)&&o.type==="svg",v=l._extends({},n,{color:a,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:g}),y={};p||(y.viewBox=d);const w=N3(v);return te.jsxs($3,l._extends({as:s,className:se(w.root,i),focusable:"false",color:u,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},y,m,g&&o.props,{ownerState:v,children:[g?o.props.children:o,h?te.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(Qo.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});Qo.muiName="SvgIcon";function qr(e,t){function r(n,o){return te.jsx(Qo,l._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Qo.muiName,W.memo(W.forwardRef(r))}const Gc=qr(te.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Yc=qr(te.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Kc=qr(te.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),Xc=qr(te.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),L3=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],cp=(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]},F3=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:c}=e,u={root:["root",`size${fe(i)}`,c,a,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${c}${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 De(u,k3,t)},B3=le("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:cp})(({theme:e,ownerState:t})=>l._extends({},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",[`&.${nt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),H3=le(gr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:cp})(({theme:e,ownerState:t})=>l._extends({},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,[`&.${nt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nt.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"}},[`&.${nt.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}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${nt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${nt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>l._extends({},t.variant==="text"&&{[`&.${nt.selected}`]:l._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${nt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${nt.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{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)"}`,[`&.${nt.selected}`]:l._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Pe(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${nt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),j3=le("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>l._extends({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),up=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaginationItem"}),{className:o,color:i="standard",component:a,components:s={},disabled:c=!1,page:u,selected:p=!1,shape:h="circular",size:d="medium",slots:m={},type:g="page",variant:v="text"}=n,y=ae(n,L3),w=l._extends({},n,{color:i,disabled:c,selected:p,shape:h,size:d,type:g,variant:v}),T=bs(),_=F3(w),b=(T?{previous:m.next||s.next||Xc,next:m.previous||s.previous||Kc,last:m.first||s.first||Gc,first:m.last||s.last||Yc}:{previous:m.previous||s.previous||Kc,next:m.next||s.next||Xc,first:m.first||s.first||Gc,last:m.last||s.last||Yc})[g];return g==="start-ellipsis"||g==="end-ellipsis"?te.jsx(B3,{ref:r,ownerState:w,className:se(_.root,o),children:"…"}):te.jsxs(H3,l._extends({ref:r,ownerState:w,component:a,disabled:c,className:se(_.root,o)},y,{children:[g==="page"&&u,b?te.jsx(j3,{as:b,ownerState:w,className:_.icon}):null]}))});process.env.NODE_ENV!=="production"&&(up.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),component:f.elementType,components:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),disabled:f.bool,page:f.node,selected:f.bool,shape:f.oneOf(["circular","rounded"]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),slots:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const W3=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],z3=e=>{const{classes:t,variant:r}=e;return De({root:["root",r],ul:["ul"]},M3,t)},V3=le("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),U3=le("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function q3(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const dp=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:c=1,disabled:u=!1,getItemAriaLabel:p=q3,hideNextButton:h=!1,hidePrevButton:d=!1,renderItem:m=O=>te.jsx(up,l._extends({},O)),shape:g="circular",showFirstButton:v=!1,showLastButton:y=!1,siblingCount:w=1,size:T="medium",variant:_="text"}=n,x=ae(n,W3),{items:b}=D3(l._extends({},n,{componentName:"Pagination"})),C=l._extends({},n,{boundaryCount:o,color:a,count:s,defaultPage:c,disabled:u,getItemAriaLabel:p,hideNextButton:h,hidePrevButton:d,renderItem:m,shape:g,showFirstButton:v,showLastButton:y,siblingCount:w,size:T,variant:_}),S=z3(C);return te.jsx(V3,l._extends({"aria-label":"pagination navigation",className:se(S.root,i),ownerState:C,ref:r},x,{children:te.jsx(U3,{className:S.ul,ownerState:C,children:b.map((O,M)=>te.jsx("li",{children:m(l._extends({},O,{color:a,"aria-label":p(O.type,O.page,O.selected),shape:g,size:T,variant:_}))},M))})}))});process.env.NODE_ENV!=="production"&&(dp.propTypes={boundaryCount:bt,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),count:bt,defaultPage:bt,disabled:f.bool,getItemAriaLabel:f.func,hideNextButton:f.bool,hidePrevButton:f.bool,onChange:f.func,page:bt,renderItem:f.func,shape:f.oneOf(["circular","rounded"]),showFirstButton:f.bool,showLastButton:f.bool,siblingCount:bt,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const fp=e=>{const t=[],r=[];for(const n of e.columns)l.isMeasureColumn(n)?r.push(l.translateColumnToMeasure(n)):t.push(l.translateColumnToAttribute(n));return{attributes:t,measures:r}},G3=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=zs(),[s,c]=F.useState(Vt(e)?null:e),[u,p]=F.useState(!1),h=F.useRef(!0),{isInitialized:d,app:m}=l.useSisenseContext(),[g,v]=F.useState(t);return F.useEffect(()=>{var _;let y=!1;if(!t)return;const{attributes:w,measures:T}=fp(t);if(Vt(e)){if(!d){a(new l.TranslatableError("errors.chartNoSisenseContext"));return}if(!m||!h.current&&i>0)return;p(!0),((_=m.settings.queryCacheConfig)!=null&&_.enabled?l.executeQueryWithCache:l.executeQuery)({dataSource:e,dimensions:w,measures:T,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},m).then(b=>{if(y)return;h.current=b.rows.length>o;const C=h.current?b.rows.slice(0,o):b.rows;i>0?c(S=>{const O=S==null?void 0:S.rows.length,M=O?O>i?S.rows.slice(0,i):S.rows:null;return{columns:b.columns,rows:M?[...M,...C]:C}}):c({columns:b.columns,rows:C}),v(t)}).finally(()=>{p(!1)}).catch(b=>{y||a(b)})}else c(e),v(t);return()=>{y=!0}},[m,e,t,r,n,i,o,d,a]),[u?null:s,g]},Y3=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=l.useSisenseContext();return F.useMemo(()=>{if(!e||!t)return null;let i=l.createDataTableFromData(za(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(c=>!l.isMeasureColumn(c)).map(l.translateColumnToAttribute),s=t.columns.filter(c=>l.isMeasureColumn(c)).map(l.translateColumnToMeasure);return tp(i,a,s,r),n&&(i=sp(i,a,s,r)),Gx(t,i)},[e,t,n,r,o])};var pp={},hp={};function Qc(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 Zc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Qc(Object(r),!0).forEach(function(n){Vm(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fe(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 Jc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},zt={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function mp(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 K3(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(Z3(e))return"date";if(Q3(e))return"error";var r=X3(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 X3(e){return typeof e.constructor=="function"?e.constructor.name:null}function Q3(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function Z3(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Ht(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=K3(e)),t}function Us(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"?Fe(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"?Fe(1):"Expected the enhancer to be a function. Instead, received: '"+Ht(r)+"'");return r(Us)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(2):"Expected the root reducer to be a function. Instead, received: '"+Ht(e)+"'");var o=e,i=t,a=[],s=a,c=!1;function u(){s===a&&(s=a.slice())}function p(){if(c)throw new Error(process.env.NODE_ENV==="production"?Fe(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 h(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(4):"Expected the listener to be a function. Instead, received: '"+Ht(v)+"'");if(c)throw new Error(process.env.NODE_ENV==="production"?Fe(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 u(),s.push(v),function(){if(y){if(c)throw new Error(process.env.NODE_ENV==="production"?Fe(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,u();var T=s.indexOf(v);s.splice(T,1),a=null}}}function d(v){if(!mp(v))throw new Error(process.env.NODE_ENV==="production"?Fe(7):"Actions must be plain objects. Instead, the actual type was: '"+Ht(v)+"'. 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 v.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(c)throw new Error(process.env.NODE_ENV==="production"?Fe(9):"Reducers may not dispatch actions.");try{c=!0,i=o(i,v)}finally{c=!1}for(var y=a=s,w=0;w<y.length;w++){var T=y[w];T()}return v}function m(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(10):"Expected the nextReducer to be a function. Instead, received: '"+Ht(v));o=v,d({type:zt.REPLACE})}function g(){var v,y=h;return v={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(process.env.NODE_ENV==="production"?Fe(11):"Expected the observer to be an object. Instead, received: '"+Ht(T)+"'");function _(){T.next&&T.next(p())}_();var x=y(_);return{unsubscribe:x}}},v[Jc]=function(){return this},v}return d({type:zt.INIT}),n={dispatch:d,subscribe:h,getState:p,replaceReducer:m},n[Jc]=g,n}var J3=Us;function eu(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function ew(e,t,r,n){var o=Object.keys(t),i=r&&r.type===zt.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(!mp(e))return"The "+i+' has unexpected type of "'+Ht(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===zt.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 tw(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:zt.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(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:zt.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+zt.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 rw(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"&&eu('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{tw(r)}catch(c){s=c}return function(u,p){if(u===void 0&&(u={}),s)throw s;if(process.env.NODE_ENV!=="production"){var h=ew(u,r,p,a);h&&eu(h)}for(var d=!1,m={},g=0;g<i.length;g++){var v=i[g],y=r[v],w=u[v],T=y(w,p);if(typeof T=="undefined"){var _=p&&p.type;throw new Error(process.env.NODE_ENV==="production"?Fe(14):"When called with an action of type "+(_?'"'+String(_)+'"':"(unknown type)")+', the slice reducer for key "'+v+'" 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[v]=T,d=d||T!==w}return d=d||i.length!==Object.keys(u).length,d?m:u}}function tu(e,t){return function(){return t(e.apply(this,arguments))}}function nw(e,t){if(typeof e=="function")return tu(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?Fe(16):"bindActionCreators expected an object or a function, but instead received: '"+Ht(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]=tu(o,t))}return r}function gp(){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 ow(){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"?Fe(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(c){return c(a)});return i=gp.apply(void 0,s)(o.dispatch),Zc(Zc({},o),{},{dispatch:i})}}}const iw=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:zt,applyMiddleware:ow,bindActionCreators:nw,combineReducers:rw,compose:gp,createStore:Us,legacy_createStore:J3},Symbol.toStringTag,{value:"Module"})),vp=l.getAugmentedNamespace(iw);var Gr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(o,i,a,s,c,u,p,h){if(process.env.NODE_ENV!=="production"&&i===void 0)throw new Error("invariant requires an error message argument");if(!o){var d;if(i===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[a,s,c,u,p,h],g=0;d=new Error("Invariant Violation: "+i.replace(/%s/g,function(){return m[g++]}))}throw d.framesToPop=1,d}},r=t;e.default=r})(Gr);var aw=Array.isArray,tt=aw,sw=typeof l.commonjsGlobal=="object"&&l.commonjsGlobal&&l.commonjsGlobal.Object===Object&&l.commonjsGlobal,yp=sw,lw=yp,cw=typeof self=="object"&&self&&self.Object===Object&&self,uw=lw||cw||Function("return this")(),kt=uw,dw=kt,fw=dw.Symbol,io=fw,ru=io,bp=Object.prototype,pw=bp.hasOwnProperty,hw=bp.toString,yn=ru?ru.toStringTag:void 0;function mw(e){var t=pw.call(e,yn),r=e[yn];try{e[yn]=void 0;var n=!0}catch(i){}var o=hw.call(e);return n&&(t?e[yn]=r:delete e[yn]),o}var gw=mw,vw=Object.prototype,yw=vw.toString;function bw(e){return yw.call(e)}var _w=bw,nu=io,xw=gw,ww=_w,Cw="[object Null]",Tw="[object Undefined]",ou=nu?nu.toStringTag:void 0;function Ew(e){return e==null?e===void 0?Tw:Cw:ou&&ou in Object(e)?xw(e):ww(e)}var Yr=Ew;function Sw(e){return e!=null&&typeof e=="object"}var Kr=Sw,Rw=Yr,Ow=Kr,Mw="[object Symbol]";function Pw(e){return typeof e=="symbol"||Ow(e)&&Rw(e)==Mw}var Si=Pw,Dw=tt,kw=Si,Iw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Aw=/^\w*$/;function Nw(e,t){if(Dw(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||kw(e)?!0:Aw.test(e)||!Iw.test(e)||t!=null&&e in Object(t)}var qs=Nw;function $w(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ao=$w,Lw=Yr,Fw=ao,Bw="[object AsyncFunction]",Hw="[object Function]",jw="[object GeneratorFunction]",Ww="[object Proxy]";function zw(e){if(!Fw(e))return!1;var t=Lw(e);return t==Hw||t==jw||t==Bw||t==Ww}var _p=zw,Vw=kt,Uw=Vw["__core-js_shared__"],qw=Uw,ma=qw,iu=function(){var e=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gw(e){return!!iu&&iu in e}var Yw=Gw,Kw=Function.prototype,Xw=Kw.toString;function Qw(e){if(e!=null){try{return Xw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var xp=Qw,Zw=_p,Jw=Yw,eC=ao,tC=xp,rC=/[\\^$.*+?()[\]{}|]/g,nC=/^\[object .+?Constructor\]$/,oC=Function.prototype,iC=Object.prototype,aC=oC.toString,sC=iC.hasOwnProperty,lC=RegExp("^"+aC.call(sC).replace(rC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cC(e){if(!eC(e)||Jw(e))return!1;var t=Zw(e)?lC:nC;return t.test(tC(e))}var uC=cC;function dC(e,t){return e==null?void 0:e[t]}var fC=dC,pC=uC,hC=fC;function mC(e,t){var r=hC(e,t);return pC(r)?r:void 0}var vr=mC,gC=vr,vC=gC(Object,"create"),Ri=vC,au=Ri;function yC(){this.__data__=au?au(null):{},this.size=0}var bC=yC;function _C(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var xC=_C,wC=Ri,CC="__lodash_hash_undefined__",TC=Object.prototype,EC=TC.hasOwnProperty;function SC(e){var t=this.__data__;if(wC){var r=t[e];return r===CC?void 0:r}return EC.call(t,e)?t[e]:void 0}var RC=SC,OC=Ri,MC=Object.prototype,PC=MC.hasOwnProperty;function DC(e){var t=this.__data__;return OC?t[e]!==void 0:PC.call(t,e)}var kC=DC,IC=Ri,AC="__lodash_hash_undefined__";function NC(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=IC&&t===void 0?AC:t,this}var $C=NC,LC=bC,FC=xC,BC=RC,HC=kC,jC=$C;function Xr(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])}}Xr.prototype.clear=LC;Xr.prototype.delete=FC;Xr.prototype.get=BC;Xr.prototype.has=HC;Xr.prototype.set=jC;var WC=Xr;function zC(){this.__data__=[],this.size=0}var VC=zC;function UC(e,t){return e===t||e!==e&&t!==t}var Gs=UC,qC=Gs;function GC(e,t){for(var r=e.length;r--;)if(qC(e[r][0],t))return r;return-1}var Oi=GC,YC=Oi,KC=Array.prototype,XC=KC.splice;function QC(e){var t=this.__data__,r=YC(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():XC.call(t,r,1),--this.size,!0}var ZC=QC,JC=Oi;function eT(e){var t=this.__data__,r=JC(t,e);return r<0?void 0:t[r][1]}var tT=eT,rT=Oi;function nT(e){return rT(this.__data__,e)>-1}var oT=nT,iT=Oi;function aT(e,t){var r=this.__data__,n=iT(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var sT=aT,lT=VC,cT=ZC,uT=tT,dT=oT,fT=sT;function Qr(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])}}Qr.prototype.clear=lT;Qr.prototype.delete=cT;Qr.prototype.get=uT;Qr.prototype.has=dT;Qr.prototype.set=fT;var Mi=Qr,pT=vr,hT=kt,mT=pT(hT,"Map"),Ys=mT,su=WC,gT=Mi,vT=Ys;function yT(){this.size=0,this.__data__={hash:new su,map:new(vT||gT),string:new su}}var bT=yT;function _T(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var xT=_T,wT=xT;function CT(e,t){var r=e.__data__;return wT(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Pi=CT,TT=Pi;function ET(e){var t=TT(this,e).delete(e);return this.size-=t?1:0,t}var ST=ET,RT=Pi;function OT(e){return RT(this,e).get(e)}var MT=OT,PT=Pi;function DT(e){return PT(this,e).has(e)}var kT=DT,IT=Pi;function AT(e,t){var r=IT(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var NT=AT,$T=bT,LT=ST,FT=MT,BT=kT,HT=NT;function Zr(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])}}Zr.prototype.clear=$T;Zr.prototype.delete=LT;Zr.prototype.get=FT;Zr.prototype.has=BT;Zr.prototype.set=HT;var Ks=Zr,wp=Ks,jT="Expected a function";function Xs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(jT);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(Xs.Cache||wp),r}Xs.Cache=wp;var WT=Xs,zT=WT,VT=500;function UT(e){var t=zT(e,function(n){return r.size===VT&&r.clear(),n}),r=t.cache;return t}var qT=UT,GT=qT,YT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,KT=/\\(\\)?/g,XT=GT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(YT,function(r,n,o,i){t.push(o?i.replace(KT,"$1"):n||r)}),t}),QT=XT;function ZT(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 Cp=ZT,lu=io,JT=Cp,eE=tt,tE=Si,rE=1/0,cu=lu?lu.prototype:void 0,uu=cu?cu.toString:void 0;function Tp(e){if(typeof e=="string")return e;if(eE(e))return JT(e,Tp)+"";if(tE(e))return uu?uu.call(e):"";var t=e+"";return t=="0"&&1/e==-rE?"-0":t}var nE=Tp,oE=nE;function iE(e){return e==null?"":oE(e)}var aE=iE,sE=tt,lE=qs,cE=QT,uE=aE;function dE(e,t){return sE(e)?e:lE(e,t)?[e]:cE(uE(e))}var Di=dE,fE=Si,pE=1/0;function hE(e){if(typeof e=="string"||fE(e))return e;var t=e+"";return t=="0"&&1/e==-pE?"-0":t}var so=hE,mE=Di,gE=so;function vE(e,t){t=mE(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[gE(t[r++])];return r&&r==n?e:void 0}var Qs=vE,yE=vr,bE=function(){try{var e=yE(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ep=bE,du=Ep;function _E(e,t,r){t=="__proto__"&&du?du(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var xE=_E,wE=xE,CE=Gs,TE=Object.prototype,EE=TE.hasOwnProperty;function SE(e,t,r){var n=e[t];(!(EE.call(e,t)&&CE(n,r))||r===void 0&&!(t in e))&&wE(e,t,r)}var RE=SE,OE=9007199254740991,ME=/^(?:0|[1-9]\d*)$/;function PE(e,t){var r=typeof e;return t=t==null?OE:t,!!t&&(r=="number"||r!="symbol"&&ME.test(e))&&e>-1&&e%1==0&&e<t}var Zs=PE,DE=RE,kE=Di,IE=Zs,fu=ao,AE=so;function NE(e,t,r,n){if(!fu(e))return e;t=kE(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var c=AE(t[o]),u=r;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(o!=a){var p=s[c];u=n?n(p,c,s):void 0,u===void 0&&(u=fu(p)?p:IE(t[o+1])?[]:{})}DE(s,c,u),s=s[c]}return e}var $E=NE,LE=Qs,FE=$E,BE=Di;function HE(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=LE(e,a);r(s,a)&&FE(i,BE(a,e),s)}return i}var jE=HE;function WE(e,t){return e!=null&&t in Object(e)}var zE=WE,VE=Yr,UE=Kr,qE="[object Arguments]";function GE(e){return UE(e)&&VE(e)==qE}var YE=GE,pu=YE,KE=Kr,Sp=Object.prototype,XE=Sp.hasOwnProperty,QE=Sp.propertyIsEnumerable,ZE=pu(function(){return arguments}())?pu:function(e){return KE(e)&&XE.call(e,"callee")&&!QE.call(e,"callee")},ki=ZE,JE=9007199254740991;function eS(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=JE}var Js=eS,tS=Di,rS=ki,nS=tt,oS=Zs,iS=Js,aS=so;function sS(e,t,r){t=tS(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=aS(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&&iS(o)&&oS(a,o)&&(nS(e)||rS(e)))}var lS=sS,cS=zE,uS=lS;function dS(e,t){return e!=null&&uS(e,t,cS)}var Rp=dS,fS=jE,pS=Rp;function hS(e,t){return fS(e,t,function(r,n){return pS(e,n)})}var mS=hS;function gS(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var Op=gS,hu=io,vS=ki,yS=tt,mu=hu?hu.isConcatSpreadable:void 0;function bS(e){return yS(e)||vS(e)||!!(mu&&e&&e[mu])}var _S=bS,xS=Op,wS=_S;function Mp(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=wS),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?Mp(s,t-1,r,n,o):xS(o,s):n||(o[o.length]=s)}return o}var CS=Mp,TS=CS;function ES(e){var t=e==null?0:e.length;return t?TS(e,1):[]}var SS=ES;function RS(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 OS=RS,MS=OS,gu=Math.max;function PS(e,t,r){return t=gu(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=gu(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),MS(e,this,s)}}var DS=PS;function kS(e){return function(){return e}}var IS=kS;function AS(e){return e}var el=AS,NS=IS,vu=Ep,$S=el,LS=vu?function(e,t){return vu(e,"toString",{configurable:!0,enumerable:!1,value:NS(t),writable:!0})}:$S,FS=LS,BS=800,HS=16,jS=Date.now;function WS(e){var t=0,r=0;return function(){var n=jS(),o=HS-(n-r);if(r=n,o>0){if(++t>=BS)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var zS=WS,VS=FS,US=zS,qS=US(VS),GS=qS,YS=SS,KS=DS,XS=GS;function QS(e){return XS(KS(e,void 0,YS),e+"")}var ZS=QS,JS=mS,eR=ZS,tR=eR(function(e,t){return e==null?{}:JS(e,t)}),tl=tR,xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.SCROLL_TO_Y=xe.SCROLL_TO_X=xe.SCROLL_END=xe.SCROLL_START=xe.PROP_CHANGE=xe.INITIALIZE=xe.COLUMN_RESIZE=xe.COLUMN_REORDER_MOVE=xe.COLUMN_REORDER_END=xe.COLUMN_REORDER_START=void 0;var rR="COLUMN_REORDER_START";xe.COLUMN_REORDER_START=rR;var nR="COLUMN_REORDER_END";xe.COLUMN_REORDER_END=nR;var oR="COLUMN_REORDER_MOVE";xe.COLUMN_REORDER_MOVE=oR;var iR="COLUMN_RESIZE";xe.COLUMN_RESIZE=iR;var aR="INITIALIZE";xe.INITIALIZE=aR;var sR="PROP_CHANGE";xe.PROP_CHANGE=sR;var lR="SCROLL_START";xe.SCROLL_START=lR;var cR="SCROLL_END";xe.SCROLL_END=cR;var uR="SCROLL_TO_X";xe.SCROLL_TO_X=uR;var dR="SCROLL_TO_Y";xe.SCROLL_TO_Y=dR;var _t={};Object.defineProperty(_t,"__esModule",{value:!0});_t.resizeColumn=_t.moveColumnReorder=_t.stopColumnReorder=_t.startColumnReorder=void 0;var Ii=xe,fR=function(t){return{type:Ii.COLUMN_REORDER_START,reorderData:t}};_t.startColumnReorder=fR;var pR=function(){return{type:Ii.COLUMN_REORDER_END}};_t.stopColumnReorder=pR;var hR=function(t){return{type:Ii.COLUMN_REORDER_MOVE,deltaX:t}};_t.moveColumnReorder=hR;var mR=function(t){return{type:Ii.COLUMN_RESIZE,resizeData:t}};_t.resizeColumn=mR;var xt={};Object.defineProperty(xt,"__esModule",{value:!0});xt.stopScroll=xt.startScroll=xt.scrollToY=xt.scrollToX=void 0;var Ai=xe,gR=function(t){return{type:Ai.SCROLL_TO_X,scrollX:t}};xt.scrollToX=gR;var vR=function(t){return{type:Ai.SCROLL_TO_Y,scrollY:t}};xt.scrollToY=vR;var yR=function(){return{type:Ai.SCROLL_START}};xt.startScroll=yR;var bR=function(){return{type:Ai.SCROLL_END}};xt.stopScroll=bR;var Pp={},_R=Yr,xR=Kr,wR="[object Number]";function CR(e){return typeof e=="number"||xR(e)&&_R(e)==wR}var TR=CR,ER=TR;function SR(e){return ER(e)&&e!=+e}var RR=SR,mt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(u){return typeof u}:t=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},t(s)}var r=/\//g,n={};function o(s){return n[s]||(n[s]=s.replace(r,"_")),n[s]}function i(s){var c;return t(s)=="object"?c=Object.keys(s).filter(function(u){return s[u]}):c=Array.prototype.slice.call(arguments),c.map(o).join(" ")}var a=i;e.default=a})(mt);var Dp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i,a,s){a=a||setTimeout,s=s||clearTimeout;var c;function u(){for(var p=arguments.length,h=new Array(p),d=0;d<p;d++)h[d]=arguments[d];u.reset();var m=function(){n.apply(i,h)};m.__SMmeta=n.__SMmeta,c=a(m,o)}return u.reset=function(){s(c)},u}var r=t;e.default=r})(Dp);var Yt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n){n||(n="");var o,i=arguments.length;if(i>1)for(var a=1;a<i;a++)o=arguments[a],o&&(n=(n?n+" ":"")+o);return n}var r=t;e.default=r})(Yt);var lo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(o)}function r(o,i){if(o===i)return!0;if(t(o)!=="object"||o===null||t(i)!=="object"||i===null)return!1;var a=Object.keys(o),s=Object.keys(i);if(a.length!==s.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(i),u=0;u<a.length;u++)if(!c(a[u])||o[a[u]]!==i[a[u]])return!1;return!0}var n=r;e.default=n})(lo);var rl={},Kt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){return function(){return o}}function r(){}r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(o){return o};var n=r;e.default=n})(Kt);var kp={},Ip={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!1,r,n,o,i,a,s,c,u,p,h,d,m,g,v,y;function w(){if(!t){t=!0;var x=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(x),C=/(Mac OS X)|(Windows)|(Linux)/.exec(x);if(m=/\b(iPhone|iP[ao]d)/.exec(x),g=/\b(iP[ao]d)/.exec(x),h=/Android/i.exec(x),v=/FBAN\/\w+;/i.exec(x),y=/Mobile/i.exec(x),d=!!/Win64/.exec(x),b){r=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var S=/(?:Trident\/(\d+.\d+))/.exec(x);s=S?parseFloat(S[1])+4:r,n=b[2]?parseFloat(b[2]):NaN,o=b[3]?parseFloat(b[3]):NaN,i=b[4]?parseFloat(b[4]):NaN,i?(b=/(?:Chrome\/(\d+\.\d+))/.exec(x),a=b&&b[1]?parseFloat(b[1]):NaN):a=NaN}else r=n=o=a=i=NaN;if(C){if(C[1]){var O=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(x);c=O?parseFloat(O[1].replace("_",".")):!0}else c=!1;u=!!C[2],p=!!C[3]}else c=u=p=!1}}var T={ie:function(){return w()||r},ieCompatibilityMode:function(){return w()||s>r},ie64:function(){return T.ie()&&d},firefox:function(){return w()||n},opera:function(){return w()||o},webkit:function(){return w()||i},safari:function(){return T.webkit()},chrome:function(){return w()||a},windows:function(){return w()||u},osx:function(){return w()||c},linux:function(){return w()||p},iphone:function(){return w()||m},mobile:function(){return w()||m||g||h||y},nativeApp:function(){return w()||v},android:function(){return w()||h},ipad:function(){return w()||g}},_=T;e.default=_})(Ip);var Ap={},nl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!!(typeof window!="undefined"&&window.document&&window.document.createElement),r={canUseDOM:t,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t},n=r;e.default=n})(nl);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(nl);function r(a){return a&&a.__esModule?a:{default:a}}var n;t.default.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
222
- * Checks if an event is supported in the current execution environment.
223
- *
224
- * NOTE: This will not work correctly for non-generic events such as `change`,
225
- * `reset`, `load`, `error`, and `select`.
226
- *
227
- * Borrows from Modernizr.
228
- *
229
- * @param {string} eventNameSuffix Event name, e.g. "click".
230
- * @param {?boolean} capture Check if the capture phase is supported.
231
- * @return {boolean} True if the event is supported.
232
- * @internal
233
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
234
- */function o(a,s){if(!t.default.canUseDOM||s&&!("addEventListener"in document))return!1;var c="on"+a,u=c in document;if(!u){var p=document.createElement("div");p.setAttribute(c,"return;"),u=typeof p[c]=="function"}return!u&&n&&a==="wheel"&&(u=document.implementation.hasFeature("Events.wheel","3.0")),u}var i=o;e.default=i})(Ap);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ip),r=n(Ap);function n(u){return u&&u.__esModule?u:{default:u}}var o=10,i=40,a=800;function s(u){var p=0,h=0,d=0,m=0;return"detail"in u&&(h=u.detail),"wheelDelta"in u&&(h=-u.wheelDelta/120),"wheelDeltaY"in u&&(h=-u.wheelDeltaY/120),"wheelDeltaX"in u&&(p=-u.wheelDeltaX/120),"axis"in u&&u.axis===u.HORIZONTAL_AXIS&&(p=h,h=0),d=p*o,m=h*o,"deltaY"in u&&(m=u.deltaY),"deltaX"in u&&(d=u.deltaX),(d||m)&&u.deltaMode&&(u.deltaMode==1?(d*=i,m*=i):(d*=a,m*=a)),d&&!p&&(p=d<1?-1:1),m&&!h&&(h=m<1?-1:1),{spinX:p,spinY:h,pixelX:d,pixelY:m}}s.getEventType=function(){return t.default.firefox()?"DOMMouseScroll":(0,r.default)("wheel")?"wheel":"mousewheel"};var c=s;e.default=c})(kp);var Ni={},Np={},Jr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof l.commonjsGlobal!="undefined"?l.commonjsGlobal:typeof self!="undefined"?self:{},r=t;e.default=r})(Jr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Jr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.requestAnimationFrame||t.default.webkitRequestAnimationFrame||t.default.mozRequestAnimationFrame||t.default.oRequestAnimationFrame||t.default.msRequestAnimationFrame,o=n;e.default=o})(Np);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Kt),r=o(Np),n=o(Jr);function o(c){return c&&c.__esModule?c:{default:c}}var i=0,a=r.default||function(c){var u=Date.now(),p=Math.max(0,16-(u-i));return i=u+p,n.default.setTimeout(function(){c(Date.now())},p)};a(t.default);var s=a;e.default=s})(Ni);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Kt),r=o(kp),n=o(Ni);function o(p){return p&&p.__esModule?p:{default:p}}function i(p,h){if(!(p instanceof h))throw new TypeError("Cannot call a class as a function")}function a(p,h){for(var d=0;d<h.length;d++){var m=h[d];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(p,m.key,m)}}function s(p,h,d){return h&&a(p.prototype,h),d&&a(p,d),p}var c=function(){function p(h,d,m,g,v,y){i(this,p),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof d!="function"&&(d=d?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof m!="function"&&(m=m?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=d,this._handleScrollY=m,this._preventDefault=v,this._stopPropagation=y,this._onWheelCallback=h,this.onWheel=this.onWheel.bind(this),this._isRTL=g}return s(p,[{key:"onWheel",value:function(d){this._preventDefault&&d.preventDefault();var m=(0,r.default)(d);d.shiftKey&&p._allowInternalAxesSwap()?m=p._swapNormalizedWheelAxis(m):d.shiftKey||(m.pixelX*=this._isRTL?-1:1);var g=this._deltaX+m.pixelX,v=this._deltaY+m.pixelY,y=this._handleScrollX(g,v),w=this._handleScrollY(v,g);if(!(!y&&!w)&&!(this._rootRef&&!this._contains(d.target))){this._deltaX+=y?m.pixelX:0,this._deltaY+=w?m.pixelY:0,d.defaultPrevented||d.preventDefault();var T;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&d.stopPropagation(),T=!0),T===!0&&this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didWheel))}}},{key:"setRoot",value:function(d){this._rootRef=d}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(d){for(var m=d;m!=document.body;){if(m===this._rootRef)return!0;m=m.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(d){return{spinX:d.spinY,spinY:d.spinX,pixelX:d.pixelY,pixelY:d.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),p}(),u=c;e.default=u})(rl);var $p={},yr={},Zo="NOT_FOUND";function OR(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Zo},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function MR(e,t){var r=[];function n(s){var c=r.findIndex(function(p){return t(s,p.key)});if(c>-1){var u=r[c];return c>0&&(r.splice(c,1),r.unshift(u)),u.value}return Zo}function o(s,c){n(s)===Zo&&(r.unshift({key:s,value:c}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var Lp=function(t,r){return t===r};function PR(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 Fp(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?Lp:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,c=PR(o),u=a===1?OR(c):MR(a,c);function p(){var h=u.get(arguments);if(h===Zo){if(h=e.apply(null,arguments),s){var d=u.getEntries(),m=d.find(function(g){return s(g.value,h)});m&&(h=m.value)}u.put(arguments,h)}return h}return p.clearCache=function(){return u.clear()},p}function DR(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 Bp(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),c=0;c<a;c++)s[c]=arguments[c];var u=0,p,h={memoizeOptions:void 0},d=s.pop();if(typeof d=="object"&&(h=d,d=s.pop()),typeof d!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof d+"]");var m=h,g=m.memoizeOptions,v=g===void 0?r:g,y=Array.isArray(v)?v:[v],w=DR(s),T=e.apply(void 0,[function(){return u++,d.apply(null,arguments)}].concat(y)),_=e(function(){for(var b=[],C=w.length,S=0;S<C;S++)b.push(w[S].apply(null,arguments));return p=T.apply(null,b),p});return Object.assign(_,{resultFunc:d,memoizedResultFunc:T,dependencies:w,lastResult:function(){return p},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),_};return o}var Hp=Bp(Fp),kR=function(t,r){if(r===void 0&&(r=Hp),typeof t!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof t));var n=Object.keys(t),o=r(n.map(function(i){return t[i]}),function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return a.reduce(function(c,u,p){return c[n[p]]=u,c},{})});return o};const IR=Object.freeze(Object.defineProperty({__proto__:null,createSelector:Hp,createSelectorCreator:Bp,createStructuredSelector:kR,defaultEqualityCheck:Lp,defaultMemoize:Fp},Symbol.toStringTag,{value:"Module"})),AR=l.getAugmentedNamespace(IR);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=AR,r=n(lo);function n(i){return i&&i.__esModule?i:{default:i}}var o=(0,t.createSelectorCreator)(t.defaultMemoize,r.default);e.default=o})(yr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(yr);function r(i){return i&&i.__esModule?i:{default:i}}function n(i,a,s){var c=1,u=1,p=i+2,h=i+1,d=2;return a&&(u++,h++,p++,d++),s&&h++,{ariaGroupHeaderIndex:c,ariaHeaderIndex:u,ariaFooterIndex:p,ariaRowCount:h,ariaRowIndexOffset:d}}var o=(0,t.default)([function(i){return i.rowsCount},function(i){return i.groupHeaderHeight>0},function(i){return i.footerHeight>0}],n);e.default=o})($p);var jp={};function NR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var $R=NR;function LR(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var c=a[e?s:++o];if(r(i[c],c,i)===!1)break}return t}}var FR=LR,BR=FR,HR=BR(),jR=HR;function WR(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var zR=WR,qa={exports:{}};function VR(){return!1}var UR=VR;(function(e,t){var r=kt,n=UR,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?r.Buffer:void 0,c=s?s.isBuffer:void 0,u=c||n;e.exports=u})(qa,qa.exports);var ol=qa.exports,qR=Yr,GR=Js,YR=Kr,KR="[object Arguments]",XR="[object Array]",QR="[object Boolean]",ZR="[object Date]",JR="[object Error]",e4="[object Function]",t4="[object Map]",r4="[object Number]",n4="[object Object]",o4="[object RegExp]",i4="[object Set]",a4="[object String]",s4="[object WeakMap]",l4="[object ArrayBuffer]",c4="[object DataView]",u4="[object Float32Array]",d4="[object Float64Array]",f4="[object Int8Array]",p4="[object Int16Array]",h4="[object Int32Array]",m4="[object Uint8Array]",g4="[object Uint8ClampedArray]",v4="[object Uint16Array]",y4="[object Uint32Array]",_e={};_e[u4]=_e[d4]=_e[f4]=_e[p4]=_e[h4]=_e[m4]=_e[g4]=_e[v4]=_e[y4]=!0;_e[KR]=_e[XR]=_e[l4]=_e[QR]=_e[c4]=_e[ZR]=_e[JR]=_e[e4]=_e[t4]=_e[r4]=_e[n4]=_e[o4]=_e[i4]=_e[a4]=_e[s4]=!1;function b4(e){return YR(e)&&GR(e.length)&&!!_e[qR(e)]}var _4=b4;function x4(e){return function(t){return e(t)}}var w4=x4,Ga={exports:{}};(function(e,t){var r=yp,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 c=o&&o.require&&o.require("util").types;return c||a&&a.binding&&a.binding("util")}catch(u){}}();e.exports=s})(Ga,Ga.exports);var C4=Ga.exports,T4=_4,E4=w4,yu=C4,bu=yu&&yu.isTypedArray,S4=bu?E4(bu):T4,il=S4,R4=zR,O4=ki,M4=tt,P4=ol,D4=Zs,k4=il,I4=Object.prototype,A4=I4.hasOwnProperty;function N4(e,t){var r=M4(e),n=!r&&O4(e),o=!r&&!n&&P4(e),i=!r&&!n&&!o&&k4(e),a=r||n||o||i,s=a?R4(e.length,String):[],c=s.length;for(var u in e)(t||A4.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||D4(u,c)))&&s.push(u);return s}var $4=N4,L4=Object.prototype;function F4(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||L4;return e===r}var Wp=F4;function B4(e,t){return function(r){return e(t(r))}}var H4=B4,j4=H4,W4=j4(Object.keys,Object),z4=W4,V4=Wp,U4=z4,q4=Object.prototype,G4=q4.hasOwnProperty;function Y4(e){if(!V4(e))return U4(e);var t=[];for(var r in Object(e))G4.call(e,r)&&r!="constructor"&&t.push(r);return t}var zp=Y4,K4=_p,X4=Js;function Q4(e){return e!=null&&X4(e.length)&&!K4(e)}var $i=Q4,Z4=$4,J4=zp,eO=$i;function tO(e){return eO(e)?Z4(e):J4(e)}var al=tO,rO=jR,nO=al;function oO(e,t){return e&&rO(e,t,nO)}var iO=oO,aO=$i;function sO(e,t){return function(r,n){if(r==null)return r;if(!aO(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 lO=sO,cO=iO,uO=lO,dO=uO(cO),sl=dO,fO=el;function pO(e){return typeof e=="function"?e:fO}var hO=pO,mO=$R,gO=sl,vO=hO,yO=tt;function bO(e,t){var r=yO(e)?mO:gO;return r(e,vO(t))}var ll=bO,cl={},_O=Mi;function xO(){this.__data__=new _O,this.size=0}var wO=xO;function CO(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var TO=CO;function EO(e){return this.__data__.get(e)}var SO=EO;function RO(e){return this.__data__.has(e)}var OO=RO,MO=Mi,PO=Ys,DO=Ks,kO=200;function IO(e,t){var r=this.__data__;if(r instanceof MO){var n=r.__data__;if(!PO||n.length<kO-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new DO(n)}return r.set(e,t),this.size=r.size,this}var AO=IO,NO=Mi,$O=wO,LO=TO,FO=SO,BO=OO,HO=AO;function en(e){var t=this.__data__=new NO(e);this.size=t.size}en.prototype.clear=$O;en.prototype.delete=LO;en.prototype.get=FO;en.prototype.has=BO;en.prototype.set=HO;var Vp=en,jO="__lodash_hash_undefined__";function WO(e){return this.__data__.set(e,jO),this}var zO=WO;function VO(e){return this.__data__.has(e)}var UO=VO,qO=Ks,GO=zO,YO=UO;function Jo(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new qO;++t<r;)this.add(e[t])}Jo.prototype.add=Jo.prototype.push=GO;Jo.prototype.has=YO;var KO=Jo;function XO(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var QO=XO;function ZO(e,t){return e.has(t)}var JO=ZO,eM=KO,tM=QO,rM=JO,nM=1,oM=2;function iM(e,t,r,n,o,i){var a=r&nM,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var u=i.get(e),p=i.get(t);if(u&&p)return u==t&&p==e;var h=-1,d=!0,m=r&oM?new eM:void 0;for(i.set(e,t),i.set(t,e);++h<s;){var g=e[h],v=t[h];if(n)var y=a?n(v,g,h,t,e,i):n(g,v,h,e,t,i);if(y!==void 0){if(y)continue;d=!1;break}if(m){if(!tM(t,function(w,T){if(!rM(m,T)&&(g===w||o(g,w,r,n,i)))return m.push(T)})){d=!1;break}}else if(!(g===v||o(g,v,r,n,i))){d=!1;break}}return i.delete(e),i.delete(t),d}var Up=iM,aM=kt,sM=aM.Uint8Array,lM=sM;function cM(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}var uM=cM;function dM(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var fM=dM,_u=io,xu=lM,pM=Gs,hM=Up,mM=uM,gM=fM,vM=1,yM=2,bM="[object Boolean]",_M="[object Date]",xM="[object Error]",wM="[object Map]",CM="[object Number]",TM="[object RegExp]",EM="[object Set]",SM="[object String]",RM="[object Symbol]",OM="[object ArrayBuffer]",MM="[object DataView]",wu=_u?_u.prototype:void 0,ga=wu?wu.valueOf:void 0;function PM(e,t,r,n,o,i,a){switch(r){case MM:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case OM:return!(e.byteLength!=t.byteLength||!i(new xu(e),new xu(t)));case bM:case _M:case CM:return pM(+e,+t);case xM:return e.name==t.name&&e.message==t.message;case TM:case SM:return e==t+"";case wM:var s=mM;case EM:var c=n&vM;if(s||(s=gM),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;n|=yM,a.set(e,t);var p=hM(s(e),s(t),n,o,i,a);return a.delete(e),p;case RM:if(ga)return ga.call(e)==ga.call(t)}return!1}var DM=PM,kM=Op,IM=tt;function AM(e,t,r){var n=t(e);return IM(e)?n:kM(n,r(e))}var NM=AM;function $M(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 LM=$M;function FM(){return[]}var BM=FM,HM=LM,jM=BM,WM=Object.prototype,zM=WM.propertyIsEnumerable,Cu=Object.getOwnPropertySymbols,VM=Cu?function(e){return e==null?[]:(e=Object(e),HM(Cu(e),function(t){return zM.call(e,t)}))}:jM,UM=VM,qM=NM,GM=UM,YM=al;function KM(e){return qM(e,YM,GM)}var XM=KM,Tu=XM,QM=1,ZM=Object.prototype,JM=ZM.hasOwnProperty;function e5(e,t,r,n,o,i){var a=r&QM,s=Tu(e),c=s.length,u=Tu(t),p=u.length;if(c!=p&&!a)return!1;for(var h=c;h--;){var d=s[h];if(!(a?d in t:JM.call(t,d)))return!1}var m=i.get(e),g=i.get(t);if(m&&g)return m==t&&g==e;var v=!0;i.set(e,t),i.set(t,e);for(var y=a;++h<c;){d=s[h];var w=e[d],T=t[d];if(n)var _=a?n(T,w,d,t,e,i):n(w,T,d,e,t,i);if(!(_===void 0?w===T||o(w,T,r,n,i):_)){v=!1;break}y||(y=d=="constructor")}if(v&&!y){var x=e.constructor,b=t.constructor;x!=b&&"constructor"in e&&"constructor"in t&&!(typeof x=="function"&&x instanceof x&&typeof b=="function"&&b instanceof b)&&(v=!1)}return i.delete(e),i.delete(t),v}var t5=e5,r5=vr,n5=kt,o5=r5(n5,"DataView"),i5=o5,a5=vr,s5=kt,l5=a5(s5,"Promise"),c5=l5,u5=vr,d5=kt,f5=u5(d5,"Set"),p5=f5,h5=vr,m5=kt,g5=h5(m5,"WeakMap"),v5=g5,Ya=i5,Ka=Ys,Xa=c5,Qa=p5,Za=v5,qp=Yr,tn=xp,Eu="[object Map]",y5="[object Object]",Su="[object Promise]",Ru="[object Set]",Ou="[object WeakMap]",Mu="[object DataView]",b5=tn(Ya),_5=tn(Ka),x5=tn(Xa),w5=tn(Qa),C5=tn(Za),sr=qp;(Ya&&sr(new Ya(new ArrayBuffer(1)))!=Mu||Ka&&sr(new Ka)!=Eu||Xa&&sr(Xa.resolve())!=Su||Qa&&sr(new Qa)!=Ru||Za&&sr(new Za)!=Ou)&&(sr=function(e){var t=qp(e),r=t==y5?e.constructor:void 0,n=r?tn(r):"";if(n)switch(n){case b5:return Mu;case _5:return Eu;case x5:return Su;case w5:return Ru;case C5:return Ou}return t});var Gp=sr,va=Vp,T5=Up,E5=DM,S5=t5,Pu=Gp,Du=tt,ku=ol,R5=il,O5=1,Iu="[object Arguments]",Au="[object Array]",Do="[object Object]",M5=Object.prototype,Nu=M5.hasOwnProperty;function P5(e,t,r,n,o,i){var a=Du(e),s=Du(t),c=a?Au:Pu(e),u=s?Au:Pu(t);c=c==Iu?Do:c,u=u==Iu?Do:u;var p=c==Do,h=u==Do,d=c==u;if(d&&ku(e)){if(!ku(t))return!1;a=!0,p=!1}if(d&&!p)return i||(i=new va),a||R5(e)?T5(e,t,r,n,o,i):E5(e,t,c,r,n,o,i);if(!(r&O5)){var m=p&&Nu.call(e,"__wrapped__"),g=h&&Nu.call(t,"__wrapped__");if(m||g){var v=m?e.value():e,y=g?t.value():t;return i||(i=new va),o(v,y,r,n,i)}}return d?(i||(i=new va),S5(e,t,r,n,o,i)):!1}var D5=P5,k5=D5,$u=Kr;function Yp(e,t,r,n,o){return e===t?!0:e==null||t==null||!$u(e)&&!$u(t)?e!==e&&t!==t:k5(e,t,r,n,Yp,o)}var Kp=Yp,I5=Vp,A5=Kp,N5=1,$5=2;function L5(e,t,r,n){var o=r.length,i=o,a=!n;if(e==null)return!i;for(e=Object(e);o--;){var s=r[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=r[o];var c=s[0],u=e[c],p=s[1];if(a&&s[2]){if(u===void 0&&!(c in e))return!1}else{var h=new I5;if(n)var d=n(u,p,c,e,t,h);if(!(d===void 0?A5(p,u,N5|$5,n,h):d))return!1}}return!0}var F5=L5,B5=ao;function H5(e){return e===e&&!B5(e)}var Xp=H5,j5=Xp,W5=al;function z5(e){for(var t=W5(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,j5(o)]}return t}var V5=z5;function U5(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Qp=U5,q5=F5,G5=V5,Y5=Qp;function K5(e){var t=G5(e);return t.length==1&&t[0][2]?Y5(t[0][0],t[0][1]):function(r){return r===e||q5(r,e,t)}}var X5=K5,Q5=Qs;function Z5(e,t,r){var n=e==null?void 0:Q5(e,t);return n===void 0?r:n}var J5=Z5,eP=Kp,tP=J5,rP=Rp,nP=qs,oP=Xp,iP=Qp,aP=so,sP=1,lP=2;function cP(e,t){return nP(e)&&oP(t)?iP(aP(e),t):function(r){var n=tP(r,e);return n===void 0&&n===t?rP(r,e):eP(t,n,sP|lP)}}var uP=cP;function dP(e){return function(t){return t==null?void 0:t[e]}}var fP=dP,pP=Qs;function hP(e){return function(t){return pP(t,e)}}var mP=hP,gP=fP,vP=mP,yP=qs,bP=so;function _P(e){return yP(e)?gP(bP(e)):vP(e)}var xP=_P,wP=X5,CP=uP,TP=el,EP=tt,SP=xP;function RP(e){return typeof e=="function"?e:e==null?TP:typeof e=="object"?EP(e)?CP(e[0],e[1]):wP(e):SP(e)}var Zp=RP,OP=sl,MP=$i;function PP(e,t){var r=-1,n=MP(e)?Array(e.length):[];return OP(e,function(o,i,a){n[++r]=t(o,i,a)}),n}var DP=PP,kP=Cp,IP=Zp,AP=DP,NP=tt;function $P(e,t){var r=NP(e)?kP:AP;return r(e,IP(t))}var Jp=$P,Xt={};function LP(e,t,r,n){var o=-1,i=e==null?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}var FP=LP;function BP(e,t,r,n,o){return o(e,function(i,a,s){r=n?(n=!1,i):t(r,i,a,s)}),r}var HP=BP,jP=FP,WP=sl,zP=Zp,VP=HP,UP=tt;function qP(e,t,r){var n=UP(e)?jP:VP,o=arguments.length<3;return n(e,zP(t),r,o,WP)}var GP=qP;Object.defineProperty(Xt,"__esModule",{value:!0});Xt.sumPropWidths=KP;Xt.getTotalWidth=XP;Xt.getTotalFlexGrow=QP;var ul=YP(GP);function YP(e){return e&&e.__esModule?e:{default:e}}function KP(e){return(0,ul.default)(e,function(t,r){return t+r.props.width},0)}function XP(e){return(0,ul.default)(e,function(t,r){return t+r.width},0)}function QP(e){return(0,ul.default)(e,function(t,r){return t+(r.flexGrow||0)},0)}var rn={},Li={},Fi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i){return n<o?o:n>i?i:n}var r=t;e.default=r})(Fi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ScrollbarState=void 0;var t=o(Fi),r=o(yr),n=Xt;function o(m){return m&&m.__esModule?m:{default:m}}var i=1,a=3,s=6,c={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};e.ScrollbarState=c;function u(m,g,v,y,w,T,_){var x=g.cellGroupWrapperHeight,b=g.footerHeight,C=g.headerHeight,S=g.groupHeaderHeight,O=x?0:2*i,M=b+C+S+O,D=w.height,R=w.maxHeight,E=w.useMaxHeight,I=w.width,A=Math.round(E?R:D),P=A-M,N=p(m,y,I,_),B=P,H=P;switch(N){case c.VISIBLE:{B-=T,H-=T;break}case c.JOINT_SCROLLBARS:{B-=T;break}}return{bufferRowCount:h(H,v),minAvailableHeight:Math.max(B,0),maxAvailableHeight:Math.max(H,0),reservedHeight:M,scrollStateX:N}}function p(m,g,v,y){var w=g.overflowX,T=g.showScrollbarX,_=(0,n.getTotalWidth)(m);return w==="hidden"||T===!1?c.HIDDEN:_>v?c.VISIBLE:_>v-y?c.JOINT_SCROLLBARS:c.HIDDEN}function h(m,g){var v=g.bufferRowCount,y=g.rowHeight,w=g.subRowHeight;if(v!==void 0)return console.log("buffer set: "+v),v;var T=y+w,_=Math.ceil(m/T)+1;return(0,t.default)(Math.floor(_/2),a,s)}var d=(0,r.default)([function(m){return m.columnProps},function(m){return m.elementHeights},function(m){return m.rowSettings},function(m){return m.scrollFlags},function(m){return m.tableSize},function(m){return m.scrollbarXHeight},function(m){return m.scrollbarYWidth}],u);e.default=d})(Li);(function(e){function t(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(h){return typeof h}:t=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},t(u)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(yr),n=i(Li);function o(u){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(o=function(m){return m?h:p})(u)}function i(u,p){if(u&&u.__esModule)return u;if(u===null||t(u)!=="object"&&typeof u!="function")return{default:u};var h=o(p);if(h&&h.has(u))return h.get(u);var d={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in u)if(g!=="default"&&Object.prototype.hasOwnProperty.call(u,g)){var v=m?Object.getOwnPropertyDescriptor(u,g):null;v&&(v.get||v.set)?Object.defineProperty(d,g,v):d[g]=u[g]}return d.default=u,h&&h.set(u,d),d}function a(u){return u&&u.__esModule?u:{default:u}}function s(u,p,h){var d=h.overflowY,m=h.showScrollbarY,g=d!=="hidden"&&m!==!1,v=u.minAvailableHeight,y=u.maxAvailableHeight,w=u.scrollStateX,T=!1,_=!1;w===n.ScrollbarState.VISIBLE&&(_=!0),g&&p>y&&(T=!0),T&&w===n.ScrollbarState.JOINT_SCROLLBARS&&(_=!0);var x=y;return _&&(x=v),{availableHeight:x,scrollEnabledX:_,scrollEnabledY:T}}var c=(0,r.default)([n.default,function(u){return u.scrollContentHeight},function(u){return u.scrollFlags}],s);e.default=c})(rn);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(ll),r=a(Jp),n=a(yr),o=Xt,i=a(rn);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function c(d,m,g,v,y){var w=g?y:0,T=v-w,_=u(d,m,T),x=_.newColumnGroupProps,b=_.newColumnProps,C=p(b),S=C.fixedColumns,O=C.fixedRightColumns,M=C.scrollableColumns,D=T-(0,o.getTotalWidth)(S)-(0,o.getTotalWidth)(O),R=Math.max(0,(0,o.getTotalWidth)(b)-T);return{columnGroupProps:x,columnProps:b,availableScrollWidth:D,fixedColumns:S,fixedRightColumns:O,scrollableColumns:M,maxScrollX:R}}function u(d,m,g){var v=m,y=(0,o.getTotalFlexGrow)(m);if(y!==0){var w=(0,o.getTotalWidth)(m),T=Math.max(g-w,0);v=(0,r.default)(m,function(b){var C=b.flexGrow;if(!C)return b;var S=Math.floor(C*T/y),O=b.width+S;return y-=C,T-=S,s({},b,{width:O})})}var _=(0,r.default)(d,function(){return 0});(0,t.default)(v,function(b){b.groupIdx!==void 0&&(_[b.groupIdx]+=b.width)});var x=(0,r.default)(d,function(b,C){return _[C]===b.width?b:s({},b,{width:_[C]})});return{newColumnGroupProps:x,newColumnProps:v}}function p(d){var m=[],g=[],v=[];return(0,t.default)(d,function(y){var w=v;y.fixed?w=m:y.fixedRight&&(w=g),w.push(y)}),{fixedColumns:m,fixedRightColumns:g,scrollableColumns:v}}var h=(0,n.default)([function(d){return d.columnGroupProps},function(d){return d.columnProps},function(d){return(0,i.default)(d).scrollEnabledY},function(d){return d.tableSize.width},function(d){return d.scrollbarYWidth}],c);e.default=h})(cl);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ll),r=o(yr),n=o(cl);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,c){var u=s.columnGroupProps,p=s.columnProps,h=[],d=[],m=[];(0,t.default)(u,function(w,T){var _={props:w,template:c.groupHeader[T]};w.fixed?h.push(_):w.fixedRight?d.push(_):m.push(_)});var g={cell:[],header:[],footer:[]},v={cell:[],header:[],footer:[]},y={cell:[],header:[],footer:[]};return(0,t.default)(p,function(w,T){var _=y;w.fixed?_=g:w.fixedRight&&(_=v),_.cell.push({props:w,template:c.cell[T]}),_.header.push({props:w,template:c.header[T]}),_.footer.push({props:w,template:c.footer[T]})}),{fixedColumnGroups:h,fixedColumns:g,fixedRightColumnGroups:d,fixedRightColumns:v,scrollableColumnGroups:m,scrollableColumns:y}}var a=(0,r.default)([function(s){return(0,n.default)(s)},function(s){return s.elementTemplates}],i);e.default=a})(jp);var dl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(yr),r=o(Li),n=o(rn);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,c,u,p,h,d,m){var g=h.availableHeight,v=h.scrollEnabledX,y=u;v&&(y+=m);var w=Math.min(g,p),T=d?w:g,_=T+y,x=T;c<_&&(x=c-y);var b=d?p:Math.max(p,g),C=b+y;c&&(C=Math.max(c,C));var S=s.footerHeight,O=s.groupHeaderHeight,M=s.headerHeight,D=O+M,R=D+x,E=R+S,I=Math.max(0,R-D);return{bodyHeight:w,bodyOffsetTop:D,componentHeight:_,contentHeight:C,footOffsetTop:R,scrollbarXOffsetTop:E,scrollbarYHeight:I,visibleRowsHeight:x}}var a=(0,t.default)([function(s){return s.elementHeights},function(s){return s.tableSize.ownerHeight},function(s){return(0,r.default)(s).reservedHeight},function(s){return s.scrollContentHeight},n.default,function(s){return s.tableSize.useMaxHeight},function(s){return s.scrollbarXHeight}],i);e.default=a})(dl);var e0={},Bi={},t0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Kt);function r(i){return i&&i.__esModule?i:{default:i}}var n={listen:function(a,s,c){if(a.addEventListener)return a.addEventListener(s,c,!1),{remove:function(){a.removeEventListener(s,c,!1)}};if(a.attachEvent)return a.attachEvent("on"+s,c),{remove:function(){a.detachEvent("on"+s,c)}}},capture:function(a,s,c){return a.addEventListener?(a.addEventListener(s,c,!0),{remove:function(){a.removeEventListener(s,c,!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:t.default})},registerDefault:function(){}},o=n;e.default=o})(t0);var r0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Jr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.cancelAnimationFrame||t.default.webkitCancelAnimationFrame||t.default.mozCancelAnimationFrame||t.default.oCancelAnimationFrame||t.default.msCancelAnimationFrame||t.default.clearTimeout,o=n;e.default=o})(r0);var Hi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){var i=0,a=0;if(!o.clientX||!o.clientY){if(o.touches&&o.touches.length>0){var s=o.touches[0];i=s.clientX,a=s.clientY}}else i=o.clientX,a=o.clientY;return{x:i,y:a}}var r={getCoordinatesFromEvent:t},n=r;e.default=n})(Hi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(t0),r=i(r0),n=i(Ni),o=i(Hi);function i(h){return h&&h.__esModule?h:{default:h}}function a(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function s(h,d){for(var m=0;m<d.length;m++){var g=d[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function c(h,d,m){return d&&s(h.prototype,d),h}var u=function(){function h(d,m,g,v){a(this,h),this._isDragging=!1,this._isTouchEnabled=v,this._animationFrameID=null,this._domNode=g,this._onMove=d,this._onMoveEnd=m,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 c(h,[{key:"captureMouseMoves",value:function(m){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=t.default.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=t.default.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=t.default.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=t.default.listen(this._domNode,"touchstart",this._onMouseMove),this._eventTouchMoveToken=t.default.listen(this._domNode,"touchmove",this._onMouseMove),this._eventTouchEndToken=t.default.listen(this._domNode,"touchend",this._onMouseUp)),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._x=v,this._y=y}m.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&&((0,r.default)(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(m){var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._deltaX+=v-this._x,this._deltaY+=y-this._y,this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didMouseMove)),this._x=v,this._y=y,m.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)}}]),h}(),p=u;e.default=p})(Bi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(Fi),i=s(mt),a=s(Bi);function s(b){return b&&b.__esModule?b:{default:b}}function c(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function u(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&u(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){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(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function T(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;c(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),T(v(O),"state",{width:0,cursorDelta:0}),T(v(O),"_onMove",function(E){O.props.isRTL&&(E=-E);var I=O.state.cursorDelta+E,A=(0,o.default)(I,O.props.minWidth,O.props.maxWidth);O.setState({width:A,cursorDelta:I})}),T(v(O),"_onColumnResizeEnd",function(){O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.onColumnResizeEnd(O.state.width,O.props.columnKey)}),O}return p(S,[{key:"componentDidUpdate",value:function(){this.props.initialEvent&&!this._mouseMoveTracker.isDragging()&&(this._mouseMoveTracker.captureMouseMoves(this.props.initialEvent),this.setState({width:this.props.initialWidth,cursorDelta:this.props.initialWidth}))}},{key:"componentDidMount",value:function(){this._mouseMoveTracker=new a.default(this._onMove,this._onColumnResizeEnd,document.body,this.props.touchEnabled)}},{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={width:this.state.width,height:this.props.height};return this.props.isRTL?M.right=this.props.leftOffset:M.left=this.props.leftOffset,r.default.createElement("div",{className:(0,i.default)({"fixedDataTableColumnResizerLineLayout/main":!0,"fixedDataTableColumnResizerLineLayout/hiddenElem":!this.props.visible,"public/fixedDataTableColumnResizerLine/main":!0}),style:M},r.default.createElement("div",{className:(0,i.default)("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}}))}}]),S}(r.default.PureComponent);T(_,"propTypes",{visible:n.default.bool.isRequired,height:n.default.number.isRequired,leftOffset:n.default.number.isRequired,knobHeight:n.default.number.isRequired,initialWidth:n.default.number,minWidth:n.default.number,maxWidth:n.default.number,initialEvent:n.default.object,onColumnResizeEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(e0);var n0={};function ZP(e,t){return e==null||e!==e?t:e}var JP=ZP,eD=Math.max,tD=Math.min;function rD(e,t,r){return e>=tD(t,r)&&e<eD(t,r)}var nD=rD,oD=/\s/;function iD(e){for(var t=e.length;t--&&oD.test(e.charAt(t)););return t}var aD=iD,sD=aD,lD=/^\s+/;function cD(e){return e&&e.slice(0,sD(e)+1).replace(lD,"")}var uD=cD,dD=uD,Lu=ao,fD=Si,Fu=NaN,pD=/^[-+]0x[0-9a-f]+$/i,hD=/^0b[01]+$/i,mD=/^0o[0-7]+$/i,gD=parseInt;function vD(e){if(typeof e=="number")return e;if(fD(e))return Fu;if(Lu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Lu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=dD(e);var r=hD.test(e);return r||mD.test(e)?gD(e.slice(2),r?2:8):pD.test(e)?Fu:+e}var fl=vD,yD=fl,Bu=1/0,bD=17976931348623157e292;function _D(e){if(!e)return e===0?e:0;if(e=yD(e),e===Bu||e===-Bu){var t=e<0?-1:1;return t*bD}return e===e?e:0}var xD=_D,wD=nD,Hu=xD,CD=fl;function TD(e,t,r){return t=Hu(t),r===void 0?(r=t,t=0):r=Hu(r),e=CD(e),wD(e,t,r)}var ED=TD;function SD(e){return e==null}var o0=SD,pl={},i0={},a0={},hl={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(Yt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var E in R)Object.prototype.hasOwnProperty.call(R,E)&&(M[E]=R[E])}return M},s.apply(this,arguments)}function c(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(M);D&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(M,I).enumerable})),R.push.apply(R,E)}return R}function u(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?c(Object(R),!0).forEach(function(E){C(M,E,R[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):c(Object(R)).forEach(function(E){Object.defineProperty(M,E,Object.getOwnPropertyDescriptor(R,E))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),E,I;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(M);for(I=0;I<A.length;I++)E=A[I],!(D.indexOf(E)>=0)&&Object.prototype.propertyIsEnumerable.call(M,E)&&(R[E]=M[E])}return R}function h(M,D){if(M==null)return{};var R={},E=Object.keys(M),I,A;for(A=0;A<E.length;A++)I=E[A],!(D.indexOf(I)>=0)&&(R[I]=M[I]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var E=D[R];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(M,E.key,E)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(E,I){return E.__proto__=I,E},y(M,D)}function w(M){var D=x();return function(){var E=b(M),I;if(D){var A=b(this).constructor;I=Reflect.construct(E,arguments,A)}else I=E.apply(this,arguments);return T(this,I)}}function T(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}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(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var I=this.props,A=I.height,P=I.width,N=I.style,B=I.className,H=I.children,L=p(I,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=u({height:A,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap1"),(0,o.default)("public/fixedDataTableCell/wrap1"),B),style:k}),r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap2"),(0,o.default)("public/fixedDataTableCell/wrap2"))},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap3"),(0,o.default)("public/fixedDataTableCell/wrap3"))},r.default.createElement("div",{className:(0,o.default)("public/fixedDataTableCell/cellContent")},H))))}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(hl);var s0={};(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(mt),i=s(Bi),a=s(Hi);function s(b){return b&&b.__esModule?b:{default:b}}function c(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function u(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&u(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){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(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function T(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;c(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),T(v(O),"state",{dragDistance:0}),T(v(O),"onMouseDown",function(E){var I=E.target.getBoundingClientRect(),A=a.default.getCoordinatesFromEvent(E),P=A.x-I.left,N=P+E.target.parentElement.offsetLeft;O._mouseMoveTracker=new i.default(O._onMove,O._onColumnReorderEnd,document.body,O.props.touchEnabled),O._mouseMoveTracker.captureMouseMoves(E),O.setState({dragDistance:0}),O.props.onMouseDown({columnKey:O.props.columnKey,mouseLocation:{dragDistance:0,inElement:P,inColumnGroup:N}}),O._distance=0,O._animating=!0,O.frameId=requestAnimationFrame(O._updateState),O.props.touchEnabled&&E.stopPropagation()}),T(v(O),"_onMove",function(E){O._distance=O.state.dragDistance+E*(O.props.isRTL?-1:1)}),T(v(O),"_onColumnReorderEnd",function(E){O._animating=!1,cancelAnimationFrame(O.frameId),O.frameId=null,O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.columnReorderingData.cancelReorder=E,O.props.onColumnReorderEnd()}),T(v(O),"_updateState",function(){O._animating&&(O.frameId=requestAnimationFrame(O._updateState)),O.setState({dragDistance:O._distance}),O.props.onColumnReorderMove(O._distance)}),O}return p(S,[{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(cancelAnimationFrame(this.frameId),this.frameId=null,this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={height:this.props.height};return r.default.createElement("div",{className:(0,o.default)({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),onMouseDown:this.onMouseDown,onTouchStart:this.props.touchEnabled?this.onMouseDown:null,onTouchEnd:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,onTouchMove:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,style:M})}}]),S}(r.default.PureComponent);T(_,"propTypes",{onColumnReorderEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(s0);function l0(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function c0(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function u0(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}}l0.__suppressDeprecationWarning=!0;c0.__suppressDeprecationWarning=!0;u0.__suppressDeprecationWarning=!0;function RD(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.
235
-
236
- `+i+" uses "+a+" but also contains the following legacy lifecycles:"+(r!==null?`
237
- `+r:"")+(n!==null?`
238
- `+n:"")+(o!==null?`
239
- `+o:"")+`
240
-
241
- The above lifecycles should be removed. Learn more about this warning here:
242
- https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=l0,t.componentWillReceiveProps=c0),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=u0;var s=t.componentDidUpdate;t.componentDidUpdate=function(u,p,h){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:h;s.call(this,u,p,d)}}return e}const OD=Object.freeze(Object.defineProperty({__proto__:null,polyfill:RD},Symbol.toStringTag,{value:"Module"})),d0=l.getAugmentedNamespace(OD);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=p(F),n=p(Ye),o=p(mt),i=p(Yt),a=p(lo),s=p(hl),c=p(s0),u=d0;function p(R){return R&&R.__esModule?R:{default:R}}function h(){return h=Object.assign||function(R){for(var E=1;E<arguments.length;E++){var I=arguments[E];for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&(R[A]=I[A])}return R},h.apply(this,arguments)}function d(R,E){if(R==null)return{};var I=m(R,E),A,P;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(R);for(P=0;P<N.length;P++)A=N[P],!(E.indexOf(A)>=0)&&Object.prototype.propertyIsEnumerable.call(R,A)&&(I[A]=R[A])}return I}function m(R,E){if(R==null)return{};var I={},A=Object.keys(R),P,N;for(N=0;N<A.length;N++)P=A[N],!(E.indexOf(P)>=0)&&(I[P]=R[P]);return I}function g(R,E){if(!(R instanceof E))throw new TypeError("Cannot call a class as a function")}function v(R,E){for(var I=0;I<E.length;I++){var A=E[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(R,A.key,A)}}function y(R,E,I){return E&&v(R.prototype,E),I&&v(R,I),R}function w(R,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(E&&E.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),E&&T(R,E)}function T(R,E){return T=Object.setPrototypeOf||function(A,P){return A.__proto__=P,A},T(R,E)}function _(R){var E=C();return function(){var A=S(R),P;if(E){var N=S(this).constructor;P=Reflect.construct(A,arguments,N)}else P=A.apply(this,arguments);return x(this,P)}}function x(R,E){return E&&(t(E)==="object"||typeof E=="function")?E:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){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(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},S(R)}function O(R,E,I){return E in R?Object.defineProperty(R,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[E]=I,R}var M=function(R){w(I,R);var E=_(I);function I(){var A;g(this,I);for(var P=arguments.length,N=new Array(P),B=0;B<P;B++)N[B]=arguments[B];return A=E.call.apply(E,[this].concat(N)),O(b(A),"state",{isReorderingThisColumn:!1,displacement:0,reorderingDisplacement:0}),O(b(A),"_onColumnResizerMouseDown",function(H){A.props.onColumnResize(A.props.left,A.props.width,A.props.minWidth,A.props.maxWidth,A.props.columnKey,H),A.props.touchEnabled&&(H.preventDefault(),H.stopPropagation())}),O(b(A),"_onColumnReorderMouseDown",function(H){A.props.onColumnReorder(A.props.columnKey,A.props.width,A.props.left,H)}),O(b(A),"_suppressEvent",function(H){H.preventDefault(),H.stopPropagation()}),A}return y(I,[{key:"shouldComponentUpdate",value:function(P){if(P.isScrolling&&this.props.rowIndex===P.rowIndex&&this.props.isVisible===P.isVisible)return!1;if(!P.pureRendering)return!0;var N=this.props,B=N.cell,H=d(N,["cell"]),L=P.cell,k=d(P,["cell"]);return!(0,a.default)(H,k)||!B||!L||B.type!==L.type||!(0,a.default)(B.props,L.props)}},{key:"render",value:function(){var P=this.props,N=P.height,B=P.width,H=P.isVisible,L=P.columnKey,k=P.isHeaderOrFooter,$=d(P,["height","width","isVisible","columnKey","isHeaderOrFooter"]),V={height:N,width:B};if(this.props.isRTL?V.right=$.left:V.left=$.left,this.state.isReorderingThisColumn){var j=this.props.isRTL?-1:1;V.transform="translateX(".concat(this.state.displacement*j,"px) translateZ(0)"),V.zIndex=1}var z=(0,i.default)((0,o.default)({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":$.lastChild,"fixedDataTableCellLayout/alignRight":$.align==="right","fixedDataTableCellLayout/alignCenter":$.align==="center","public/fixedDataTableCell/alignRight":$.align==="right","public/fixedDataTableCell/highlighted":$.highlighted,"public/fixedDataTableCell/main":!0,"public/fixedDataTableCell/hasReorderHandle":!!$.onColumnReorder,"public/fixedDataTableCell/reordering":this.state.isReorderingThisColumn}),$.className),U;if($.onColumnResize){var Y={height:N};U=r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellLayout/columnResizerContainer"),style:Y,onMouseDown:this._onColumnResizerMouseDown,onTouchStart:this.props.touchEnabled?this._onColumnResizerMouseDown:null,onTouchEnd:this.props.touchEnabled?this._suppressEvent:null,onTouchMove:this.props.touchEnabled?this._suppressEvent:null},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/columnResizerKnob"),(0,o.default)("public/fixedDataTableCell/columnResizerKnob")),style:Y}))}var X;$.onColumnReorder&&(X=r.default.createElement(c.default,h({columnKey:this.columnKey,touchEnabled:this.props.touchEnabled,onMouseDown:this._onColumnReorderMouseDown,onTouchStart:this._onColumnReorderMouseDown,height:N},this.props)));var K={columnKey:L,height:N,width:B,isVisible:H};$.rowIndex>=0&&(K.rowIndex=$.rowIndex);var Q;r.default.isValidElement($.cell)?Q=r.default.cloneElement($.cell,K):typeof $.cell=="function"?Q=$.cell(K):Q=r.default.createElement(s.default,K,$.cell);var ee=k?"columnheader":"gridcell";return r.default.createElement("div",{className:z,style:V,role:ee},U,X,Q)}}],[{key:"getDerivedStateFromProps",value:function(P,N){var B=P.left+N.displacement,H={isReorderingThisColumn:!1};if(!P.isColumnReordering)return H.displacement=0,H;var L=P.columnReorderingData.originalLeft,k=L+P.columnReorderingData.dragDistance,$=P.columnGroupWidth-P.columnReorderingData.columnWidth;if(k=Math.max(k,0),k=Math.min(k,$),P.columnKey===P.columnReorderingData.columnKey)return H.displacement=k-P.left,H.isReorderingThisColumn=!0,H;var V=k+P.columnReorderingData.columnWidth,j=k+P.columnReorderingData.columnWidth/2,z=B+P.width/2,U=j>z,Y=L>P.left,X=!1;return U?k<z&&(X=!0,Y?H.displacement=P.columnReorderingData.columnWidth:H.displacement=0):V>z&&(X=!0,Y?H.displacement=0:H.displacement=P.columnReorderingData.columnWidth*-1),X?U?P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey):P.columnReorderingData.columnBefore=P.columnKey:U?P.columnReorderingData.columnBefore=P.columnKey:P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey),H}}]),I}(r.default.Component);O(M,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,align:n.default.oneOf(["left","center","right"]),className:n.default.string,highlighted:n.default.bool,width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,height:n.default.number.isRequired,cell:n.default.oneOfType([n.default.string,n.default.element,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number.isRequired,onColumnResize:n.default.func,onColumnReorder:n.default.func,left:n.default.number,pureRendering:n.default.bool,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired}),O(M,"defaultProps",{align:"left",highlighted:!1});var D=(0,u.polyfill)(M);e.default=D})(a0);var co={},ml={},gl={},f0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=/-(.)/g;function r(o){return o.replace(t,function(i,a){return a.toUpperCase()})}var n=r;e.default=n})(f0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Gr),r=o(nl),n=o(f0);function o(d){return d&&d.__esModule?d:{default:d}}var i={},a=["Webkit","ms","Moz","O"],s=new RegExp("^("+a.join("|")+")"),c=r.default.canUseDOM?document.createElement("div").style:{};function u(d){for(var m=0;m<a.length;m++){var g=a[m]+d;if(g in c)return g}return null}function p(d){var m=(0,n.default)(d);if(i[m]===void 0){var g=m.charAt(0).toUpperCase()+m.slice(1);s.test(g)&&(0,t.default)(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",d),i[m]=m in c?m:u(g)}return i[m]}var h=p;e.default=h})(gl);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(gl);function r(i){return i&&i.__esModule?i:{default:i}}var n={hasCSSAnimations:function(){return!!(0,t.default)("animationName")},hasCSSTransforms:function(){return!!(0,t.default)("transform")},hasCSS3DTransforms:function(){return!!(0,t.default)("perspective")},hasCSSTransitions:function(){return!!(0,t.default)("transition")}},o=n;e.default=o})(ml);var p0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(ml),r=o(gl),n=o(Jr);function o(c){return c&&c.__esModule?c:{default:c}}var i=(0,r.default)("transform");(0,r.default)("backfaceVisibility");var a=function(){if(t.default.hasCSSTransforms()){var c=n.default.window?n.default.window.navigator.userAgent:"UNKNOWN",u=/Safari\//.test(c)&&!/Chrome\//.test(c);return!u&&t.default.hasCSS3DTransforms()?function(p,h,d){p[i]="translate3d("+h+"px,"+d+"px,0)"}:function(p,h,d){p[i]="translate("+h+"px,"+d+"px)"}}else return function(p,h,d){p.left=h+"px",p.top=d+"px"}}(),s=a;e.default=s})(p0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ml),r=n(p0);function n(a){return a&&a.__esModule?a:{default:a}}function o(a,s,c){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;a.display!=="none"&&(u?(a.left=s+"px",a.top=c+"px"):(t.default.hasCSSTransforms()&&(s*=p?-1:1),(0,r.default)(a,s,c)),p&&(a.right=a.left,a.left="auto"))}var i=o;e.default=i})(co);(function(e){function t(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(E){return typeof E}:t=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},t(D)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(F),n=c(Ye),o=c(mt),i=Xt,a=c(a0),s=c(co);function c(D){return D&&D.__esModule?D:{default:D}}function u(){return u=Object.assign||function(D){for(var R=1;R<arguments.length;R++){var E=arguments[R];for(var I in E)Object.prototype.hasOwnProperty.call(E,I)&&(D[I]=E[I])}return D},u.apply(this,arguments)}function p(D,R){if(D==null)return{};var E=h(D,R),I,A;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(D);for(A=0;A<P.length;A++)I=P[A],!(R.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(D,I)&&(E[I]=D[I])}return E}function h(D,R){if(D==null)return{};var E={},I=Object.keys(D),A,P;for(P=0;P<I.length;P++)A=I[P],!(R.indexOf(A)>=0)&&(E[A]=D[A]);return E}function d(D,R){if(!(D instanceof R))throw new TypeError("Cannot call a class as a function")}function m(D,R){for(var E=0;E<R.length;E++){var I=R[E];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(D,I.key,I)}}function g(D,R,E){return R&&m(D.prototype,R),D}function v(D,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(R&&R.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),R&&y(D,R)}function y(D,R){return y=Object.setPrototypeOf||function(I,A){return I.__proto__=A,I},y(D,R)}function w(D){var R=x();return function(){var I=b(D),A;if(R){var P=b(this).constructor;A=Reflect.construct(I,arguments,P)}else A=I.apply(this,arguments);return T(this,A)}}function T(D,R){return R&&(t(R)==="object"||typeof R=="function")?R:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}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(D){return!1}}function b(D){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(E){return E.__proto__||Object.getPrototypeOf(E)},b(D)}function C(D,R,E){return R in D?Object.defineProperty(D,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):D[R]=E,D}var S=function(D){v(E,D);var R=w(E);function E(I){var A;return d(this,E),A=R.call(this,I),C(_(A),"_renderCell",function(P,N,B,H,L,k,$,V,j){var z=B.isResizable&&A.props.onColumnResize,U=z?A.props.onColumnResize:null,Y=B.isReorderable&&A.props.onColumnReorder&&P===-1&&$!==B.width,X=Y?A.props.onColumnReorder:null,K=B.cellClassName,Q=B.pureRendering||!1;return r.default.createElement(a.default,{isScrolling:A.props.isScrolling,isHeaderOrFooter:A.props.isHeaderOrFooter,align:B.align,className:K,height:N,key:k,maxWidth:B.maxWidth,minWidth:B.minWidth,touchEnabled:A.props.touchEnabled,onColumnResize:U,onColumnReorder:X,onColumnReorderMove:A.props.onColumnReorderMove,onColumnReorderEnd:A.props.onColumnReorderEnd,isColumnReordering:V,columnReorderingData:A.props.columnReorderingData,rowIndex:P,columnKey:B.columnKey,width:B.width,left:L,cell:H,columnGroupWidth:$,pureRendering:Q,isRTL:A.props.isRTL,isVisible:A.props.isVisible&&j})}),A._initialRender=!0,A}return g(E,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var A=this.props,P=A.columns,N=new Array(P.length),B=(0,i.sumPropWidths)(P),H=A.isColumnReordering&&P.reduce(function(K,Q){return K||A.columnReorderingData.columnKey===Q.props.columnKey},!1),L=0,k=0,$=P.length;k<$;k++){var V=P[k].props,j=P[k].template,z=V.allowCellsRecycling&&!H,U=L-A.left<=A.width&&L-A.left+V.width>=0;if(!z||U){var Y=V.columnKey||"cell_"+k;N[k]=this._renderCell(A.rowIndex,A.rowHeight,V,j,L,Y,B,H,U)}L+=V.width}var X={height:A.height,position:"absolute",width:B,zIndex:A.zIndex};return(0,s.default)(X,-1*A.left,0,this._initialRender,this.props.isRTL),r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroup"),style:X},N)}}]),E}(r.default.Component);C(S,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:n.default.array.isRequired,isScrolling:n.default.bool,left:n.default.number,onColumnResize:n.default.func,onColumnReorder:n.default.func,onColumnReorderMove:n.default.func,onColumnReorderEnd:n.default.func,height:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,rowHeight:n.default.number.isRequired,rowIndex:n.default.number.isRequired,width:n.default.number.isRequired,zIndex:n.default.number.isRequired,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired});var O=function(D){v(E,D);var R=w(E);function E(){var I;d(this,E);for(var A=arguments.length,P=new Array(A),N=0;N<A;N++)P[N]=arguments[N];return I=R.call.apply(R,[this].concat(P)),C(_(I),"_onColumnResize",function(B,H,L,k,$,V){I.props.onColumnResize&&I.props.onColumnResize(I.props.offsetLeft,B-I.props.left+H,H,L,k,$,V)}),I}return g(E,[{key:"shouldComponentUpdate",value:function(A){return!(A.isScrolling&&this.props.rowIndex===A.rowIndex&&this.props.left===A.left&&this.props.offsetLeft===A.offsetLeft&&this.props.isVisible===A.isVisible)}},{key:"render",value:function(){var A=this.props,P=A.offsetLeft,N=p(A,["offsetLeft"]),B={height:N.cellGroupWrapperHeight||N.height,width:N.width};this.props.isRTL?B.right=P:B.left=P;var H=N.onColumnResize?this._onColumnResize:null;return r.default.createElement("div",{style:B,className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroupWrapper")},r.default.createElement(S,u({},N,{onColumnResize:H})))}}]),E}(r.default.Component);C(O,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,height:n.default.number.isRequired,offsetLeft:n.default.number,left:n.default.number,zIndex:n.default.number.isRequired}),C(O,"defaultProps",{left:0,offsetLeft:0});var M=O;e.default=M})(i0);(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(Ye),n=u(F),o=u(mt),i=u(Yt),a=Xt,s=u(i0),c=u(co);function u(E){return E&&E.__esModule?E:{default:E}}function p(E,I){if(E==null)return{};var A=h(E,I),P,N;if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(E);for(N=0;N<B.length;N++)P=B[N],!(I.indexOf(P)>=0)&&Object.prototype.propertyIsEnumerable.call(E,P)&&(A[P]=E[P])}return A}function h(E,I){if(E==null)return{};var A={},P=Object.keys(E),N,B;for(B=0;B<P.length;B++)N=P[B],!(I.indexOf(N)>=0)&&(A[N]=E[N]);return A}function d(){return d=Object.assign||function(E){for(var I=1;I<arguments.length;I++){var A=arguments[I];for(var P in A)Object.prototype.hasOwnProperty.call(A,P)&&(E[P]=A[P])}return E},d.apply(this,arguments)}function m(E,I){if(!(E instanceof I))throw new TypeError("Cannot call a class as a function")}function g(E,I){for(var A=0;A<I.length;A++){var P=I[A];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(E,P.key,P)}}function v(E,I,A){return I&&g(E.prototype,I),E}function y(E,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(I&&I.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),I&&w(E,I)}function w(E,I){return w=Object.setPrototypeOf||function(P,N){return P.__proto__=N,P},w(E,I)}function T(E){var I=b();return function(){var P=C(E),N;if(I){var B=C(this).constructor;N=Reflect.construct(P,arguments,B)}else N=P.apply(this,arguments);return _(this,N)}}function _(E,I){return I&&(t(I)==="object"||typeof I=="function")?I:x(E)}function x(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function b(){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}}function C(E){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},C(E)}function S(E,I,A){return I in E?Object.defineProperty(E,I,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[I]=A,E}var O=1,M=function(E){y(A,E);var I=T(A);function A(){var P;m(this,A);for(var N=arguments.length,B=new Array(N),H=0;H<N;H++)B[H]=arguments[H];return P=I.call.apply(I,[this].concat(B)),S(x(P),"mouseLeaveIndex",null),S(x(P),"_getRowExpanded",function(L){if(P.props.rowExpanded){var k={rowIndex:P.props.index,height:L,width:P.props.width},$;return n.default.isValidElement(P.props.rowExpanded)?$=n.default.cloneElement(P.props.rowExpanded,k):typeof P.props.rowExpanded=="function"&&($=P.props.rowExpanded(k)),$}}),S(x(P),"_renderColumnsLeftShadow",function(L){var k=(0,o.default)({"fixedDataTableRowLayout/fixedColumnsDivider":L>0,"fixedDataTableRowLayout/columnsShadow":P.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":L>0,"public/fixedDataTableRow/columnsShadow":P.props.scrollLeft>0}),$=P.props.cellGroupWrapperHeight?P.props.cellGroupWrapperHeight-O:P.props.height,V={left:L,height:$};return P.props.isRTL&&(V.right=L,V.left="auto"),n.default.createElement("div",{className:k,style:V})}),S(x(P),"_renderFixedRightColumnsShadow",function(L){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),$={height:P.props.height,left:L};return P.props.isRTL&&($.right=L,$.left="auto"),n.default.createElement("div",{className:k,style:$})}),S(x(P),"_renderColumnsRightShadow",function(L){if(Math.ceil(P.props.scrollLeft+P.props.width)<Math.floor(L)){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),$={height:P.props.height};return n.default.createElement("div",{className:k,style:$})}}),S(x(P),"_onClick",function(L){P.props.onClick(L,P.props.index)}),S(x(P),"_onContextMenu",function(L){P.props.onContextMenu(L,P.props.index)}),S(x(P),"_onDoubleClick",function(L){P.props.onDoubleClick(L,P.props.index)}),S(x(P),"_onMouseUp",function(L){P.props.onMouseUp(L,P.props.index)}),S(x(P),"_onMouseDown",function(L){P.props.onMouseDown(L,P.props.index)}),S(x(P),"_onMouseEnter",function(L){P.mouseLeaveIndex=P.props.index,P.props.onMouseEnter&&P.props.onMouseEnter(L,P.props.index)}),S(x(P),"_onMouseLeave",function(L){P.mouseLeaveIndex===null&&(P.mouseLeaveIndex=P.props.index),P.props.onMouseLeave(L,P.mouseLeaveIndex),P.mouseLeaveIndex=null}),S(x(P),"_onTouchStart",function(L){P.props.onTouchStart(L,P.props.index)}),S(x(P),"_onTouchEnd",function(L){P.props.onTouchEnd(L,P.props.index)}),S(x(P),"_onTouchMove",function(L){P.props.onTouchMove(L,P.props.index)}),P}return v(A,[{key:"shouldComponentUpdate",value:function(N){return N.isScrolling?N.visible?this.props.visible!==N.visible?!0:!(this.props.index===N.index&&this.props.scrollLeft===N.scrollLeft):!1:!0}},{key:"render",value:function(){var N=this.props.subRowHeight||0,B={width:this.props.width,height:this.props.height+N},H=(0,o.default)({"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}),L=(0,a.sumPropWidths)(this.props.fixedColumns),k=n.default.createElement(s.default,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:L,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),$=this._renderColumnsLeftShadow(L),V=(0,a.sumPropWidths)(this.props.fixedRightColumns),j=this.props.showScrollbarY?this.props.scrollbarYWidth:0,z=n.default.createElement(s.default,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-V-j,width:V,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),U=V?this._renderFixedRightColumnsShadow(this.props.width-V-j-5):null,Y=n.default.createElement(s.default,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:L,width:this.props.width-L-V-j,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),X=(0,a.sumPropWidths)(this.props.scrollableColumns),K=this._renderColumnsRightShadow(L+X),Q=this._getRowExpanded(N),ee={height:N,top:this.props.height,width:this.props.width},re=null;if(this.props.showScrollbarY){var G={width:j,height:this.props.height,left:this.props.isRTL?2:this.props.width-j-2};re=n.default.createElement("div",{style:G,className:(0,o.default)("public/fixedDataTable/scrollbarSpacer")})}return n.default.createElement("div",d({className:(0,i.default)(H,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:B}),n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/body")},k,Y,$,z,U,re),Q&&n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/rowExpanded"),style:ee},Q),K)}}]),A}(n.default.Component);S(M,"propTypes",{isScrolling:r.default.bool,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,cellGroupWrapperHeight:r.default.number,subRowHeight:r.default.number,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),index:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,width:r.default.number.isRequired,onClick:r.default.func,onContextMenu:r.default.func,onDoubleClick:r.default.func,onColumnResize:r.default.func,isColumnReordering:r.default.bool,onColumnReorder:r.default.func,onColumnReorderMove:r.default.func,onColumnReorderEnd:r.default.func,touchEnabled:r.default.bool,isHeaderOrFooter:r.default.bool,ariaRowIndex:r.default.number,isRTL:r.default.bool,attributes:r.default.object});var D=function(E){y(A,E);var I=T(A);function A(P){var N;return m(this,A),N=I.call(this,P),N._initialRender=!0,N}return v(A,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(N){return!N.isScrolling||this.props.visible!==N.visible?!0:N.visible?!(N.isScrolling&&this.props.index===N.index&&this.props.offsetTop===N.offsetTop&&this.props.scrollLeft===N.scrollLeft):!1}},{key:"render",value:function(){var N=this.props,B=N.offsetTop,H=N.zIndex,L=p(N,["offsetTop","zIndex"]),k={width:this.props.width,height:this.props.height,zIndex:H||0,visibility:L.visible?"visible":"hidden"};return(0,c.default)(k,0,B,this._initialRender,this.props.isRTL),n.default.createElement("div",{style:k,className:(0,o.default)("fixedDataTableRowLayout/rowWrapper")},n.default.createElement(M,L))}}]),A}(n.default.Component);S(D,"propTypes",{isScrolling:r.default.bool,height:r.default.number.isRequired,zIndex:r.default.number,offsetTop:r.default.number.isRequired,visible:r.default.bool.isRequired,width:r.default.number.isRequired});var R=D;e.default=R})(pl);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(Ye),n=d(F),o=d(JP),i=d(ED),a=d(o0),s=d(mt),c=d(Kt),u=d(Yt),p=d(pl),h=d(co);function d(R){return R&&R.__esModule?R:{default:R}}function m(){return m=Object.assign||function(R){for(var E=1;E<arguments.length;E++){var I=arguments[E];for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&(R[A]=I[A])}return R},m.apply(this,arguments)}function g(R,E){if(!(R instanceof E))throw new TypeError("Cannot call a class as a function")}function v(R,E){for(var I=0;I<E.length;I++){var A=E[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(R,A.key,A)}}function y(R,E,I){return E&&v(R.prototype,E),R}function w(R,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(E&&E.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),E&&T(R,E)}function T(R,E){return T=Object.setPrototypeOf||function(A,P){return A.__proto__=P,A},T(R,E)}function _(R){var E=C();return function(){var A=S(R),P;if(E){var N=S(this).constructor;P=Reflect.construct(A,arguments,N)}else P=A.apply(this,arguments);return x(this,P)}}function x(R,E){return E&&(t(E)==="object"||typeof E=="function")?E:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){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(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},S(R)}function O(R,E,I){return E in R?Object.defineProperty(R,E,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[E]=I,R}var M=function(R){w(I,R);var E=_(I);function I(A){var P;return g(this,I),P=E.call(this,A),P._staticRowArray=[],P._initialRender=!0,P}return y(I,[{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 P=this.props,N=P.offsetTop,B=P.rowOffsets,H=P.scrollTop,L=P.isScrolling,k=P.rowsToRender;k=k||[],L?this._staticRowArray.length=Math.max(this._staticRowArray.length,k.length):this._staticRowArray.length=k.length;for(var $=1e6,V=N-H%$,j=0;j<this._staticRowArray.length;j++){var z,U=(0,o.default)(k[j],(z=this._staticRowArray[j])===null||z===void 0?void 0:z.props.index);if((0,a.default)(U)||!(0,i.default)(U,0,this.props.rowSettings.rowsCount)){this._staticRowArray[j]=null;continue}var Y=B[U]-Math.floor(H/$)*$;this._staticRowArray[j]=this.renderRow({rowIndex:U,key:j,rowOffsetTop:Y})}var X={};(0,h.default)(X,0,V,!1);var K=this._staticRowArray.slice().sort(this.rowSortComparator);return n.default.createElement("div",{style:X},K)}},{key:"renderRow",value:function(P){var N=P.rowIndex,B=P.key,H=P.rowOffsetTop,L=this.props,k=L.rowClassNameGetter||c.default,$={};$.height=this.props.rowSettings.rowHeightGetter(N),$.subRowHeight=this.props.rowSettings.subRowHeightGetter(N),$.offsetTop=H,$.key=L.rowKeyGetter?L.rowKeyGetter(N):B,$.attributes=L.rowSettings.rowAttributesGetter&&L.rowSettings.rowAttributesGetter(N);var V=N===L.rowSettings.rowsCount-1&&L.showLastRowBorder;$.className=(0,u.default)(k(N),(0,s.default)("public/fixedDataTable/bodyRow"),(0,s.default)({"fixedDataTableLayout/hasBottomBorder":V,"public/fixedDataTable/hasBottomBorder":V}));var j=(0,i.default)(N,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return n.default.createElement(p.default,m({key:B,index:N,ariaRowIndex:N+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:j},$))}},{key:"rowSortComparator",value:function(P,N){var B,H;return((B=P==null?void 0:P.props.ariaRowIndex)!==null&&B!==void 0?B:-1)-((H=N==null?void 0:N.props.ariaRowIndex)!==null&&H!==void 0?H:-1)}}]),I}(n.default.Component);O(M,"propTypes",{ariaRowIndexOffset:r.default.number,isScrolling:r.default.bool,firstViewportRowIndex:r.default.number.isRequired,endViewportRowIndex:r.default.number.isRequired,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,offsetTop:r.default.number.isRequired,onRowClick:r.default.func,onRowContextMenu:r.default.func,onRowDoubleClick:r.default.func,onRowMouseDown:r.default.func,onRowMouseUp:r.default.func,onRowMouseEnter:r.default.func,onRowMouseLeave:r.default.func,onRowTouchStart:r.default.func,onRowTouchEnd:r.default.func,onRowTouchMove:r.default.func,rowClassNameGetter:r.default.func,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),rowOffsets:r.default.object.isRequired,rowKeyGetter:r.default.func,rowSettings:r.default.shape({rowAttributesGetter:r.default.func,rowHeightGetter:r.default.func,rowsCount:r.default.number.isRequired,subRowHeightGetter:r.default.func}),rowsToRender:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,scrollTop:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,showLastRowBorder:r.default.bool,showScrollbarY:r.default.bool,width:r.default.number.isRequired,isRTL:r.default.bool});var D=M;e.default=D})(n0);var h0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Kt),r=n(Ni);function n(m){return m&&m.__esModule?m:{default:m}}function o(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function i(m,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,y.key,y)}}function a(m,g,v){return g&&i(m.prototype,g),m}var s=1.6,c=1.6,u=325,p=100,h=function(){function m(g,v,y,w,T){o(this,m),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 v!="function"&&(v=v?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof y!="function"&&(y=y?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=v,this._handleScrollY=y,this._preventDefault=w,this._stopPropagation=T,this._onTouchScrollCallback=g,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 a(m,[{key:"onTouchStart",value:function(v){this._lastTouchX=v.touches[0].pageX,this._lastTouchY=v.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,p),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchEnd",value:function(v){clearInterval(this._trackerId),this._trackerId=null,(0,r.default)(this._startAutoScroll),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchCancel",value:function(v){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&v.stopPropagation()}},{key:"onTouchMove",value:function(v){this._preventDefault&&v.preventDefault();var y=v.touches[0].pageX,w=v.touches[0].pageY;this._deltaX=s*(this._lastTouchX-y),this._deltaY=s*(this._lastTouchY-w);var T=this._handleScrollX(this._deltaX,this._deltaY),_=this._handleScrollY(this._deltaY,this._deltaX);if(!(!T&&!_)){T?this._lastTouchX=y:this._deltaX=0,_?this._lastTouchY=w:this._deltaY=0,v.defaultPrevented||v.preventDefault();var x=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&v.stopPropagation(),x=!0),x===!0&&this._dragAnimationId===null&&(this._dragAnimationId=(0,r.default)(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 v=Date.now(),y=v-this._lastFrameTimestamp,w=this._velocityX,T=this._velocityY,_=.8;y<p&&(_*=y/p),w===0&&T===0&&(_=1),this._velocityX=_*(p*this._accumulatedDeltaX/(1+y)),_<1&&(this._velocityX+=(1-_)*w),this._velocityY=_*(p*this._accumulatedDeltaY/(1+y)),_<1&&(this._velocityY+=(1-_)*T),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=v}},{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 v=Date.now()-this._autoScrollTimestamp,y=c*Math.exp(-v/u),w=y*this._velocityX,T=y*this._velocityY;(Math.abs(w)<=5||!this._handleScrollX(w,T))&&(w=0),(Math.abs(T)<=5||!this._handleScrollY(T,w))&&(T=0),(w!==0||T!==0)&&(this._onTouchScrollCallback(w,T),(0,r.default)(this._autoScroll))}}]),m}(),d=h;e.default=d})(h0);(function(e){function t(L){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function($){return typeof $}:t=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},t(L)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=_(F),n=_(Ye),o=_(RR),i=_(mt),a=_(Dp),s=_(Yt),c=_(lo),u=_(rl),p=_($p),h=_(jp),d=_(rn),m=_(dl),g=_(e0),v=_(n0),y=_(Hi),w=_(pl),T=_(h0);function _(L){return L&&L.__esModule?L:{default:L}}function x(){return x=Object.assign||function(L){for(var k=1;k<arguments.length;k++){var $=arguments[k];for(var V in $)Object.prototype.hasOwnProperty.call($,V)&&(L[V]=$[V])}return L},x.apply(this,arguments)}function b(L,k){if(!(L instanceof k))throw new TypeError("Cannot call a class as a function")}function C(L,k){for(var $=0;$<k.length;$++){var V=k[$];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(L,V.key,V)}}function S(L,k,$){return k&&C(L.prototype,k),L}function O(L,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(k&&k.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),k&&M(L,k)}function M(L,k){return M=Object.setPrototypeOf||function(V,j){return V.__proto__=j,V},M(L,k)}function D(L){var k=I();return function(){var V=A(L),j;if(k){var z=A(this).constructor;j=Reflect.construct(V,arguments,z)}else j=V.apply(this,arguments);return R(this,j)}}function R(L,k){return k&&(t(k)==="object"||typeof k=="function")?k:E(L)}function E(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function I(){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(L){return!1}}function A(L){return A=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},A(L)}function P(L,k,$){return k in L?Object.defineProperty(L,k,{value:$,enumerable:!0,configurable:!0,writable:!0}):L[k]=$,L}var N=25,B=function(L){O($,L);var k=D($);function $(V){var j;return b(this,$),j=k.call(this,V),P(E(j),"_shouldHandleTouchX",function(z){return j.props.touchScrollEnabled&&j._shouldHandleWheelX(z)}),P(E(j),"_shouldHandleTouchY",function(z){return j.props.touchScrollEnabled&&j._shouldHandleWheelY(z)}),P(E(j),"_shouldHandleWheelX",function(z){var U=j.props,Y=U.maxScrollX,X=U.scrollFlags,K=U.scrollX,Q=X.overflowX;return Q==="hidden"||(z=Math.round(z),z===0)?!1:z<0&&K>0||z>=0&&K<Y}),P(E(j),"_shouldHandleWheelY",function(z){var U=j.props,Y=U.maxScrollY,X=U.scrollFlags,K=U.scrollY,Q=X.overflowY;return Q==="hidden"||z===0||(z=Math.round(z),z===0)?!1:z<0&&K>0||z>=0&&K<Y}),P(E(j),"_reportContentHeight",function(){var z=(0,m.default)(j.props),U=z.contentHeight,Y=j.props.onContentHeightChange;U!==j._contentHeight&&Y&&Y(U),j._contentHeight=U}),P(E(j),"_renderRows",function(z,U,Y,X,K,Q){var ee=(0,d.default)(j.props),re=ee.scrollEnabledY,G=j.props;return r.default.createElement(v.default,{ariaRowIndexOffset:Q,isScrolling:G.scrolling,fixedColumns:U,fixedRightColumns:Y,firstViewportRowIndex:G.firstRowIndex,endViewportRowIndex:G.endRowIndex,height:K,offsetTop:z,onRowClick:G.onRowClick,onRowContextMenu:G.onRowContextMenu,onRowDoubleClick:G.onRowDoubleClick,onRowMouseUp:G.onRowMouseUp,onRowMouseDown:G.onRowMouseDown,onRowMouseEnter:G.onRowMouseEnter,onRowMouseLeave:G.onRowMouseLeave,onRowTouchStart:G.touchScrollEnabled?G.onRowTouchStart:null,onRowTouchEnd:G.touchScrollEnabled?G.onRowTouchEnd:null,onRowTouchMove:G.touchScrollEnabled?G.onRowTouchMove:null,rowClassNameGetter:G.rowClassNameGetter,rowExpanded:G.rowExpanded,rowKeyGetter:G.rowKeyGetter,rowSettings:G.rowSettings,scrollLeft:G.scrollX,scrollTop:G.scrollY,scrollableColumns:X,showLastRowBorder:!0,width:G.tableSize.width,rowsToRender:G.rows,rowOffsets:G.rowOffsets,showScrollbarY:re,scrollbarYWidth:G.scrollbarYWidth,isRTL:G.isRTL})}),P(E(j),"_onRef",function(z){j._divRef=z,j._wheelHandler&&(j.props.stopReactWheelPropagation?j._wheelHandler.setRoot(z):j._wheelHandler.setRoot(null))}),P(E(j),"_onColumnResize",function(z,U,Y,X,K,Q,ee){var re=y.default.getCoordinatesFromEvent(ee),G=re.x,ne=re.y;j.props.columnActions.resizeColumn({cellMinWidth:X,cellMaxWidth:K,cellWidth:Y,columnKey:Q,combinedWidth:z,clientX:G,clientY:ne,leftOffset:U})}),P(E(j),"_onColumnReorder",function(z,U,Y,X){j.props.columnActions.startColumnReorder({scrollStart:j.props.scrollX,columnKey:z,width:U,left:Y})}),P(E(j),"_onColumnReorderMove",function(z){j.props.columnActions.moveColumnReorder(z)}),P(E(j),"_onColumnReorderEnd",function(z,U){var Y=j.props,X=Y.columnActions,K=Y.columnReorderingData,Q=K.cancelReorder,ee=K.columnAfter,re=K.columnBefore,G=K.columnKey,ne=K.scrollStart,Z=Y.onColumnReorderEndCallback,oe=Y.onHorizontalScroll,de=Y.scrollX;X.stopColumnReorder(),!Q&&(Z({columnAfter:ee,columnBefore:re,reorderColumn:G}),ne!==de&&oe&&oe(de))}),P(E(j),"_onScroll",function(z,U){var Y=j.props,X=Y.maxScrollX,K=Y.maxScrollY,Q=Y.onHorizontalScroll,ee=Y.onVerticalScroll,re=Y.scrollActions,G=Y.scrollFlags,ne=Y.scrollX,Z=Y.scrollY,oe=G.overflowX,de=G.overflowY,pe=ne,ue=Z;if(Math.abs(U)>Math.abs(z)&&de!=="hidden")ue+=U,ue=ue<0?0:ue,ue=ue>K?K:ue,(!ee||ee(ue))&&re.scrollToY(ue);else if(z&&oe!=="hidden"){pe+=z,pe=pe<0?0:pe,pe=pe>X?X:pe;var Ne=Math.round(pe);(!Q||Q(Ne))&&re.scrollToX(Ne)}}),P(E(j),"_scrollTo",function(z,U){j._scrollToX(z),j._scrollToY(U)}),P(E(j),"_scrollToX",function(z){var U=j.props,Y=U.onHorizontalScroll,X=U.scrollActions,K=U.scrollX;if(z!==K){var Q=Math.round(z);(!Y||Y(Q))&&X.scrollToX(Q)}}),P(E(j),"_scrollToY",function(z){var U=j.props,Y=U.onVerticalScroll,X=U.scrollActions,K=U.scrollY;z!==K&&(!Y||Y(z))&&X.scrollToY(z)}),P(E(j),"_didScroll",function(z){var U=j.props,Y=U.onScrollStart,X=U.scrollX,K=U.scrollY,Q=U.onHorizontalScroll,ee=U.onVerticalScroll,re=U.tableSize.ownerHeight,G=U.scrolling,ne=z.endRowIndex,Z=z.firstRowIndex,oe=z.scrollX,de=z.scrollY,pe=z.tableSize.ownerHeight,ue=z.scrolling,Ne=re!==pe&&!((0,o.default)(re)&&(0,o.default)(pe)),Te=X!==oe,$e=K!==de;!Ne&&!Te&&!$e||(!ue&&G&&Y&&Y(oe,de,Z,ne),Te&&Q&&Q(X),$e&&ee&&ee(K),j._didScrollStop())}),P(E(j),"_didScrollStopSync",function(){var z=j.props,U=z.endRowIndex,Y=z.firstRowIndex,X=z.onScrollEnd,K=z.scrollActions,Q=z.scrollX,ee=z.scrollY,re=z.scrolling;re&&(K.stopScroll(),X&&X(Q,ee,Y,U))}),j._didScrollStop=(0,a.default)(j._didScrollStopSync,200,E(j)),j._onKeyDown=j._onKeyDown.bind(E(j)),j._setupHandlers(),j}return S($,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new u.default(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new T.default(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(j){var z=(0,m.default)(this.props),U=z.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(j.key){case"PageDown":this._onScroll(0,U),j.preventDefault();break;case"PageUp":this._onScroll(0,U*-1),j.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(j.key){case"ArrowDown":this._onScroll(0,N),j.preventDefault();break;case"ArrowUp":this._onScroll(0,N*-1),j.preventDefault();break;case"ArrowRight":this._onScroll(N,0),j.preventDefault();break;case"ArrowLeft":this._onScroll(N*-1,0),j.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(j){return!(0,c.default)(this.props,j)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(j){this._didScroll(j),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var j=(0,m.default)(this.props),z=j.bodyOffsetTop,U=j.scrollbarXOffsetTop,Y=j.visibleRowsHeight,X=this.props,K=X.tableSize.width,Q=X.scrollContentHeight,ee=X.scrollY,re=X.scrollX,G={viewportHeight:Y,contentHeight:Q,scrollbarYOffsetTop:z,scrollY:ee,viewportWidth:K,contentWidth:K+this.props.maxScrollX,scrollbarXOffsetTop:U,scrollX:re,scrollTo:this._scrollTo,scrollToX:this._scrollToX,scrollToY:this._scrollToY};(0,c.default)(this.previousScrollState,G)||(this.props.onScrollBarsUpdate(G),this.previousScrollState=G)}},{key:"render",value:function(){var j=(0,p.default)(this.props),z=j.ariaGroupHeaderIndex,U=j.ariaHeaderIndex,Y=j.ariaFooterIndex,X=j.ariaRowCount,K=j.ariaRowIndexOffset,Q=(0,h.default)(this.props),ee=Q.fixedColumnGroups,re=Q.fixedColumns,G=Q.fixedRightColumnGroups,ne=Q.fixedRightColumns,Z=Q.scrollableColumnGroups,oe=Q.scrollableColumns,de=(0,m.default)(this.props),pe=de.bodyHeight,ue=de.bodyOffsetTop,Ne=de.componentHeight,Te=de.footOffsetTop,$e=de.scrollbarXOffsetTop,Le=de.visibleRowsHeight,ye=this.props,be=ye.className,Ue=ye.columnReorderingData,Be=ye.columnResizingData,Ke=ye.elementHeights,It=ye.isColumnReordering,ie=ye.isColumnResizing,He=ye.gridAttributesGetter,Zt=ye.maxScrollY,vt=ye.onColumnReorderEndCallback,Jt=ye.onColumnResizeEndCallback,go=ye.scrollContentHeight,At=ye.scrollX,er=ye.scrollY,tr=ye.scrolling,an=ye.tableSize,rr=ye.touchScrollEnabled,sn=ye.scrollbarYWidth,vo=an.ownerHeight,Nt=an.width,ln=Ke.cellGroupWrapperHeight,cn=Ke.footerHeight,br=Ke.groupHeaderHeight,yo=Ke.headerHeight,bo=(0,d.default)(this.props),Ki=bo.scrollEnabledX,$t=bo.scrollEnabledY,_o=vt?this._onColumnReorder:null,nr=He&&He(),_r;br>0&&(_r=r.default.createElement(w.default,{key:"group_header",ariaRowIndex:z,isHeaderOrFooter:!0,isScrolling:tr,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:Nt,height:br,cellGroupWrapperHeight:ln,index:0,zIndex:1,offsetTop:0,scrollLeft:At,fixedColumns:ee,fixedRightColumns:G,scrollableColumns:Z,visible:!0,onColumnResize:this._onColumnResize,onColumnReorder:_o,onColumnReorderMove:this._onColumnReorderMove,showScrollbarY:$t,scrollbarYWidth:sn,isRTL:this.props.isRTL}));var je;$t&&(je=this.props.scrollbarY);var Lt;Ki&&(Lt=this.props.scrollbarX);var Xi=r.default.createElement(g.default,{height:Ne,initialWidth:Be.width||0,minWidth:Be.minWidth||0,maxWidth:Be.maxWidth||Number.MAX_VALUE,visible:!!ie,leftOffset:Be.left||0,knobHeight:yo,initialEvent:Be.initialEvent,onColumnResizeEnd:Jt,columnKey:Be.key,touchEnabled:rr,isRTL:this.props.isRTL}),Ft=null;cn&&(Ft=r.default.createElement(w.default,{key:"footer",ariaRowIndex:Y,isHeaderOrFooter:!0,isScrolling:tr,className:(0,s.default)((0,i.default)("fixedDataTableLayout/footer"),(0,i.default)("public/fixedDataTable/footer")),width:Nt,height:cn,index:-1,zIndex:1,offsetTop:Te,visible:!0,fixedColumns:re.footer,fixedRightColumns:ne.footer,scrollableColumns:oe.footer,scrollLeft:At,showScrollbarY:$t,scrollbarYWidth:sn,isRTL:this.props.isRTL}));var un=this._renderRows(ue,re.cell,ne.cell,oe.cell,pe,K),xo=r.default.createElement(w.default,{key:"header",ariaRowIndex:U,isHeaderOrFooter:!0,isScrolling:tr,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:Nt,height:yo,cellGroupWrapperHeight:ln,index:-1,zIndex:1,offsetTop:br,scrollLeft:At,visible:!0,fixedColumns:re.header,fixedRightColumns:ne.header,scrollableColumns:oe.header,touchEnabled:rr,onColumnResize:this._onColumnResize,onColumnReorder:_o,onColumnReorderMove:this._onColumnReorderMove,onColumnReorderEnd:this._onColumnReorderEnd,isColumnReordering:!!It,columnReorderingData:Ue,showScrollbarY:$t,scrollbarYWidth:sn,isRTL:this.props.isRTL}),dn;er&&(dn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/topShadow"),(0,i.default)("public/fixedDataTable/topShadow")),style:{top:ue}}));var wo=vo&&vo<Ne&&go>Le,fn;(wo||er<Zt)&&(fn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/bottomShadow"),(0,i.default)("public/fixedDataTable/bottomShadow")),style:{top:Te}}));var Co=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(Co=0);var pn=be;return this.props.isRTL&&(pn=(0,s.default)(pn,"fixedDataTable_isRTL")),r.default.createElement("div",x({className:(0,s.default)(pn,(0,i.default)("fixedDataTableLayout/main"),(0,i.default)("public/fixedDataTable/main")),role:"grid","aria-rowcount":X},nr,{tabIndex:Co,onKeyDown:this._onKeyDown,onTouchStart:rr?this._touchHandler.onTouchStart:null,onTouchEnd:rr?this._touchHandler.onTouchEnd:null,onTouchCancel:rr?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:Ne,width:Nt}}),r.default.createElement("div",{className:(0,i.default)("fixedDataTableLayout/rowsContainer"),style:{height:$e,width:Nt}},Xi,_r,xo,un,Ft,dn,fn),je,Lt)}}]),$}(r.default.Component);P(B,"propTypes",{width:n.default.number.isRequired,height:n.default.number,className:n.default.string,maxHeight:n.default.number,ownerHeight:n.default.number,overflowX:n.default.oneOf(["hidden","auto"]),overflowY:n.default.oneOf(["hidden","auto"]),touchScrollEnabled:n.default.bool,keyboardScrollEnabled:n.default.bool,keyboardPageEnabled:n.default.bool,scrollbarX:n.default.node,scrollbarXHeight:n.default.number,scrollbarY:n.default.node,scrollbarYWidth:n.default.number,onScrollBarsUpdate:n.default.func,defaultScrollbars:n.default.bool,showScrollbarX:n.default.bool,showScrollbarY:n.default.bool,onHorizontalScroll:n.default.func,onVerticalScroll:n.default.func,rowsCount:n.default.number.isRequired,rowHeight:n.default.number.isRequired,rowHeightGetter:n.default.func,subRowHeight:n.default.number,subRowHeightGetter:n.default.func,rowExpanded:n.default.oneOfType([n.default.element,n.default.func]),rowClassNameGetter:n.default.func,rowKeyGetter:n.default.func,groupHeaderHeight:n.default.number,headerHeight:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,scrollLeft:n.default.number,scrollToColumn:n.default.number,scrollTop:n.default.number,scrollToRow:n.default.number,onScrollStart:n.default.func,onScrollEnd:n.default.func,stopReactWheelPropagation:n.default.bool,stopScrollDefaultHandling:n.default.bool,stopScrollPropagation:n.default.bool,onContentHeightChange:n.default.func,onRowClick:n.default.func,onRowContextMenu:n.default.func,onRowDoubleClick:n.default.func,onRowMouseDown:n.default.func,onRowMouseUp:n.default.func,onRowMouseEnter:n.default.func,onRowMouseLeave:n.default.func,onRowTouchStart:n.default.func,onRowTouchEnd:n.default.func,onRowTouchMove:n.default.func,onColumnResizeEndCallback:n.default.func,onColumnReorderEndCallback:n.default.func,isColumnResizing:n.default.bool,isColumnReordering:n.default.bool,isRTL:n.default.bool,bufferRowCount:n.default.number,elementHeights:n.default.shape({cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,groupHeaderHeight:n.default.number,headerHeight:n.default.number}),gridAttributesGetter:n.default.func,rowAttributesGetter:n.default.func}),P(B,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var H=B;e.default=H})(Pp);var m0={},g0={},v0={},y0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}function r(s,c){for(var u=0;u<c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}}function n(s,c,u){return c&&r(s.prototype,c),s}function o(s,c){return s<c}var i=function(){function s(c,u){t(this,s),this._items=c||[],this._size=this._items.length,this._comparator=u||o,this._heapify()}return n(s,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var u=this._items[0],p=this._items.pop();return this._size--,this._size>0&&(this._items[0]=p,this._sinkDown(0)),u}}},{key:"push",value:function(u){this._items[this._size++]=u,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 u=Math.floor((this._size+1)/2);u>=0;u--)this._sinkDown(u)}},{key:"_bubbleUp",value:function(u){for(var p=this._items[u];u>0;){var h=Math.floor((u+1)/2)-1,d=this._items[h];if(this._comparator(d,p))return;this._items[h]=p,this._items[u]=d,u=h}}},{key:"_sinkDown",value:function(u){for(var p=this._items[u];;){var h=2*(u+1)-1,d=2*(u+1),m=-1;if(h<this._size){var g=this._items[h];this._comparator(g,p)&&(m=h)}if(d<this._size){var v=this._items[d];this._comparator(v,p)&&(m===-1||this._comparator(v,this._items[m]))&&(m=d)}if(m===-1)return;this._items[u]=this._items[m],this._items[m]=p,u=m}}}]),s}(),a=i;e.default=a})(y0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(y0),r=n(Gr);function n(u){return u&&u.__esModule?u:{default:u}}function o(u,p){if(!(u instanceof p))throw new TypeError("Cannot call a class as a function")}function i(u,p){for(var h=0;h<p.length;h++){var d=p[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}function a(u,p,h){return p&&i(u.prototype,p),u}var s=function(){function u(){o(this,u),this._valueToPositionMap={},this._size=0,this._smallValues=new t.default([],this._smallerComparator),this._largeValues=new t.default([],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 a(u,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(h){return this._valueToPositionMap[h]===void 0?null:this._valueToPositionMap[h]}},{key:"getNewPositionForValue",value:function(h){(0,r.default)(this._valueToPositionMap[h]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var d=this._size;return this._size++,this._pushToHeaps(d,h),this._valueToPositionMap[h]=d,d}},{key:"replaceFurthestValuePosition",value:function(h,d,m){if((0,r.default)(this._valueToPositionMap[m]===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 g=this._smallValues.peek().value,v=this._largeValues.peek().value;if(g>=h&&v<=d)return null;var y;h-g>v-d?(y=g,this._smallValues.pop()):(y=v,this._largeValues.pop());var w=this._valueToPositionMap[y];return delete this._valueToPositionMap[y],this._valueToPositionMap[m]=w,this._pushToHeaps(w,m),w}},{key:"_pushToHeaps",value:function(h,d){var m={position:h,value:d};this._smallValues.push(m),this._largeValues.push(m)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var h=Math.min(this._smallValues.size(),this._largeValues.size()),d=Math.max(this._smallValues.size(),this._largeValues.size());d>10*h&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var h=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,d=new t.default([],this._smallerComparator),m=new t.default([],this._greaterComparator);!h.empty();){var g=h.pop();this._valueToPositionMap[g.value]!==void 0&&(d.push(g),m.push(g))}this._smallValues=d,this._largeValues=m}},{key:"_cleanHeap",value:function(h){for(;!h.empty()&&this._valueToPositionMap[h.peek().value]===void 0;)h.pop()}},{key:"_smallerComparator",value:function(h,d){return h.value<d.value}},{key:"_greaterComparator",value:function(h,d){return h.value>d.value}}]),u}(),c=s;e.default=c})(v0);var b0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Gr),r=n(Jr);function n(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function i(d,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function a(d,m,g){return m&&i(d.prototype,m),g&&i(d,g),d}var s=function(m){return Math.floor(m/2)},c=r.default.Int32Array||function(d){for(var m=[],g=d-1;g>=0;--g)m[g]=0;return m};function u(d){for(var m=1;m<d;)m*=2;return m}var p=function(){function d(m){o(this,d),this._size=m.length,this._half=u(this._size),this._heap=new c(2*this._half);var g;for(g=0;g<this._size;++g)this._heap[this._half+g]=m[g];for(g=this._half-1;g>0;--g)this._heap[g]=this._heap[2*g]+this._heap[2*g+1]}return a(d,[{key:"set",value:function(g,v){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var y=this._half+g;for(this._heap[y]=v,y=s(y);y!==0;y=s(y))this._heap[y]=this._heap[2*y]+this._heap[2*y+1]}},{key:"get",value:function(g){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var v=this._half+g;return this._heap[v]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(g){if((0,t.default)(0<=g&&g<this._size+1,"Index out of range %s",g),g===0)return 0;for(var v=this._half+g-1,y=this._heap[v];v!==1;v=s(v))v%2===1&&(y+=this._heap[v-1]);return y}},{key:"sumTo",value:function(g){return(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g),this.sumUntil(g+1)}},{key:"sum",value:function(g,v){return(0,t.default)(g<=v,"Begin must precede end"),this.sumUntil(v)-this.sumUntil(g)}},{key:"greatestLowerBound",value:function(g){if(g<0)return-1;var v=1;if(this._heap[v]<=g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"greatestStrictLowerBound",value:function(g){if(g<=0)return-1;var v=1;if(this._heap[v]<g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<=y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"leastUpperBound",value:function(g){return this.greatestStrictLowerBound(g)+1}},{key:"leastStrictUpperBound",value:function(g){return this.greatestLowerBound(g)+1}}],[{key:"uniform",value:function(g,v){for(var y=[],w=g-1;w>=0;--w)y[w]=v;return new d(y)}},{key:"empty",value:function(g){return d.uniform(g,0)}}]),d}(),h=p;e.default=h})(b0);var _0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(F),r=a(ll),n=a(Gr),o=a(Jp),i=a(tl);function a(h){return h&&h.__esModule?h:{default:h}}function s(h){return(0,i.default)(h.props,["align","allowCellsRecycling","cellClassName","columnKey","flexGrow","fixed","fixedRight","maxWidth","minWidth","isReorderable","isResizable","pureRendering","width"])}function c(h,d){h.cell.push(d.props.cell),h.footer.push(d.props.footer),h.header.push(d.props.header)}function u(h){var d=[];t.default.Children.forEach(h,function(w,T){w!=null&&((0,n.default)(w.type.__TableColumnGroup__||w.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),d.push(w))});var m={cell:[],footer:[],groupHeader:[],header:[]},g=[],v=d.length&&d[0].type.__TableColumnGroup__;if(v){var y=(0,o.default)(d,s);return(0,r.default)(d,function(w,T){m.groupHeader.push(w.props.header),t.default.Children.forEach(w.props.children,function(_){var x=s(_);x.groupIdx=T,g.push(x),c(m,_)})}),{columnGroupProps:y,columnProps:g,elementTemplates:m,useGroupHeader:!0}}return(0,r.default)(d,function(w){g.push(s(w)),c(m,w)}),{columnGroupProps:[],columnProps:g,elementTemplates:m,useGroupHeader:!1}}var p=u;e.default=p})(_0);var ji={},vl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r,n){var o=r.storedHeights,i=r.rowOffsetIntervalTree,a=r.rowSettings,s=a.rowHeightGetter,c=a.subRowHeightGetter,u=s(n)+c(n),p=o[n];return u!==p&&(i.set(n,u),o[n]=u,r.scrollContentHeight+=u-p),o[n]}})(vl);Object.defineProperty(ji,"__esModule",{value:!0});ji.getScrollAnchor=PD;ji.scrollTo=C0;var x0=yl(Fi),w0=yl(rn),MD=yl(vl);function yl(e){return e&&e.__esModule?e:{default:e}}function PD(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?DD(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?C0(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function C0(e,t){var r=(0,w0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.scrollContentHeight,s=i.rowsCount;if(s===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var c=0,u=0,p=void 0;if(!(t<=0))if(t>=a-n)c=void 0,p=s-1;else{var h=o.greatestLowerBound(t);c=(0,x0.default)(h,0,Math.max(s-1,0));var d=o.sumUntil(c);u=d-t}return{firstIndex:c,firstOffset:u,lastIndex:p,changed:!0}}function DD(e,t){var r=(0,w0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.storedHeights,s=e.scrollY,c=i.rowsCount;if(c===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=(0,x0.default)(t,0,Math.max(c-1,0)),(0,MD.default)(e,t);var u=o.sumUntil(t),p=u+a[t],h=t,d=void 0;if(!(u<s))if(s+n<p)h=void 0,d=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:h,firstOffset:0,lastIndex:d,changed:!0}}var T0={};function kD(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var ID=kD,AD=ID,ya=fl;function ND(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=ya(r),r=r===r?r:0),t!==void 0&&(t=ya(t),t=t===t?t:0),AD(ya(e),t,r)}var E0=ND;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(o0),r=i(E0),n=i(Kt),o=i(cl);function i(v){return v&&v.__esModule?v:{default:v}}function a(){return a=Object.assign||function(v){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(v[T]=w[T])}return v},a.apply(this,arguments)}var s=15,c=100;function u(v,y,w){var T=y.scrollLeft,_=v.columnResizingData,x=v.isColumnResizing,b=v.scrollX;T!==void 0&&(!w||T!==w.scrollLeft)&&(b=T),b=p(v,y,w.scrollToColumn,b);var C=(0,o.default)(v),S=C.maxScrollX;return b=(0,r.default)(b,0,S),x=y.isColumnResizing!==void 0?y.isColumnResizing:x,_=x?_:{},a({},v,{columnResizingData:_,isColumnResizing:x,maxScrollX:S,scrollX:b})}function p(v,y,w,T){var _=y.scrollToColumn;if((0,t.default)(_))return T;var x=(0,o.default)(v),b=x.availableScrollWidth,C=x.fixedColumns,S=x.scrollableColumns,O=C.length,M=S.length,D=M===0,R=_===w,E=_<O,I=_>=O+M;if(R||E||I||D)return T;for(var A=Math.min(_-O,S.length-1),P=0,N=0;N<A;++N)P+=S[N].width;var B=S[A].width,H=P+B-b;return T<H?H:T>P?P:T}function h(v,y){var w=y.cellMinWidth,T=y.cellMaxWidth,_=y.cellWidth,x=y.columnKey,b=y.combinedWidth,C=y.clientX,S=y.clientY,O=y.leftOffset;return a({},v,{isColumnResizing:!0,columnResizingData:{left:O+b-_,width:_,minWidth:w,maxWidth:T,initialEvent:{clientX:C,clientY:S,preventDefault:n.default},key:x}})}function d(v,y){var w=y.columnKey,T=y.left,_=y.scrollStart,x=y.width,b=(0,o.default)(v),C=b.fixedColumns,S=C.some(function(O){return O.columnKey===w});return a({},v,{isColumnReordering:!0,columnReorderingData:{cancelReorder:!1,dragDistance:0,isFixed:S,scrollStart:_,columnKey:w,columnWidth:x,originalLeft:T,columnBefore:void 0,columnAfter:void 0}})}function m(v,y){var w=v.columnReorderingData,T=w.isFixed,_=w.originalLeft,x=w.scrollStart,b=v.maxScrollX,C=v.scrollX;if(!T){var S=_-x+y,O=(0,o.default)(v),M=O.availableScrollWidth;y+=C-x,S>M-c?C=Math.min(C+s,b):S<=c&&(C=Math.max(C-s,0))}var D=a({},v.columnReorderingData,{dragDistance:y,columnBefore:void 0,columnAfter:void 0});return a({},v,{scrollX:C,columnReorderingData:D})}var g={initialize:u,reorderColumn:d,reorderColumnMove:m,resizeColumn:h};e.default=g})(T0);var S0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var t=a(E0),r=a(Li),n=a(rn),o=a(dl),i=a(vl);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function c(d,m){var g=s({},d),v=u(g,m),y=g.rowSettings,w=g.scrollContentHeight,T=y.rowsCount,_=(0,o.default)(g),x=_.bodyHeight,b=w-x,C;b===0?(v.firstViewportIdx>0&&(v=u(g,{firstOffset:0,lastIndex:T-1})),C=0):C=v.firstOffset;var S=v.firstViewportIdx,O=v.endViewportIdx;p(g,v,d.scrolling);var M=0;return T>0&&(M=g.rowOffsets[v.firstViewportIdx]-C),M=(0,t.default)(M,0,b),s(g,{firstRowIndex:S,firstRowOffset:C,endRowIndex:O,maxScrollY:b,scrollY:M})}function u(d,m){var g=(0,r.default)(d),v=g.bufferRowCount,y=g.maxAvailableHeight,w=d.rowSettings.rowsCount;if(w===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var T=m.firstIndex,_=m.firstOffset,x=m.lastIndex;(T>=w||x>=w)&&(x=w-1);var b=1,C=T,S=_;x!==void 0&&(b=-1,C=x,S=0);for(var O=C,M=O;O<w&&O>=0&&S<y;)S+=(0,i.default)(d,O),M=O,O+=b;var D=!1;if(S<y&&O===w&&x===void 0)for(D=!0,O=T-1;O>=0&&S<y;)S+=(0,i.default)(d,O),C=O,--O;var R=Math.min(C,M),E=Math.max(R-v,0);for(O=E;O<R;O++)(0,i.default)(d,O);var I=Math.max(C,M)+1,A=Math.min(I+v,w);for(O=I;O<A;O++)(0,i.default)(d,O);var P=(0,n.default)(d),N=P.availableHeight;if(x!==void 0||D){_=_+Math.min(N-S,0);var B=d.storedHeights;-1*_>=B[R]&&(R+=1,_+=B[R])}return{endBufferIdx:A,endViewportIdx:I,firstBufferIdx:E,firstOffset:_,firstViewportIdx:R}}function p(d,m,g){var v=d.rowBufferSet,y=d.rowOffsetIntervalTree,w=d.storedHeights,T=m.endBufferIdx,_=m.endViewportIdx,x=m.firstBufferIdx,b=m.firstViewportIdx,C=T-x;if(C===0){d.rowOffsets={},d.rows=[];return}for(var S=g?b:x,O=g?_:T,M=[],D={},R=y.sumUntil(S),E=S;E<O;E++){D[E]=R,R+=w[E];var I=h(E,v,S,O,C);M[I]=E}d.rows=M,d.rowOffsets=D}function h(d,m,g,v,y){var w=m.getValuePosition(d);return w===null&&m.getSize()>=y&&(w=m.replaceFurthestValuePosition(g,v-1,d)),w===null&&(w=m.getNewPositionForValue(d)),w}})(S0);var Wi={},R0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={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};e.default=t})(R0);var Ja={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-size-large":"17px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function O0(e){if(Ja.hasOwnProperty(e))return Ja[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}O0.CSS_VARS=Ja;var $D=O0;(function(e){function t(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(H){return typeof H}:t=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},t(N)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(F),n=d(Ar),o=d(Ye),i=d(mt),a=d(Kt),s=d(R0),c=d(rl),u=d(Bi),p=d($D),h=d(co);function d(N){return N&&N.__esModule?N:{default:N}}function m(N,B){if(!(N instanceof B))throw new TypeError("Cannot call a class as a function")}function g(N,B){for(var H=0;H<B.length;H++){var L=B[H];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(N,L.key,L)}}function v(N,B,H){return B&&g(N.prototype,B),N}function y(N,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(B&&B.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),B&&w(N,B)}function w(N,B){return w=Object.setPrototypeOf||function(L,k){return L.__proto__=k,L},w(N,B)}function T(N){var B=b();return function(){var L=C(N),k;if(B){var $=C(this).constructor;k=Reflect.construct(L,arguments,$)}else k=L.apply(this,arguments);return _(this,k)}}function _(N,B){return B&&(t(B)==="object"||typeof B=="function")?B:x(N)}function x(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function b(){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(N){return!1}}function C(N){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},C(N)}function S(N,B,H){return B in N?Object.defineProperty(N,B,{value:H,enumerable:!0,configurable:!0,writable:!0}):N[B]=H,N}var O={position:0,scrollable:!1},M=parseInt((0,p.default)("--scrollbar-face-margin"),10),D=M*2,R=30,E=40,I=null,A=function(N){y(H,N);var B=T(H);function H(L){var k;return m(this,H),k=B.call(this,L),S(x(k),"_onRefFace",function($){return k._faceRef=$}),S(x(k),"_onRefRoot",function($){return k._rootRef=$}),S(x(k),"scrollBy",function($){k._onWheel($)}),S(x(k),"_shouldHandleX",function($){return k.props.orientation==="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleY",function($){return k.props.orientation!=="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleChange",function($){var V=k._calculateState(k.state.position+$,k.props.size,k.props.contentSize,k.props.orientation);return V.position!==k.state.position}),S(x(k),"_calculateState",function($,V,j,z){var U=Math.max(1,V);if(j<=U)return O;var Y="".concat($,"_").concat(U,"_").concat(j,"_").concat(z);if(k._stateKey===Y)return k._stateForKey;var X=z==="horizontal",K=U/j,Q=U*K;Q<R&&(K=(U-R)/(j-U),Q=R);var ee=!0,re=j-U;$<0?$=0:$>re&&($=re);var G=k._mouseMoveTracker?k._mouseMoveTracker.isDragging():!1,ne={faceSize:Q,isDragging:G,isHorizontal:X,position:$,scale:K,scrollable:ee};return k._stateKey=Y,k._stateForKey=ne,ne}),S(x(k),"_onWheelY",function($,V){k._onWheel(V)}),S(x(k),"_onWheelX",function($,V){k._onWheel($)}),S(x(k),"_onWheel",function($){var V=k.props;k._setNextState(k._calculateState(k.state.position+$,V.size,V.contentSize,V.orientation))}),S(x(k),"_onMouseDown",function($){var V;if($.target!==k._faceRef){var j=$.nativeEvent,z=k.state.isHorizontal?j.offsetX||j.layerX||k.getTouchX(j):j.offsetY||j.layerY||k.getTouchY(j),U=k.props;z/=k.state.scale,V=k._calculateState(z-k.state.faceSize*.5/k.state.scale,U.size,U.contentSize,U.orientation)}else V={};V.focused=!0,k._setNextState(V),k._mouseMoveTracker.captureMouseMoves($),k._rootRef.focus()}),S(x(k),"_onTouchCancel",function($){$.stopPropagation()}),S(x(k),"_onTouchEnd",function($){$.stopPropagation()}),S(x(k),"_onTouchMove",function($){$.stopPropagation()}),S(x(k),"_onTouchStart",function($){$.stopPropagation(),k._onMouseDown($)}),S(x(k),"_onMouseMove",function($,V){var j=k.props,z=k.state.isHorizontal?$*(k.props.isRTL?-1:1):V;z/=k.state.scale;var U=n.default.flushSync||function(Y){return Y()};U(function(){return k._setNextState(k._calculateState(k.state.position+z,j.size,j.contentSize,j.orientation))})}),S(x(k),"_onMouseMoveEnd",function(){k._nextState=null,k._mouseMoveTracker.releaseMouseMoves(),k.setState({isDragging:!1})}),S(x(k),"_onKeyDown",function($){var V=$.keyCode;if(V!==s.default.TAB){var j=E,z=0;if(k.state.isHorizontal)switch(V){case s.default.HOME:z=-1,j=k.props.contentSize;break;case s.default.LEFT:z=-1;break;case s.default.RIGHT:z=1;break;default:return}if(!k.state.isHorizontal)switch(V){case s.default.SPACE:$.shiftKey?z=-1:z=1;break;case s.default.HOME:z=-1,j=k.props.contentSize;break;case s.default.UP:z=-1;break;case s.default.DOWN:z=1;break;case s.default.PAGE_UP:z=-1,j=k.props.size;break;case s.default.PAGE_DOWN:z=1,j=k.props.size;break;default:return}$.preventDefault();var U=k.props;k._setNextState(k._calculateState(k.state.position+j*z,U.size,U.contentSize,U.orientation))}}),S(x(k),"_onFocus",function(){k.setState({focused:!0})}),S(x(k),"_onBlur",function(){k.setState({focused:!1})}),S(x(k),"_blur",function(){var $=n.default.findDOMNode(x(k));if($)try{k._onBlur(),$.blur()}catch(V){}}),S(x(k),"getTouchX",function($){return Math.round($.targetTouches[0].clientX-$.target.getBoundingClientRect().x)}),S(x(k),"getTouchY",function($){return Math.round($.targetTouches[0].clientY-$.target.getBoundingClientRect().y)}),S(x(k),"_setNextState",function($,V){V=V||k.props;var j=V.position,z=k.state.position!==$.position;if(j===void 0){var U=z?k._didScroll:void 0;k.setState($,U)}else if(j===$.position)k.setState($);else{$.position!==void 0&&$.position!==k.state.position&&k.props.onScroll($.position);return}z&&I!==x(k)&&(I&&I._blur(),I=x(k))}),S(x(k),"_didScroll",function(){k.props.onScroll(k.state.position)}),k.state=k._calculateState(L.position||L.defaultPosition||0,L.size,L.contentSize,L.orientation),k._initialRender=!0,k}return v(H,[{key:"componentDidUpdate",value:function(){var k=this.props.position;k===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(k,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var k=this.props.size,$,V,j=this.state.isHorizontal,z=!j,U=this.state.focused||this.state.isDragging,Y=this.state.faceSize,X=this.props.isOpaque,K=this.props.verticalTop||0,Q=(0,i.default)({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":z,"ScrollbarLayout/mainHorizontal":j,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":X,"public/Scrollbar/mainActive":U}),ee=(0,i.default)({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":j,"ScrollbarLayout/faceVertical":z,"public/Scrollbar/faceActive":U,"public/Scrollbar/face":!0}),re=this.state.position*this.state.scale+M;return j?($={width:k},V={width:Y-D,top:0,bottom:0},(0,h.default)(V,re,0,this._initialRender,this.props.isRTL)):($={top:K,height:k},this.props.isRTL&&($.left=$.right||0,$.right="auto"),V={height:Y-D},(0,h.default)(V,0,re,this._initialRender,this.props.isRTL),V.left=0,V.right=0),$.touchAction="none",$.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&($.backgroundColor=(0,p.default)("--fbui-desktop-background-light")),r.default.createElement("div",{onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:Q,style:$,ref:this._onRefRoot},r.default.createElement("div",{ref:this._onRefFace,className:ee,style:V}))}},{key:"componentDidMount",value:function(){var k=this.props.orientation==="horizontal",$=k?this._onWheelX:this._onWheelY;this._wheelHandler=new c.default($,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new u.default(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),I===this&&(I=null)}}]),H}(r.default.PureComponent);S(A,"propTypes",{contentSize:o.default.number.isRequired,defaultPosition:o.default.number,isOpaque:o.default.bool,orientation:o.default.oneOf(["vertical","horizontal"]),onScroll:o.default.func,position:o.default.number,size:o.default.number.isRequired,trackColor:o.default.oneOf(["gray"]),touchEnabled:o.default.bool,zIndex:o.default.number,verticalTop:o.default.number,isRTL:o.default.bool}),S(A,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:a.default,orientation:"vertical",zIndex:99}),A.KEYBOARD_SCROLL_AMOUNT=E,A.SIZE=parseInt((0,p.default)("--scrollbar-size"),10),A.OFFSET=1;var P=A;e.default=P})(Wi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=g(tl),n=g(v0),o=g(b0),i=g(lo),a=g(_0),s=m(xe),c=ji,u=g(T0),p=g(S0),h=g(Wi);function d(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,S=new WeakMap;return(d=function(M){return M?S:C})(b)}function m(b,C){if(b&&b.__esModule)return b;if(b===null||t(b)!=="object"&&typeof b!="function")return{default:b};var S=d(C);if(S&&S.has(b))return S.get(b);var O={},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var R=M?Object.getOwnPropertyDescriptor(b,D):null;R&&(R.get||R.set)?Object.defineProperty(O,D,R):O[D]=b[D]}return O.default=b,S&&S.set(b,O),O}function g(b){return b&&b.__esModule?b:{default:b}}function v(){return v=Object.assign||function(b){for(var C=1;C<arguments.length;C++){var S=arguments[C];for(var O in S)Object.prototype.hasOwnProperty.call(S,O)&&(b[O]=S[O])}return b},v.apply(this,arguments)}function y(){return{columnProps:[],columnGroupProps:[],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},columnReorderingData:{},columnResizingData:{},firstRowIndex:0,firstRowOffset:0,isColumnReordering:!1,isColumnResizing:!1,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:h.default.SIZE,scrollY:0,scrollbarYWidth:h.default.SIZE,scrolling:!1,rowBufferSet:new n.default,storedHeights:[],rowOffsetIntervalTree:null}}function w(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),C=arguments.length>1?arguments[1]:void 0;switch(C.type){case s.INITIALIZE:{var S=C.props,O=_(b,S);O=T(O);var M=(0,c.getScrollAnchor)(O,S);return O=(0,p.default)(O,M),u.default.initialize(O,S,{})}case s.PROP_CHANGE:{var D=C.newProps,R=C.oldProps,E=_(b,D);(R.rowsCount!==D.rowsCount||R.rowHeight!==D.rowHeight||R.subRowHeight!==D.subRowHeight)&&(E=T(E)),R.rowsCount!==D.rowsCount&&(E.rowBufferSet=new n.default);var I=(0,c.getScrollAnchor)(E,D,R);return(!(0,i.default)(b,E)||I.changed)&&(E=(0,p.default)(E,I)),E=u.default.initialize(E,D,R),(E.scrollX!==b.scrollX||E.scrollY!==b.scrollY)&&(E.scrolling=E.scrolling||!0),E}case s.SCROLL_END:{var A=v({},b,{scrolling:!1}),P={firstIndex:b.firstRowIndex,firstOffset:b.firstRowOffset,lastIndex:b.lastIndex};return(0,p.default)(A,P)}case s.SCROLL_TO_Y:{var N=C.scrollY,B=v({},b,{scrolling:!0}),H=(0,c.scrollTo)(B,N);return(0,p.default)(B,H)}case s.COLUMN_RESIZE:{var L=C.resizeData;return u.default.resizeColumn(b,L)}case s.COLUMN_REORDER_START:{var k=C.reorderData;return u.default.reorderColumn(b,k)}case s.COLUMN_REORDER_END:return v({},b,{isColumnReordering:!1,columnReorderingData:{}});case s.COLUMN_REORDER_MOVE:{var $=C.deltaX;return u.default.reorderColumnMove(b,$)}case s.SCROLL_TO_X:{var V=C.scrollX;return v({},b,{scrolling:!0,scrollX:V})}default:return b}}function T(b){for(var C=b.rowSettings,S=C.rowHeight,O=C.rowsCount,M=C.subRowHeight,D=S+M,R=o.default.uniform(O,D),E=O*D,I=new Array(O),A=0;A<O;A++)I[A]=D;return v({},b,{rowOffsetIntervalTree:R,scrollContentHeight:E,storedHeights:I})}function _(b,C){var S=(0,a.default)(C.children),O=S.columnGroupProps,M=S.columnProps,D=S.elementTemplates,R=S.useGroupHeader,E=v({},b,{columnGroupProps:O,columnProps:M,elementTemplates:D,propsRevision:b.propsRevision+1});E.elementHeights=v({},E.elementHeights,(0,r.default)(C,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),R||(E.elementHeights.groupHeaderHeight=0),E.rowSettings=v({},E.rowSettings,(0,r.default)(C,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var I=E.rowSettings,A=I.rowHeight,P=I.subRowHeight;return E.rowSettings.rowHeightGetter=C.rowHeightGetter||function(){return A},E.rowSettings.subRowHeightGetter=C.subRowHeightGetter||function(){return P||0},E.rowSettings.rowAttributesGetter=C.rowAttributesGetter,E.scrollFlags=v({},E.scrollFlags,(0,r.default)(C,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),E.tableSize=v({},E.tableSize,(0,r.default)(C,["height","maxHeight","ownerHeight","width"])),E.tableSize.useMaxHeight=E.tableSize.height===void 0,E.scrollbarXHeight=C.scrollbarXHeight,E.scrollbarYWidth=C.scrollbarYWidth,E}var x=w;e.default=x})(g0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=vp,r=n(g0);function n(i){return i&&i.__esModule?i:{default:i}}var o={get:function(){return(0,t.createStore)(r.default)}};e.default=o})(m0);var M0={},LD=zp,FD=Gp,BD=ki,HD=tt,jD=$i,WD=ol,zD=Wp,VD=il,UD="[object Map]",qD="[object Set]",GD=Object.prototype,YD=GD.hasOwnProperty;function KD(e){if(e==null)return!0;if(jD(e)&&(HD(e)||typeof e=="string"||typeof e.splice=="function"||WD(e)||VD(e)||BD(e)))return!e.length;var t=FD(e);if(t==UD||t==qD)return!e.size;if(zD(e))return!LD(e).length;for(var r in e)if(YD.call(e,r))return!1;return!0}var XD=KD;(function(e){function t(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(D){return typeof D}:t=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},t(O)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(F),n=c(Ye),o=c(XD),i=c(mt),a=c(Yt),s=c(Wi);function c(O){return O&&O.__esModule?O:{default:O}}function u(){return u=Object.assign||function(O){for(var M=1;M<arguments.length;M++){var D=arguments[M];for(var R in D)Object.prototype.hasOwnProperty.call(D,R)&&(O[R]=D[R])}return O},u.apply(this,arguments)}function p(O,M){if(!(O instanceof M))throw new TypeError("Cannot call a class as a function")}function h(O,M){for(var D=0;D<M.length;D++){var R=M[D];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}function d(O,M,D){return M&&h(O.prototype,M),O}function m(O,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(M&&M.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),M&&g(O,M)}function g(O,M){return g=Object.setPrototypeOf||function(R,E){return R.__proto__=E,R},g(O,M)}function v(O){var M=T();return function(){var R=_(O),E;if(M){var I=_(this).constructor;E=Reflect.construct(R,arguments,I)}else E=R.apply(this,arguments);return y(this,E)}}function y(O,M){return M&&(t(M)==="object"||typeof M=="function")?M:w(O)}function w(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function T(){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(O){return!1}}function _(O){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},_(O)}function x(O,M,D){return M in O?Object.defineProperty(O,M,{value:D,enumerable:!0,configurable:!0,writable:!0}):O[M]=D,O}var b=function(O){m(D,O);var M=v(D);function D(){var R;p(this,D);for(var E=arguments.length,I=new Array(E),A=0;A<E;A++)I[A]=arguments[A];return R=M.call.apply(M,[this].concat(I)),x(w(R),"state",{}),x(w(R),"_onScrollBarsUpdate",function(P){R.setState(P)}),x(w(R),"_onVerticalScroll",function(P){R.state.scrollToY!==void 0&&R.state.scrollToY(P)}),x(w(R),"_onHorizontalScroll",function(P){R.state.scrollToX!==void 0&&R.state.scrollToX(P)}),R}return d(D,[{key:"render",value:function(){var E=!(0,o.default)(this.state)&&r.default.createElement(s.default,{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=!(0,o.default)(this.state)&&r.default.createElement(C,{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 r.default.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:I,scrollbarY:E})}}]),D}(r.default.Component),C=function(O){m(D,O);var M=v(D);function D(){return p(this,D),M.apply(this,arguments)}return d(D,[{key:"render",value:function(){var E=this.props,I=E.offset,A=E.size,P={height:s.default.SIZE,width:A},N={height:s.default.SIZE,overflow:"hidden",width:A,top:I};return r.default.createElement("div",{className:(0,a.default)((0,i.default)("public/fixedDataTable/horizontalScrollbar")),style:P},r.default.createElement("div",{style:N},r.default.createElement(s.default,u({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),D}(r.default.PureComponent);x(C,"propTypes",{contentSize:n.default.number.isRequired,offset:n.default.number.isRequired,onScroll:n.default.func.isRequired,position:n.default.number.isRequired,size:n.default.number.isRequired,isRTL:n.default.bool});var S=b;e.default=S})(M0);(function(e){function t(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(B){return typeof B}:t=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},t(P)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=y(F),n=vp,o=y(Gr),i=y(tl),a=v(xe),s=v(_t),c=v(xt),u=y(Pp),p=y(m0),h=y(Wi),d=y(M0),m=d0;function g(P){if(typeof WeakMap!="function")return null;var N=new WeakMap,B=new WeakMap;return(g=function(L){return L?B:N})(P)}function v(P,N){if(P&&P.__esModule)return P;if(P===null||t(P)!=="object"&&typeof P!="function")return{default:P};var B=g(N);if(B&&B.has(P))return B.get(P);var H={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in P)if(k!=="default"&&Object.prototype.hasOwnProperty.call(P,k)){var $=L?Object.getOwnPropertyDescriptor(P,k):null;$&&($.get||$.set)?Object.defineProperty(H,k,$):H[k]=P[k]}return H.default=P,B&&B.set(P,H),H}function y(P){return P&&P.__esModule?P:{default:P}}function w(){return w=Object.assign||function(P){for(var N=1;N<arguments.length;N++){var B=arguments[N];for(var H in B)Object.prototype.hasOwnProperty.call(B,H)&&(P[H]=B[H])}return P},w.apply(this,arguments)}function T(P,N){if(!(P instanceof N))throw new TypeError("Cannot call a class as a function")}function _(P,N){for(var B=0;B<N.length;B++){var H=N[B];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(P,H.key,H)}}function x(P,N,B){return N&&_(P.prototype,N),B&&_(P,B),P}function b(P,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(N&&N.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),N&&C(P,N)}function C(P,N){return C=Object.setPrototypeOf||function(H,L){return H.__proto__=L,H},C(P,N)}function S(P){var N=D();return function(){var H=R(P),L;if(N){var k=R(this).constructor;L=Reflect.construct(H,arguments,k)}else L=H.apply(this,arguments);return O(this,L)}}function O(P,N){return N&&(t(N)==="object"||typeof N=="function")?N:M(P)}function M(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}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(P){return!1}}function R(P){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},R(P)}function E(P,N,B){return N in P?Object.defineProperty(P,N,{value:B,enumerable:!0,configurable:!0,writable:!0}):P[N]=B,P}var I=function(P){b(B,P);var N=S(B);function B(H){var L;return T(this,B),L=N.call(this,H),L.reduxStore=p.default.get(),L.scrollActions=(0,n.bindActionCreators)(c,L.reduxStore.dispatch),L.columnActions=(0,n.bindActionCreators)(s,L.reduxStore.dispatch),L.reduxStore.dispatch({type:a.INITIALIZE,props:H}),L.unsubscribe=L.reduxStore.subscribe(L.onStoreUpdate.bind(M(L))),L.state={boundState:B.getBoundState(L.reduxStore),reduxStore:L.reduxStore,props:H},L}return x(B,[{key:"componentWillUnmount",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null),this.reduxStore=null}},{key:"render",value:function(){var L=r.default.createElement(u.default,w({},this.props,this.state.boundState,{scrollActions:this.scrollActions,columnActions:this.columnActions}));return this.props.defaultScrollbars?r.default.createElement(d.default,this.props,L):L}},{key:"onStoreUpdate",value:function(){var L=B.getBoundState(this.reduxStore);this.state.boundState.propsRevision===L.propsRevision&&this.setState({boundState:L})}}],[{key:"getDerivedStateFromProps",value:function(L,k){return(0,o.default)(L.height!==void 0||L.maxHeight!==void 0,"You must set either a height or a maxHeight"),L===k.props?null:(k.reduxStore.dispatch({type:a.PROP_CHANGE,newProps:L,oldProps:k.props}),{boundState:B.getBoundState(k.reduxStore),props:L})}},{key:"getBoundState",value:function(L){var k=L.getState(),$=(0,i.default)(k,["columnGroupProps","columnProps","columnReorderingData","columnResizingData","elementHeights","elementTemplates","firstRowIndex","endRowIndex","isColumnReordering","isColumnResizing","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return $}}]),B}(r.default.Component);E(I,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:h.default.SIZE,scrollbarYWidth:h.default.SIZE});var A=(0,m.polyfill)(I);e.default=A})(hp);var P0={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(Yt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var E in R)Object.prototype.hasOwnProperty.call(R,E)&&(M[E]=R[E])}return M},s.apply(this,arguments)}function c(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(M);D&&(E=E.filter(function(I){return Object.getOwnPropertyDescriptor(M,I).enumerable})),R.push.apply(R,E)}return R}function u(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?c(Object(R),!0).forEach(function(E){C(M,E,R[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):c(Object(R)).forEach(function(E){Object.defineProperty(M,E,Object.getOwnPropertyDescriptor(R,E))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),E,I;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(M);for(I=0;I<A.length;I++)E=A[I],!(D.indexOf(E)>=0)&&Object.prototype.propertyIsEnumerable.call(M,E)&&(R[E]=M[E])}return R}function h(M,D){if(M==null)return{};var R={},E=Object.keys(M),I,A;for(A=0;A<E.length;A++)I=E[A],!(D.indexOf(I)>=0)&&(R[I]=M[I]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var E=D[R];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(M,E.key,E)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(E,I){return E.__proto__=I,E},y(M,D)}function w(M){var D=x();return function(){var E=b(M),I;if(D){var A=b(this).constructor;I=Reflect.construct(E,arguments,A)}else I=E.apply(this,arguments);return T(this,I)}}function T(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}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(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var I=this.props,A=I.height,P=I.width,N=I.style,B=I.className,H=I.children,L=p(I,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=u({height:A,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap"),(0,o.default)("public/fixedDataTableCell/wrap"),(0,o.default)("public/fixedDataTableCell/cellContent"),B),style:k}),H)}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(P0);var D0={};(function(e){function t(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(T){return T&&T.__esModule?T:{default:T}}function i(T,_){if(!(T instanceof _))throw new TypeError("Cannot call a class as a function")}function a(T,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,b.key,b)}}function s(T,_,x){return _&&a(T.prototype,_),T}function c(T,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(_&&_.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),_&&u(T,_)}function u(T,_){return u=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},u(T,_)}function p(T){var _=m();return function(){var b=g(T),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(T,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(T)}function d(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}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(T){return!1}}function g(T){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(T)}function v(T,_,x){return _ in T?Object.defineProperty(T,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):T[_]=x,T}var y=function(T){c(x,T);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumn__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,fixedRight:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func]),cell:n.default.oneOfType([n.default.node,n.default.func]),footer:n.default.oneOfType([n.default.node,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,flexGrow:n.default.number,isResizable:n.default.bool,isReorderable:n.default.bool,allowCellsRecycling:n.default.bool,pureRendering:n.default.bool,cellClassName:n.default.string}),v(y,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});var w=y;e.default=w})(D0);var k0={};(function(e){function t(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(T){return T&&T.__esModule?T:{default:T}}function i(T,_){if(!(T instanceof _))throw new TypeError("Cannot call a class as a function")}function a(T,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(T,b.key,b)}}function s(T,_,x){return _&&a(T.prototype,_),T}function c(T,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(_&&_.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),_&&u(T,_)}function u(T,_){return u=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},u(T,_)}function p(T){var _=m();return function(){var b=g(T),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(T,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(T)}function d(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}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(T){return!1}}function g(T){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(T)}function v(T,_,x){return _ in T?Object.defineProperty(T,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):T[_]=x,T}var y=function(T){c(x,T);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumnGroup__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func])}),v(y,"defaultProps",{fixed:!1});var w=y;e.default=w})(k0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Cell",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DataCell",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Column",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ColumnGroup",{enumerable:!0,get:function(){return i.default}}),e.version=void 0;var t=a(hp),r=a(hl),n=a(P0),o=a(D0),i=a(k0);function a(c){return c&&c.__esModule?c:{default:c}}var s="1.2.22";e.version=s})(pp);var ko=pp;const QD="#f4f4f8",ZD="#edeef1",JD="#e3e5ea",e6="#f9f9fb",t6="#ffcb05",r6="#1faff3",n6="#e5e5e5",o6="#5b6372",i6="#3a4356",a6="#3c3c42",s6="#a3a3a3",l6="#d0d3db",c6="_tableWrapper_1ode4_16",u6="_table_1ode4_16",d6="_tableHeader_1ode4_78",f6="_tableCell_1ode4_88",p6="_tableCellContent_1ode4_99",h6="_headerColor_1ode4_105",m6="_rowColor_1ode4_109",En={athensGray:QD,athensGrayDark:ZD,athensGrayDark2:JD,athensGrayLight:e6,defaultBrandColor:t6,dodgerBlue:r6,mercury:n6,shuttleGrayDark:o6,oxfordBlue:i6,darkModeDefaultBackground:a6,indicatorGrey:s6,secondaryButtonHover:l6,tableWrapper:c6,table:u6,tableHeader:d6,tableCell:f6,tableCellContent:p6,headerColor:h6,rowColor:m6},g6="#f4f4f8",v6="#edeef1",y6="#e3e5ea",b6="#f9f9fb",_6="#ffcb05",x6="#1faff3",w6="#e5e5e5",C6="#5b6372",T6="#3a4356",E6="#3c3c42",S6="#a3a3a3",R6="#d0d3db",O6="_headerCell_2qf2w_16",M6="_noSort_2qf2w_29",P6="_standard_2qf2w_29",D6="_caret_2qf2w_33",k6="_headerLabel_2qf2w_38",I6="_icon_2qf2w_43",A6="_numberIcon_2qf2w_50",N6="_dateIcon_2qf2w_54",$6="_textIcon_2qf2w_58",L6="_booleanIcon_2qf2w_62",F6="_sortIcon_2qf2w_66",B6="_sortAscending_2qf2w_74",H6="_sortDescending_2qf2w_78",Bt={athensGray:g6,athensGrayDark:v6,athensGrayDark2:y6,athensGrayLight:b6,defaultBrandColor:_6,dodgerBlue:x6,mercury:w6,shuttleGrayDark:C6,oxfordBlue:T6,darkModeDefaultBackground:E6,indicatorGrey:S6,secondaryButtonHover:R6,headerCell:O6,noSort:M6,standard:P6,caret:D6,headerLabel:k6,icon:I6,numberIcon:A6,dateIcon:N6,textIcon:$6,booleanIcon:L6,sortIcon:F6,sortAscending:B6,sortDescending:H6};var I0={exports:{}};/*!
243
- Copyright (c) 2018 Jed Watson.
244
- Licensed under the MIT License (MIT), see
245
- http://jedwatson.github.io/classnames
246
- */(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})()})(I0);var j6=I0.exports;const zn=l.getDefaultExportFromCjs(j6),W6="_icon_t30x8_1",z6="_numberIcon_t30x8_11",V6="_dateIcon_t30x8_15",U6="_textIcon_t30x8_19",q6="_booleanIcon_t30x8_23",bn={icon:W6,numberIcon:z6,dateIcon:V6,textIcon:U6,booleanIcon:q6},G6=({columnType:e})=>l.jsx("div",{className:zn(bn.icon,{[bn.numberIcon]:l.isNumber$1(e),[bn.dateIcon]:l.isDatetime(e),[bn.textIcon]:l.isText(e),[bn.booleanIcon]:l.isBoolean(e)})}),Y6=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>l.jsxs("div",{className:Bt.headerCell,onClick:()=>{t(e)},children:[o&&l.jsx(G6,{columnType:e.type}),l.jsx("div",{className:Bt.headerLabel,children:n}),l.jsx("div",{className:zn(Bt.sortIcon,{[Bt.caret]:i==="caret",[Bt.standard]:i==="standard",[Bt.noSort]:!r||e.direction===0,[Bt.sortAscending]:r&&e.direction===1,[Bt.sortDescending]:r&&e.direction===-1})})]}),K6=26,X6=26,ju=20,A0=36,N0=29,$0=24,es=350,Q6=126,Z6=38,J6=55,ek=(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(h=>i.measureText(h.name).width+A0+(t?N0:0)),s=i.measureText("0").width,c=e.columns.map(h=>({type:l.simpleColumnType(h.type),index:h.index})),{rows:u}=e,p=c.map(h=>{const d=u.reduce((m,g)=>{var T;const v=g[h.index].displayValue,y=(T=r[h.index])!=null&&T.isHtml?tk(v):v,w=h.type==="number"?g[h.index].displayValue.length*s:i.measureText(y).width;return Math.max(m,w)},0);return $0+d});return a.map((h,d)=>{var m;return(m=r[d])!=null&&m.width?r[d].width:Math.ceil(Math.max(Q6,Math.min(es,Math.max(h,p[d]))))})};function tk(e){const t=document.createElement("div");return t.innerHTML=e,L0(t)}function L0(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=L0(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const Wu=e=>e%2===1,zu=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var u,p,h,d,m,g,v,y,w,T,_,x,b,C,S,O,M,D;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const c=l.getSlightlyDifferentColor(s);return o?(p=(u=n==null?void 0:n.header)==null?void 0:u.color)!=null&&p.enabled&&(s=((d=(h=n==null?void 0:n.header)==null?void 0:h.color)==null?void 0:d.backgroundColor)||c,i=((g=(m=n==null?void 0:n.header)==null?void 0:m.color)==null?void 0:g.textColor)||i):((y=(v=n==null?void 0:n.columns)==null?void 0:v.alternatingColor)!=null&&y.enabled&&Wu(e)&&(s=((T=(w=n==null?void 0:n.columns)==null?void 0:w.alternatingColor)==null?void 0:T.backgroundColor)||c,i=((x=(_=n==null?void 0:n.columns)==null?void 0:_.alternatingColor)==null?void 0:x.textColor)||i),(C=(b=n==null?void 0:n.rows)==null?void 0:b.alternatingColor)!=null&&C.enabled&&Wu(t)&&(s=((O=(S=n==null?void 0:n.rows)==null?void 0:S.alternatingColor)==null?void 0:O.backgroundColor)||c,i=((D=(M=n==null?void 0:n.rows)==null?void 0:M.alternatingColor)==null?void 0:D.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var bl={};Object.defineProperty(bl,"__esModule",{value:!0});var F0=bl.default=void 0,rk=ok(F),nk=Yd;function B0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(B0=function(n){return n?r:t})(e)}function ok(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=B0(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function ik(e){return Object.keys(e).length===0}function ak(e=null){const t=rk.useContext(nk.ThemeContext);return!t||ik(t)?e:t}F0=bl.default=ak;var qe="top",ft="bottom",pt="right",Ge="left",_l="auto",uo=[qe,ft,pt,Ge],Br="start",Vn="end",sk="clippingParents",H0="viewport",_n="popper",lk="reference",Vu=uo.reduce(function(e,t){return e.concat([t+"-"+Br,t+"-"+Vn])},[]),j0=[].concat(uo,[_l]).reduce(function(e,t){return e.concat([t,t+"-"+Br,t+"-"+Vn])},[]),ck="beforeRead",uk="read",dk="afterRead",fk="beforeMain",pk="main",hk="afterMain",mk="beforeWrite",gk="write",vk="afterWrite",yk=[ck,uk,dk,fk,pk,hk,mk,gk,vk];function Et(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 pr(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function ct(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function xl(e){if(typeof ShadowRoot=="undefined")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function bk(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];!ct(i)||!Et(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 _k(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(c,u){return c[u]="",c},{});!ct(o)||!Et(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(c){o.removeAttribute(c)}))})}}const xk={name:"applyStyles",enabled:!0,phase:"write",fn:bk,effect:_k,requires:["computeStyles"]};function Ct(e){return e.split("-")[0]}var dr=Math.max,ei=Math.min,Hr=Math.round;function ts(){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 W0(){return!/^((?!chrome|android).)*safari/i.test(ts())}function jr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&ct(e)&&(o=e.offsetWidth>0&&Hr(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Hr(n.height)/e.offsetHeight||1);var a=pr(e)?et(e):window,s=a.visualViewport,c=!W0()&&r,u=(n.left+(c&&s?s.offsetLeft:0))/o,p=(n.top+(c&&s?s.offsetTop:0))/i,h=n.width/o,d=n.height/i;return{width:h,height:d,top:p,right:u+h,bottom:p+d,left:u,x:u,y:p}}function wl(e){var t=jr(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 z0(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&xl(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Pt(e){return et(e).getComputedStyle(e)}function wk(e){return["table","td","th"].indexOf(Et(e))>=0}function Qt(e){return((pr(e)?e.ownerDocument:e.document)||window.document).documentElement}function zi(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(xl(e)?e.host:null)||Qt(e)}function Uu(e){return!ct(e)||Pt(e).position==="fixed"?null:e.offsetParent}function Ck(e){var t=/firefox/i.test(ts()),r=/Trident/i.test(ts());if(r&&ct(e)){var n=Pt(e);if(n.position==="fixed")return null}var o=zi(e);for(xl(o)&&(o=o.host);ct(o)&&["html","body"].indexOf(Et(o))<0;){var i=Pt(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 fo(e){for(var t=et(e),r=Uu(e);r&&wk(r)&&Pt(r).position==="static";)r=Uu(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Pt(r).position==="static")?t:r||Ck(e)||t}function Cl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dn(e,t,r){return dr(e,ei(t,r))}function Tk(e,t,r){var n=Dn(e,t,r);return n>r?r:n}function V0(){return{top:0,right:0,bottom:0,left:0}}function U0(e){return Object.assign({},V0(),e)}function q0(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Ek=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,U0(typeof t!="number"?t:q0(t,uo))};function Sk(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Ct(r.placement),c=Cl(s),u=[Ge,pt].indexOf(s)>=0,p=u?"height":"width";if(!(!i||!a)){var h=Ek(o.padding,r),d=wl(i),m=c==="y"?qe:Ge,g=c==="y"?ft:pt,v=r.rects.reference[p]+r.rects.reference[c]-a[c]-r.rects.popper[p],y=a[c]-r.rects.reference[c],w=fo(i),T=w?c==="y"?w.clientHeight||0:w.clientWidth||0:0,_=v/2-y/2,x=h[m],b=T-d[p]-h[g],C=T/2-d[p]/2+_,S=Dn(x,C,b),O=c;r.modifiersData[n]=(t={},t[O]=S,t.centerOffset=S-C,t)}}function Rk(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)||z0(t.elements.popper,o)&&(t.elements.arrow=o))}const Ok={name:"arrow",enabled:!0,phase:"main",fn:Sk,effect:Rk,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wr(e){return e.split("-")[1]}var Mk={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Pk(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Hr(r*o)/o||0,y:Hr(n*o)/o||0}}function qu(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,h=e.isFixed,d=a.x,m=d===void 0?0:d,g=a.y,v=g===void 0?0:g,y=typeof p=="function"?p({x:m,y:v}):{x:m,y:v};m=y.x,v=y.y;var w=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),_=Ge,x=qe,b=window;if(u){var C=fo(r),S="clientHeight",O="clientWidth";if(C===et(r)&&(C=Qt(r),Pt(C).position!=="static"&&s==="absolute"&&(S="scrollHeight",O="scrollWidth")),C=C,o===qe||(o===Ge||o===pt)&&i===Vn){x=ft;var M=h&&C===b&&b.visualViewport?b.visualViewport.height:C[S];v-=M-n.height,v*=c?1:-1}if(o===Ge||(o===qe||o===ft)&&i===Vn){_=pt;var D=h&&C===b&&b.visualViewport?b.visualViewport.width:C[O];m-=D-n.width,m*=c?1:-1}}var R=Object.assign({position:s},u&&Mk),E=p===!0?Pk({x:m,y:v},et(r)):{x:m,y:v};if(m=E.x,v=E.y,c){var I;return Object.assign({},R,(I={},I[x]=T?"0":"",I[_]=w?"0":"",I.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",I))}return Object.assign({},R,(t={},t[x]=T?v+"px":"",t[_]=w?m+"px":"",t.transform="",t))}function Dk(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,c=s===void 0?!0:s,u={placement:Ct(t.placement),variation:Wr(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,qu(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,qu(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const kk={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Dk,data:{}};var Io={passive:!0};function Ik(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,c=et(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(p){p.addEventListener("scroll",r.update,Io)}),s&&c.addEventListener("resize",r.update,Io),function(){i&&u.forEach(function(p){p.removeEventListener("scroll",r.update,Io)}),s&&c.removeEventListener("resize",r.update,Io)}}const Ak={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ik,data:{}};var Nk={left:"right",right:"left",bottom:"top",top:"bottom"};function Wo(e){return e.replace(/left|right|bottom|top/g,function(t){return Nk[t]})}var $k={start:"end",end:"start"};function Gu(e){return e.replace(/start|end/g,function(t){return $k[t]})}function Tl(e){var t=et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function El(e){return jr(Qt(e)).left+Tl(e).scrollLeft}function Lk(e,t){var r=et(e),n=Qt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=W0();(u||!u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+El(e),y:c}}function Fk(e){var t,r=Qt(e),n=Tl(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=dr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=dr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+El(e),c=-n.scrollTop;return Pt(o||r).direction==="rtl"&&(s+=dr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}function Sl(e){var t=Pt(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function G0(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:ct(e)&&Sl(e)?e:G0(zi(e))}function kn(e,t){var r;t===void 0&&(t=[]);var n=G0(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=et(n),a=o?[i].concat(i.visualViewport||[],Sl(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(kn(zi(a)))}function rs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Bk(e,t){var r=jr(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 Yu(e,t,r){return t===H0?rs(Lk(e,r)):pr(t)?Bk(t,r):rs(Fk(Qt(e)))}function Hk(e){var t=kn(zi(e)),r=["absolute","fixed"].indexOf(Pt(e).position)>=0,n=r&&ct(e)?fo(e):e;return pr(n)?t.filter(function(o){return pr(o)&&z0(o,n)&&Et(o)!=="body"}):[]}function jk(e,t,r,n){var o=t==="clippingParents"?Hk(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(c,u){var p=Yu(e,u,n);return c.top=dr(p.top,c.top),c.right=ei(p.right,c.right),c.bottom=ei(p.bottom,c.bottom),c.left=dr(p.left,c.left),c},Yu(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 Y0(e){var t=e.reference,r=e.element,n=e.placement,o=n?Ct(n):null,i=n?Wr(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(o){case qe:c={x:a,y:t.y-r.height};break;case ft:c={x:a,y:t.y+t.height};break;case pt:c={x:t.x+t.width,y:s};break;case Ge:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var u=o?Cl(o):null;if(u!=null){var p=u==="y"?"height":"width";switch(i){case Br:c[u]=c[u]-(t[p]/2-r[p]/2);break;case Vn:c[u]=c[u]+(t[p]/2-r[p]/2);break}}return c}function Un(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,c=s===void 0?sk:s,u=r.rootBoundary,p=u===void 0?H0:u,h=r.elementContext,d=h===void 0?_n:h,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,y=v===void 0?0:v,w=U0(typeof y!="number"?y:q0(y,uo)),T=d===_n?lk:_n,_=e.rects.popper,x=e.elements[g?T:d],b=jk(pr(x)?x:x.contextElement||Qt(e.elements.popper),c,p,a),C=jr(e.elements.reference),S=Y0({reference:C,element:_,strategy:"absolute",placement:o}),O=rs(Object.assign({},_,S)),M=d===_n?O:C,D={top:b.top-M.top+w.top,bottom:M.bottom-b.bottom+w.bottom,left:b.left-M.left+w.left,right:M.right-b.right+w.right},R=e.modifiersData.offset;if(d===_n&&R){var E=R[o];Object.keys(D).forEach(function(I){var A=[pt,ft].indexOf(I)>=0?1:-1,P=[qe,ft].indexOf(I)>=0?"y":"x";D[I]+=E[P]*A})}return D}function Wk(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?j0:c,p=Wr(n),h=p?s?Vu:Vu.filter(function(g){return Wr(g)===p}):uo,d=h.filter(function(g){return u.indexOf(g)>=0});d.length===0&&(d=h);var m=d.reduce(function(g,v){return g[v]=Un(e,{placement:v,boundary:o,rootBoundary:i,padding:a})[Ct(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}function zk(e){if(Ct(e)===_l)return[];var t=Wo(e);return[Gu(e),t,Gu(t)]}function Vk(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,c=r.fallbackPlacements,u=r.padding,p=r.boundary,h=r.rootBoundary,d=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,y=t.options.placement,w=Ct(y),T=w===y,_=c||(T||!g?[Wo(y)]:zk(y)),x=[y].concat(_).reduce(function(z,U){return z.concat(Ct(U)===_l?Wk(t,{placement:U,boundary:p,rootBoundary:h,padding:u,flipVariations:g,allowedAutoPlacements:v}):U)},[]),b=t.rects.reference,C=t.rects.popper,S=new Map,O=!0,M=x[0],D=0;D<x.length;D++){var R=x[D],E=Ct(R),I=Wr(R)===Br,A=[qe,ft].indexOf(E)>=0,P=A?"width":"height",N=Un(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:d,padding:u}),B=A?I?pt:Ge:I?ft:qe;b[P]>C[P]&&(B=Wo(B));var H=Wo(B),L=[];if(i&&L.push(N[E]<=0),s&&L.push(N[B]<=0,N[H]<=0),L.every(function(z){return z})){M=R,O=!1;break}S.set(R,L)}if(O)for(var k=g?3:1,$=function(U){var Y=x.find(function(X){var K=S.get(X);if(K)return K.slice(0,U).every(function(Q){return Q})});if(Y)return M=Y,"break"},V=k;V>0;V--){var j=$(V);if(j==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const Uk={name:"flip",enabled:!0,phase:"main",fn:Vk,requiresIfExists:["offset"],data:{_skip:!1}};function Ku(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 Xu(e){return[qe,pt,ft,Ge].some(function(t){return e[t]>=0})}function qk(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Un(t,{elementContext:"reference"}),s=Un(t,{altBoundary:!0}),c=Ku(a,n),u=Ku(s,o,i),p=Xu(c),h=Xu(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const Gk={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:qk};function Yk(e,t,r){var n=Ct(e),o=[Ge,qe].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,[Ge,pt].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Kk(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=j0.reduce(function(p,h){return p[h]=Yk(h,t.rects,i),p},{}),s=a[t.placement],c=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}const Xk={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Kk};function Qk(e){var t=e.state,r=e.name;t.modifiersData[r]=Y0({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Zk={name:"popperOffsets",enabled:!0,phase:"read",fn:Qk,data:{}};function Jk(e){return e==="x"?"y":"x"}function e7(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,c=r.boundary,u=r.rootBoundary,p=r.altBoundary,h=r.padding,d=r.tether,m=d===void 0?!0:d,g=r.tetherOffset,v=g===void 0?0:g,y=Un(t,{boundary:c,rootBoundary:u,padding:h,altBoundary:p}),w=Ct(t.placement),T=Wr(t.placement),_=!T,x=Cl(w),b=Jk(x),C=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(C){if(i){var I,A=x==="y"?qe:Ge,P=x==="y"?ft:pt,N=x==="y"?"height":"width",B=C[x],H=B+y[A],L=B-y[P],k=m?-O[N]/2:0,$=T===Br?S[N]:O[N],V=T===Br?-O[N]:-S[N],j=t.elements.arrow,z=m&&j?wl(j):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:V0(),Y=U[A],X=U[P],K=Dn(0,S[N],z[N]),Q=_?S[N]/2-k-K-Y-D.mainAxis:$-K-Y-D.mainAxis,ee=_?-S[N]/2+k+K+X+D.mainAxis:V+K+X+D.mainAxis,re=t.elements.arrow&&fo(t.elements.arrow),G=re?x==="y"?re.clientTop||0:re.clientLeft||0:0,ne=(I=R==null?void 0:R[x])!=null?I:0,Z=B+Q-ne-G,oe=B+ee-ne,de=Dn(m?ei(H,Z):H,B,m?dr(L,oe):L);C[x]=de,E[x]=de-B}if(s){var pe,ue=x==="x"?qe:Ge,Ne=x==="x"?ft:pt,Te=C[b],$e=b==="y"?"height":"width",Le=Te+y[ue],ye=Te-y[Ne],be=[qe,Ge].indexOf(w)!==-1,Ue=(pe=R==null?void 0:R[b])!=null?pe:0,Be=be?Le:Te-S[$e]-O[$e]-Ue+D.altAxis,Ke=be?Te+S[$e]+O[$e]-Ue-D.altAxis:ye,It=m&&be?Tk(Be,Te,Ke):Dn(m?Be:Le,Te,m?Ke:ye);C[b]=It,E[b]=It-Te}t.modifiersData[n]=E}}const t7={name:"preventOverflow",enabled:!0,phase:"main",fn:e7,requiresIfExists:["offset"]};function r7(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function n7(e){return e===et(e)||!ct(e)?Tl(e):r7(e)}function o7(e){var t=e.getBoundingClientRect(),r=Hr(t.width)/e.offsetWidth||1,n=Hr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function i7(e,t,r){r===void 0&&(r=!1);var n=ct(t),o=ct(t)&&o7(t),i=Qt(t),a=jr(e,o,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||Sl(i))&&(s=n7(t)),ct(t)?(c=jr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=El(i))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function a7(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 c=t.get(s);c&&o(c)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function s7(e){var t=a7(e);return yk.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function l7(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function c7(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 Qu={placement:"bottom",modifiers:[],strategy:"absolute"};function Zu(){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 u7(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Qu:o;return function(s,c,u){u===void 0&&(u=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qu,i),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},h=[],d=!1,m={state:p,setOptions:function(w){var T=typeof w=="function"?w(p.options):w;v(),p.options=Object.assign({},i,p.options,T),p.scrollParents={reference:pr(s)?kn(s):s.contextElement?kn(s.contextElement):[],popper:kn(c)};var _=s7(c7([].concat(n,p.options.modifiers)));return p.orderedModifiers=_.filter(function(x){return x.enabled}),g(),m.update()},forceUpdate:function(){if(!d){var w=p.elements,T=w.reference,_=w.popper;if(Zu(T,_)){p.rects={reference:i7(T,fo(_),p.options.strategy==="fixed"),popper:wl(_)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(D){return p.modifiersData[D.name]=Object.assign({},D.data)});for(var x=0;x<p.orderedModifiers.length;x++){if(p.reset===!0){p.reset=!1,x=-1;continue}var b=p.orderedModifiers[x],C=b.fn,S=b.options,O=S===void 0?{}:S,M=b.name;typeof C=="function"&&(p=C({state:p,options:O,name:M,instance:m})||p)}}}},update:l7(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){v(),d=!0}};if(!Zu(s,c))return m;m.setOptions(u).then(function(y){!d&&u.onFirstUpdate&&u.onFirstUpdate(y)});function g(){p.orderedModifiers.forEach(function(y){var w=y.name,T=y.options,_=T===void 0?{}:T,x=y.effect;if(typeof x=="function"){var b=x({state:p,name:w,instance:m,options:_}),C=function(){};h.push(b||C)}})}function v(){h.forEach(function(y){return y()}),h=[]}return m}}var d7=[Ak,Zk,kk,xk,Xk,Uk,t7,Ok,Gk],f7=u7({defaultModifiers:d7});function p7(e){return we("MuiPopper",e)}Ce("MuiPopper",["root"]);const h7=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],m7=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function g7(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 ti(e){return typeof e=="function"?e():e}function Vi(e){return e.nodeType!==void 0}function v7(e){return!Vi(e)}const y7=e=>{const{classes:t}=e;return De({root:["root"]},p7,t)},b7={},_7=W.forwardRef(function(t,r){var n;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:c,open:u,placement:p,popperOptions:h,popperRef:d,slotProps:m={},slots:g={},TransitionProps:v}=t,y=ae(t,h7),w=W.useRef(null),T=Ve(w,r),_=W.useRef(null),x=Ve(_,d),b=W.useRef(x);qt(()=>{b.current=x},[x]),W.useImperativeHandle(d,()=>_.current,[]);const C=g7(p,a),[S,O]=W.useState(C),[M,D]=W.useState(ti(o));W.useEffect(()=>{_.current&&_.current.forceUpdate()}),W.useEffect(()=>{o&&D(ti(o))},[o]),qt(()=>{if(!M||!u)return;const P=H=>{O(H.placement)};if(process.env.NODE_ENV!=="production"&&M&&Vi(M)&&M.nodeType===1){const H=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&H.top===0&&H.left===0&&H.right===0&&H.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(`
247
- `))}let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:H})=>{P(H)}}];c!=null&&(N=N.concat(c)),h&&h.modifiers!=null&&(N=N.concat(h.modifiers));const B=f7(M,w.current,l._extends({placement:C},h,{modifiers:N}));return b.current(B),()=>{B.destroy(),b.current(null)}},[M,s,c,u,h,C]);const R={placement:S};v!==null&&(R.TransitionProps=v);const E=y7(t),I=(n=g.root)!=null?n:"div",A=Ut({elementType:I,externalSlotProps:m.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:E.root});return te.jsx(I,l._extends({},A,{children:typeof i=="function"?i(R):i}))}),K0=W.forwardRef(function(t,r){const{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:p,placement:h="bottom",popperOptions:d=b7,popperRef:m,style:g,transition:v=!1,slotProps:y={},slots:w={}}=t,T=ae(t,m7),[_,x]=W.useState(!0),b=()=>{x(!1)},C=()=>{x(!0)};if(!c&&!p&&(!v||_))return null;let S;if(i)S=i;else if(n){const D=ti(n);S=D&&Vi(D)?ze(D).body:ze(null).body}const O=!p&&c&&(!v||_)?"none":void 0,M=v?{in:p,onEnter:b,onExited:C}:void 0;return te.jsx(Wn,{disablePortal:s,container:S,children:te.jsx(_7,l._extends({anchorEl:n,direction:a,disablePortal:s,modifiers:u,ref:r,open:v?!_:p,placement:h,popperOptions:d,popperRef:m,slotProps:y,slots:w},T,{style:l._extends({position:"fixed",top:0,left:0,display:O},g),TransitionProps:M,children:o}))})});process.env.NODE_ENV!=="production"&&(K0.propTypes={anchorEl:Dt(f.oneOfType([Mt,f.object,f.func]),e=>{if(e.open){const t=ti(e.anchorEl);if(t&&Vi(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(`
248
- `))}else if(!t||typeof t.getBoundingClientRect!="function"||v7(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(`
249
- `))}return null}),children:f.oneOfType([f.node,f.func]),container:f.oneOfType([Mt,f.func]),direction:f.oneOf(["ltr","rtl"]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.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:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.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:f.oneOf(["absolute","fixed"])}),popperRef:eo,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),transition:f.bool});const x7=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],w7=le(K0,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),po=W.forwardRef(function(t,r){var n;const o=F0(),i=Re({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:c,componentsProps:u,container:p,disablePortal:h,keepMounted:d,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:w,transition:T,slots:_,slotProps:x}=i,b=ae(i,x7),C=(n=_==null?void 0:_.root)!=null?n:c==null?void 0:c.Root,S=l._extends({anchorEl:a,container:p,disablePortal:h,keepMounted:d,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:w,transition:T},b);return te.jsx(w7,l._extends({as:s,direction:o==null?void 0:o.direction,slots:{root:C},slotProps:x!=null?x:u},S,{ref:r}))});process.env.NODE_ENV!=="production"&&(po.propTypes={anchorEl:f.oneOfType([Mt,f.object,f.func]),children:f.oneOfType([f.node,f.func]),component:f.elementType,components:f.shape({Root:f.elementType}),componentsProps:f.shape({root:f.oneOfType([f.func,f.object])}),container:f.oneOfType([Mt,f.func]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.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:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.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:f.oneOf(["absolute","fixed"])}),popperRef:eo,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transition:f.bool});function C7(e){return we("MuiTooltip",e)}const Wt=Ce("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),T7=["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"];function E7(e){return Math.round(e*1e5)/1e5}const S7=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 De(a,C7,t)},R7=le(po,{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]}})(({theme:e,ownerState:t,open:r})=>l._extends({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Wt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Wt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Wt.arrow}`]:l._extends({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Wt.arrow}`]:l._extends({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),O7=le("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])}`]]}})(({theme:e,ownerState:t})=>l._extends({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pe(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${E7(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Wt.popper}[data-popper-placement*="left"] &`]:l._extends({transformOrigin:"right center"},t.isRtl?l._extends({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):l._extends({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Wt.popper}[data-popper-placement*="right"] &`]:l._extends({transformOrigin:"left center"},t.isRtl?l._extends({marginRight:"14px"},t.touch&&{marginRight:"24px"}):l._extends({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Wt.popper}[data-popper-placement*="top"] &`]:l._extends({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Wt.popper}[data-popper-placement*="bottom"] &`]:l._extends({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),M7=le("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pe(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Ao=!1;const Ju=new to;let xn={x:0,y:0};function No(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const Ui=W.forwardRef(function(t,r){var n,o,i,a,s,c,u,p,h,d,m,g,v,y,w,T,_,x,b;const C=Re({props:t,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:M={},componentsProps:D={},describeChild:R=!1,disableFocusListener:E=!1,disableHoverListener:I=!1,disableInteractive:A=!1,disableTouchListener:P=!1,enterDelay:N=100,enterNextDelay:B=0,enterTouchDelay:H=700,followCursor:L=!1,id:k,leaveDelay:$=0,leaveTouchDelay:V=1500,onClose:j,onOpen:z,open:U,placement:Y="bottom",PopperComponent:X,PopperProps:K={},slotProps:Q={},slots:ee={},title:re,TransitionComponent:G=jn,TransitionProps:ne}=C,Z=ae(C,T7),oe=W.isValidElement(O)?O:te.jsx("span",{children:O}),de=ro(),pe=bs(),[ue,Ne]=W.useState(),[Te,$e]=W.useState(null),Le=W.useRef(!1),ye=A||L,be=lr(),Ue=lr(),Be=lr(),Ke=lr(),[It,ie]=As({controlled:U,default:!1,name:"Tooltip",state:"open"});let He=It;if(process.env.NODE_ENV!=="production"){const{current:ce}=W.useRef(U!==void 0);W.useEffect(()=>{ue&&ue.disabled&&!ce&&re!==""&&ue.tagName.toLowerCase()==="button"&&console.error(["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(`
250
- `))},[re,ue,ce])}const Zt=Rf(k),vt=W.useRef(),Jt=Rt(()=>{vt.current!==void 0&&(document.body.style.WebkitUserSelect=vt.current,vt.current=void 0),Ke.clear()});W.useEffect(()=>Jt,[Jt]);const go=ce=>{Ju.clear(),Ao=!0,ie(!0),z&&!He&&z(ce)},At=Rt(ce=>{Ju.start(800+$,()=>{Ao=!1}),ie(!1),j&&He&&j(ce),be.start(de.transitions.duration.shortest,()=>{Le.current=!1})}),er=ce=>{Le.current&&ce.type!=="touchstart"||(ue&&ue.removeAttribute("title"),Ue.clear(),Be.clear(),N||Ao&&B?Ue.start(Ao?B:N,()=>{go(ce)}):go(ce))},tr=ce=>{Ue.clear(),Be.start($,()=>{At(ce)})},{isFocusVisibleRef:an,onBlur:rr,onFocus:sn,ref:vo}=Of(),[,Nt]=W.useState(!1),ln=ce=>{rr(ce),an.current===!1&&(Nt(!1),tr(ce))},cn=ce=>{ue||Ne(ce.currentTarget),sn(ce),an.current===!0&&(Nt(!0),er(ce))},br=ce=>{Le.current=!0;const Xe=oe.props;Xe.onTouchStart&&Xe.onTouchStart(ce)},yo=ce=>{br(ce),Be.clear(),be.clear(),Jt(),vt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ke.start(H,()=>{document.body.style.WebkitUserSelect=vt.current,er(ce)})},bo=ce=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(ce),Jt(),Be.start(V,()=>{At(ce)})};W.useEffect(()=>{if(!He)return;function ce(Xe){(Xe.key==="Escape"||Xe.key==="Esc")&&At(Xe)}return document.addEventListener("keydown",ce),()=>{document.removeEventListener("keydown",ce)}},[At,He]);const Ki=Ve(oe.ref,vo,Ne,r);!re&&re!==0&&(He=!1);const $t=W.useRef(),_o=ce=>{const Xe=oe.props;Xe.onMouseMove&&Xe.onMouseMove(ce),xn={x:ce.clientX,y:ce.clientY},$t.current&&$t.current.update()},nr={},_r=typeof re=="string";R?(nr.title=!He&&_r&&!I?re:null,nr["aria-describedby"]=He?Zt:null):(nr["aria-label"]=_r?re:null,nr["aria-labelledby"]=He&&!_r?Zt:null);const je=l._extends({},nr,Z,oe.props,{className:se(Z.className,oe.props.className),onTouchStart:br,ref:Ki},L?{onMouseMove:_o}:{});process.env.NODE_ENV!=="production"&&(je["data-mui-internal-clone-element"]=!0,W.useEffect(()=>{ue&&!ue.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(`
251
- `))},[ue]));const Lt={};P||(je.onTouchStart=yo,je.onTouchEnd=bo),I||(je.onMouseOver=No(er,je.onMouseOver),je.onMouseLeave=No(tr,je.onMouseLeave),ye||(Lt.onMouseOver=er,Lt.onMouseLeave=tr)),E||(je.onFocus=No(cn,je.onFocus),je.onBlur=No(ln,je.onBlur),ye||(Lt.onFocus=cn,Lt.onBlur=ln)),process.env.NODE_ENV!=="production"&&oe.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${oe.props.title}\` or the Tooltip component.`].join(`
252
- `));const Xi=W.useMemo(()=>{var ce;let Xe=[{name:"arrow",enabled:!!Te,options:{element:Te,padding:4}}];return(ce=K.popperOptions)!=null&&ce.modifiers&&(Xe=Xe.concat(K.popperOptions.modifiers)),l._extends({},K.popperOptions,{modifiers:Xe})},[Te,K]),Ft=l._extends({},C,{isRtl:pe,arrow:S,disableInteractive:ye,placement:Y,PopperComponentProp:X,touch:Le.current}),un=S7(Ft),xo=(n=(o=ee.popper)!=null?o:M.Popper)!=null?n:R7,dn=(i=(a=(s=ee.transition)!=null?s:M.Transition)!=null?a:G)!=null?i:jn,wo=(c=(u=ee.tooltip)!=null?u:M.Tooltip)!=null?c:O7,fn=(p=(h=ee.arrow)!=null?h:M.Arrow)!=null?p:M7,Co=Cn(xo,l._extends({},K,(d=Q.popper)!=null?d:D.popper,{className:se(un.popper,K==null?void 0:K.className,(m=(g=Q.popper)!=null?g:D.popper)==null?void 0:m.className)}),Ft),pn=Cn(dn,l._extends({},ne,(v=Q.transition)!=null?v:D.transition),Ft),hm=Cn(wo,l._extends({},(y=Q.tooltip)!=null?y:D.tooltip,{className:se(un.tooltip,(w=(T=Q.tooltip)!=null?T:D.tooltip)==null?void 0:w.className)}),Ft),mm=Cn(fn,l._extends({},(_=Q.arrow)!=null?_:D.arrow,{className:se(un.arrow,(x=(b=Q.arrow)!=null?b:D.arrow)==null?void 0:x.className)}),Ft);return te.jsxs(W.Fragment,{children:[W.cloneElement(oe,je),te.jsx(xo,l._extends({as:X!=null?X:po,placement:Y,anchorEl:L?{getBoundingClientRect:()=>({top:xn.y,left:xn.x,right:xn.x,bottom:xn.y,width:0,height:0})}:ue,popperRef:$t,open:ue?He:!1,id:Zt,transition:!0},Lt,Co,{popperOptions:Xi,children:({TransitionProps:ce})=>te.jsx(dn,l._extends({timeout:de.transitions.duration.shorter},ce,pn,{children:te.jsxs(wo,l._extends({},hm,{children:[re,S?te.jsx(fn,l._extends({},mm,{ref:$e})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Ui.propTypes={arrow:f.bool,children:mr.isRequired,classes:f.object,className:f.string,components:f.shape({Arrow:f.elementType,Popper:f.elementType,Tooltip:f.elementType,Transition:f.elementType}),componentsProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),describeChild:f.bool,disableFocusListener:f.bool,disableHoverListener:f.bool,disableInteractive:f.bool,disableTouchListener:f.bool,enterDelay:f.number,enterNextDelay:f.number,enterTouchDelay:f.number,followCursor:f.bool,id:f.string,leaveDelay:f.number,leaveTouchDelay:f.number,onClose:f.func,onOpen:f.func,open:f.bool,placement:f.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:f.elementType,PopperProps:f.object,slotProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),slots:f.shape({arrow:f.elementType,popper:f.elementType,tooltip:f.elementType,transition:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),title:f.node,TransitionComponent:f.elementType,TransitionProps:f.object});const P7=()=>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),D7=e=>l.isNumber$1(e)?"right":"left",ed=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return l.jsx("div",{className:En.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?l.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?l.jsx(Ui,{title:e,children:l.jsx("div",{children:e})}):l.jsx("div",{children:e})})},k7=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var T,_,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,c=A0+(s?N0:0),u=(o==null?void 0:o.paddingVertical)||ju,p=(o==null?void 0:o.paddingHorizontal)||ju,h=((T=o==null?void 0:o.columns)==null?void 0:T.width)==="auto"?(n-p*2-P7())/t.columns.length:void 0,d=F.useMemo(()=>t.columns.map(b=>({isHtml:"isHtml"in b&&!!b.isHtml,width:h})),[t.columns,h]),[m,g]=F.useState(((_=document.fonts)==null?void 0:_.status)==="loaded"),v=(x=i.typography)==null?void 0:x.fontFamily,y=F.useMemo(()=>ek(e,s,d,v),[e,s,d,v,m]);F.useEffect(()=>{var b;(b=document.fonts)==null||b.ready.then(()=>{g(!0)}).catch(C=>{console.warn("Failed to observe font loading",C)})},[]);const w=F.useMemo(()=>e.columns.map((b,C)=>{const S=y[C],O=t.columns[C],M=zu({isHeaderCell:!0,themeSettings:i,customStyles:o});return S?l.jsx(ko.Column,{maxWidth:es,minWidth:es,allowCellsRecycling:!0,width:S,header:l.jsx(ko.Cell,{className:zn(En.tableHeader),style:M,children:l.jsx(Y6,{column:b,onClick:a,isSelected:!!Math.abs(b.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:ed({displayValue:l.getDataOptionTitle(O),width:S,padding:c,ellipsizedLength:Z6})})}),cell:E=>{var I=E,{rowIndex:D}=I,R=xr(I,["rowIndex"]);return l.jsx(ko.Cell,J(q({className:zn(En.tableCell),style:zu({colIndex:C,rowIndex:D,themeSettings:i,customStyles:o})},R),{children:ed({displayValue:e.rows[D][C].displayValue,width:S,padding:$0,ellipsizedLength:J6,isHtml:"isHtml"in O&&O.isHtml})}))},align:D7(b.type)},`col${C}`):null}),[e,y,i,o,a,s,t,c]);return F.useMemo(()=>l.jsx("div",{className:En.tableWrapper,style:{padding:`${u}px ${p}px`},children:l.jsx(ko.Table,{className:En.table,rowHeight:(o==null?void 0:o.rowHeight)||X6,rowsCount:e.rows.length,width:n-p*2,height:r-u*2,headerHeight:(o==null?void 0:o.headerHeight)||K6,children:w})}),[w,o,e,r,p,u,n])},I7="_component_1rw9b_1",A7={component:I7},N7=(e,t)=>{if(!e.columns.some(a=>l.isNumber$1(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,c)=>{const u=r[c].type,p=l.getCompleteNumberFormatConfig(t.columns[c].numberFormatConfig);if(l.isNumber$1(u)){const h=l.createCompareValue(s.displayValue,u);return{displayValue:l.applyFormatPlainText(p,h.value),compareValue:h}}else return s}));return{columns:r,rows:o}},$7=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=F.useRef(null),c=F.useRef(e),u=F.useMemo(()=>N7(e,t),[e,t]);F.useLayoutEffect(()=>{c.current=e},[e]);const p=F.useMemo(()=>q({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return l.jsx("div",{className:A7.component,ref:s,children:l.jsx(k7,{dataTable:u,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:p,themeSettings:o})})},L7=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}}),F7=e=>({paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:e.header,rows:e.rows,columns:e.columns}),X0=25,Q0=10,Z0=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=X0,width:a,height:s}=r,{themeSettings:c}=l.useThemeContext(),[u,p]=F.useState(0),{filters:h,relations:d}=l.getFilterListAndRelationsJaql(n),[m,g]=F.useState(1),v=F.useRef(null),y=F.useMemo(()=>op(t),[t]),w=F.useMemo(()=>Ws(y.columns.filter(l.isMeasureColumn).map(l.translateColumnToMeasure)),[y]),T=F.useMemo(()=>F7(r),[r]),[_,x]=F.useState(y),[b,C]=F.useState(e),[S,O]=G3({dataSet:b,dataOptions:_,filters:h,filterRelations:d,count:i*Q0,offset:u}),M=F.useMemo(()=>{if(S&&o){const P=o(S);if(!lp(P))throw new l.TranslatableError("errors.incorrectOnDataReadyHandler");return P}return S},[S]),D=Y3({data:M,innerDataOptions:O,dataColumnNamesMapping:w,needToAggregate:!Vt(b)});F.useEffect(()=>{x(y),C(e),g(1),p(0)},[e,y]);const R=F.useCallback(P=>{if(!S)return;Math.floor(S.rows.length/i)===P&&p(S.rows.length),g(P)},[S,i]),E=F.useCallback(P=>{g(1),p(0),_&&x(qx(_,P))},[_]),I=F.useMemo(()=>{if(!D||Vt(b))return D;const P=D.columns.find(N=>N.direction!==0);return P?l.orderBy(D,[P]):D},[D,b]),A=F.useMemo(()=>I?{columns:I.columns,rows:I.rows.slice((m-1)*i,m*i)}:void 0,[I,m,i]);return O?l.jsx(Ei,{defaultSize:js("table"),size:{width:a,height:s},children:P=>{if(!D||!A)return l.jsx(li,{themeSettings:c});if(l.isDataTableEmpty(D))return l.jsx(Hs,{iconType:"table"});const N=Math.ceil(D.rows.length/i);return l.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:c.chart.backgroundColor},"aria-label":"table-root",children:[l.jsx($7,{dataTable:A,dataOptions:O,designOptions:T,themeSettings:c,width:P.width,height:P.height-32,onSortUpdate:E}),l.jsx(dp,{ref:v,page:m,count:N,onChange:(H,L)=>R(L),sx:L7(c)})]})}}):null},J0=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},B7=F.createContext(null),ba={didCatch:!1,error:null};class eh extends F.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=ba}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(ba)}}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&&H7(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(ba)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const c={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(c);else if(n)s=F.createElement(n,c);else if(o===null||F.isValidElement(o))s=o;else throw a}return F.createElement(B7.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function H7(){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 th=F.createContext(void 0),j7=({children:e})=>{const[t,r]=F.useState([]),[n,o]=F.useState([]),i=()=>r([]),a=()=>o([]);return l.jsx(th.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},rh=()=>{const e=F.useContext(th);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 Rl(e,t,r){const n=l.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!l.isEqual(n[i],e[i])):!l.isEqual(n,e))?!0:r?r(e,n):!1}const W7=e=>{const[t,r]=F.useState(0),{setErrors:n,errors:o}=rh(),i=Rl(e,["dataOptions","filters"]);if(F.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!Vt(e.dataSet))throw new l.TranslatableError("errors.undefinedDataSource");const a=l.cloneDeep(e.dataOptions),s=l.extractTrendMeasures(a);a.value.push(...s);const c=l.extractForecastMeasures(a);a.value.push(...c);const u=F.useCallback(({error:p})=>(console.debug("Unexpected error occurred when rendering advanced chart:",p),l.jsx(Ua,q({},e))),[e,o]);return o.length===2?null:l.jsx(eh,{fallbackRender:u,onError:p=>{n(h=>[...h,p.message])},children:l.jsx(Ua,J(q({},e),{dataOptions:a}))},`errorboundary_${t}`)},nh=no({componentName:"Chart",shouldSkipSisenseContextWaiting:J0,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(z7(e))return l.jsx(Z0,q({},e));if(V7(e))return l.jsx(W7,q({},e));if(oh(e))return l.jsx(Ua,q({},e));throw new l.TranslatableError("errors.chartInvalidProps")});function z7(e){return e.chartType==="table"&&"columns"in e.dataOptions}function oh(e){return e.chartType!=="table"}function V7(e){return!oh(e)||!l.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 U7=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),ns=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(ns||{}),os=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(os||{}),ih=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const q7=(e,t)=>{const r=l.get(e,"shadow",t.widget.shadow),n=l.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in ns&&n in os){const o=ns[`${r}`];return`0px ${os[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function G7(e){return we("MuiCard",e)}Ce("MuiCard",["root"]);const Y7=["className","raised"],K7=e=>{const{classes:t}=e;return De({root:["root"]},G7,t)},X7=le(xi,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),ah=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=n,a=ae(n,Y7),s=l._extends({},n,{raised:i}),c=K7(s);return te.jsx(X7,l._extends({className:se(c.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(ah.propTypes={children:f.node,classes:f.object,className:f.string,raised:Dt(f.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function Q7(e){return we("MuiCardContent",e)}Ce("MuiCardContent",["root"]);const Z7=["className","component"],J7=e=>{const{classes:t}=e;return De({root:["root"]},Q7,t)},e8=le("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),sh=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardContent"}),{className:o,component:i="div"}=n,a=ae(n,Z7),s=l._extends({},n,{component:i}),c=J7(s);return te.jsx(e8,l._extends({as:i,className:se(c.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(sh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function t8(e){return we("MuiIconButton",e)}const r8=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),n8=["edge","children","className","color","disabled","disableFocusRipple","size"],o8=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${fe(n)}`,o&&`edge${fe(o)}`,`size${fe(i)}`]};return De(a,t8,t)},i8=le(gr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(({theme:e,ownerState:t})=>l._extends({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return l._extends({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&l._extends({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":l._extends({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${r8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),hr=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:c=!1,disableFocusRipple:u=!1,size:p="medium"}=n,h=ae(n,n8),d=l._extends({},n,{edge:o,color:s,disabled:c,disableFocusRipple:u,size:p}),m=o8(d);return te.jsx(i8,l._extends({className:se(m.root,a),centerRipple:!0,focusRipple:!u,disabled:c,ref:r},h,{ownerState:d,children:i}))});process.env.NODE_ENV!=="production"&&(hr.propTypes={children:Dt(f.node,e=>W.Children.toArray(e.children).some(r=>W.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(`
253
- `)):null),classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),f.string]),disabled:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,edge:f.oneOf(["end","start",!1]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function a8({fill:e="rgba(38, 46, 61, 0.67)"}){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:l.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"})})}const s8=l.newStyled(Fs,{target:"ev9zcut0",label:"StyledMuiPopover"})(".MuiPaper-root.MuiPopover-paper:not([style*='top']),.MuiPaper-root.MuiPopover-paper:not([style*='left']){opacity:0 !important;}"),lh=e=>{const s=e,{children:t,open:r,id:n,position:o,onClose:i}=s,a=xr(s,["children","open","id","position","onClose"]);return l.jsx(s8,J(q({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,slotProps:{paper:{sx:{display:"flex",boxShadow:"-1px -1px 10px rgba(0, 0, 0, 0.2)"}}},onClose:i},a),{children:t}))};function l8({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var w,T,_;const[i,a]=F.useState(null),{themeSettings:s}=l.useThemeContext(),{typography:{primaryTextColor:c,secondaryTextColor:u,fontFamily:p}}=s,{t:h}=l.useTranslation(),d=x=>{a(x.currentTarget)},m=()=>{a(null)},g=F.useMemo(()=>e?l.jsx(Ze,{variant:"body2",style:{color:c,fontFamily:p,fontSize:13},children:e}):null,[e,c,p]),v=F.useMemo(()=>r.length===0?null:r.map(x=>l.jsxs(l.Fragment,{children:[l.jsx(Fr,{sx:{my:1,borderColor:u,opacity:.3,marginY:"8px"}}),l.jsxs("div",{className:"csdk-flex",children:[l.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:l.jsx(a8,{fill:"#fa5656"})}),l.jsx(Ze,{variant:"body2",className:"csdk-grow-1",style:{color:u,fontFamily:p,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,u,p]),y=F.useMemo(()=>t?l.jsxs(l.Fragment,{children:[l.jsx(Fr,{sx:{my:"8px",borderColor:u,opacity:.3}}),l.jsx(Ze,{variant:"body2",style:{color:u,fontFamily:p,fontSize:13},children:t})]}):null,[t,u,p]);return l.jsxs(l.Fragment,{children:[l.jsx(Ui,{title:h("widgetHeader.info.tooltip"),style:{color:(w=s.chart)==null?void 0:w.textColor,fontFamily:(T=s.typography)==null?void 0:T.fontFamily},children:l.jsx(hr,{onClick:d,sx:{p:0},children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:l.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"})})})}),l.jsx(lh,{open:!!i,position:i?{anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"center"},contentOrigin:{vertical:"top",horizontal:"center"}}:void 0,onClose:m,children:l.jsxs(ah,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[l.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:l.getSlightlyDifferentColor(s.general.backgroundColor)},children:[l.jsx(Ze,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:h("widgetHeader.info.details")}),l.jsx(hr,{onClick:o,sx:{p:0},children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:l.jsx("path",{fill:(_=s.chart)==null?void 0:_.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"})})})]}),l.jsx(Fr,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),l.jsxs(sh,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[g,v,y]})]})})]})}const c8=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var u;const{themeSettings:s}=l.useThemeContext(),c=()=>{var h;const p=l.jsx(l.Fragment,{children:l.jsx(l8,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(h=i==null?void 0:i.renderToolbar)==null?void 0:h.call(i,a,p):p};return l.jsxs(l.Fragment,{children:[l.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:[l.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:u8((i==null?void 0:i.titleAlignment)||s.widget.header.titleAlignment),color:(i==null?void 0:i.titleTextColor)||s.widget.header.titleTextColor,fontFamily:(u=s.typography)==null?void 0:u.fontFamily,fontSize:s.widget.header.titleFontSize},children:e||""}),l.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:c()})]}),l.get(i,"dividerLine",s.widget.header.dividerLine)&&l.jsx(Fr,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function u8(e){return e.toLowerCase()}const ch=e=>l.jsx(j7,{children:l.jsx(d8,q({},e))}),d8=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var h,d,m;const{errors:c,warnings:u}=rh(),{themeSettings:p}=l.useThemeContext();return l.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden csdk-accessible",children:l.jsx("div",{className:"csdk-h-full",style:{padding:ih[l.get(t,"spaceAround",p.widget.spaceAround)]||"0px"},children:l.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:l.get(t,"border",p.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||p.widget.borderColor,borderRadius:U7[(t==null?void 0:t.cornerRadius)||p.widget.cornerRadius]||0,boxShadow:q7(t,p),display:"flex",flexDirection:"column"},children:[!((h=t==null?void 0:t.header)!=null&&h.hidden)&&l.jsx(c8,{title:r,description:n,dataSetName:e,errorMessages:c,warningMessages:u,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,l.jsx(Ff,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((d=p.chart)==null?void 0:d.backgroundColor)}},children:l.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((m=p.chart)==null?void 0:m.backgroundColor)},children:a})}),i]})})})};var f8="[object String]";function uh(e){return typeof e=="string"||!l.isArray(e)&&l.isObjectLike(e)&&l.baseGetTag(e)==f8}const p8=e=>{const t=h8(e);return t.config.disabled=!e.config.disabled,t},h8=e=>{const t=l.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function m8(e,t,r){const n={guid:t,excludeMembers:!1,backgroundFilter:r};return l.members(e,[],n)}function qi(e){if(!l.isMembersFilter(e))throw new l.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return m8(t,r,n)}function Ol(e){return"members"in e&&e.members.length===0}function ut(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function dh(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)=>!l.isEqualWith(r,t[n],fh))}function Ml(e,t){return ut(e.attribute,t.attribute)}function fh(e,t){const r=l.flow(g8,v8);return l.isEqual(r(e),r(t))}function g8(e){return J(q({},e),{name:""})}function v8(e){return J(q({},e),{config:J(q({},e.config),{guid:""})})}function y8(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,c=i,u=a,p=a;return i===void 0&&a===void 0?!0:[i,a].some(h=>h===void 0)||s.operator!==u.operator?!1:c.instanceid&&p.instanceid?!dh(e==null?void 0:e.filter(h=>h.config.guid===c.instanceid),t==null?void 0:t.filter(h=>h.config.guid===p.instanceid)):o(s.left,u.left)&&o(s.right,u.right)||o(s.left,u.right)&&o(s.right,u.left)}return!o(r,n)}const ph="sdkHookInit",b8=(e,t,r,n)=>{if(!r)return;Md(ph,{packageName:t,packageVersion:"2.2.0",hookName:e},r.httpClient).finally(n)};function _8(e){const{tracking:t,app:r}=l.useSisenseContext(),{trackEvent:n}=ms(),o=F.useRef(!1);F.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"2.2.0",hookName:e};n(ph,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const hh=e=>t=>(...r)=>(_8(e),t(...r));function is(e,t){switch(t.type){case"loading":return x8(e);case"success":return w8(t.data);case"error":return C8(t.error)}}function x8(e){return e.status==="loading"?e:J(q({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function w8(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function C8(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function mh({enabled:e},t){const r=F.useRef(!1);return F.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var _a=function(){return l.root.Date.now()},T8="Expected a function",E8=Math.max,S8=Math.min;function R8(e,t,r){var n,o,i,a,s,c,u=0,p=!1,h=!1,d=!0;if(typeof e!="function")throw new TypeError(T8);t=l.toNumber(t)||0,l.isObject(r)&&(p=!!r.leading,h="maxWait"in r,i=h?E8(l.toNumber(r.maxWait)||0,t):i,d="trailing"in r?!!r.trailing:d);function m(C){var S=n,O=o;return n=o=void 0,u=C,a=e.apply(O,S),a}function g(C){return u=C,s=setTimeout(w,t),p?m(C):a}function v(C){var S=C-c,O=C-u,M=t-S;return h?S8(M,i-O):M}function y(C){var S=C-c,O=C-u;return c===void 0||S>=t||S<0||h&&O>=i}function w(){var C=_a();if(y(C))return T(C);s=setTimeout(w,v(C))}function T(C){return s=void 0,d&&n?m(C):(n=o=void 0,a)}function _(){s!==void 0&&clearTimeout(s),u=0,n=c=o=s=void 0}function x(){return s===void 0?a:T(_a())}function b(){var C=_a(),S=y(C);if(n=arguments,o=this,c=C,S){if(s===void 0)return g(c);if(h)return clearTimeout(s),s=setTimeout(w,t),m(c)}return s===void 0&&(s=setTimeout(w,t)),a}return b.cancel=_,b.flush=x,b}function Pl(e,{onLocalStateChange:t,syncCompareFn:r=l.isEqual}={}){const[n,o]=F.useState(e),i=F.useRef(e);F.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=F.useCallback(s=>{o(c=>{const u=l.isFunction(s)?s(c):s;return t==null||t(u),u})},[t]);return[n,a]}function O8({chartType:e,dataOptions:t,enabled:r}){const[n,o]=F.useState([]),i=F.useMemo(()=>{var d;const h=l.isCartesian(e)&&((d=t.category)==null?void 0:d.length)===1||l.isScatter(e);return r&&h},[r,e,t]),a=F.useMemo(()=>{if(n.length===0)return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!1}))}))});if(l.isScatter(e))return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!n.some(g=>{var v,y;return g.x===m.x&&g.y===m.y&&g.size===m.z&&g.breakByPoint===((v=m.custom)==null?void 0:v.maskedBreakByPoint)&&g.breakByColor===((y=m.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const h=n.reduce((d,{categoryValue:m})=>(m&&(d[`${m}`]=!0),d),{});return d=>J(q({},d),{series:d.series.map(m=>J(q({},m),{data:m.data.map(g=>{var v,y;return h[(y=(v=g.custom)==null?void 0:v.xValue)==null?void 0:y[0]]?g:J(q({},g),{selected:!0})})}))})}},[n,e]),s=F.useMemo(()=>h=>{var d;return J(q({},h),{chart:J(q({},h.chart),{events:J(q({},(d=h.chart)==null?void 0:d.events),{click:()=>{o([])}})})})},[]),c=F.useCallback(h=>(i&&(h=a(h),h=s(h)),h),[a,s,i]),u=F.useCallback(h=>{i&&o(h)},[i]),p=F.useCallback(h=>{i&&o([h])},[i]);return{onBeforeRender:c,onDataPointsSelected:u,onDataPointClick:p}}const gh=()=>{const e=ci();if(!e)throw new l.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function as(e){return e&&e.length?Vs(e):[]}function M8(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 P8(e,t){return function(r,n){if(r==null)return r;if(!l.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 D8=P8(l.baseForOwn);function k8(e,t,r,n){return D8(e,function(o,i,a){t(n,o,r(o),a)}),n}function vh(e,t){return function(r,n){var o=l.isArray(r)?M8:k8,i=t?t():{};return o(r,e,l.baseIteratee(n),i)}}var ho=vh(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const I8=qr(te.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"),A8=["slots","slotProps"],N8=le(gr)(({theme:e})=>l._extends({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":l._extends({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":l._extends({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:uc(e.palette.grey[200],.12)}:{backgroundColor:uc(e.palette.grey[600],.12)})})),$8=le(I8)({width:24,height:16});function yh(e){const{slots:t={},slotProps:r={}}=e,n=ae(e,A8),o=e;return te.jsx("li",{children:te.jsx(N8,l._extends({focusRipple:!0},n,{ownerState:o,children:te.jsx($8,l._extends({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(yh.propTypes={slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.object});function L8(e){return we("MuiBreadcrumbs",e)}const F8=Ce("MuiBreadcrumbs",["root","ol","li","separator"]),B8=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],H8=e=>{const{classes:t}=e;return De({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},L8,t)},j8=le(Ze,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${F8.li}`]:t.li},t.root]})({}),W8=le("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),z8=le("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function V8(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,te.jsx(z8,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const bh=W.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBreadcrumbs"}),{children:o,className:i,component:a="nav",slots:s={},slotProps:c={},expandText:u="Show path",itemsAfterCollapse:p=1,itemsBeforeCollapse:h=1,maxItems:d=8,separator:m="/"}=n,g=ae(n,B8),[v,y]=W.useState(!1),w=l._extends({},n,{component:a,expanded:v,expandText:u,itemsAfterCollapse:p,itemsBeforeCollapse:h,maxItems:d,separator:m}),T=H8(w),_=Ut({elementType:s.CollapsedIcon,externalSlotProps:c.collapsedIcon,ownerState:w}),x=W.useRef(null),b=S=>{const O=()=>{y(!0);const M=x.current.querySelector("a[href],button,[tabindex]");M&&M.focus()};return h+p>=S.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${p}} + itemsBeforeCollapse={${h}} >= maxItems={${d}}`].join(`
254
- `)),S):[...S.slice(0,h),te.jsx(yh,{"aria-label":u,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:_},onClick:O},"ellipsis"),...S.slice(S.length-p,S.length)]},C=W.Children.toArray(o).filter(S=>(process.env.NODE_ENV!=="production"&&$n.isFragment(S)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
255
- `)),W.isValidElement(S))).map((S,O)=>te.jsx("li",{className:T.li,children:S},`child-${O}`));return te.jsx(j8,l._extends({ref:r,component:a,color:"text.secondary",className:se(T.root,i),ownerState:w},g,{children:te.jsx(W8,{className:T.ol,ref:x,ownerState:w,children:V8(v||d&&C.length<=d?C:b(C),T.separator,m,w)})}))});process.env.NODE_ENV!=="production"&&(bh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,expandText:f.string,itemsAfterCollapse:bt,itemsBeforeCollapse:bt,maxItems:bt,separator:f.node,slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function U8(e){return we("MuiButton",e)}const $o=Ce("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"]),_h=W.createContext({});process.env.NODE_ENV!=="production"&&(_h.displayName="ButtonGroupContext");const xh=W.createContext(void 0);process.env.NODE_ENV!=="production"&&(xh.displayName="ButtonGroupButtonContext");const q8=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],G8=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${fe(o)}`],endIcon:["icon","endIcon",`iconSize${fe(o)}`]},c=De(s,U8,a);return l._extends({},a,c)},wh=e=>l._extends({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Y8=le(gr,{shouldForwardProp:e=>Jn(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]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return l._extends({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":l._extends({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":l._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$o.focusVisible}`]:l._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$o.disabled}`]:l._extends({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Pe(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$o.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$o.disabled}`]:{boxShadow:"none"}}),K8=le("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>l._extends({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},wh(e))),X8=le("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>l._extends({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},wh(e))),qn=W.forwardRef(function(t,r){const n=W.useContext(_h),o=W.useContext(xh),i=Mf(n,t),a=Re({props:i,name:"MuiButton"}),{children:s,color:c="primary",component:u="button",className:p,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:v,fullWidth:y=!1,size:w="medium",startIcon:T,type:_,variant:x="text"}=a,b=ae(a,q8),C=l._extends({},a,{color:c,component:u,disabled:h,disableElevation:d,disableFocusRipple:m,fullWidth:y,size:w,type:_,variant:x}),S=G8(C),O=T&&te.jsx(K8,{className:S.startIcon,ownerState:C,children:T}),M=g&&te.jsx(X8,{className:S.endIcon,ownerState:C,children:g}),D=o||"";return te.jsxs(Y8,l._extends({ownerState:C,className:se(n.className,S.root,p,D),component:u,disabled:h,focusRipple:!m,focusVisibleClassName:se(S.focusVisible,v),ref:r,type:_},b,{classes:S,children:[O,s,M]}))});process.env.NODE_ENV!=="production"&&(qn.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary","success","error","info","warning"]),f.string]),component:f.elementType,disabled:f.bool,disableElevation:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,endIcon:f.node,focusVisibleClassName:f.string,fullWidth:f.bool,href:f.string,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),startIcon:f.node,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOfType([f.oneOf(["button","reset","submit"]),f.string]),variant:f.oneOfType([f.oneOf(["contained","outlined","text"]),f.string])});const Q8=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=l.useTranslation(),i=t.name,a=l.newStyled(qn,{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=l.newStyled("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),c=()=>l.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:l.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:l.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"})})}),u=l.newStyled(qn,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",h=>h.theme.fontFamily,";border-radius:0;border:1px solid ",wt,";background-color:",h=>h.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",h=>h.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:",h=>h.theme.chartBackgroundColor,";border:1px solid ",wt,";border-right:none;border-left:none;}}");return{CancelButton:c,CurrentDrillButton:()=>l.jsxs(u,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",l.jsx("span",{className:"flex items-center justify-between",children:l.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 ${wt}`,borderRight:`1px solid ${wt}`}})})]})}},Z8={modifiers:[{name:"offset",options:{offset:[0,12]}}]},J8=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=l.useTranslation();return l.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:[l.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[l.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),l.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),l.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[l.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),l.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),l.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[l.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),l.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},eI=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return l.jsx(po,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:Z8,children:e&&l.jsx(J8,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},tI=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=l.useThemeContext(),s=l.scaleBrightness(a,-.02),c=l.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:c}},rI=l.newStyled(hr,{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;}}}"),nI=l.newStyled(hr,{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;}}}"),oI=({currentDimension:e,children:t})=>{const{t:r}=l.useTranslation(),n=F.useRef(null),[o,i]=F.useState(0),[a,s]=F.useState(0),[c,u]=F.useState(0),p=()=>{var g;return(g=n.current)==null?void 0:g.querySelector("ol")};F.useEffect(()=>{const g=p();if(g){const v=g.clientWidth,y=g.scrollWidth,w=g.scrollLeft;i(v),s(y),u(w)}},[e]),F.useEffect(()=>{const g=p();function v(){if(g){const T=g.clientWidth;i(T)}}function y(){if(g){const T=g.scrollLeft;u(T)}}const w=new ResizeObserver(v);return g?(w.observe(g),g.addEventListener("scroll",y),()=>{w.disconnect(),g.removeEventListener("scroll",y)}):()=>{}},[]);const h=g=>{const y="smooth",w=p();w&&w.scrollBy({left:g==="right"?200:-200,behavior:y})},d=c!=0,m=Math.floor(a-c)>o;return l.jsxs("div",{style:{position:"relative"},children:[d&&l.jsx(rI,{onClick:()=>h("left"),children:l.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),m&&l.jsx(nI,{onClick:()=>h("right"),children:l.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),l.jsx("div",{ref:n,children:t})]})},wt="#F2F2F2",iI=l.newStyled(qn,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",wt,";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 ",wt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),aI=l.newStyled(bh,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),sI=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>l.jsx(iI,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:l.jsxs("span",{className:"flex items-center justify-between",children:[l.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?l.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 ${wt}`,borderRight:`1px solid ${wt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,l.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 ${wt}`,borderRight:`1px solid ${wt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),Ch=no({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=F.useState(null),[a,s]=F.useState(!1),c=tI(),{CancelButton:u,CurrentDrillButton:p}=Q8({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:c}),h=v=>y=>{s(!0),i({filterDisplayValues:v,anchorEl:y.currentTarget})},d=()=>{s(!1),i(null)},m=v=>v<e.length-1,g=v=>v===e.length-2;return e.length?l.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:l.jsx(oI,{currentDimension:t,children:l.jsxs(aI,{separator:null,sx:{backgroundColor:c.chartBackgroundColor,padding:"4px"},children:[l.jsx(u,{}),e.map((v,y)=>{const w=m(y),T=g(y);return l.jsx("div",{children:l.jsx(sI,{isActive:w,isLastActive:T,filterDisplayValue:v,handleMouseEnter:h(v),handleMouseLeave:d,handleClick:()=>n(y+1),themeProps:c,popperParams:o,index:y})},y)}),l.jsx(p,{}),l.jsx(eI,{popperParams:o,currentDimension:t,themeProps:c})]})})}):null}),Th=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=F.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=F.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=l.useTranslation();if(!t)throw new l.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=Pl(o,{onLocalStateChange:r}),c=F.useMemo(()=>[l.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),u=F.useMemo(()=>n.filter(y=>{if(l.MetadataTypes.isAttribute(y)){const _=y;return c.every(x=>!ut(x,_))}const T=y;return c.every((_,x)=>ut(_,T.levels[x]))}),[n,c]),p=F.useCallback((y,w,T)=>{s(_=>Eh(_,y,w,T))},[s]),h=F.useCallback(y=>{s(w=>w.slice(0,y))},[s]),d=F.useCallback(()=>{s([])},[s]),{drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v}=F.useMemo(()=>Sh(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:u,drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}},Eh=(e,t,r,n)=>{var d,m;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(ut(n.levels[0],r))return[];const i=(d=e==null?void 0:e.findIndex(g=>ut(g.nextDimension,r)))!=null?d:-1;if(i!==-1)return e.slice(0,i+1);const s=(m=l.last(e))==null?void 0:m.nextDimension,c=e.length?n.levels.findIndex(g=>s&&ut(g,s)):0,u=n.levels.indexOf(r),h=n.levels.slice(c+1,u+1).map((g,v)=>({points:v===0?t:[],nextDimension:g}));return[...e,...h]},Sh=(e,t,r)=>{let n=t&&l.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(l.members(n,a.map(lI)));const c=a.length?a.map(Rh):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(c),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function Rh(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function lI(e){return"categoryValue"in e?`${e.categoryValue}`:""}var cI=Object.prototype,uI=cI.hasOwnProperty,dI=vh(function(e,t,r){uI.call(e,r)?e[r].push(t):l.baseAssignValue(e,r,[t])});function fI(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function Oh(e,t){return e.find(r=>ut(r.attribute,t))}function Mh(e,t,r){const n=Oh(r,e);return l.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function Ph(e,t){return Ml(e,t)&&"members"in e&&"members"in t&&l.isEqual(e.members,t.members)}var Gn=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 Dh=2;function nn(e,t){const r=e.flatMap(({entries:o={}})=>t.flatMap(i=>{const a=o[i];return a?(Array.isArray(a)?a:[a]).filter(({attribute:c})=>!!c):[]})),n=dI(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:as(o.map(({value:i})=>i)),displayValues:as(o.map(({displayValue:i})=>i))}))}function pI(e){return nn(e,["category"])}function hI(e){return nn(e,["category"])}function mI(e,t){const r=nn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:l.translateColumnToAttribute(o),values:[],displayValues:[]})}function gI(e){return nn(e,["x","y","breakByPoint","breakByColor"])}function vI(e){return nn(e,["geo"])}function yI(e){return nn(e,["geo"])}function zo(e,t,r){return e==="plugin"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?mI(r,t):l.isCartesian(e)||e==="pie"||e==="funnel"?pI(r):l.isBoxplot(e)?hI(r):l.isScatter(e)?gI(r):l.isScattermap(e)?vI(r):l.isAreamap(e)?yI(r):[]}function Dl(e,t){let r=[];return e==="plugin"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:l.isCartesian(e)||l.isCategorical(e)||l.isBoxplot(e)||l.isRange(e)?r=[...t.category]:l.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!l.isMeasureColumn(n))):(l.isScattermap(e)||l.isAreamap(e))&&(r=[...t.geo]),r.map(l.translateColumnToAttribute)}function bI(e,t,r){const n=Oh(t,e.attribute);if(!n||Ol(n))return null;if(Ph(e,n))return qi(e);if(l.isMembersFilter(n)&&r){const[o,i]=ho(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return Mh(e.attribute,i,[n])}return null}function _I(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>bI(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function xa(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>Mh(i,a,t)),o=xI(t,n);return _I(o,t,r)}function xI(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>Ml(o,n))):t}function wI(e,t,r){const n=zo(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>Dh;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function td(e,t,r){const n=wI(e,t,r);return n?{id:Gn.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function rd(e,t){return{items:[{caption:e,onClick:t}]}}const CI=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=l.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:c,drilldownDimension:u,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}=Th({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),m=F.useCallback((v,y)=>{const w=[kh(y,u),Ih(a,u,(T,_)=>{p(y,T,_)},i)];n({position:v,itemSections:w})},[u,a,i,p,n]),g=F.useMemo(()=>u&&l.jsx(Ch,{filtersDisplayValues:c,currentDimension:u,clearDrilldownSelections:d,sliceDrilldownSelections:h}),[d,u,c,h]);return{drilldownDimension:u,drilldownFilters:s,breadcrumbs:g,openDrilldownMenu:m}};function kh(e,t){const r=as(e.map(Rh).filter(n=>!!n));return r.length>Dh?{id:Gn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:Gn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function TI(e){return 30+12*e}function Ih(e,t,r,n){const[o,i]=ho(e,l.MetadataTypes.isAttribute.bind(l.MetadataTypes)),a=o.map(c=>({caption:c.name,onClick:()=>r(c)})),s=i.map(c=>({caption:c.title,subItems:[{items:c.levels.map((u,p)=>({caption:u.name,class:p===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${TI(p)}px`},disabled:ut(u,t),onClick:()=>r(u,c)}))}]}));return{id:Gn.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var Gi=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Ah(e){return function(t){t=l.toString(t);var r=Wf(t)?Wa(t):void 0,n=r?r[0]:t.charAt(0),o=r?jf(r,1).join(""):t.slice(1);return n[e]()+o}}var Nh=Ah("toUpperCase");function EI(e){return Nh(l.toString(e).toLowerCase())}function SI(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 RI(e){return function(t){return e==null?void 0:e[t]}}var OI={À:"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"},MI=RI(OI),PI=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,DI="\\u0300-\\u036f",kI="\\ufe20-\\ufe2f",II="\\u20d0-\\u20ff",AI=DI+kI+II,NI="["+AI+"]",$I=RegExp(NI,"g");function LI(e){return e=l.toString(e),e&&e.replace(PI,MI).replace($I,"")}var FI=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function BI(e){return e.match(FI)||[]}var HI=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function jI(e){return HI.test(e)}var $h="\\ud800-\\udfff",WI="\\u0300-\\u036f",zI="\\ufe20-\\ufe2f",VI="\\u20d0-\\u20ff",UI=WI+zI+VI,Lh="\\u2700-\\u27bf",Fh="a-z\\xdf-\\xf6\\xf8-\\xff",qI="\\xac\\xb1\\xd7\\xf7",GI="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",YI="\\u2000-\\u206f",KI=" \\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",Bh="A-Z\\xc0-\\xd6\\xd8-\\xde",XI="\\ufe0e\\ufe0f",Hh=qI+GI+YI+KI,jh="['’]",nd="["+Hh+"]",QI="["+UI+"]",Wh="\\d+",ZI="["+Lh+"]",zh="["+Fh+"]",Vh="[^"+$h+Hh+Wh+Lh+Fh+Bh+"]",JI="\\ud83c[\\udffb-\\udfff]",eA="(?:"+QI+"|"+JI+")",tA="[^"+$h+"]",Uh="(?:\\ud83c[\\udde6-\\uddff]){2}",qh="[\\ud800-\\udbff][\\udc00-\\udfff]",Ir="["+Bh+"]",rA="\\u200d",od="(?:"+zh+"|"+Vh+")",nA="(?:"+Ir+"|"+Vh+")",id="(?:"+jh+"(?:d|ll|m|re|s|t|ve))?",ad="(?:"+jh+"(?:D|LL|M|RE|S|T|VE))?",Gh=eA+"?",Yh="["+XI+"]?",oA="(?:"+rA+"(?:"+[tA,Uh,qh].join("|")+")"+Yh+Gh+")*",iA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",aA="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",sA=Yh+Gh+oA,lA="(?:"+[ZI,Uh,qh].join("|")+")"+sA,cA=RegExp([Ir+"?"+zh+"+"+id+"(?="+[nd,Ir,"$"].join("|")+")",nA+"+"+ad+"(?="+[nd,Ir+od,"$"].join("|")+")",Ir+"?"+od+"+"+id,Ir+"+"+ad,aA,iA,Wh,lA].join("|"),"g");function uA(e){return e.match(cA)||[]}function dA(e,t,r){return e=l.toString(e),t=t,t===void 0?jI(e)?uA(e):BI(e):e.match(t)||[]}var fA="['’]",pA=RegExp(fA,"g");function hA(e){return function(t){return SI(dA(LI(t).replace(pA,"")),e,"")}}var Kh=hA(function(e,t,r){return t=t.toLowerCase(),e+(r?EI(t):t)});function mA(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>l.createDimensionalElementFromJaql(o))}}function Xh(e,t,r){return rt(this,null,function*(){const o=yield new l.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>mA(i))})}const gA=hh("useGetHierarchyModels")(Qh);function Qh(e){const t=Rl(e,["dataSource","dimension","ids","alwaysIncluded"]),r=mh(e,t),[n,o]=F.useReducer(is,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=l.useSisenseContext();return F.useEffect(()=>{i||o({type:"error",error:new l.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),Xh(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?sd(is(n,{type:"loading"})):sd(n)}function sd(e){const n=e,{data:t}=n,r=xr(n,["data"]);return J(q({},r),{hierarchies:t})}function vA({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=F.useMemo(()=>ho(r,uh),[r]),{hierarchies:a=[]}=Qh({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return F.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function yA(e,t){return Dl(e,t)[0]}function bA(e){return[...l.CARTESIAN_CHART_TYPES,...l.CATEGORICAL_CHART_TYPES,...l.SCATTER_CHART_TYPES,...l.BOXPLOT_CHART_TYPES,...l.RANGE_CHART_TYPES].includes(e)}function _A(e,t){return Dl(e,t).length===1}function xA(e,t){return _A(e,t)&&bA(e)}function Zh(e,t,r){const n=o=>!!o&&!ut(r,l.translateColumnToAttribute(o));if(l.isCartesian(e)||l.isCategorical(e)||l.isBoxplot(e)||l.isRange(e)){const o=t.category[0];if(n(o))return J(q({},t),{category:[r]})}else if(l.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!l.isMeasureColumn(s)&&n(s))return J(q({},o),{[a]:r})}}return t}function ld(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]&&!l.isMeasureColumn(r[s]));if(i){const s=t,c=s.type==="mouseup";c&&console.warn("No drilldown support for multi-selection in scatter chart");const u=c?n[a]:s.point.options.custom[Kh(`{masked ${a}`)];return{categoryValue:u,categoryDisplayValue:u}}return n})}const wA=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=gh(),c=F.useMemo(()=>xA(r,n),[r,n]),u=F.useMemo(()=>(i==null?void 0:i.drilldownPaths)||[],[i==null?void 0:i.drilldownPaths]),p=F.useMemo(()=>{const O=l.createAttribute({name:"dummy drilldown initial attribute"});return yA(r,n)||O},[r,n]),h=vA({attribute:p,dataSource:o,drilldownPaths:u,enabled:c}),d=F.useMemo(()=>{var M;return(((M=i==null?void 0:i.drilldownSelections)==null?void 0:M.length)||(h==null?void 0:h.length))&&c},[i,c,h]),{drilldownDimension:m,drilldownFilters:g,breadcrumbs:v,openDrilldownMenu:y}=CI({initialDimension:p,drilldownSelections:a,drilldownPaths:h,openMenu:s,onDrilldownSelectionsChange:t}),w=F.useCallback((O,M)=>{const D=ld(O,M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),T=F.useCallback((O,M)=>{const D=ld([O],M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),_=F.useMemo(()=>Zh(r,n,m),[r,n,m]),x=F.useMemo(()=>g.length?Cd(e.filters||[],g):e.filters,[e.filters,g]),b=F.useMemo(()=>l.combineHandlers([w,e.onDataPointsSelected]),[w,e.onDataPointsSelected]),C=F.useMemo(()=>l.combineHandlers([T,e.onDataPointContextMenu]),[T,e.onDataPointContextMenu]);return{propsWithDrilldown:q(q({},e),d&&{dataOptions:_,filters:x,onDataPointsSelected:b,onDataPointContextMenu:C}),isDrilldownEnabled:d,breadcrumbs:v}},CA=no({componentName:"ChartWidget"})(e=>{var O,M;const{app:t}=l.useSisenseContext(),{chartType:r,dataSource:n=t==null?void 0:t.defaultDataSource,dataOptions:o,styleOptions:i,highlightSelectionDisabled:a=!1,highlights:s,description:c,onChange:u}=e,{width:p,height:h}=i||{},d=ep(r,{hasHeader:!((O=i==null?void 0:i.header)!=null&&O.hidden)}),[m,g]=F.useState(0),v=F.useMemo(()=>l.omit(i,["width","height"]),[i]),y=F.useCallback(D=>{u==null||u({drilldownOptions:{drilldownSelections:D}})},[u]),{propsWithDrilldown:w,isDrilldownEnabled:T,breadcrumbs:_}=wA({propsToExtend:e,onDrilldownSelectionsChange:y}),x=O8({chartType:r,dataOptions:o,enabled:!a&&!T&&!(s!=null&&s.length)}),b=(M=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:M.enabled,C=F.useCallback(D=>{var R;return b?J(q({},D),{accessibility:J(q({},D.accessibility),{description:c!=null?c:(R=D.accessibility)==null?void 0:R.description})}):D},[c,b]);if(!r||!o)return null;const S=J(q({},w),{dataSet:n,styleOptions:v,refreshCounter:m,onDataPointClick:F.useMemo(()=>l.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:w.onDataPointContextMenu,onDataPointsSelected:F.useMemo(()=>l.combineHandlers([x.onDataPointsSelected,w.onDataPointsSelected]),[x.onDataPointsSelected,w.onDataPointsSelected]),onBeforeRender:F.useMemo(()=>l.combineHandlers([C,x.onBeforeRender,e.onBeforeRender],!0),[C,x.onBeforeRender,e.onBeforeRender])});return l.jsx(Ei,{defaultSize:d,size:{width:p,height:h},children:l.jsx(ch,J(q({},e),{topSlot:l.jsxs(l.Fragment,{children:[e.topSlot,_]}),dataSetName:n&&l.getDataSourceName(n),onRefresh:()=>g(m+1),children:l.jsx(nh,q({},S))}))})});class on{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 Yn=typeof window=="undefined"||"Deno"in window;function it(){}function TA(e,t){return typeof e=="function"?e(t):e}function ss(e){return typeof e=="number"&&e>=0&&e!==1/0}function Jh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Sn(e,t,r){return mo(e)?typeof t=="function"?J(q({},r),{queryKey:e,queryFn:t}):J(q({},t),{queryKey:e}):e}function EA(e,t,r){return mo(e)?J(q({},t),{mutationKey:e}):typeof e=="function"?J(q({},t),{mutationFn:e}):q({},e)}function jt(e,t,r){return mo(e)?[J(q({},t),{queryKey:e}),r]:[e||{},t]}function cd(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(mo(a)){if(n){if(t.queryHash!==kl(a,t.options))return!1}else if(!Nr(t.queryKey,a))return!1}if(r!=="all"){const c=t.isActive();if(r==="active"&&!c||r==="inactive"&&c)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function ud(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(mo(i)){if(!t.options.mutationKey)return!1;if(r){if(ur(t.options.mutationKey)!==ur(i))return!1}else if(!Nr(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function kl(e,t){return((t==null?void 0:t.queryKeyHashFn)||ur)(e)}function ur(e){return JSON.stringify(e,(t,r)=>ls(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function Nr(e,t){return em(e,t)}function em(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!em(e[r],t[r])):!1}function tm(e,t){if(e===t)return e;const r=dd(e)&&dd(t);if(r||ls(e)&&ls(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 c=0;c<i;c++){const u=r?c:o[c];a[u]=tm(e[u],t[u]),a[u]===e[u]&&s++}return n===i&&s===n?e:a}return t}function ri(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function dd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ls(e){if(!fd(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!fd(r)||!r.hasOwnProperty("isPrototypeOf"))}function fd(e){return Object.prototype.toString.call(e)==="[object Object]"}function mo(e){return Array.isArray(e)}function rm(e){return new Promise(t=>{setTimeout(t,e)})}function pd(e){rm(0).then(e)}function SA(){if(typeof AbortController=="function")return new AbortController}function cs(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?tm(e,t):t}class RA extends on{constructor(){super(),this.setup=t=>{if(!Yn&&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 ni=new RA,hd=["online","offline"];class OA extends on{constructor(){super(),this.setup=t=>{if(!Yn&&window.addEventListener){const r=()=>t();return hd.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{hd.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 oi=new OA;function MA(e){return Math.min(1e3*Qe(2,e),3e4)}function Yi(e){return(e!=null?e:"online")==="online"?oi.isOnline():!0}class nm{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Vo(e){return e instanceof nm}function om(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,w)=>{i=y,a=w}),c=y=>{n||(m(new nm(y)),e.abort==null||e.abort())},u=()=>{t=!0},p=()=>{t=!1},h=()=>!ni.isFocused()||e.networkMode!=="always"&&!oi.isOnline(),d=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))},g=()=>new Promise(y=>{o=w=>{const T=n||!h();return T&&y(w),T},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),v=()=>{if(n)return;let y;try{y=e.fn()}catch(w){y=Promise.reject(w)}Promise.resolve(y).then(d).catch(w=>{var T,_;if(n)return;const x=(T=e.retry)!=null?T:3,b=(_=e.retryDelay)!=null?_:MA,C=typeof b=="function"?b(r,w):b,S=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,w);if(t||!S){m(w);return}r++,e.onFail==null||e.onFail(r,w),rm(C).then(()=>{if(h())return g()}).then(()=>{t?m(w):v()})})};return Yi(e.networkMode)?v():g().then(v),{promise:s,cancel:c,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:u,continueRetry:p}}const Il=console;function PA(){let e=[],t=0,r=p=>{p()},n=p=>{p()};const o=p=>{let h;t++;try{h=p()}finally{t--,t||s()}return h},i=p=>{t?e.push(p):pd(()=>{r(p)})},a=p=>(...h)=>{i(()=>{p(...h)})},s=()=>{const p=e;e=[],p.length&&pd(()=>{n(()=>{p.forEach(h=>{r(h)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:p=>{r=p},setBatchNotifyFunction:p=>{n=p}}}const ke=PA();class im{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ss(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Yn?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class DA extends im{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Il,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||kA(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=q(q({},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=cs(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(it).catch(it):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||!Jh(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(g=>g.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=SA(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};c(s);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),p={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};if(c(p),(n=this.options.behavior)==null||n.onFetch(p),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=p.fetchOptions)==null?void 0:o.meta)){var h;this.dispatch({type:"fetch",meta:(h=p.fetchOptions)==null?void 0:h.meta})}const d=m=>{if(Vo(m)&&m.silent||this.dispatch({type:"error",error:m}),!Vo(m)){var g,v,y,w;(g=(v=this.cache.config).onError)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,this.state.data,m,this),process.env.NODE_ENV!=="production"&&this.logger.error(m)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=om({fn:p.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:m=>{var g,v,y,w;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),d(new Error(this.queryHash+" data is undefined"));return}this.setData(m),(g=(v=this.cache.config).onSuccess)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,m,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(m,g)=>{this.dispatch({type:"failed",failureCount:m,error:g})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return J(q({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return J(q({},n),{fetchStatus:"paused"});case"continue":return J(q({},n),{fetchStatus:"fetching"});case"fetch":return q(J(q({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Yi(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return q(J(q({},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 Vo(a)&&a.revert&&this.revertState?J(q({},this.revertState),{fetchStatus:"idle"}):J(q({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return J(q({},n),{isInvalidated:!0});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function kA(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 IA extends on{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:kl(i,r);let s=this.get(a);return s||(s=new DA({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(){ke.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=jt(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>cd(n,o))}findAll(t,r){const[n]=jt(t,r);return Object.keys(n).length>0?this.queries.filter(o=>cd(n,o)):this.queries}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){ke.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){ke.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class AA extends im{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Il,this.observers=[],this.state=t.state||am(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=q(q({},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 rt(this,null,function*(){const t=()=>{var S;return this.retryer=om({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(O,M)=>{this.dispatch({type:"failed",failureCount:O,error:M})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(S=this.options.retry)!=null?S:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,c,u,p;if(!r){var h,d,m,g;this.dispatch({type:"loading",variables:this.options.variables}),yield(h=(d=this.mutationCache.config).onMutate)==null?void 0:h.call(d,this.state.variables,this);const O=yield(m=(g=this.options).onMutate)==null?void 0:m.call(g,this.state.variables);O!==this.state.context&&this.dispatch({type:"loading",context:O,variables:this.state.variables})}const S=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,S,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,S,this.state.variables,this.state.context),yield(s=(c=this.mutationCache.config).onSettled)==null?void 0:s.call(c,S,null,this.state.variables,this.state.context,this),yield(u=(p=this.options).onSettled)==null?void 0:u.call(p,S,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:S}),S}catch(S){try{var v,y,w,T,_,x,b,C;throw yield(v=(y=this.mutationCache.config).onError)==null?void 0:v.call(y,S,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(S),yield(w=(T=this.options).onError)==null?void 0:w.call(T,S,this.state.variables,this.state.context),yield(_=(x=this.mutationCache.config).onSettled)==null?void 0:_.call(x,void 0,S,this.state.variables,this.state.context,this),yield(b=(C=this.options).onSettled)==null?void 0:b.call(C,void 0,S,this.state.variables,this.state.context),S}finally{this.dispatch({type:"error",error:S})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return J(q({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return J(q({},n),{isPaused:!0});case"continue":return J(q({},n),{isPaused:!1});case"loading":return J(q({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Yi(this.options.networkMode),status:"loading",variables:t.variables});case"success":return J(q({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return J(q({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function am(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class NA extends on{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new AA({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(){ke.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=>ud(t,r))}findAll(t){return this.mutations.filter(r=>ud(t,r))}notify(t){ke.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 ke.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(it)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function $A(){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,c=(n=e.fetchOptions)==null||(o=n.meta)==null?void 0:o.fetchMore,u=c==null?void 0:c.pageParam,p=(c==null?void 0:c.direction)==="forward",h=(c==null?void 0:c.direction)==="backward",d=((i=e.state.data)==null?void 0:i.pages)||[],m=((a=e.state.data)==null?void 0:a.pageParams)||[];let g=m,v=!1;const y=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)v=!0;else{var O;(O=e.signal)==null||O.addEventListener("abort",()=>{v=!0})}return e.signal}})},w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),T=(C,S,O,M)=>(g=M?[S,...g]:[...g,S],M?[O,...C]:[...C,O]),_=(C,S,O,M)=>{if(v)return Promise.reject("Cancelled");if(typeof O=="undefined"&&!S&&C.length)return Promise.resolve(C);const D={queryKey:e.queryKey,pageParam:O,meta:e.options.meta};y(D);const R=w(D);return Promise.resolve(R).then(I=>T(C,O,I,M))};let x;if(!d.length)x=_([]);else if(p){const C=typeof u!="undefined",S=C?u:md(e.options,d);x=_(d,C,S)}else if(h){const C=typeof u!="undefined",S=C?u:LA(e.options,d);x=_(d,C,S,!0)}else{g=[];const C=typeof e.options.getNextPageParam=="undefined";x=(s&&d[0]?s(d[0],0,d):!0)?_([],C,m[0]):Promise.resolve(T([],m[0],d[0]));for(let O=1;O<d.length;O++)x=x.then(M=>{if(s&&d[O]?s(d[O],O,d):!0){const R=C?m[O]:md(e.options,M);return _(M,C,R)}return Promise.resolve(T(M,m[O],d[O]))})}return x.then(C=>({pages:C,pageParams:g}))}}}}function md(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function LA(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class FA{constructor(t={}){this.queryCache=t.queryCache||new IA,this.mutationCache=t.mutationCache||new NA,this.logger=t.logger||Il,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=ni.subscribe(()=>{ni.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=oi.subscribe(()=>{oi.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]=jt(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll(J(q({},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=Sn(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=TA(r,i);if(typeof a=="undefined")return;const s=Sn(t),c=this.defaultQueryOptions(s);return this.queryCache.build(this,c).setData(a,J(q({},n),{manual:!0}))}setQueriesData(t,r,n){return ke.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]=jt(t,r),o=this.queryCache;ke.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=jt(t,r,n),a=this.queryCache,s=q({type:"active"},o);return ke.batch(()=>(a.findAll(o).forEach(c=>{c.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=jt(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=ke.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(it).catch(it)}invalidateQueries(t,r,n){const[o,i]=jt(t,r,n);return ke.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(u=>{u.invalidate()}),o.refetchType==="none")return Promise.resolve();const c=J(q({},o),{type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"});return this.refetchQueries(c,i)})}refetchQueries(t,r,n){const[o,i]=jt(t,r,n),a=ke.batch(()=>this.queryCache.findAll(o).filter(c=>!c.isDisabled()).map(c=>{var u;return c.fetch(void 0,J(q({},i),{cancelRefetch:(u=i==null?void 0:i.cancelRefetch)!=null?u:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(it);return i!=null&&i.throwOnError||(s=s.catch(it)),s}fetchQuery(t,r,n){const o=Sn(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(it).catch(it)}fetchInfiniteQuery(t,r,n){const o=Sn(t,r,n);return o.behavior=$A(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(it).catch(it)}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=>ur(t)===ur(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>Nr(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>Nr(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=>ur(t)===ur(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>Nr(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>Nr(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=J(q(q(q({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=kl(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:J(q(q(q({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class BA extends on{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),gd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return us(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return us(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"),ri(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&&vd(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 jA(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=xr(o,["refetchPage"]);return this.fetch(J(q({},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(J(q({},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(it)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),Yn||this.currentResult.isStale||!ss(this.options.staleTime))return;const r=Jh(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,!(Yn||this.options.enabled===!1||!ss(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||ni.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,c=t!==n,u=c?t.state:this.currentQueryInitialState,p=c?this.currentResult:this.previousQueryResult,{state:h}=t;let{dataUpdatedAt:d,error:m,errorUpdatedAt:g,fetchStatus:v,status:y}=h,w=!1,T=!1,_;if(r._optimisticResults){const O=this.hasListeners(),M=!O&&gd(t,r),D=O&&vd(t,n,r,o);(M||D)&&(v=Yi(t.options.networkMode)?"fetching":"paused",d||(y="loading")),r._optimisticResults==="isRestoring"&&(v="idle")}if(r.keepPreviousData&&!h.dataUpdatedAt&&p!=null&&p.isSuccess&&y!=="error")_=p.data,d=p.dataUpdatedAt,y=p.status,w=!0;else if(r.select&&typeof h.data!="undefined")if(i&&h.data===(a==null?void 0:a.data)&&r.select===this.selectFn)_=this.selectResult;else try{this.selectFn=r.select,_=r.select(h.data),_=cs(i==null?void 0:i.data,_,r),this.selectResult=_,this.selectError=null}catch(O){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(O),this.selectError=O}else _=h.data;if(typeof r.placeholderData!="undefined"&&typeof _=="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(M){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(M),this.selectError=M}typeof O!="undefined"&&(y="success",_=cs(i==null?void 0:i.data,O,r),T=!0)}this.selectError&&(m=this.selectError,_=this.selectResult,g=Date.now(),y="error");const x=v==="fetching",b=y==="loading",C=y==="error";return{status:y,fetchStatus:v,isLoading:b,isSuccess:y==="success",isError:C,isInitialLoading:b&&x,data:_,dataUpdatedAt:d,error:m,errorUpdatedAt:g,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:x,isRefetching:x&&!b,isLoadingError:C&&h.dataUpdatedAt===0,isPaused:v==="paused",isPlaceholderData:T,isPreviousData:w,isRefetchError:C&&h.dataUpdatedAt!==0,isStale:Al(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,ri(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 c=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&c.add("error"),Object.keys(this.currentResult).some(u=>{const p=u;return this.currentResult[p]!==r[p]&&c.has(p)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(q(q({},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"&&!Vo(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){ke.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,c,u;(a=(s=this.options).onError)==null||a.call(s,this.currentResult.error),(c=(u=this.options).onSettled)==null||c.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(({listener:p})=>{p(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function HA(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function gd(e,t){return HA(e,t)||e.state.dataUpdatedAt>0&&us(e,t,t.refetchOnMount)}function us(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Al(e,t)}return!1}function vd(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Al(e,r)}function Al(e,t){return e.isStaleByTime(t.staleTime)}function jA(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!ri(e.getCurrentResult(),t)}var ds={exports:{}},wa={};/**
256
- * @license React
257
- * use-sync-external-store-shim.production.min.js
258
- *
259
- * Copyright (c) Facebook, Inc. and its affiliates.
260
- *
261
- * This source code is licensed under the MIT license found in the
262
- * LICENSE file in the root directory of this source tree.
263
- */var yd;function WA(){if(yd)return wa;yd=1;var e=F;function t(h,d){return h===d&&(h!==0||1/h===1/d)||h!==h&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(h,d){var m=d(),g=n({inst:{value:m,getSnapshot:d}}),v=g[0].inst,y=g[1];return i(function(){v.value=m,v.getSnapshot=d,c(v)&&y({inst:v})},[h,m,d]),o(function(){return c(v)&&y({inst:v}),h(function(){c(v)&&y({inst:v})})},[h]),a(m),m}function c(h){var d=h.getSnapshot;h=h.value;try{var m=d();return!r(h,m)}catch(g){return!0}}function u(h,d){return d()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?u:s;return wa.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,wa}var Ca={};/**
264
- * @license React
265
- * use-sync-external-store-shim.development.js
266
- *
267
- * Copyright (c) Facebook, Inc. and its affiliates.
268
- *
269
- * This source code is licensed under the MIT license found in the
270
- * LICENSE file in the root directory of this source tree.
271
- */var bd;function zA(){return bd||(bd=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=F,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(_){{for(var x=arguments.length,b=new Array(x>1?x-1:0),C=1;C<x;C++)b[C-1]=arguments[C];n("error",_,b)}}function n(_,x,b){{var C=t.ReactDebugCurrentFrame,S=C.getStackAddendum();S!==""&&(x+="%s",b=b.concat([S]));var O=b.map(function(M){return String(M)});O.unshift("Warning: "+x),Function.prototype.apply.call(console[_],console,O)}}function o(_,x){return _===x&&(_!==0||1/_===1/x)||_!==_&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue,p=!1,h=!1;function d(_,x,b){p||e.startTransition!==void 0&&(p=!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 C=x();if(!h){var S=x();i(C,S)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}var O=a({inst:{value:C,getSnapshot:x}}),M=O[0].inst,D=O[1];return c(function(){M.value=C,M.getSnapshot=x,m(M)&&D({inst:M})},[_,C,x]),s(function(){m(M)&&D({inst:M});var R=function(){m(M)&&D({inst:M})};return _(R)},[_]),u(C),C}function m(_){var x=_.getSnapshot,b=_.value;try{var C=x();return!i(b,C)}catch(S){return!0}}function g(_,x,b){return x()}var v=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",y=!v,w=y?g:d,T=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:w;Ca.useSyncExternalStore=T,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ca}process.env.NODE_ENV==="production"?ds.exports=WA():ds.exports=zA();var VA=ds.exports;const sm=VA.useSyncExternalStore,_d=W.createContext(void 0),lm=W.createContext(!1);function cm(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=_d),window.ReactQueryClientContext):_d)}const um=({context:e}={})=>{const t=W.useContext(cm(e,W.useContext(lm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},UA=({client:e,children:t,context:r,contextSharing:n=!1})=>{W.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=cm(r,n);return W.createElement(lm.Provider,{value:!r&&n},W.createElement(o.Provider,{value:e},t))},qA=W.createContext(!1),GA=()=>W.useContext(qA);function YA(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const KA=W.createContext(YA()),XA=()=>W.useContext(KA);function dm(e,t){return typeof e=="function"?e(...t):!!e}const QA=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},ZA=e=>{W.useEffect(()=>{e.clearReset()},[e])},JA=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&dm(r,[e.error,n]),eN=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},tN=(e,t)=>e.isLoading&&e.isFetching&&!t,rN=(e,t,r)=>(e==null?void 0:e.suspense)&&tN(t,r),nN=(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 oN(e,t){const r=um({context:e.context}),n=GA(),o=XA(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=ke.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=ke.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=ke.batchCalls(i.onSettled)),eN(i),QA(i,o),ZA(o);const[a]=W.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(sm(W.useCallback(c=>{const u=n?()=>{}:a.subscribe(ke.batchCalls(c));return a.updateResult(),u},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),W.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),rN(i,s,n))throw nN(i,a,o);if(JA({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function iN(e,t,r){const n=Sn(e,t,r);return oN(n,BA)}const fm={row:{hover:"rgba(224, 224, 224, 0.3)"},secondary:{default:"rgba(38, 46, 61, 0.1)",hover:"rgba(38, 46, 61, 0.17)"},text:{active:"rgba(38, 46, 61, 1)",content:"rgba(38, 46, 61, 0.8)",secondary:"rgba(38, 46, 61, 0.55)",disabled:"rgba(38, 46, 61, 0.3)",link:"rgba(54, 163, 217, 1)",accented:"rgba(12, 14, 18, 1)",linkButton:"#1eaff3",primary:"#262E3D"},UI:{default:"#6e737d",additional:"rgba(38, 46, 61, 0.4)",guiding:"rgba(38, 46, 61, 0.1)"},background:{workspace:"rgba(255, 255, 255, 1)",supporting:"rgba(249, 249, 251, 1)",priority:"rgba(244, 244, 248, 1)"},primary:{primary:"rgba(255, 203, 5, 1)",default:"#FFC805",hover:"#F2B900"},interaction:{defaultHover:"rgba(12, 14, 18, 0.07)",guidingHover:"rgba(38, 46, 61, 0.17)",linkHovered:"rgba(50, 147, 197, 1)",primaryHovered:"rgba(242, 185, 0, 1)"},semantic:{info:"rgba(52, 150, 200, 1)",success:"rgba(34, 195, 195, 1)",warning:"rgba(242, 185, 0, 1)",error:"rgba(231, 71, 39, 1)",infoBG:"rgba(52, 150, 200, 0.1)",successBG:"rgba(34, 195, 195, 0.1)",warningBG:"rgba(242, 185, 0, 0.1)",errorBG:"rgba(231, 71, 39, 0.1)"},sisenseDark:{text:{active:"rgba(235, 239, 247, 1)",content:"rgba(235, 239, 247, 0.8)",secondary:"rgba(235, 239, 247, 0.55)",disabled:"rgba(235, 239, 247, 0.3)",link:"rgba(50, 147, 197, 1)",accented:"rgba(12, 14, 18, 1)"},ui:{default:"rgba(235, 239, 247, 0.67)",additional:"rgba(235, 239, 247, 0.4)",guiding:"rgba(235, 239, 247, 0.1)"},background:{workspace:"rgba(12, 14, 18, 1)",supporting:"rgba(249, 249, 251, 1)",priority:"rgba(244, 244, 248, 1)"},interaction:{defaultHover:"rgba(12, 14, 18, 0.07)",guidingHover:"rgba(235, 239, 247, 0.17)",linkHovered:"rgba(50, 147, 197, 1)",primaryHovered:"rgba(242, 185, 0, 1)"},semantic:{info:"rgba(52, 150, 200, 1)",success:"rgba(34, 195, 195, 1)",warning:"rgba(242, 185, 0, 1)",error:"rgba(231, 71, 39, 1)",infoBG:"rgba(52, 150, 200, 0.1)",successBG:"rgba(34, 195, 195, 0.1)",warningBG:"rgba(242, 185, 0, 0.1)",errorBG:"rgba(231, 71, 39, 0.1)"}}},aN={shouldForwardProp:e=>!e.startsWith("$")},sN=l.newStyled(hr,aN,{target:"e869yoj0",label:"IconButton"})(({$hoverColor:e})=>({padding:2,"&.MuiIconButton-root:hover":{backgroundColor:e!=null?e:fm.interaction.defaultHover}}));function lN({fill:e="rgba(38, 46, 61, 0.67)"}){return l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:l.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 cN=l.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);}"),uN=l.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;"),dN=({onClick:e})=>{var n;const{themeSettings:t}=l.useThemeContext(),{t:r}=l.useTranslation();return l.jsxs(cN,{onClick:e,theme:t,children:[l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:l.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"})}),l.jsx(uN,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function fN(e){const t={};return{flatFilters:e.reduce((n,o)=>(l.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 pm(e,t,r){const n=t.filter(l.isCascadingFilter);return hN(e,n).map(i=>{if(pN(i)){const a=n.find(c=>c.config.guid===i.groupId);if(!a)throw new l.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return mN(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function pN(e){return"groupId"in e}function hN(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>Nn(a)===Nn(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 mN(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?yN(e.filters,e.previousFilters):e.filters,o=gN(n,t.config.disabled);return l.cascading(n,{guid:t.config.guid,disabled:o})}function gN(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function vN(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=fN(e);return{pureFilters:n,updateFilters:a=>{const s=pm(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:bN(r,o)}}function yN(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>Ml(s,o));return a&&!Ph(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?qi(n):n)}function bN(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 xd={applyMode:Gi.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function _N(e,t){return e==="table"?{applyMode:Gi.FILTER,shouldAffectFilters:!1,ignoreFilters:l.merge(xd.ignoreFilters,t.ignoreFilters||{})}:l.merge(xd,t)}function xN(e,t,r,n,o,i,a){const s={},c=_N(r,o),{pureFilters:u,updateFilters:p,pureFiltersIgnoringRules:h}=vN(e,t,c.ignoreFilters||{}),d=u.filter(_=>!_.config.disabled),m=fI(d,h),g=Dl(r,n),v=c.shouldAffectFilters&&g.length,[y,w]=CN(m,g,c.applyMode),T=c.forceApplyBackgroundFilters?lt(wN(u),y):y;if(s.filters=T,s.highlights=w,s.onDataPointsSelected=(_,x)=>{const b=[],C=td(r,n,_);if(C&&b.push(C),v){const S=zo(r,n,_),{filters:O,isSelection:M}=xa(S,u,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=rd(D,()=>{p(lt(u,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},s.onDataPointContextMenu=(_,x)=>{const b=[],C=td(r,n,[_]);if(C&&b.push(C),v){const S=zo(r,n,[_]),{filters:O,isSelection:M}=xa(S,u,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=rd(D,()=>{p(lt(u,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},v){s.onDataPointClick=C=>{const S=zo(r,n,[C]),{filters:O}=xa(S,u);p(lt(u,O))};const _=d.filter(C=>g==null?void 0:g.some(S=>l.isMembersFilter(C)&&ut(C.attribute,S)&&!Ol(C)&&!C.config.locked)),x=!!_.length,b=()=>{const C=_.map(qi);p(lt(u,C))};x&&(s.renderToolbar=(C,S)=>{const O=g.map(({expression:M})=>M).join(";");return l.jsxs("div",{style:{display:"flex"},children:[l.jsx(dN,{onClick:b}),S]},O)})}return s}function wN(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function CN(e,t,r){if(r===Gi.HIGHLIGHT){const[n,o]=ho(e,a=>t.every(s=>!ut(s,a.attribute))),i=o.filter(a=>!Ol(a));return[n,i]}return[e,[]]}function TN(e,t){const[r,n]=Pl(F.useMemo(()=>An(e),[e]),{onLocalStateChange:F.useCallback(d=>{const{filters:m,relations:g}=d;t&&t(Rn(m,g))},[t])}),{filters:o,relations:i}=r,a=F.useMemo(()=>Rn(o,i),[o,i]),s=F.useCallback(d=>{if(In(d)){const{filters:m,relations:g}=An(d);n({filters:m||[],relations:g||null})}else n({filters:d,relations:null})},[n]),c=F.useCallback(d=>{const m=lt(o,[d]);n({filters:m,relations:On(o,i,m)})},[o,i,n]),u=F.useCallback(d=>{n({filters:d,relations:On(o,i,d)})},[o,i,n]),p=F.useMemo(()=>o.some(d=>l.isCascadingFilter(d)),[o]),h=F.useCallback(d=>{if(!i)return d;const m=p?pm(d,o):d,g=On(o,i,m);return Rn(m,g)},[p,o,i]);return{regularFilters:o,addFilter:c,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:u,applyRelationsToOtherFilters:h}}const EN=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=l.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:c,setFilters:u,applyRelationsToOtherFilters:p}=TN(e,n),h=F.useCallback((d,m={})=>{var x,b;if(l.isTextWidgetProps(d))return d;const g=l.getInternalWidgetType(d),v=d,y=l.cloneDeep(d),T="drilldownOptions"in d&&((b=(x=d.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:b.length)?Zh(d.chartType,d.dataOptions,l.last(d.drilldownOptions.drilldownSelections).nextDimension):d.dataOptions,_=xN(a,u,g,T,m,o,t);return y.highlights=lt(_.highlights,v.highlights),y.onBeforeMenuOpen=r,_.onDataPointClick&&l.registerDataPointClickHandler(y,_.onDataPointClick),y.filters=p(lt(_.filters,ps(v.filters))),_.onDataPointClick&&l.registerDataPointClickHandler(y,_.onDataPointClick),_.onDataPointsSelected&&l.registerDataPointsSelectedHandler(y,_.onDataPointsSelected),_.onDataPointContextMenu&&l.registerDataPointContextMenuHandler(y,_.onDataPointContextMenu),_.renderToolbar&&l.registerRenderToolbarHandler(y,_.renderToolbar),y},[a,u,o,t,r,p]);return{filters:i,setFilters:c,addFilter:s,connectToWidgetProps:h}};exports.Backdrop=$s;exports.Button=qn;exports.ButtonBase=gr;exports.Chart=nh;exports.ChartWidget=CA;exports.CommonFiltersApplyMode=Gi;exports.ContextMenu=If;exports.DEFAULT_PIVOT_TABLE_SIZE=Jf;exports.DEFAULT_TABLE_ROWS_PER_PAGE=X0;exports.DrilldownBreadcrumbs=Ch;exports.DynamicSizeContainer=Ei;exports.ElementStates=U2;exports.ErrorBoundary=Ad;exports.ErrorBoundary$1=eh;exports.ErrorBoundaryBox=Id;exports.ExclamationMarkIcon=kd;exports.Fade=Ns;exports.I18nProvider=Ld;exports.IconButton=hr;exports.IconButton$1=sN;exports.LEGACY_DESIGN_TYPES=wn;exports.List=Os;exports.ListContext=Fn;exports.LoadingDots=gs;exports.LoadingIndicator=li;exports.LoadingOverlay=jo;exports.Menu=wi;exports.MenuIds=Gn;exports.MenuItem=Ti;exports.MenuList=Ms;exports.MenuProvider=Af;exports.Modal=Ls;exports.NoResultsOverlay=Hs;exports.PAGES_BATCH_SIZE=Q0;exports.Paper=xi;exports.Popover=lh;exports.Popper=po;exports.PropTypes=f;exports.QueryClient=FA;exports.QueryClientProvider=UA;exports.Subscribable=on;exports.TableComponent=Z0;exports.ThemeProvider=Ff;exports.ThreeDotsIcon=lN;exports.Tooltip=Ui;exports.Transition=gt;exports.Typography=Ze;exports.UnknownRelationsNodeError=si;exports.WidgetContainer=ch;exports.WidgetSpaceAround=ih;exports._objectWithoutPropertiesLoose=ae;exports.alpha_1=Pe;exports.areFiltersEqual=fh;exports.asSisenseComponent=no;exports.baseUniq=Vs;exports.boxWhiskerProcessResult=l3;exports.calculateNewRelations=On;exports.camelCase=Kh;exports.capitalize=ui;exports.capitalize$1=fe;exports.chainPropTypes=Dt;exports.classNames=zn;exports.clearMembersFilter=qi;exports.cloneFilterAndToggleDisabled=p8;exports.clsx=se;exports.colors=fm;exports.combineFiltersAndRelations=Rn;exports.composeClasses=De;exports.convertFilterRelationsModelToJaql=Hm;exports.convertFilterRelationsModelToRelationRules=Mm;exports.convertToThemeSettings=Ed;exports.createCaseFirst=Ah;exports.createChainedFunction=Na;exports.createSvgIcon=qr;exports.createTheme=bi;exports.createUnarySpacing=ws;exports.darken_1=uf;exports.dataLoadStateReducer=is;exports.debounce=R8;exports.deepmerge=fr;exports.duration=vf;exports.elementAcceptingRef=mr;exports.elementTypeAcceptingRef=Ps;exports.exactProp=Is;exports.extendSxProp=Ts;exports.filterRelationRulesToFilterRelationsModel=Am;exports.findFilterByGuid=Nm;exports.generateUtilityClass=we;exports.generateUtilityClasses=Ce;exports.getDefaultState=am;exports.getDisplayName=Jd;exports.getDrilldownMenuItems=Ih;exports.getFiltersArray=ps;exports.getHierarchyModels=Xh;exports.getLegacyPalette=Od;exports.getListItemTextUtilityClass=Qb;exports.getNonceFromMetaTag=$d;exports.getPaletteName=Sd;exports.getRelationsWithReplacedFilter=Sm;exports.getSelectionTitleMenuItem=kh;exports.getTableAttributesAndMeasures=fp;exports.getThemeSettingsByOid=Rd;exports.getTransitionProps=Hn;exports.getTranslatedDataOptions=ip;exports.getValue=zr;exports.getWidgetDefaultSize=ep;exports.handleBreakpoints=Tt;exports.internal_processStyles=Gd;exports.isAttributeDescriptionNode=Fm;exports.isCloseBracketDescriptionNode=Lm;exports.isFilterRelations=In;exports.isFiltersChanged=dh;exports.isHostComponent=_s;exports.isOpenBracketDescriptionNode=$m;exports.isOperatorDescriptionNode=Bm;exports.isPlainObject=St;exports.isRelationsChanged=y8;exports.isRelationsRule=ai;exports.isRelationsRuleIdNode=ii;exports.isSameAttribute=ut;exports.isString=uh;exports.isThemeOid=Ho;exports.isTrivialSingleNodeRelations=hs;exports.lighten_1=df;exports.listItemTextClasses=Fa;exports.mergeBreakpointsInOrder=Zg;exports.mergeFilters=lt;exports.mergeFiltersOrFilterRelations=Cd;exports.notifyManager=ke;exports.ownerDocument=ze;exports.parseMutationArgs=EA;exports.partition=ho;exports.processDrilldownSelections=Sh;exports.refType=eo;exports.resolveBreakpointValues=ev;exports.resolveProps=Yo;exports.rootShouldForwardProp=Jn;exports.shallowEqualObjects=ri;exports.shouldSkipSisenseContextWaiting=J0;exports.shouldThrowError=dm;exports.splitFiltersAndRelations=An;exports.styleFunctionSx=Zn;exports.styled=qd;exports.styled$1=le;exports.trackHook=b8;exports.translatePivotTableDataOptions=e3;exports.translateTableDataOptions=op;exports.updateDrilldownSelections=Eh;exports.upperFirst=Nh;exports.useCommonFilters=EN;exports.useControlled=As;exports.useDefaultProps=Re;exports.useDrilldownCore=Th;exports.useEnhancedEffect=qt;exports.useEventCallback=Rt;exports.useForkRef=Ve;exports.useGetHierarchyModels=gA;exports.useHasChanged=Rl;exports.useId=Rf;exports.useMenu=gh;exports.useQuery=iN;exports.useQueryClient=um;exports.useSetError=zs;exports.useShouldLoad=mh;exports.useSyncExternalStore=sm;exports.useSyncedState=Pl;exports.useTheme=Sf;exports.useTheme$1=ro;exports.useTimeout=lr;exports.withErrorBoundary=Nd;exports.withTracking=hh;