@sisense/sdk-ui 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.cjs +31 -31
- package/dist/ai.js +27 -27
- package/dist/analytics-composer/node.cjs +3 -1
- package/dist/analytics-composer/node.js +514 -378
- package/dist/analytics-composer.cjs +1 -1
- package/dist/analytics-composer.js +6 -6
- package/dist/derive-chart-family-B1on_xkS.cjs +170 -0
- package/dist/derive-chart-family-BllGhqsW.js +29469 -0
- package/dist/{dimensions-CVJeJ8mi.cjs → dimensions-BYqdB-Q8.cjs} +1 -1
- package/dist/{dimensions-B2jz151s.js → dimensions-D-Z9sitz.js} +1 -1
- package/dist/execute-query-CABqVn7C.cjs +1 -0
- package/dist/{execute-query-agpyzZz6.js → execute-query-CGLL9vXX.js} +269 -247
- package/dist/index.cjs +25 -26
- package/dist/index.js +7945 -7469
- package/dist/index.umd.js +383 -374
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/common.d.ts +14 -0
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-dimensions.d.ts +2 -2
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-filters.d.ts +5 -5
- package/dist/packages/sdk-ui/src/analytics-composer/new-nlq-translator/translate-measures.d.ts +3 -3
- package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +12 -0
- package/dist/packages/sdk-ui/src/calendar-heatmap-chart.d.ts +12 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/calendar-heatmap-chart-builder.d.ts +8 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +87 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/data-options.d.ts +54 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data-options/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/data.d.ts +33 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/design-options.d.ts +22 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/highcharts-options-builder.d.ts +8 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options.d.ts +12 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/chart-options.d.ts +9 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/extras-options.d.ts +9 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/index.d.ts +7 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/legend-options.d.ts +8 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/plot-options.d.ts +9 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/calendar-data-generator.d.ts +35 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/series-options.d.ts +9 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/tooltip-options.d.ts +9 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +26 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap.d.ts +17 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/calendar-pagination.d.ts +30 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/helpers.d.ts +3 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-pagination/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +4 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +25 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +14 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/index.d.ts +4 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-chart-options.d.ts +55 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-navigation.d.ts +33 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/types.d.ts +13 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/data-options.d.ts +5 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/cartesians/helpers/highchart-options/legend.d.ts +3 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +22 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data.d.ts +13 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/alerts/index.d.ts +5 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data/index.d.ts +15 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data-options/index.d.ts +32 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/design-options/index.d.ts +17 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/highchart-options/highcharts-options-builder.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/pie-chart-builder.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/types.d.ts +12 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/highcharts-based-chart-renderer.d.ts +2 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/highcharts-based-chart-renderer/use-extra-config.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +10 -9
- package/dist/packages/sdk-ui/src/chart-data/types.d.ts +2 -1
- package/dist/packages/sdk-ui/src/chart-data-options/translate-data-options.d.ts +2 -1
- package/dist/packages/sdk-ui/src/chart-data-options/types.d.ts +19 -2
- package/dist/packages/sdk-ui/src/chart-data-options/utils.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart-data-options/validate-data-options/validate-categorical-data-options.d.ts +14 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +4 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/{category-chart-options.d.ts → category-chart-options/category-chart-options.d.ts} +9 -5
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/funnel-chart-options.d.ts +15 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/pie-chart-options.d.ts +15 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +17 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/treemap-chart-options.d.ts +17 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/chart-options-service.d.ts +26 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/scatter-chart-options.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +1 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/axis-section.d.ts +6 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +18 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/legend-section.d.ts +28 -14
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/pie-series.d.ts +34 -6
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/tooltip-utils.d.ts +5 -0
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/translations-to-highcharts.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +50 -6
- package/dist/packages/sdk-ui/src/common/formatters/create-date-formatter.d.ts +10 -0
- package/dist/packages/sdk-ui/src/common/hooks/useDateFormatter.d.ts +7 -0
- package/dist/packages/sdk-ui/src/common/icons/double-arrow-end-icon.d.ts +6 -0
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/utils.d.ts +0 -19
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-filters.d.ts +12 -1
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-formatters.d.ts +18 -0
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-handlers.d.ts +23 -0
- package/dist/packages/sdk-ui/src/dashboard/hooks/jtd/jtd-widget-transforms.d.ts +29 -0
- package/dist/packages/sdk-ui/src/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/models/dashboard/translate-dashboard-utils.d.ts +1 -0
- package/dist/packages/sdk-ui/src/pivot-table/formatters/header-cell-formatters/header-cell-value-formatter.d.ts +2 -1
- package/dist/packages/sdk-ui/src/pivot-table/formatters/types.d.ts +0 -1
- package/dist/packages/sdk-ui/src/polar-chart.d.ts +1 -1
- package/dist/packages/sdk-ui/src/props.d.ts +72 -7
- package/dist/packages/sdk-ui/src/sisense-chart/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/theme-provider/default-theme-settings.d.ts +1 -0
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +11 -0
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +22 -0
- package/dist/packages/sdk-ui/src/types.d.ts +254 -16
- package/dist/packages/sdk-ui/src/utils/combine-handlers.d.ts +19 -0
- package/dist/packages/sdk-ui/src/utils/utility-types/transformer.d.ts +8 -0
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +4 -6
- package/dist/{types-BYUVZb6u.js → types-BRtWk8uC.js} +1 -1
- package/dist/{types-QUSMO7gF.cjs → types-Ds0KtTJF.cjs} +1 -1
- package/dist/use-common-filters-D8tEa9zb.js +91245 -0
- package/dist/use-common-filters-hw1WKPCY.cjs +844 -0
- package/dist/{widget-composer-CGp5yOny.cjs → widget-composer-B7zeAa_D.cjs} +1 -1
- package/dist/{widget-composer-BG4HonVl.js → widget-composer-DL0xPtlC.js} +3 -3
- package/package.json +9 -9
- package/dist/derive-chart-family-BLG1sO1D.js +0 -86946
- package/dist/derive-chart-family-QPmz5DJ3.cjs +0 -656
- package/dist/execute-query-Cp3se7Yb.cjs +0 -1
- package/dist/packages/sdk-ui/src/utils/__development-utils__/highcharts-options-builder-collector.d.ts +0 -61
- package/dist/packages/sdk-ui/src/utils/__development-utils__/input-output-collector.d.ts +0 -125
- package/dist/use-common-filters-DmdADAhl.cjs +0 -350
- package/dist/use-common-filters-wo5IRF5u.js +0 -31972
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
"use strict";var w1=Object.defineProperty,x1=Object.defineProperties;var C1=Object.getOwnPropertyDescriptors;var si=Object.getOwnPropertySymbols;var qu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable;var Ht=Math.pow,vs=(e,t,r)=>t in e?w1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,w=(e,t)=>{for(var r in t||(t={}))qu.call(t,r)&&vs(e,r,t[r]);if(si)for(var r of si(t))Xu.call(t,r)&&vs(e,r,t[r]);return e},N=(e,t)=>x1(e,C1(t));var li=e=>typeof e=="symbol"?e:e+"",re=(e,t)=>{var r={};for(var n in e)qu.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&si)for(var n of si(e))t.indexOf(n)<0&&Xu.call(e,n)&&(r[n]=e[n]);return r};var Un=(e,t,r)=>vs(e,typeof t!="symbol"?t+"":t,r);var Ot=(e,t,r)=>new Promise((n,o)=>{var i=l=>{try{s(r.next(l))}catch(c){o(c)}},a=l=>{try{s(r.throw(l))}catch(c){o(c)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,a);s((r=r.apply(e,t)).next())});const F=require("./execute-query-Cp3se7Yb.cjs"),v=require("./derive-chart-family-QPmz5DJ3.cjs"),S=require("react"),J=require("react/jsx-runtime"),xt=require("react-dom");function xh(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 $=xh(S),E1=xh(xt);function T1(e){let{i18n:t,defaultNS:r,children:n}=e;const o=S.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return S.createElement(v.I18nContext.Provider,{value:o},n)}function br(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const dt={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 wc(e){return[F.customFormula(dt.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),F.customFormula(dt.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),F.customFormula(dt.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function S1(e){return[...wc(e),F.customFormula(dt.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),F.customFormula(dt.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),F.customFormula(dt.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function R1(e){return[...wc(e),F.customFormula(dt.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),F.customFormula(dt.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function _1(e){return[...wc(e),F.customFormula(dt.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),F.customFormula(dt.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),F.customFormula(dt.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const M1=F.withComposeCodeForAnalytics(e=>{const t=F.cloneDeep(e),r=F.customFormula(dt.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=F.customFormula(dt.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"),O1=F.withComposeCodeForAnalytics(e=>{const t=F.cloneDeep(e),r=F.customFormula(dt.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=F.customFormula(dt.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");var rl={exports:{}},be={};/** @license React v16.13.1
|
|
2
|
-
* react-is.production.min.js
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var Ku;function k1(){if(Ku)return be;Ku=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(C){if(typeof C=="object"&&C!==null){var _=C.$$typeof;switch(_){case t:switch(C=C.type,C){case l:case c:case n:case i:case o:case f:return C;default:switch(C=C&&C.$$typeof,C){case s:case d:case m:case g:case a:return C;default:return _}}case r:return _}}}function x(C){return E(C)===c}return be.AsyncMode=l,be.ConcurrentMode=c,be.ContextConsumer=s,be.ContextProvider=a,be.Element=t,be.ForwardRef=d,be.Fragment=n,be.Lazy=m,be.Memo=g,be.Portal=r,be.Profiler=i,be.StrictMode=o,be.Suspense=f,be.isAsyncMode=function(C){return x(C)||E(C)===l},be.isConcurrentMode=x,be.isContextConsumer=function(C){return E(C)===s},be.isContextProvider=function(C){return E(C)===a},be.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},be.isForwardRef=function(C){return E(C)===d},be.isFragment=function(C){return E(C)===n},be.isLazy=function(C){return E(C)===m},be.isMemo=function(C){return E(C)===g},be.isPortal=function(C){return E(C)===r},be.isProfiler=function(C){return E(C)===i},be.isStrictMode=function(C){return E(C)===o},be.isSuspense=function(C){return E(C)===f},be.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===c||C===i||C===o||C===f||C===p||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===g||C.$$typeof===a||C.$$typeof===s||C.$$typeof===d||C.$$typeof===y||C.$$typeof===b||C.$$typeof===T||C.$$typeof===h)},be.typeOf=E,be}var we={};/** @license React v16.13.1
|
|
9
|
-
* react-is.development.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var Qu;function A1(){return Qu||(Qu=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(W){return typeof W=="string"||typeof W=="function"||W===n||W===c||W===i||W===o||W===f||W===p||typeof W=="object"&&W!==null&&(W.$$typeof===m||W.$$typeof===g||W.$$typeof===a||W.$$typeof===s||W.$$typeof===d||W.$$typeof===y||W.$$typeof===b||W.$$typeof===T||W.$$typeof===h)}function x(W){if(typeof W=="object"&&W!==null){var ne=W.$$typeof;switch(ne){case t:var ue=W.type;switch(ue){case l:case c:case n:case i:case o:case f:return ue;default:var me=ue&&ue.$$typeof;switch(me){case s:case d:case m:case g:case a:return me;default:return ne}}case r:return ne}}}var C=l,_=c,O=s,k=a,D=t,j=d,V=n,R=m,A=g,H=r,B=i,L=o,P=f,z=!1;function q(W){return z||(z=!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.")),I(W)||x(W)===l}function I(W){return x(W)===c}function U(W){return x(W)===s}function Q(W){return x(W)===a}function X(W){return typeof W=="object"&&W!==null&&W.$$typeof===t}function K(W){return x(W)===d}function ee(W){return x(W)===n}function te(W){return x(W)===m}function ie(W){return x(W)===g}function oe(W){return x(W)===r}function de(W){return x(W)===i}function ae(W){return x(W)===o}function ye(W){return x(W)===f}we.AsyncMode=C,we.ConcurrentMode=_,we.ContextConsumer=O,we.ContextProvider=k,we.Element=D,we.ForwardRef=j,we.Fragment=V,we.Lazy=R,we.Memo=A,we.Portal=H,we.Profiler=B,we.StrictMode=L,we.Suspense=P,we.isAsyncMode=q,we.isConcurrentMode=I,we.isContextConsumer=U,we.isContextProvider=Q,we.isElement=X,we.isForwardRef=K,we.isFragment=ee,we.isLazy=te,we.isMemo=ie,we.isPortal=oe,we.isProfiler=de,we.isStrictMode=ae,we.isSuspense=ye,we.isValidElementType=E,we.typeOf=x}()),we}process.env.NODE_ENV==="production"?rl.exports=k1():rl.exports=A1();var Ch=rl.exports;function P1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nl(e,t){return nl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},nl(e,t)}const ro={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function Eh(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:I1(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:v.getDefaultThemeSettings().general.popover,buttons:{cancel:{backgroundColor:{default:e.general.secondaryButtonBaseColor,hover:e.general.secondaryButtonHoverColor,focus:e.general.secondaryButtonHoverColor},textColor:e.general.secondaryButtonTextColor}}},widget:{spaceAround:ro[e.dashboards.widgetSpacing],cornerRadius:ro[e.dashboards.widgetCornerRadius],shadow:ro[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:ro[e.dashboards.widgetTitleAlignment],titleFontSize:v.DEFAULT_TITLE_FONT_SIZE,dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:v.DEFAULT_DIVIDER_WIDTH,dividerLineColor:v.DEFAULT_DIVIDER_COLOR,borderWidth:v.DEFAULT_DASHBOARD_BORDER_WIDTH,borderColor:v.DEFAULT_DASHBOARD_BORDER_COLOR,toolbar:{primaryTextColor:e.dashboards.toolbarTextColor,secondaryTextColor:e.dashboards.toolbarSecondaryTextColor,backgroundColor:e.dashboards.toolbarBackgroundColor,dividerLineColor:v.DEFAULT_DASHBOARD_TOOLBAR_DIVIDER_LINE_COLOR,dividerLineWidth:v.DEFAULT_DASHBOARD_TOOLBAR_DIVIDER_LINE_WIDTH}},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor,dividerLineColor:v.DEFAULT_FILTER_PANEL_DIVIDER_LINE_COLOR,dividerLineWidth:v.DEFAULT_FILTER_PANEL_DIVIDER_LINE_WIDTH,borderColor:v.DEFAULT_FILTER_PANEL_BORDER_COLOR,borderWidth:v.DEFAULT_FILTER_PANEL_BORDER_WIDTH}}};return F.merge.withOptions({mergeArrays:!1},v.getDefaultThemeSettings(),n)}function Th(e){return e.dashboards.colorPaletteName}function I1(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 Sh(e,t){return Ot(this,null,function*(){const r=yield D1(e,t);if(!r)throw new F.TranslatableError("errors.themeNotFound",{themeOid:e});const n=Th(r),o=yield Rh(n,t);return Eh(r,o,t.url)})}function D1(e,t){return Ot(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new F.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function Rh(e,t){return Ot(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new F.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const $1={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}},Zu="composesdk",_h=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:Zu,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=${Zu}`,i)})},Ju=(e,t,r,n,o)=>{const i=$1[`${e}`];return i.internal&&_h(e,t,r,o),i.external&&n&&n(w({action:e},t)),Promise.resolve()},xc=()=>{var i,a;const{tracking:e,app:t}=v.useSisenseContext(),r=(a=(i=t==null?void 0:t.httpClient)==null?void 0:i.auth)==null?void 0:a.type,n=S.useCallback((s,l={},c=!1)=>t?Ju(s,N(w({},l),{authType:r}),t.httpClient,e.onTrackingEvent,c):Promise.resolve(),[e,t,r]),o=S.useCallback((s,l=!1)=>{if(!t)return Promise.resolve();const{packageName:c,packageVersion:d,component:f,error:p}=s;let g="";return typeof p=="string"?g=p:p instanceof Error&&(g=p.message||p.toString()),Ju("sdkError",N(w({},{packageName:c,packageVersion:d,component:f,error:g}),{authType:r}),t.httpClient,e.onTrackingEvent,l)},[e,t,r]);return{trackEvent:n,trackError:o}},N1="sdkComponentInit",Mh=S.createContext(!1),L1=({skipNested:e=!0,children:t})=>v.jsx(Mh.Provider,{value:e,children:t}),F1=(e,t)=>{const{componentName:r,config:n}=e,{tracking:o,app:i}=v.useSisenseContext(),{trackEvent:a}=xc(),s=S.useContext(Mh),l=S.useRef(!1);S.useEffect(()=>{if(!o||!i)return;if(!l.current&&!s){const d={packageName:n.packageName||o.packageName,packageVersion:n.packageVersion||"2.9.0",componentName:r,attributesUsed:Object.entries(t).filter(([,f])=>!!f).map(([f])=>f).join(", ")};a(N1,d,!o.enabled).finally(()=>l.current=!0)}},[r,t,o,s,a,i,n])};var j1="[object Boolean]";function Oh(e){return e===!0||e===!1||F.isObjectLike(e)&&F.baseGetTag(e)==j1}const zu=class zu extends S.Component{constructor(t){super(t),this.postponedErrors=[],this.handler=t.handler,this.componentName=t.componentName}componentDidMount(){var t;this.context.isInitialized&&(this.httpClient=(t=this.context.app)==null?void 0:t.httpClient)}componentDidCatch(t){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(t):this.postponedErrors.push(t)),t}sendErrorTracking(t){try{this.handler({packageName:"sdk-ui",packageVersion:"2.9.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}};zu.contextType=v.SisenseContext;let ol=zu;const kh=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=xc();return Oh(r)&&r||F.isFunction(r)&&r(a)?v.jsx(o,w({},a)):(F1({componentName:e,config:t},a),v.jsx(L1,{skipNested:!n,children:v.jsx(ol,{componentName:e,handler:s,children:v.jsx(o,w({},a))})}))}},B1="_container_1wquj_1",H1="_card_1wquj_11",z1="_text_1wquj_19",ys={container:B1,card:H1,text:z1};function Ah({color:e="#FFCB05"}){return v.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:v.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:v.jsxs("g",{children:[v.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),v.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 Cc=({error:e=new F.TranslatableError("errors.componentRenderError")})=>{var p,g,m,h,y,b;const{themeSettings:t}=v.useThemeContext(),{app:r}=v.useSisenseContext(),{t:n}=v.useTranslation(),[o,i]=S.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},l=v.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:v.jsx(Ah,{color:(p=t==null?void 0:t.general)==null?void 0:p.brandColor})}),c=e instanceof F.AbstractTranslatableError?n(e.key,w({},e.interpolationOptions)):n(e instanceof Error?e.message:e),d=n("errorBoxText",{errorMessage:c,interpolation:{escapeValue:!1}}),f=(m=(g=r==null?void 0:r.settings)==null?void 0:g.errorBoundaryConfig)==null?void 0:m.alwaysShowErrorText;return v.jsx("div",{onMouseEnter:f?void 0:a,onMouseLeave:f?void 0:s,className:ys.container,"aria-label":"error-box",children:v.jsxs("div",{className:ys.card,style:{backgroundColor:((h=t==null?void 0:t.general)==null?void 0:h.backgroundColor)||"rgba(255,255,255,0.5)"},children:[l,(f||o)&&v.jsx("div",{className:ys.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||v.DEFAULT_TEXT_COLOR,fontFamily:((b=t==null?void 0:t.typography)==null?void 0:b.fontFamily)||"inherit"},children:d})]})})};let Ph=class extends S.Component{constructor(t){super(t),this.showErrorBox=!0,this.onError=t.onError,this.isContainerComponent=t.isContainerComponent||!1,this.state={error:null,customErrorUI:null}}static getDerivedStateFromError(t){return{error:t,customErrorUI:null}}componentDidCatch(t){const r=t instanceof Error?t:new Error(t);if(this.onError){const n=this.onError(r);if(n!==void 0&&S.isValidElement(n)){this.setState({error:t,customErrorUI:n});return}}this.setState({error:t})}componentDidUpdate(t,r){if(r.error!==null&&W1(t.resetKeys,this.props.resetKeys)&&this.setState({error:null,customErrorUI:null}),this.props.error&&!t.error&&!r.error&&!this.state.error&&this.onError){const n=this.props.error instanceof Error?this.props.error:new Error(String(this.props.error)),o=this.onError(n);o!==void 0&&S.isValidElement(o)&&this.setState({customErrorUI:o})}}render(){const{error:t,customErrorUI:r}=this.state,{shouldRenderChildrenWithProvidedError:n,showErrorBox:o,error:i,children:a}=this.props,s=t||i;return!s||i&&!t&&n?a:o?r||v.jsx(Cc,{error:s}):null}};function W1(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!F.isEqual(r,t[n]))}const Ih=({componentName:e})=>t=>function(n){const o=v.useSisenseContext(),i=a=>{var s,l;return(l=(s=o.errorBoundary).onError)==null?void 0:l.call(s,a,{componentName:e,componentProps:n})};return v.jsx(Ph,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:v.jsx(t,w({},n))})};exports.jsx=function(t,r){var n=arguments;if(r==null||!v.hasOwn.call(r,"css"))return $.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=v.Emotion$1,i[1]=v.createEmotionProps(t,r);for(var a=2;a<o;a++)i[a]=n[a];return $.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(exports.jsx||(exports.jsx={}));function ca(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return v.serializeStyles(t)}function Bo(){var e=ca.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Dh(){var e,t;return(t=(e=document.head.querySelector('meta[property="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}const ed=Dh(),Ec=({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=N(w({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=N(w({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=N(w({},t),{marginRight:"unset"}),i={"0%, 80%, 100%":{WebkitTransform:"scale(0) rotate(0deg)",transform:"scale(0) rotate(0deg)"},"40%":{WebkitTransform:"scale(1) rotate(0.02deg)",transform:"scale(1) rotate(0.02deg)"}};return v.jsxs("div",{children:[v.jsx("style",N(w({},ed&&{nonce:ed}),{children:`
|
|
16
|
-
@keyframes loading-dots-animation {
|
|
17
|
-
${Object.entries(i).map(([a,s])=>`${a} { ${Object.entries(s).map(([l,c])=>`${l}: ${c};`).join("")} }`).join("")}
|
|
18
|
-
}
|
|
19
|
-
`})),v.jsx("div",{style:r}),v.jsx("div",{style:n}),v.jsx("div",{style:o})]})},ua=({themeSettings:e,onCancel:t})=>{const{t:r}=v.useTranslation(),n=e!=null&&e.chart.backgroundColor?{backgroundColor:e.chart.backgroundColor}:void 0;return v.jsx("div",{style:n,className:"csdk-h-full csdk-bg-white csdk-p-[20px]","aria-label":"csdk-loading-indicator",children:v.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:[v.jsx(Ec,{color:e==null?void 0:e.chart.textColor}),t&&v.jsx("div",{className:"csdk-text-ai-sm csdk-text-text-link csdk-cursor-pointer",onClick:t,children:r("cancel")})]})})},V1=({shouldSkipSisenseContextWaiting:e,customContextErrorMessageKey:t})=>r=>function(o){if(U1(e,o))return v.jsx(r,w({},o));const{app:i,isInitialized:a}=v.useSisenseContext();if(!a){const s=t||"errors.noSisenseContext";throw new F.TranslatableError(s)}return i?v.jsx(r,w({},o)):v.jsx(ua,{})};function U1(e,t){return Oh(e)&&e||F.isFunction(e)&&e(t)}function G1(){const[e,t]=S.useState(null);return S.useEffect(()=>{F.initializeI18n().initPromise.then(r=>t(r))},[]),e}const $h=({children:e,userLanguage:t,customTranslations:r=[]})=>{const n=G1();return S.useEffect(()=>{if(t&&(n==null?void 0:n.language)!==t){for(const{language:o,resources:i,namespace:a="sdkUi"}of r)n==null||n.addResourceBundle(o,a,i);n==null||n.changeLanguage(t)}},[n,t,r]),n&&v.jsx(T1,{i18n:n,children:e})},Y1=()=>e=>function(r){const{isInitialized:n}=v.useSisenseContext();return n?v.jsx(e,w({},r)):v.jsx($h,{children:v.jsx(e,w({},r))})},Tc=S.createContext(null),da=()=>S.useContext(Tc);var il={exports:{}},Ee={};/**
|
|
20
|
-
* @license React
|
|
21
|
-
* react-is.production.js
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the MIT license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree.
|
|
27
|
-
*/var td;function q1(){if(td)return Ee;td=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");function m(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case r:case o:case n:case l:case c:return h;default:switch(h=h&&h.$$typeof,h){case a:case s:case f:case d:return h;case i:return h;default:return y}}case t:return y}}}return Ee.ContextConsumer=i,Ee.ContextProvider=a,Ee.Element=e,Ee.ForwardRef=s,Ee.Fragment=r,Ee.Lazy=f,Ee.Memo=d,Ee.Portal=t,Ee.Profiler=o,Ee.StrictMode=n,Ee.Suspense=l,Ee.SuspenseList=c,Ee.isContextConsumer=function(h){return m(h)===i},Ee.isContextProvider=function(h){return m(h)===a},Ee.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},Ee.isForwardRef=function(h){return m(h)===s},Ee.isFragment=function(h){return m(h)===r},Ee.isLazy=function(h){return m(h)===f},Ee.isMemo=function(h){return m(h)===d},Ee.isPortal=function(h){return m(h)===t},Ee.isProfiler=function(h){return m(h)===o},Ee.isStrictMode=function(h){return m(h)===n},Ee.isSuspense=function(h){return m(h)===l},Ee.isSuspenseList=function(h){return m(h)===c},Ee.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===o||h===n||h===l||h===c||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===f||h.$$typeof===d||h.$$typeof===a||h.$$typeof===i||h.$$typeof===s||h.$$typeof===g||h.getModuleId!==void 0)},Ee.typeOf=m,Ee}var Te={};/**
|
|
28
|
-
* @license React
|
|
29
|
-
* react-is.development.js
|
|
30
|
-
*
|
|
31
|
-
* Copyright (c) Meta Platforms, Inc. and 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 rd;function X1(){return rd||(rd=1,process.env.NODE_ENV!=="production"&&function(){function e(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case t:switch(h=h.type,h){case n:case i:case o:case c:case d:return h;default:switch(h=h&&h.$$typeof,h){case s:case l:case p:case f:return h;case a:return h;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");Te.ContextConsumer=a,Te.ContextProvider=s,Te.Element=t,Te.ForwardRef=l,Te.Fragment=n,Te.Lazy=p,Te.Memo=f,Te.Portal=r,Te.Profiler=i,Te.StrictMode=o,Te.Suspense=c,Te.SuspenseList=d,Te.isContextConsumer=function(h){return e(h)===a},Te.isContextProvider=function(h){return e(h)===s},Te.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===t},Te.isForwardRef=function(h){return e(h)===l},Te.isFragment=function(h){return e(h)===n},Te.isLazy=function(h){return e(h)===p},Te.isMemo=function(h){return e(h)===f},Te.isPortal=function(h){return e(h)===r},Te.isProfiler=function(h){return e(h)===i},Te.isStrictMode=function(h){return e(h)===o},Te.isSuspense=function(h){return e(h)===c},Te.isSuspenseList=function(h){return e(h)===d},Te.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===o||h===c||h===d||h===g||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===f||h.$$typeof===s||h.$$typeof===a||h.$$typeof===l||h.$$typeof===m||h.getModuleId!==void 0)},Te.typeOf=e}()),Te}process.env.NODE_ENV==="production"?il.exports=q1():il.exports=X1();var Sc=il.exports,al={exports:{}};/*
|
|
36
|
-
object-assign
|
|
37
|
-
(c) Sindre Sorhus
|
|
38
|
-
@license MIT
|
|
39
|
-
*/var bs,nd;function K1(){if(nd)return bs;nd=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(d){c[d]=d}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}return bs=o()?Object.assign:function(i,a){for(var s,l=n(i),c,d=1;d<arguments.length;d++){s=Object(arguments[d]);for(var f in s)t.call(s,f)&&(l[f]=s[f]);if(e){c=e(s);for(var p=0;p<c.length;p++)r.call(s,c[p])&&(l[c[p]]=s[c[p]])}}return l},bs}var ws,od;function Rc(){if(od)return ws;od=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ws=e,ws}var xs,id;function Nh(){return id||(id=1,xs=Function.call.bind(Object.prototype.hasOwnProperty)),xs}var Cs,ad;function Q1(){if(ad)return Cs;ad=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Rc(),r={},n=Nh();e=function(i){var a="Warning: "+i;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(s){}}}function o(i,a,s,l,c){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var f;try{if(typeof i[d]!="function"){var p=Error((l||"React class")+": "+s+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=i[d](a,d,l,s,null,t)}catch(m){f=m}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var g=c?c():"";e("Failed "+s+" type: "+f.message+(g!=null?g:""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Cs=o,Cs}var Es,sd;function Z1(){if(sd)return Es;sd=1;var e=Ch,t=K1(),r=Rc(),n=Nh(),o=Q1(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var l="Warning: "+s;typeof console!="undefined"&&console.error(l);try{throw new Error(l)}catch(c){}});function a(){return null}return Es=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(I){var U=I&&(c&&I[c]||I[d]);if(typeof U=="function")return U}var p="<<anonymous>>",g={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:T(),arrayOf:E,element:x(),elementType:C(),instanceOf:_,node:j(),objectOf:k,oneOf:O,oneOfType:D,shape:R,exact:A};function m(I,U){return I===U?I!==0||1/I===1/U:I!==I&&U!==U}function h(I,U){this.message=I,this.data=U&&typeof U=="object"?U:{},this.stack=""}h.prototype=Error.prototype;function y(I){if(process.env.NODE_ENV!=="production")var U={},Q=0;function X(ee,te,ie,oe,de,ae,ye){if(oe=oe||p,ae=ae||ie,ye!==r){if(l){var W=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 W.name="Invariant Violation",W}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var ne=oe+":"+ie;!U[ne]&&Q<3&&(i("You are manually calling a React.PropTypes validation function for the `"+ae+"` prop on `"+oe+"`. 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."),U[ne]=!0,Q++)}}return te[ie]==null?ee?te[ie]===null?new h("The "+de+" `"+ae+"` is marked as required "+("in `"+oe+"`, but its value is `null`.")):new h("The "+de+" `"+ae+"` is marked as required in "+("`"+oe+"`, but its value is `undefined`.")):null:I(te,ie,oe,de,ae)}var K=X.bind(null,!1);return K.isRequired=X.bind(null,!0),K}function b(I){function U(Q,X,K,ee,te,ie){var oe=Q[X],de=L(oe);if(de!==I){var ae=P(oe);return new h("Invalid "+ee+" `"+te+"` of type "+("`"+ae+"` supplied to `"+K+"`, expected ")+("`"+I+"`."),{expectedType:I})}return null}return y(U)}function T(){return y(a)}function E(I){function U(Q,X,K,ee,te){if(typeof I!="function")return new h("Property `"+te+"` of component `"+K+"` has invalid PropType notation inside arrayOf.");var ie=Q[X];if(!Array.isArray(ie)){var oe=L(ie);return new h("Invalid "+ee+" `"+te+"` of type "+("`"+oe+"` supplied to `"+K+"`, expected an array."))}for(var de=0;de<ie.length;de++){var ae=I(ie,de,K,ee,te+"["+de+"]",r);if(ae instanceof Error)return ae}return null}return y(U)}function x(){function I(U,Q,X,K,ee){var te=U[Q];if(!s(te)){var ie=L(te);return new h("Invalid "+K+" `"+ee+"` of type "+("`"+ie+"` supplied to `"+X+"`, expected a single ReactElement."))}return null}return y(I)}function C(){function I(U,Q,X,K,ee){var te=U[Q];if(!e.isValidElementType(te)){var ie=L(te);return new h("Invalid "+K+" `"+ee+"` of type "+("`"+ie+"` supplied to `"+X+"`, expected a single ReactElement type."))}return null}return y(I)}function _(I){function U(Q,X,K,ee,te){if(!(Q[X]instanceof I)){var ie=I.name||p,oe=q(Q[X]);return new h("Invalid "+ee+" `"+te+"` of type "+("`"+oe+"` supplied to `"+K+"`, expected ")+("instance of `"+ie+"`."))}return null}return y(U)}function O(I){if(!Array.isArray(I))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 U(Q,X,K,ee,te){for(var ie=Q[X],oe=0;oe<I.length;oe++)if(m(ie,I[oe]))return null;var de=JSON.stringify(I,function(ye,W){var ne=P(W);return ne==="symbol"?String(W):W});return new h("Invalid "+ee+" `"+te+"` of value `"+String(ie)+"` "+("supplied to `"+K+"`, expected one of "+de+"."))}return y(U)}function k(I){function U(Q,X,K,ee,te){if(typeof I!="function")return new h("Property `"+te+"` of component `"+K+"` has invalid PropType notation inside objectOf.");var ie=Q[X],oe=L(ie);if(oe!=="object")return new h("Invalid "+ee+" `"+te+"` of type "+("`"+oe+"` supplied to `"+K+"`, expected an object."));for(var de in ie)if(n(ie,de)){var ae=I(ie,de,K,ee,te+"."+de,r);if(ae instanceof Error)return ae}return null}return y(U)}function D(I){if(!Array.isArray(I))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var U=0;U<I.length;U++){var Q=I[U];if(typeof Q!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+z(Q)+" at index "+U+"."),a}function X(K,ee,te,ie,oe){for(var de=[],ae=0;ae<I.length;ae++){var ye=I[ae],W=ye(K,ee,te,ie,oe,r);if(W==null)return null;W.data&&n(W.data,"expectedType")&&de.push(W.data.expectedType)}var ne=de.length>0?", expected one of type ["+de.join(", ")+"]":"";return new h("Invalid "+ie+" `"+oe+"` supplied to "+("`"+te+"`"+ne+"."))}return y(X)}function j(){function I(U,Q,X,K,ee){return H(U[Q])?null:new h("Invalid "+K+" `"+ee+"` supplied to "+("`"+X+"`, expected a ReactNode."))}return y(I)}function V(I,U,Q,X,K){return new h((I||"React class")+": "+U+" type `"+Q+"."+X+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+K+"`.")}function R(I){function U(Q,X,K,ee,te){var ie=Q[X],oe=L(ie);if(oe!=="object")return new h("Invalid "+ee+" `"+te+"` of type `"+oe+"` "+("supplied to `"+K+"`, expected `object`."));for(var de in I){var ae=I[de];if(typeof ae!="function")return V(K,ee,te,de,P(ae));var ye=ae(ie,de,K,ee,te+"."+de,r);if(ye)return ye}return null}return y(U)}function A(I){function U(Q,X,K,ee,te){var ie=Q[X],oe=L(ie);if(oe!=="object")return new h("Invalid "+ee+" `"+te+"` of type `"+oe+"` "+("supplied to `"+K+"`, expected `object`."));var de=t({},Q[X],I);for(var ae in de){var ye=I[ae];if(n(I,ae)&&typeof ye!="function")return V(K,ee,te,ae,P(ye));if(!ye)return new h("Invalid "+ee+" `"+te+"` key `"+ae+"` supplied to `"+K+"`.\nBad object: "+JSON.stringify(Q[X],null," ")+`
|
|
40
|
-
Valid keys: `+JSON.stringify(Object.keys(I),null," "));var W=ye(ie,ae,K,ee,te+"."+ae,r);if(W)return W}return null}return y(U)}function H(I){switch(typeof I){case"number":case"string":case"undefined":return!0;case"boolean":return!I;case"object":if(Array.isArray(I))return I.every(H);if(I===null||s(I))return!0;var U=f(I);if(U){var Q=U.call(I),X;if(U!==I.entries){for(;!(X=Q.next()).done;)if(!H(X.value))return!1}else for(;!(X=Q.next()).done;){var K=X.value;if(K&&!H(K[1]))return!1}}else return!1;return!0;default:return!1}}function B(I,U){return I==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function L(I){var U=typeof I;return Array.isArray(I)?"array":I instanceof RegExp?"object":B(U,I)?"symbol":U}function P(I){if(typeof I=="undefined"||I===null)return""+I;var U=L(I);if(U==="object"){if(I instanceof Date)return"date";if(I instanceof RegExp)return"regexp"}return U}function z(I){var U=P(I);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function q(I){return!I.constructor||!I.constructor.name?p:I.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},Es}var Ts,ld;function J1(){if(ld)return Ts;ld=1;var e=Rc();function t(){}function r(){}return r.resetWarningCache=t,Ts=function(){function n(a,s,l,c,d,f){if(f!==e){var p=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 p.name="Invariant Violation",p}}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},Ts}if(process.env.NODE_ENV!=="production"){var ey=Ch,ty=!0;al.exports=Z1()(ey.isElement,ty)}else al.exports=J1()();var ry=al.exports;const u=v.getDefaultExportFromCjs(ry);function Lh(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=Lh(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ge(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Lh(e))&&(n&&(n+=" "),n+=t);return n}function He(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let l=0;l<i.length;l+=1){const c=i[l];c&&(a+=(s===!0?"":" ")+t(c),s=!1,r&&r[c]&&(a+=" "+r[c]))}n[o]=a}return n}function ir(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 ny=$.createContext(),fa=()=>{const e=$.useContext(ny);return e!=null?e:!1};function pt(...e){const t=$.useRef(void 0),r=$.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return $.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function oy(e){return typeof e=="string"}function Fh(e,t,r){return e===void 0||oy(e)?t:N(w({},t),{ownerState:w(w({},t.ownerState),r)})}function jh(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 cd(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 Bh(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const g=ge(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),m=w(w(w({},r==null?void 0:r.style),o==null?void 0:o.style),n==null?void 0:n.style),h=w(w(w({},r),o),n);return g.length>0&&(h.className=g),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:void 0}}const a=jh(w(w({},o),n)),s=cd(n),l=cd(o),c=t(a),d=ge(c==null?void 0:c.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),f=w(w(w(w({},c==null?void 0:c.style),r==null?void 0:r.style),o==null?void 0:o.style),n==null?void 0:n.style),p=w(w(w(w({},c),r),l),s);return d.length>0&&(p.className=d),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:c.ref}}function Hh(e,t,r){return typeof e=="function"?e(t,r):e}function _c(e){var p;const f=e,{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:o=!1}=f,i=re(f,["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"]),a=o?{}:Hh(r,n),{props:s,internalRef:l}=Bh(N(w({},i),{externalSlotProps:a})),c=pt(l,a==null?void 0:a.ref,(p=e.additionalProps)==null?void 0:p.ref);return Fh(t,N(w({},s),{ref:c}),n)}function Et(e){return e&&e.ownerDocument||document}function wr(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function pe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":wr(7));return e.charAt(0).toUpperCase()+e.slice(1)}var sl={exports:{}},Se={};/**
|
|
41
|
-
* @license React
|
|
42
|
-
* react-is.production.js
|
|
43
|
-
*
|
|
44
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
45
|
-
*
|
|
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
|
-
*/var ud;function iy(){if(ud)return Se;ud=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");function m(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case r:case o:case n:case l:case c:return h;default:switch(h=h&&h.$$typeof,h){case a:case s:case f:case d:return h;case i:return h;default:return y}}case t:return y}}}return Se.ContextConsumer=i,Se.ContextProvider=a,Se.Element=e,Se.ForwardRef=s,Se.Fragment=r,Se.Lazy=f,Se.Memo=d,Se.Portal=t,Se.Profiler=o,Se.StrictMode=n,Se.Suspense=l,Se.SuspenseList=c,Se.isContextConsumer=function(h){return m(h)===i},Se.isContextProvider=function(h){return m(h)===a},Se.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},Se.isForwardRef=function(h){return m(h)===s},Se.isFragment=function(h){return m(h)===r},Se.isLazy=function(h){return m(h)===f},Se.isMemo=function(h){return m(h)===d},Se.isPortal=function(h){return m(h)===t},Se.isProfiler=function(h){return m(h)===o},Se.isStrictMode=function(h){return m(h)===n},Se.isSuspense=function(h){return m(h)===l},Se.isSuspenseList=function(h){return m(h)===c},Se.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===o||h===n||h===l||h===c||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===f||h.$$typeof===d||h.$$typeof===a||h.$$typeof===i||h.$$typeof===s||h.$$typeof===g||h.getModuleId!==void 0)},Se.typeOf=m,Se}var Re={};/**
|
|
49
|
-
* @license React
|
|
50
|
-
* react-is.development.js
|
|
51
|
-
*
|
|
52
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
53
|
-
*
|
|
54
|
-
* This source code is licensed under the MIT license found in the
|
|
55
|
-
* LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/var dd;function ay(){return dd||(dd=1,process.env.NODE_ENV!=="production"&&function(){function e(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case t:switch(h=h.type,h){case n:case i:case o:case c:case d:return h;default:switch(h=h&&h.$$typeof,h){case s:case l:case p:case f:return h;case a:return h;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");Re.ContextConsumer=a,Re.ContextProvider=s,Re.Element=t,Re.ForwardRef=l,Re.Fragment=n,Re.Lazy=p,Re.Memo=f,Re.Portal=r,Re.Profiler=i,Re.StrictMode=o,Re.Suspense=c,Re.SuspenseList=d,Re.isContextConsumer=function(h){return e(h)===a},Re.isContextProvider=function(h){return e(h)===s},Re.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===t},Re.isForwardRef=function(h){return e(h)===l},Re.isFragment=function(h){return e(h)===n},Re.isLazy=function(h){return e(h)===p},Re.isMemo=function(h){return e(h)===f},Re.isPortal=function(h){return e(h)===r},Re.isProfiler=function(h){return e(h)===i},Re.isStrictMode=function(h){return e(h)===o},Re.isSuspense=function(h){return e(h)===c},Re.isSuspenseList=function(h){return e(h)===d},Re.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===o||h===c||h===d||h===g||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===f||h.$$typeof===s||h.$$typeof===a||h.$$typeof===l||h.$$typeof===m||h.getModuleId!==void 0)},Re.typeOf=e}()),Re}process.env.NODE_ENV==="production"?sl.exports=iy():sl.exports=ay();var Bi=sl.exports;function Ut(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function zh(e){if($.isValidElement(e)||Bi.isValidElementType(e)||!Ut(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=zh(e[r])}),t}function ft(e,t,r={clone:!0}){const n=r.clone?w({},e):e;return Ut(e)&&Ut(t)&&Object.keys(t).forEach(o=>{$.isValidElement(t[o])||Bi.isValidElementType(t[o])?n[o]=t[o]:Ut(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ut(e[o])?n[o]=ft(e[o],t[o],r):r.clone?n[o]=Ut(t[o])?zh(t[o]):t[o]:n[o]=t[o]}),n}function po(e,t){return t?ft(e,t,{clone:!1}):e}const Sr=process.env.NODE_ENV!=="production"?u.oneOfType([u.number,u.string,u.object,u.array]):{};function sy(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},w({},t)):t}function ly(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function cy(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
57
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:wr(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function uy(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const l=t(e.breakpoints.not(...s),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(r(n,i),n);return r(o),N(w({},e),{containerQueries:o})}const pa={xs:0,sm:600,md:900,lg:1200,xl:1536},fd={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${pa[e]}px)`},dy={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:pa[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Qt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||fd;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||fd;return Object.keys(t).reduce((a,s)=>{if(ly(i.keys,s)){const l=cy(n.containerQueries?n:dy,s);l&&(a[l]=r(t[s],s))}else if(Object.keys(i.values||pa).includes(s)){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function Wh(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Vh(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function fy(e,...t){const r=Wh(e),n=[r,...t].reduce((o,i)=>ft(o,i),{});return Vh(Object.keys(r),n)}function py(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 hy({values:e,breakpoints:t,base:r}){const n=r||py(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function ha(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 Hi(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=ha(e,r)||n,t&&(o=t(o,n,e)),o}function Xe(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=ha(l,n)||{};return Qt(a,s,f=>{let p=Hi(c,o,f);return f===p&&typeof f=="string"&&(p=Hi(c,o,`${t}${f==="default"?"":pe(f)}`,f)),r===!1?p:{[r]:p}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Sr}:{},i.filterProps=[t],i}function gy(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const my={m:"margin",p:"padding"},vy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},pd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yy=gy(e=>{if(e.length>2)if(pd[e])e=pd[e];else return[e];const[t,r]=e.split(""),n=my[t],o=vy[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),ga=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ma=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],by=[...ga,...ma];function Ho(e,t,r,n){var i;const o=(i=ha(e,t,!0))!=null?i:r;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),typeof o=="string"?`calc(${a} * ${o})`:o*a):Array.isArray(o)?a=>{if(typeof a=="string")return a;const s=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
58
|
-
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
59
|
-
`)));const l=o[s];return a>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
60
|
-
`)),()=>{})}function va(e){return Ho(e,"spacing",8,"spacing")}function An(e,t){return typeof t=="string"||t==null?t:e(t)}function wy(e,t){return r=>e.reduce((n,o)=>(n[o]=An(t,r),n),{})}function xy(e,t,r,n){if(!t.includes(r))return null;const o=yy(r),i=wy(o,n),a=e[r];return Qt(e,a,i)}function Uh(e,t){const r=va(e.theme);return Object.keys(e).map(n=>xy(e,t,n,r)).reduce(po,{})}function We(e){return Uh(e,ga)}We.propTypes=process.env.NODE_ENV!=="production"?ga.reduce((e,t)=>(e[t]=Sr,e),{}):{};We.filterProps=ga;function Ve(e){return Uh(e,ma)}Ve.propTypes=process.env.NODE_ENV!=="production"?ma.reduce((e,t)=>(e[t]=Sr,e),{}):{};Ve.filterProps=ma;process.env.NODE_ENV!=="production"&&by.reduce((e,t)=>(e[t]=Sr,e),{});function ya(...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]?po(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 Pt(e){return typeof e!="number"?e:`${e}px solid`}function Lt(e,t){return Xe({prop:e,themeKey:"borders",transform:t})}const Cy=Lt("border",Pt),Ey=Lt("borderTop",Pt),Ty=Lt("borderRight",Pt),Sy=Lt("borderBottom",Pt),Ry=Lt("borderLeft",Pt),_y=Lt("borderColor"),My=Lt("borderTopColor"),Oy=Lt("borderRightColor"),ky=Lt("borderBottomColor"),Ay=Lt("borderLeftColor"),Py=Lt("outline",Pt),Iy=Lt("outlineColor"),ba=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ho(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:An(t,n)});return Qt(e,e.borderRadius,r)}return null};ba.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Sr}:{};ba.filterProps=["borderRadius"];ya(Cy,Ey,Ty,Sy,Ry,_y,My,Oy,ky,Ay,ba,Py,Iy);const wa=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ho(e.theme,"spacing",8,"gap"),r=n=>({gap:An(t,n)});return Qt(e,e.gap,r)}return null};wa.propTypes=process.env.NODE_ENV!=="production"?{gap:Sr}:{};wa.filterProps=["gap"];const xa=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ho(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:An(t,n)});return Qt(e,e.columnGap,r)}return null};xa.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Sr}:{};xa.filterProps=["columnGap"];const Ca=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ho(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:An(t,n)});return Qt(e,e.rowGap,r)}return null};Ca.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Sr}:{};Ca.filterProps=["rowGap"];const Dy=Xe({prop:"gridColumn"}),$y=Xe({prop:"gridRow"}),Ny=Xe({prop:"gridAutoFlow"}),Ly=Xe({prop:"gridAutoColumns"}),Fy=Xe({prop:"gridAutoRows"}),jy=Xe({prop:"gridTemplateColumns"}),By=Xe({prop:"gridTemplateRows"}),Hy=Xe({prop:"gridTemplateAreas"}),zy=Xe({prop:"gridArea"});ya(wa,xa,Ca,Dy,$y,Ny,Ly,Fy,jy,By,Hy,zy);function yn(e,t){return t==="grey"?t:e}const Wy=Xe({prop:"color",themeKey:"palette",transform:yn}),Vy=Xe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:yn}),Uy=Xe({prop:"backgroundColor",themeKey:"palette",transform:yn});ya(Wy,Vy,Uy);function wt(e){return e<=1&&e!==0?`${e*100}%`:e}const Gy=Xe({prop:"width",transform:wt}),Mc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,l;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||pa[r];return n?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:wt(r)}};return Qt(e,e.maxWidth,t)}return null};Mc.filterProps=["maxWidth"];const Yy=Xe({prop:"minWidth",transform:wt}),qy=Xe({prop:"height",transform:wt}),Xy=Xe({prop:"maxHeight",transform:wt}),Ky=Xe({prop:"minHeight",transform:wt});Xe({prop:"size",cssProperty:"width",transform:wt});Xe({prop:"size",cssProperty:"height",transform:wt});const Qy=Xe({prop:"boxSizing"});ya(Gy,Mc,Yy,qy,Xy,Ky,Qy);const zo={border:{themeKey:"borders",transform:Pt},borderTop:{themeKey:"borders",transform:Pt},borderRight:{themeKey:"borders",transform:Pt},borderBottom:{themeKey:"borders",transform:Pt},borderLeft:{themeKey:"borders",transform:Pt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Pt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ba},color:{themeKey:"palette",transform:yn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:yn},backgroundColor:{themeKey:"palette",transform:yn},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:We},mt:{style:We},mr:{style:We},mb:{style:We},ml:{style:We},mx:{style:We},my:{style:We},margin:{style:We},marginTop:{style:We},marginRight:{style:We},marginBottom:{style:We},marginLeft:{style:We},marginX:{style:We},marginY:{style:We},marginInline:{style:We},marginInlineStart:{style:We},marginInlineEnd:{style:We},marginBlock:{style:We},marginBlockStart:{style:We},marginBlockEnd:{style:We},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:wa},rowGap:{style:Ca},columnGap:{style:xa},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:wt},maxWidth:{style:Mc},minWidth:{transform:wt},height:{transform:wt},maxHeight:{transform:wt},minHeight:{transform:wt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Zy(...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 Jy(e,t){return typeof e=="function"?e(t):e}function eb(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:d,style:f}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const p=ha(o,c)||{};return f?f(a):Qt(a,n,m=>{let h=Hi(p,d,m);return m===h&&typeof m=="string"&&(h=Hi(p,d,`${r}${m==="default"?"":pe(m)}`,m)),l===!1?h:{[l]:h}})}function t(r){var s;const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=(s=o.unstable_sxConfig)!=null?s:zo;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const d=Wh(o.breakpoints),f=Object.keys(d);let p=d;return Object.keys(c).forEach(g=>{const m=Jy(c[g],o);if(m!=null)if(typeof m=="object")if(i[g])p=po(p,e(g,m,o,i));else{const h=Qt({theme:o},m,y=>({[g]:y}));Zy(h,m)?p[g]=t({sx:m,theme:o}):p=po(p,h)}else p=po(p,e(g,m,o,i))}),sy(o,Vh(f,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const Cn=eb();Cn.filterProps=["sx"];const tb=e=>{var n,o;const t={systemProps:{},otherProps:{}},r=(o=(n=e==null?void 0:e.theme)==null?void 0:n.unstable_sxConfig)!=null?o:zo;return Object.keys(e).forEach(i=>{r[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function Gh(e){const a=e,{sx:t}=a,r=re(a,["sx"]),{systemProps:n,otherProps:o}=tb(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return Ut(l)?w(w({},n),l):n}:i=w(w({},n),t),N(w({},o),{sx:i})}var rb=!1,nb=v.isPropValid,ob=function(t){return t!=="theme"},hd=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?nb:ob},gd=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},ib=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return v.registerStyles(r,n,o),v.useInsertionEffectAlwaysWithSyncFallback(function(){return v.insertStyles(r,n,o)}),null},ab=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=gd(t,r,n),l=s||hd(o),c=!l("as");return function(){var d=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var g=d.length,m=1;m<g;m++)f.push(d[m],p[m])}var h=v.withEmotionCache(function(y,b,T){var E=c&&y.as||o,x="",C=[],_=y;if(y.theme==null){_={};for(var O in y)_[O]=y[O];_.theme=$.useContext(v.ThemeContext)}typeof y.className=="string"?x=v.getRegisteredStyles(b.registered,C,y.className):y.className!=null&&(x=y.className+" ");var k=v.serializeStyles(f.concat(C),b.registered,_);x+=b.key+"-"+k.name,a!==void 0&&(x+=" "+a);var D=c&&s===void 0?hd(E):l,j={};for(var V in y)c&&V==="as"||D(V)&&(j[V]=y[V]);return j.className=x,T&&(j.ref=T),$.createElement($.Fragment,null,$.createElement(ib,{cache:b,serialized:k,isStringTag:typeof E=="string"}),$.createElement(E,j))});return h.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=o,h.__emotion_styles=f,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return a===void 0&&rb?"NO_COMPONENT_SELECTOR":"."+a}}),h.withComponent=function(y,b){var T=e(y,v._extends({},r,b,{shouldForwardProp:gd(h,b,!0)}));return T.apply(void 0,f)},h}},sb=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],gt=ab.bind(null);sb.forEach(function(e){gt[e]=gt(e)});/**
|
|
61
|
-
* @mui/styled-engine v6.4.11
|
|
62
|
-
*
|
|
63
|
-
* @license MIT
|
|
64
|
-
* This source code is licensed under the MIT license found in the
|
|
65
|
-
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/function lb(e,t){const r=gt(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
67
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function cb(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const md=[];function vd(e){return md[0]=e,v.serializeStyles(md)}const ub=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)=>N(w({},r),{[n.key]:n.val}),{})};function db(e){const p=e,{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=p,o=re(p,["values","unit","step"]),i=ub(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function l(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function c(g,m){const h=a.indexOf(m);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(h!==-1&&typeof t[a[h]]=="number"?t[a[h]]:m)-n/100}${r})`}function d(g){return a.indexOf(g)+1<a.length?c(g,a[a.indexOf(g)+1]):s(g)}function f(g){const m=a.indexOf(g);return m===0?s(a[1]):m===a.length-1?l(a[m]):c(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return w({keys:a,values:i,up:s,down:l,between:c,only:d,not:f,unit:r},o)}const fb={borderRadius:4};function Yh(e=8,t=va({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function pb(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Ea(e={},...t){const d=e,{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=d,a=re(d,["breakpoints","palette","spacing","shape"]),s=db(r),l=Yh(o);let c=ft({breakpoints:s,direction:"ltr",components:{},palette:w({mode:"light"},n),spacing:l,shape:w(w({},fb),i)},a);return c=uy(c),c.applyStyles=pb,c=t.reduce((f,p)=>ft(f,p),c),c.unstable_sxConfig=w(w({},zo),a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(p){return Cn({sx:p,theme:this})},c}function hb(e){return Object.keys(e).length===0}function gb(e=null){const t=$.useContext(v.ThemeContext);return!t||hb(t)?e:t}const mb=Ea();function qh(e=mb){return gb(e)}const yd=e=>e,vb=()=>{let e=yd;return{configure(t){e=t},generate(t){return e(t)},reset(){e=yd}}},yb=vb(),bb={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 ke(e,t,r="Mui"){const n=bb[t];return n?`${r}-${n}`:`${yb.generate(e)}-${t}`}function Ae(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=ke(e,o,r)}),n}function Xh(e,t=""){return e.displayName||e.name||t}function bd(e,t,r){const n=Xh(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function wb(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Xh(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Bi.ForwardRef:return bd(e,e.render,"ForwardRef");case Bi.Memo:return bd(e,e.type,"memo");default:return}}}function Kh(e){const o=e,{variants:t}=o,r=re(o,["variants"]),n={variants:t,style:vd(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=vd(i.style))}),n}const xb=Ea();function Ss(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Cb(e){return e?(t,r)=>r[e]:null}function Eb(e,t,r){e.theme=Rb(e.theme)?r:e.theme[t]||e.theme}function Mi(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Mi(e,o));if(Array.isArray(r==null?void 0:r.variants)){let o;if(r.isProcessed)o=r.style;else{const n=r,{variants:i}=n;o=re(n,["variants"])}return Qh(e,r.variants,[o])}return r!=null&&r.isProcessed?r.style:r}function Qh(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n!=null||(n=N(w(w({},e),e.ownerState),{ownerState:e.ownerState})),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n!=null||(n=N(w(w({},e),e.ownerState),{ownerState:e.ownerState})),r.push(a.style(n))):r.push(a.style)}return r}function Zh(e={}){const{themeId:t,defaultTheme:r=xb,rootShouldForwardProp:n=Ss,slotShouldForwardProp:o=Ss}=e;function i(s){Eb(s,t,r)}return(s,l={})=>{cb(s,_=>_.filter(O=>O!==Cn));const C=l,{name:c,slot:d,skipVariantsResolver:f,skipSx:p,overridesResolver:g=Cb(Jh(d))}=C,m=re(C,["name","slot","skipVariantsResolver","skipSx","overridesResolver"]),h=f!==void 0?f:d&&d!=="Root"&&d!=="root"||!1,y=p||!1;let b=Ss;d==="Root"||d==="root"?b=n:d?b=o:_b(s)&&(b=void 0);const T=lb(s,w({shouldForwardProp:b,label:Sb(c,d)},m)),E=_=>{if(_.__emotion_real===_)return _;if(typeof _=="function")return function(k){return Mi(k,_)};if(Ut(_)){const O=Kh(_);return O.variants?function(D){return Mi(D,O)}:O.style}return _},x=(..._)=>{const O=[],k=_.map(E),D=[];if(O.push(i),c&&g&&D.push(function(A){var P,z;const B=(z=(P=A.theme.components)==null?void 0:P[c])==null?void 0:z.styleOverrides;if(!B)return null;const L={};for(const q in B)L[q]=Mi(A,B[q]);return g(A,L)}),c&&!h&&D.push(function(A){var L,P;const H=A.theme,B=(P=(L=H==null?void 0:H.components)==null?void 0:L[c])==null?void 0:P.variants;return B?Qh(A,B):null}),y||D.push(Cn),Array.isArray(k[0])){const R=k.shift(),A=new Array(O.length).fill(""),H=new Array(D.length).fill("");let B;B=[...A,...R,...H],B.raw=[...A,...R.raw,...H],O.unshift(B)}const j=[...O,...k,...D],V=T(...j);return s.muiName&&(V.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(V.displayName=Tb(c,d,s)),V};return T.withConfig&&(x.withConfig=T.withConfig),x}}function Tb(e,t,r){return e?`${e}${pe(t||"")}`:`Styled(${wb(r)})`}function Sb(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Jh(t||"Root")}`),r}function Rb(e){for(const t in e)return!1;return!0}function _b(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Jh(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function wo(e,t){const r=w({},t);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]=w(w({},e[o]),r[o]);else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]=w({},a);for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const l=s;r[o][l]=wo(i[l],a[l])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const xr=typeof window!="undefined"?$.useLayoutEffect:$.useEffect;function Mb(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Oc(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}].`),Mb(e,t,r)}function Ob(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Cr(e){if(e.type)return e;if(e.charAt(0)==="#")return Cr(Ob(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
68
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:wr(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
69
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:wr(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const kb=e=>{const t=Cr(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},no=(e,t)=>{try{return kb(e)}catch(r){return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Ta(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function e0(e){e=Cr(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,d=(c+r/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Ta({type:s,values:l})}function ll(e){e=Cr(e);let t=e.type==="hsl"||e.type==="hsla"?Cr(e0(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:Ht((r+.055)/1.055,2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function wd(e,t){const r=ll(e),n=ll(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Le(e,t){return e=Cr(e),t=Oc(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ta(e)}function ci(e,t,r){try{return Le(e,t)}catch(n){return e}}function Sa(e,t){if(e=Cr(e),t=Oc(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ta(e)}function _e(e,t,r){try{return Sa(e,t)}catch(n){return e}}function Ra(e,t){if(e=Cr(e),t=Oc(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ta(e)}function Me(e,t,r){try{return Ra(e,t)}catch(n){return e}}function cl(e,t=.15){return ll(e)>.5?Sa(e,t):Ra(e,t)}function ui(e,t,r){try{return cl(e,t)}catch(n){return e}}function cr(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Ab(e){const{prototype:t={}}=e;return!!t.isReactComponent}function t0(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window=="undefined")return null;let s;const l=i.type;return typeof l=="function"&&!Ab(l)&&(s="Did you accidentally use a plain function component for an element instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Yr=cr(u.element,t0);Yr.isRequired=cr(u.element.isRequired,t0);function Pb(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Ib(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"&&!Pb(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 kc=cr(u.elementType,Ib),Db="exact-prop: ";function Ac(e){return process.env.NODE_ENV==="production"?e:N(w({},e),{[Db]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}const Wo=u.oneOfType([u.func,u.object]);function ul(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function $b(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 Wr(e){return Et(e).defaultView||window}function xd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Cd=0;function Nb(e){const[t,r]=$.useState(e),n=e||t;return $.useEffect(()=>{t==null&&(Cd+=1,r(`mui-${Cd}`))},[t]),n}const Lb=w({},$),Ed=Lb.useId;function _a(e){if(Ed!==void 0){const t=Ed();return e!=null?e:t}return Nb(e)}function Pc({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=$.useRef(e!==void 0),[i,a]=$.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){$.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
70
|
-
`))},[n,r,e]);const{current:c}=$.useRef(t);$.useEffect(()=>{!o&&!Object.is(c,t)&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
|
71
|
-
`))},[JSON.stringify(t)])}const l=$.useCallback(c=>{o||a(c)},[]);return[s,l]}function nr(e){const t=$.useRef(e);return xr(()=>{t.current=e}),$.useRef((...r)=>(0,t.current)(...r)).current}const Td={};function r0(e,t){const r=$.useRef(Td);return r.current===Td&&(r.current=e(t)),r}const Fb=[];function jb(e){$.useEffect(e,Fb)}class Ma{constructor(){Un(this,"currentId",null);Un(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Un(this,"disposeEffect",()=>this.clear)}static create(){return new Ma}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function $r(){const e=r0(Ma.create).current;return jb(e.disposeEffect),e}function zi(e){try{return e.matches(":focus-visible")}catch(t){process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
72
|
-
`))}return!1}function n0(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Bb(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 o0(e,t,r,n){const o=e[t];if(o==null||!Number.isInteger(o)){const i=Bb(o);return new RangeError(`Invalid ${n} \`${t}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function i0(e,t,...r){return e[t]===void 0?null:o0(e,t,...r)}function dl(){return null}i0.isRequired=o0;dl.isRequired=dl;const Gt=process.env.NODE_ENV==="production"?dl:i0;function Pn(e){var t;return parseInt($.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const Hb=$.createContext(void 0);function zb(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?wo(o.defaultProps,n):!o.styleOverrides&&!o.variants?wo(o,n):n}function Wb({props:e,name:t}){const r=$.useContext(Hb);return zb({props:e,name:t,theme:{components:r}})}const Sd={theme:void 0};function Vb(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Sd.theme=o.theme,i=Kh(e(Sd)),t=i,r=o.theme),i}}function Ub(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Rd=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Gb=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,l])=>{(!r||r&&!r([...i,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,s],Array.isArray(l)?[...a,s]:a):t([...i,s],l,a))})}n(e)},Yb=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Rs(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Gb(e,(s,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(s,l))){const d=`--${r?`${r}-`:""}${s.join("-")}`,f=Yb(s,l);Object.assign(o,{[d]:f}),Rd(i,s,`var(${d})`,c),Rd(a,s,`var(${d}, ${f})`,c)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function qb(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,E=e,{colorSchemes:i={},components:a,defaultColorScheme:s="light"}=E,l=re(E,["colorSchemes","components","defaultColorScheme"]),{vars:c,css:d,varsWithDefaults:f}=Rs(l,t);let p=f;const g={},x=i,{[s]:m}=x,h=re(x,[li(s)]);if(Object.entries(h||{}).forEach(([C,_])=>{const{vars:O,css:k,varsWithDefaults:D}=Rs(_,t);p=ft(p,D),g[C]={css:k,vars:O}}),m){const{css:C,vars:_,varsWithDefaults:O}=Rs(m,t);p=ft(p,O),g[s]={css:C,vars:_}}function y(C,_){var k,D;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),C){if(O==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((D=(k=i[C])==null?void 0:k.palette)==null?void 0:D.mode)||C})`]:{":root":_}};if(O)return e.defaultColorScheme===C?`:root, ${O.replace("%s",String(C))}`:O.replace("%s",String(C))}return":root"}return{vars:p,generateThemeVars:()=>{let C=w({},c);return Object.entries(g).forEach(([,{vars:_}])=>{C=ft(C,_)}),C},generateStyleSheets:()=>{var V,R;const C=[],_=e.defaultColorScheme||"light";function O(A,H){Object.keys(H).length&&C.push(typeof A=="string"?{[A]:w({},H)}:A)}O(r(void 0,w({},d)),d);const j=g,{[_]:k}=j,D=re(j,[li(_)]);if(k){const{css:A}=k,H=(R=(V=i[_])==null?void 0:V.palette)==null?void 0:R.mode,B=w(!n&&H?{colorScheme:H}:{},A);O(r(_,w({},B)),B)}return Object.entries(D).forEach(([A,{css:H}])=>{var P,z;const B=(z=(P=i[A])==null?void 0:P.palette)==null?void 0:z.mode,L=w(!n&&B?{colorScheme:B}:{},H);O(r(A,w({},L)),L)}),C}}}function Xb(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const xo={black:"#000",white:"#fff"},Kb={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"},Jr={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"},en={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"},Gn={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"},tn={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"},rn={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"},nn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function a0(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:xo.white,default:xo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Qb=a0();function s0(){return{text:{primary:xo.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:xo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const _d=s0();function Md(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=Ra(e.main,o):t==="dark"&&(e.dark=Sa(e.main,i)))}function Zb(e="light"){return e==="dark"?{main:tn[200],light:tn[50],dark:tn[400]}:{main:tn[700],light:tn[400],dark:tn[800]}}function Jb(e="light"){return e==="dark"?{main:Jr[200],light:Jr[50],dark:Jr[400]}:{main:Jr[500],light:Jr[300],dark:Jr[700]}}function e2(e="light"){return e==="dark"?{main:en[500],light:en[300],dark:en[700]}:{main:en[700],light:en[400],dark:en[800]}}function t2(e="light"){return e==="dark"?{main:rn[400],light:rn[300],dark:rn[700]}:{main:rn[700],light:rn[500],dark:rn[900]}}function r2(e="light"){return e==="dark"?{main:nn[400],light:nn[300],dark:nn[700]}:{main:nn[800],light:nn[500],dark:nn[900]}}function n2(e="light"){return e==="dark"?{main:Gn[400],light:Gn[300],dark:Gn[700]}:{main:"#ed6c02",light:Gn[500],dark:Gn[900]}}function Ic(e){const h=e,{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=h,o=re(h,["mode","contrastThreshold","tonalOffset"]),i=e.primary||Zb(t),a=e.secondary||Jb(t),s=e.error||e2(t),l=e.info||t2(t),c=e.success||r2(t),d=e.warning||n2(t);function f(y){const b=wd(y,_d.text.primary)>=r?_d.text.primary:Qb.text.primary;if(process.env.NODE_ENV!=="production"){const T=wd(y,b);T<3&&console.error([`MUI: The contrast ratio of ${T}:1 for ${b} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
73
|
-
`))}return b}const p=({color:y,name:b,mainShade:T=500,lightShade:E=300,darkShade:x=700})=>{if(y=w({},y),!y.main&&y[T]&&(y.main=y[T]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
74
|
-
The color object needs to have a \`main\` property or a \`${T}\` property.`:wr(11,b?` (${b})`:"",T));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
75
|
-
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
76
|
-
|
|
77
|
-
Did you intend to use one of the following approaches?
|
|
78
|
-
|
|
79
|
-
import { green } from "@mui/material/colors";
|
|
80
|
-
|
|
81
|
-
const theme1 = createTheme({ palette: {
|
|
82
|
-
primary: green,
|
|
83
|
-
} });
|
|
84
|
-
|
|
85
|
-
const theme2 = createTheme({ palette: {
|
|
86
|
-
primary: { main: green[500] },
|
|
87
|
-
} });`:wr(12,b?` (${b})`:"",JSON.stringify(y.main)));return Md(y,"light",E,n),Md(y,"dark",x,n),y.contrastText||(y.contrastText=f(y.main)),y};let g;return t==="light"?g=a0():t==="dark"&&(g=s0()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ft(w({common:w({},xo),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Kb,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n},g),o)}function o2(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function i2(e,t){return w({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}function a2(e){return Math.round(e*1e5)/1e5}const Od={textTransform:"uppercase"},kd='"Roboto", "Helvetica", "Arial", sans-serif';function s2(e,t){const y=typeof t=="function"?t(e):t,{fontFamily:r=kd,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:d}=y,f=re(y,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const p=n/14,g=d||(b=>`${b/l*p}rem`),m=(b,T,E,x,C)=>w(w(w({fontFamily:r,fontWeight:b,fontSize:g(T),lineHeight:E},r===kd?{letterSpacing:`${a2(x/T)}em`}:{}),C),c),h={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(a,14,1.75,.4,Od),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Od),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ft(w({htmlFontSize:l,pxToRem:g,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s},h),f,{clone:!1})}const l2=.2,c2=.14,u2=.12;function Ne(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${l2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${c2})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${u2})`].join(",")}const d2=["none",Ne(0,2,1,-1,0,1,1,0,0,1,3,0),Ne(0,3,1,-2,0,2,2,0,0,1,5,0),Ne(0,3,3,-2,0,3,4,0,0,1,8,0),Ne(0,2,4,-1,0,4,5,0,0,1,10,0),Ne(0,3,5,-1,0,5,8,0,0,1,14,0),Ne(0,3,5,-1,0,6,10,0,0,1,18,0),Ne(0,4,5,-2,0,7,10,1,0,2,16,1),Ne(0,5,5,-3,0,8,10,1,0,3,14,2),Ne(0,5,6,-3,0,9,12,1,0,3,16,2),Ne(0,6,6,-3,0,10,14,1,0,4,18,3),Ne(0,6,7,-4,0,11,15,1,0,4,20,3),Ne(0,7,8,-4,0,12,17,2,0,5,22,4),Ne(0,7,8,-4,0,13,19,2,0,5,24,4),Ne(0,7,9,-4,0,14,21,2,0,5,26,4),Ne(0,8,9,-5,0,15,22,2,0,6,28,5),Ne(0,8,10,-5,0,16,24,2,0,6,30,5),Ne(0,8,11,-5,0,17,26,2,0,6,32,5),Ne(0,9,11,-5,0,18,28,2,0,7,34,6),Ne(0,9,12,-6,0,19,29,2,0,7,36,6),Ne(0,10,13,-6,0,20,31,3,0,8,38,7),Ne(0,10,13,-6,0,21,33,3,0,8,40,7),Ne(0,10,14,-6,0,22,35,3,0,8,42,7),Ne(0,11,14,-7,0,23,36,3,0,9,44,8),Ne(0,11,15,-7,0,24,38,3,0,9,46,8)],f2={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)"},l0={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ad(e){return`${Math.round(e)}ms`}function p2(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*Ht(t,.25)+t/5)*10),3e3)}function h2(e){const t=w(w({},f2),e.easing),r=w(w({},l0),e.duration);return N(w({getAutoHeightDuration:p2,create:(o=["all"],i={})=>{const d=i,{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=d,c=re(d,["duration","easing","delay"]);if(process.env.NODE_ENV!=="production"){const f=g=>typeof g=="string",p=g=>!Number.isNaN(parseFloat(g));!f(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!f(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),f(s)||console.error('MUI: Argument "easing" must be a string.'),!p(l)&&!f(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
88
|
-
`)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof a=="string"?a:Ad(a)} ${s} ${typeof l=="string"?l:Ad(l)}`).join(",")}},e),{easing:t,duration:r})}const g2={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function m2(e){return Ut(e)||typeof e=="undefined"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function c0(e={}){const t=w({},e);function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!m2(s)||a.startsWith("unstable_")?delete n[a]:Ut(s)&&(n[a]=w({},s),r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
89
|
-
|
|
90
|
-
const theme = ${JSON.stringify(t,null,2)};
|
|
91
|
-
|
|
92
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
93
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
94
|
-
|
|
95
|
-
export default theme;`}function fl(e={},...t){const g=e,{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:l}=g,c=re(g,["breakpoints","mixins","spacing","palette","transitions","typography","shape"]);if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":wr(20));const d=Ic(i),f=Ea(e);let p=ft(f,{mixins:i2(f.breakpoints,n),palette:d,shadows:d2.slice(),typography:s2(d,s),transitions:h2(a),zIndex:w({},g2)});if(p=ft(p,c),p=t.reduce((m,h)=>ft(m,h),p),process.env.NODE_ENV!=="production"){const m=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(y,b)=>{let T;for(T in y){const E=y[T];if(m.includes(T)&&Object.keys(E).length>0){if(process.env.NODE_ENV!=="production"){const x=ke("",T);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${T}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:E}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
96
|
-
`))}y[T]={}}}};Object.keys(p.components).forEach(y=>{const b=p.components[y].styleOverrides;b&&y.startsWith("Mui")&&h(b,y)})}return p.unstable_sxConfig=w(w({},zo),c==null?void 0:c.unstable_sxConfig),p.unstable_sx=function(h){return Cn({sx:h,theme:this})},p.toRuntimeSource=c0,p}function pl(e){let t;return e<1?t=5.11916*Ht(e,2):t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const v2=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=pl(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function u0(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function d0(e){return e==="dark"?v2:[]}function y2(e){const a=e,{palette:t={mode:"light"},opacity:r,overlays:n}=a,o=re(a,["palette","opacity","overlays"]),i=Ic(t);return w({palette:i,opacity:w(w({},u0(i.mode)),r),overlays:n||d0(i.mode)},o)}function b2(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const w2=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],x2=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return w2(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:w(w({},r),a)}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function C2(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function G(e,t,r){!e[t]&&r&&(e[t]=r)}function oo(e){return typeof e!="string"||!e.startsWith("hsl")?e:e0(e)}function er(e,t){`${t}Channel`in e||(e[`${t}Channel`]=no(oo(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
97
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function E2(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const zt=e=>{try{return e()}catch(t){}},T2=(e="mui")=>Ub(e);function _s(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=y2(N(w({},t),{palette:w({mode:o},t==null?void 0:t.palette)}));return}const s=fl(N(w({},r),{palette:w({mode:o},t==null?void 0:t.palette)})),{palette:i}=s,a=re(s,["palette"]);return e[n]=N(w({},t),{palette:i,opacity:w(w({},u0(o)),t==null?void 0:t.opacity),overlays:(t==null?void 0:t.overlays)||d0(o)}),a}function S2(e={},...t){const D=e,{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=b2,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:l=":root"}=D,c=re(D,["colorSchemes","defaultColorScheme","disableCssColorScheme","cssVarPrefix","shouldSkipGeneratingVar","colorSchemeSelector","rootSelector"]),d=Object.keys(r)[0],f=n||(r.light&&d!=="light"?"light":d),p=T2(i),j=r,{[f]:g,light:m,dark:h}=j,y=re(j,[li(f),"light","dark"]),b=w({},y);let T=g;if((f==="dark"&&!("dark"in r)||f==="light"&&!("light"in r))&&(T=!0),!T)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`:wr(21,f));const E=_s(b,T,c,f);m&&!b.light&&_s(b,m,void 0,"light"),h&&!b.dark&&_s(b,h,void 0,"dark");let x=N(w({defaultColorScheme:f},E),{cssVarPrefix:i,colorSchemeSelector:s,rootSelector:l,getCssVar:p,colorSchemes:b,font:w(w({},o2(E.typography)),E.font),spacing:E2(c.spacing)});Object.keys(x.colorSchemes).forEach(V=>{const R=x.colorSchemes[V].palette,A=H=>{const B=H.split("-"),L=B[1],P=B[2];return p(H,R[L][P])};if(R.mode==="light"&&(G(R.common,"background","#fff"),G(R.common,"onBackground","#000")),R.mode==="dark"&&(G(R.common,"background","#000"),G(R.common,"onBackground","#fff")),C2(R,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),R.mode==="light"){G(R.Alert,"errorColor",_e(R.error.light,.6)),G(R.Alert,"infoColor",_e(R.info.light,.6)),G(R.Alert,"successColor",_e(R.success.light,.6)),G(R.Alert,"warningColor",_e(R.warning.light,.6)),G(R.Alert,"errorFilledBg",A("palette-error-main")),G(R.Alert,"infoFilledBg",A("palette-info-main")),G(R.Alert,"successFilledBg",A("palette-success-main")),G(R.Alert,"warningFilledBg",A("palette-warning-main")),G(R.Alert,"errorFilledColor",zt(()=>R.getContrastText(R.error.main))),G(R.Alert,"infoFilledColor",zt(()=>R.getContrastText(R.info.main))),G(R.Alert,"successFilledColor",zt(()=>R.getContrastText(R.success.main))),G(R.Alert,"warningFilledColor",zt(()=>R.getContrastText(R.warning.main))),G(R.Alert,"errorStandardBg",Me(R.error.light,.9)),G(R.Alert,"infoStandardBg",Me(R.info.light,.9)),G(R.Alert,"successStandardBg",Me(R.success.light,.9)),G(R.Alert,"warningStandardBg",Me(R.warning.light,.9)),G(R.Alert,"errorIconColor",A("palette-error-main")),G(R.Alert,"infoIconColor",A("palette-info-main")),G(R.Alert,"successIconColor",A("palette-success-main")),G(R.Alert,"warningIconColor",A("palette-warning-main")),G(R.AppBar,"defaultBg",A("palette-grey-100")),G(R.Avatar,"defaultBg",A("palette-grey-400")),G(R.Button,"inheritContainedBg",A("palette-grey-300")),G(R.Button,"inheritContainedHoverBg",A("palette-grey-A100")),G(R.Chip,"defaultBorder",A("palette-grey-400")),G(R.Chip,"defaultAvatarColor",A("palette-grey-700")),G(R.Chip,"defaultIconColor",A("palette-grey-700")),G(R.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),G(R.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),G(R.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),G(R.LinearProgress,"primaryBg",Me(R.primary.main,.62)),G(R.LinearProgress,"secondaryBg",Me(R.secondary.main,.62)),G(R.LinearProgress,"errorBg",Me(R.error.main,.62)),G(R.LinearProgress,"infoBg",Me(R.info.main,.62)),G(R.LinearProgress,"successBg",Me(R.success.main,.62)),G(R.LinearProgress,"warningBg",Me(R.warning.main,.62)),G(R.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.11)`),G(R.Slider,"primaryTrack",Me(R.primary.main,.62)),G(R.Slider,"secondaryTrack",Me(R.secondary.main,.62)),G(R.Slider,"errorTrack",Me(R.error.main,.62)),G(R.Slider,"infoTrack",Me(R.info.main,.62)),G(R.Slider,"successTrack",Me(R.success.main,.62)),G(R.Slider,"warningTrack",Me(R.warning.main,.62));const H=ui(R.background.default,.8);G(R.SnackbarContent,"bg",H),G(R.SnackbarContent,"color",zt(()=>R.getContrastText(H))),G(R.SpeedDialAction,"fabHoverBg",ui(R.background.paper,.15)),G(R.StepConnector,"border",A("palette-grey-400")),G(R.StepContent,"border",A("palette-grey-400")),G(R.Switch,"defaultColor",A("palette-common-white")),G(R.Switch,"defaultDisabledColor",A("palette-grey-100")),G(R.Switch,"primaryDisabledColor",Me(R.primary.main,.62)),G(R.Switch,"secondaryDisabledColor",Me(R.secondary.main,.62)),G(R.Switch,"errorDisabledColor",Me(R.error.main,.62)),G(R.Switch,"infoDisabledColor",Me(R.info.main,.62)),G(R.Switch,"successDisabledColor",Me(R.success.main,.62)),G(R.Switch,"warningDisabledColor",Me(R.warning.main,.62)),G(R.TableCell,"border",Me(ci(R.divider,1),.88)),G(R.Tooltip,"bg",ci(R.grey[700],.92))}if(R.mode==="dark"){G(R.Alert,"errorColor",Me(R.error.light,.6)),G(R.Alert,"infoColor",Me(R.info.light,.6)),G(R.Alert,"successColor",Me(R.success.light,.6)),G(R.Alert,"warningColor",Me(R.warning.light,.6)),G(R.Alert,"errorFilledBg",A("palette-error-dark")),G(R.Alert,"infoFilledBg",A("palette-info-dark")),G(R.Alert,"successFilledBg",A("palette-success-dark")),G(R.Alert,"warningFilledBg",A("palette-warning-dark")),G(R.Alert,"errorFilledColor",zt(()=>R.getContrastText(R.error.dark))),G(R.Alert,"infoFilledColor",zt(()=>R.getContrastText(R.info.dark))),G(R.Alert,"successFilledColor",zt(()=>R.getContrastText(R.success.dark))),G(R.Alert,"warningFilledColor",zt(()=>R.getContrastText(R.warning.dark))),G(R.Alert,"errorStandardBg",_e(R.error.light,.9)),G(R.Alert,"infoStandardBg",_e(R.info.light,.9)),G(R.Alert,"successStandardBg",_e(R.success.light,.9)),G(R.Alert,"warningStandardBg",_e(R.warning.light,.9)),G(R.Alert,"errorIconColor",A("palette-error-main")),G(R.Alert,"infoIconColor",A("palette-info-main")),G(R.Alert,"successIconColor",A("palette-success-main")),G(R.Alert,"warningIconColor",A("palette-warning-main")),G(R.AppBar,"defaultBg",A("palette-grey-900")),G(R.AppBar,"darkBg",A("palette-background-paper")),G(R.AppBar,"darkColor",A("palette-text-primary")),G(R.Avatar,"defaultBg",A("palette-grey-600")),G(R.Button,"inheritContainedBg",A("palette-grey-800")),G(R.Button,"inheritContainedHoverBg",A("palette-grey-700")),G(R.Chip,"defaultBorder",A("palette-grey-700")),G(R.Chip,"defaultAvatarColor",A("palette-grey-300")),G(R.Chip,"defaultIconColor",A("palette-grey-300")),G(R.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),G(R.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),G(R.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),G(R.LinearProgress,"primaryBg",_e(R.primary.main,.5)),G(R.LinearProgress,"secondaryBg",_e(R.secondary.main,.5)),G(R.LinearProgress,"errorBg",_e(R.error.main,.5)),G(R.LinearProgress,"infoBg",_e(R.info.main,.5)),G(R.LinearProgress,"successBg",_e(R.success.main,.5)),G(R.LinearProgress,"warningBg",_e(R.warning.main,.5)),G(R.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.13)`),G(R.Slider,"primaryTrack",_e(R.primary.main,.5)),G(R.Slider,"secondaryTrack",_e(R.secondary.main,.5)),G(R.Slider,"errorTrack",_e(R.error.main,.5)),G(R.Slider,"infoTrack",_e(R.info.main,.5)),G(R.Slider,"successTrack",_e(R.success.main,.5)),G(R.Slider,"warningTrack",_e(R.warning.main,.5));const H=ui(R.background.default,.98);G(R.SnackbarContent,"bg",H),G(R.SnackbarContent,"color",zt(()=>R.getContrastText(H))),G(R.SpeedDialAction,"fabHoverBg",ui(R.background.paper,.15)),G(R.StepConnector,"border",A("palette-grey-600")),G(R.StepContent,"border",A("palette-grey-600")),G(R.Switch,"defaultColor",A("palette-grey-300")),G(R.Switch,"defaultDisabledColor",A("palette-grey-600")),G(R.Switch,"primaryDisabledColor",_e(R.primary.main,.55)),G(R.Switch,"secondaryDisabledColor",_e(R.secondary.main,.55)),G(R.Switch,"errorDisabledColor",_e(R.error.main,.55)),G(R.Switch,"infoDisabledColor",_e(R.info.main,.55)),G(R.Switch,"successDisabledColor",_e(R.success.main,.55)),G(R.Switch,"warningDisabledColor",_e(R.warning.main,.55)),G(R.TableCell,"border",_e(ci(R.divider,1),.68)),G(R.Tooltip,"bg",ci(R.grey[700],.92))}er(R.background,"default"),er(R.background,"paper"),er(R.common,"background"),er(R.common,"onBackground"),er(R,"divider"),Object.keys(R).forEach(H=>{const B=R[H];H!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&G(R[H],"mainChannel",no(oo(B.main))),B.light&&G(R[H],"lightChannel",no(oo(B.light))),B.dark&&G(R[H],"darkChannel",no(oo(B.dark))),B.contrastText&&G(R[H],"contrastTextChannel",no(oo(B.contrastText))),H==="text"&&(er(R[H],"primary"),er(R[H],"secondary")),H==="action"&&(B.active&&er(R[H],"active"),B.selected&&er(R[H],"selected")))})}),x=t.reduce((V,R)=>ft(V,R),x);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:x2(x)},{vars:_,generateThemeVars:O,generateStyleSheets:k}=qb(x,C);return x.vars=_,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([V,R])=>{x[V]=R}),x.generateThemeVars=O,x.generateStyleSheets=k,x.generateSpacing=function(){return Yh(c.spacing,va(this))},x.getColorSchemeSelector=Xb(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=a,x.unstable_sxConfig=w(w({},zo),c==null?void 0:c.unstable_sxConfig),x.unstable_sx=function(R){return Cn({sx:R,theme:this})},x.toRuntimeSource=c0,x}function Pd(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]=N(w({},r!==!0&&r),{palette:Ic(N(w({},r===!0?{}:r.palette),{mode:t}))}))}function R2(e={},...t){const d=e,{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode}=d,a=re(d,["palette","cssVariables","colorSchemes","defaultColorScheme"]),s=i||"light",l=o==null?void 0:o[s],c=w(w({},o),r?{[s]:N(w({},typeof l!="boolean"&&l),{palette:r})}:void 0);if(n===!1){if(!("colorSchemes"in e))return fl(e,...t);let f=r;"palette"in e||c[s]&&(c[s]!==!0?f=c[s].palette:s==="dark"&&(f={mode:"dark"}));const p=fl(N(w({},e),{palette:f}),...t);return p.defaultColorScheme=s,p.colorSchemes=c,p.palette.mode==="light"&&(p.colorSchemes.light=N(w({},c.light!==!0&&c.light),{palette:p.palette}),Pd(p,"dark",c.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark=N(w({},c.dark!==!0&&c.dark),{palette:p.palette}),Pd(p,"light",c.light)),p}return!r&&!("light"in c)&&s==="light"&&(c.light=!0),S2(w(N(w({},a),{colorSchemes:c,defaultColorScheme:s}),typeof n!="boolean"&&n),...t)}const f0=R2(),p0="$$material";function Vo(){const e=qh(f0);return process.env.NODE_ENV!=="production"&&$.useDebugValue(e),e[p0]||e}function _2(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Uo=e=>_2(e)&&e!=="classes",fe=Zh({themeId:p0,defaultTheme:f0,rootShouldForwardProp:Uo});function M2(){return Gh}function je(e){return Wb(e)}const Co=$.createContext({});process.env.NODE_ENV!=="production"&&(Co.displayName="ListContext");function O2(e){return ke("MuiList",e)}Ae("MuiList",["root","padding","dense","subheader"]);const k2=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return He({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},O2,t)},A2=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Dc=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiList"}),m=n,{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=m,d=re(m,["children","className","component","dense","disablePadding","subheader"]),f=$.useMemo(()=>({dense:s}),[s]),p=N(w({},n),{component:a,dense:s,disablePadding:l}),g=k2(p);return J.jsx(Co.Provider,{value:f,children:J.jsxs(A2,N(w({as:a,className:ge(g.root,i),ref:r,ownerState:p},d),{children:[c,o]}))})});process.env.NODE_ENV!=="production"&&(Dc.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,dense:u.bool,disablePadding:u.bool,subheader:u.node,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});const qe=Vb;function P2(e){return ke("MuiSvgIcon",e)}Ae("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const I2=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${pe(t)}`,`fontSize${pe(r)}`]};return He(o,P2,n)},D2=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${pe(r.color)}`],t[`fontSize${pe(r.fontSize)}`]]}})(qe(({theme:e})=>{var t,r,n,o,i,a,s,l,c,d,f,p,g,m,h,y,b,T;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(t=e.transitions)==null?void 0:t.create)==null?void 0:i.call(t,"fill",{duration:(o=(n=((r=e.vars)!=null?r:e).transitions)==null?void 0:n.duration)==null?void 0:o.shorter}),variants:[{props:E=>!E.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(a=e.typography)==null?void 0:a.pxToRem)==null?void 0:s.call(a,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:f.call(d,35))||"2.1875rem"}},...Object.entries(((p=e.vars)!=null?p:e).palette).filter(([,E])=>E&&E.main).map(([E])=>{var x,C,_;return{props:{color:E},style:{color:(_=(C=((x=e.vars)!=null?x:e).palette)==null?void 0:C[E])==null?void 0:_.main}}}),{props:{color:"action"},style:{color:(h=(m=((g=e.vars)!=null?g:e).palette)==null?void 0:m.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(T=(b=((y=e.vars)!=null?y:e).palette)==null?void 0:b.action)==null?void 0:T.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Wi=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiSvgIcon"}),T=n,{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:f,viewBox:p="0 0 24 24"}=T,g=re(T,["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"]),m=$.isValidElement(o)&&o.type==="svg",h=N(w({},n),{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:m}),y={};d||(y.viewBox=p);const b=I2(h);return J.jsxs(D2,N(w(w(w({as:s,className:ge(b.root,i),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},y),g),m&&o.props),{ownerState:h,children:[m?o.props.children:o,f?J.jsx("title",{children:f}):null]}))});process.env.NODE_ENV!=="production"&&(Wi.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),u.string]),component:u.elementType,fontSize:u.oneOfType([u.oneOf(["inherit","large","medium","small"]),u.string]),htmlColor:u.string,inheritViewBox:u.bool,shapeRendering:u.string,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),titleAccess:u.string,viewBox:u.string});Wi.muiName="SvgIcon";function In(e,t){function r(n,o){return J.jsx(Wi,N(w({"data-testid":`${t}Icon`,ref:o},n),{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Wi.muiName,$.memo($.forwardRef(r))}function $2(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return o=>{const i=typeof t=="function"?t(o):t,a=typeof e=="function"?e(w(w({},o),i)):e,s=ge(o==null?void 0:o.className,i==null?void 0:i.className,a==null?void 0:a.className);return w(w(w(w(w({},i),a),!!s&&{className:s}),(i==null?void 0:i.style)&&(a==null?void 0:a.style)&&{style:w(w({},i.style),a.style)}),(i==null?void 0:i.sx)&&(a==null?void 0:a.sx)&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]})};const r=t,n=ge(r==null?void 0:r.className,e==null?void 0:e.className);return w(w(w(w(w({},t),e),!!n&&{className:n}),(r==null?void 0:r.style)&&(e==null?void 0:e.style)&&{style:w(w({},r.style),e.style)}),(r==null?void 0:r.sx)&&(e==null?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]})}function Ms(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function Id(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function h0(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function Yn(e,t,r,n,o,i){let a=!1,s=o(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!h0(s,i)||l)s=o(e,s,r);else return s.focus(),!0}return!1}const $c=$.forwardRef(function(t,r){const E=t,{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:d,variant:f="selectedMenu"}=E,p=re(E,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=$.useRef(null),m=$.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});xr(()=>{o&&g.current.focus()},[o]),$.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(x,{direction:C})=>{const _=!g.current.style.width;if(x.clientHeight<g.current.clientHeight&&_){const O=`${n0(Wr(x))}px`;g.current.style[C==="rtl"?"paddingLeft":"paddingRight"]=O,g.current.style.width=`calc(100% + ${O})`}return g.current}}),[]);const h=x=>{const C=g.current,_=x.key;if(x.ctrlKey||x.metaKey||x.altKey){d&&d(x);return}const k=Et(C).activeElement;if(_==="ArrowDown")x.preventDefault(),Yn(C,k,c,l,Ms);else if(_==="ArrowUp")x.preventDefault(),Yn(C,k,c,l,Id);else if(_==="Home")x.preventDefault(),Yn(C,null,c,l,Ms);else if(_==="End")x.preventDefault(),Yn(C,null,c,l,Id);else if(_.length===1){const D=m.current,j=_.toLowerCase(),V=performance.now();D.keys.length>0&&(V-D.lastTime>500?(D.keys=[],D.repeating=!0,D.previousKeyMatched=!0):D.repeating&&j!==D.keys[0]&&(D.repeating=!1)),D.lastTime=V,D.keys.push(j);const R=k&&!D.repeating&&h0(k,D);D.previousKeyMatched&&(R||Yn(C,k,!1,l,Ms,D))?x.preventDefault():D.previousKeyMatched=!1}d&&d(x)},y=pt(g,r);let b=-1;$.Children.forEach(a,(x,C)=>{if(!$.isValidElement(x)){b===C&&(b+=1,b>=a.length&&(b=-1));return}process.env.NODE_ENV!=="production"&&Sc.isFragment(x)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
98
|
-
`)),x.props.disabled||(f==="selectedMenu"&&x.props.selected||b===-1)&&(b=C),b===C&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(b+=1,b>=a.length&&(b=-1))});const T=$.Children.map(a,(x,C)=>{if(C===b){const _={};return i&&(_.autoFocus=!0),x.props.tabIndex===void 0&&f==="selectedMenu"&&(_.tabIndex=0),$.cloneElement(x,_)}return x});return J.jsx(Dc,N(w({role:"menu",ref:y,className:s,onKeyDown:h,tabIndex:o?0:-1},p),{children:T}))});process.env.NODE_ENV!=="production"&&($c.propTypes={autoFocus:u.bool,autoFocusItem:u.bool,children:u.node,className:u.string,disabledItemsFocusable:u.bool,disableListWrap:u.bool,onKeyDown:u.func,variant:u.oneOf(["menu","selectedMenu"])});function N2(e){return typeof e=="string"}function g0(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function m0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,nl(e,t)}const Dd={disabled:!1};var L2=process.env.NODE_ENV!=="production"?u.oneOfType([u.number,u.shape({enter:u.number,exit:u.number,appear:u.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&u.oneOfType([u.string,u.shape({enter:u.string,exit:u.string,active:u.string}),u.shape({enter:u.string,enterDone:u.string,enterActive:u.string,exit:u.string,exitDone:u.string,exitActive:u.string})]);const Vi=S.createContext(null);var io="unmounted",Ar="exited",Pr="entering",un="entered",hl="exiting",Bt=function(e){m0(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?s?(l=Ar,i.appearStatus=Pr):l=un:n.unmountOnExit||n.mountOnEnter?l=io:l=Ar,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===io?{status:Ar}: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!==Pr&&a!==un&&(i=Pr):(a===Pr||a===un)&&(i=hl)}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===Pr?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:xt.findDOMNode(this)),this.performEnter(o)):this.performExit()):this.props.unmountOnExit&&this.state.status===Ar&&this.setState({status:io})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[xt.findDOMNode(this),s],c=l[0],d=l[1],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!o&&!a||Dd.disabled){this.safeSetState({status:un},function(){i.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Pr},function(){i.props.onEntering(c,d),i.onTransitionEnd(p,function(){i.safeSetState({status:un},function(){i.props.onEntered(c,d)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:xt.findDOMNode(this);if(!i||Dd.disabled){this.safeSetState({status:Ar},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:hl},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Ar},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:xt.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===io)return null;var i=this.props,a=i.children,s=g0(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(Vi.Provider,{value:null},typeof a=="function"?a(o,s):S.cloneElement(S.Children.only(a),s))},t}(S.Component);Bt.contextType=Vi;Bt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:u.shape({current:typeof Element=="undefined"?u.any:function(e,t,r,n,o,i){var a=e[t];return u.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,r,n,o,i)}}),children:u.oneOfType([u.func.isRequired,u.element.isRequired]).isRequired,in:u.bool,mountOnEnter:u.bool,unmountOnExit:u.bool,appear:u.bool,enter:u.bool,exit:u.bool,timeout:function(t){var r=L2;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return r.apply(void 0,[t].concat(o))},addEndListener:u.func,onEnter:u.func,onEntering:u.func,onEntered:u.func,onExit:u.func,onExiting:u.func,onExited:u.func}:{};function on(){}Bt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:on,onEntering:on,onEntered:on,onExit:on,onExiting:on,onExited:on};Bt.UNMOUNTED=io;Bt.EXITED=Ar;Bt.ENTERING=Pr;Bt.ENTERED=un;Bt.EXITING=hl;function Nc(e,t){var r=function(i){return t&&S.isValidElement(i)?t(i):i},n=Object.create(null);return e&&S.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function F2(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function Nr(e,t,r){return r[t]!=null?r[t]:e.props[t]}function j2(e,t){return Nc(e.children,function(r){return S.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Nr(r,"appear",e),enter:Nr(r,"enter",e),exit:Nr(r,"exit",e)})})}function B2(e,t,r){var n=Nc(e.children),o=F2(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(S.isValidElement(a)){var s=i in t,l=i in n,c=t[i],d=S.isValidElement(c)&&!c.props.in;l&&(!s||d)?o[i]=S.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:Nr(a,"exit",e),enter:Nr(a,"enter",e)}):!l&&s&&!d?o[i]=S.cloneElement(a,{in:!1}):l&&s&&S.isValidElement(c)&&(o[i]=S.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:Nr(a,"exit",e),enter:Nr(a,"enter",e)}))}}),o}var H2=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},z2={component:"div",childFactory:function(t){return t}},Lc=function(e){m0(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(P1(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?j2(o,s):B2(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Nc(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=v._extends({},s.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=g0(o,["component","childFactory"]),l=this.state.contextValue,c=H2(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?S.createElement(Vi.Provider,{value:l},c):S.createElement(Vi.Provider,{value:l},S.createElement(i,s,c))},t}(S.Component);Lc.propTypes=process.env.NODE_ENV!=="production"?{component:u.any,children:u.node,appear:u.bool,enter:u.bool,exit:u.bool,childFactory:u.func}:{};Lc.defaultProps=z2;function Eo(e,t){var i,a;const{timeout:r,easing:n,style:o={}}=e;return{duration:(i=o.transitionDuration)!=null?i:typeof r=="number"?r:r[t.mode]||0,easing:(a=o.transitionTimingFunction)!=null?a:typeof n=="object"?n[t.mode]:n,delay:o.transitionDelay}}function gl(e){return`scale(${e}, ${Ht(e,2)})`}const W2={entering:{opacity:1,transform:gl(1)},entered:{opacity:1,transform:"none"}},Os=typeof navigator!="undefined"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),To=$.forwardRef(function(t,r){const B=t,{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:d,onExit:f,onExited:p,onExiting:g,style:m,timeout:h="auto",TransitionComponent:y=Bt}=B,b=re(B,["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),T=$r(),E=$.useRef(),x=Vo(),C=$.useRef(null),_=pt(C,Pn(i),r),O=L=>P=>{if(L){const z=C.current;P===void 0?L(z):L(z,P)}},k=O(d),D=O((L,P)=>{const{duration:z,delay:q,easing:I}=Eo({style:m,timeout:h,easing:a},{mode:"enter"});let U;h==="auto"?(U=x.transitions.getAutoHeightDuration(L.clientHeight),E.current=U):U=z,L.style.transition=[x.transitions.create("opacity",{duration:U,delay:q}),x.transitions.create("transform",{duration:Os?U:U*.666,delay:q,easing:I})].join(","),l&&l(L,P)}),j=O(c),V=O(g),R=O(L=>{const{duration:P,delay:z,easing:q}=Eo({style:m,timeout:h,easing:a},{mode:"exit"});let I;h==="auto"?(I=x.transitions.getAutoHeightDuration(L.clientHeight),E.current=I):I=P,L.style.transition=[x.transitions.create("opacity",{duration:I,delay:z}),x.transitions.create("transform",{duration:Os?I:I*.666,delay:Os?z:z||I*.333,easing:q})].join(","),L.style.opacity=0,L.style.transform=gl(.75),f&&f(L)}),A=O(p),H=L=>{h==="auto"&&T.start(E.current||0,L),n&&n(C.current,L)};return J.jsx(y,N(w({appear:o,in:s,nodeRef:C,onEnter:D,onEntered:j,onEntering:k,onExit:R,onExited:A,onExiting:V,addEndListener:H,timeout:h==="auto"?null:h},b),{children:(L,q)=>{var I=q,{ownerState:P}=I,z=re(I,["ownerState"]);return $.cloneElement(i,w({style:w(w(w({opacity:0,transform:gl(.75),visibility:L==="exited"&&!s?"hidden":void 0},W2[L]),m),i.props.style),ref:_},z))}}))});process.env.NODE_ENV!=="production"&&(To.propTypes={addEndListener:u.func,appear:u.bool,children:Yr.isRequired,easing:u.oneOfType([u.shape({enter:u.string,exit:u.string}),u.string]),in:u.bool,onEnter:u.func,onEntered:u.func,onEntering:u.func,onExit:u.func,onExited:u.func,onExiting:u.func,style:u.object,timeout:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});To&&(To.muiSupportAuto=!0);function V2(e){const t=Et(e);return t.body===e?Wr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ho(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function $d(e){return parseInt(Wr(e).getComputedStyle(e).paddingRight,10)||0}function U2(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Nd(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const s=!i.includes(a),l=!U2(a);s&&l&&ho(a,o)})}function ks(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function G2(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(V2(n)){const a=n0(Wr(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${$d(n)+a}px`;const s=Et(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${$d(l)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=Et(n).body;else{const a=n.parentElement,s=Wr(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 Y2(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class q2{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&ho(t.modalRef,!1);const o=Y2(r);Nd(r,t.mount,t.modalRef,o,!0);const i=ks(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=ks(this.containers,i=>i.modals.includes(t)),o=this.containers[n];o.restore||(o.restore=G2(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=ks(this.containers,a=>a.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ho(t.modalRef,r),Nd(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&&ho(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const X2=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function K2(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 Q2(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 Z2(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Q2(e))}function J2(e){const t=[],r=[];return Array.from(e.querySelectorAll(X2)).forEach((n,o)=>{const i=K2(n);i===-1||!Z2(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 ew(){return!0}function Ui(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=J2,isEnabled:a=ew,open:s}=e,l=$.useRef(!1),c=$.useRef(null),d=$.useRef(null),f=$.useRef(null),p=$.useRef(null),g=$.useRef(!1),m=$.useRef(null),h=pt(Pn(t),m),y=$.useRef(null);$.useEffect(()=>{!s||!m.current||(g.current=!r)},[r,s]),$.useEffect(()=>{if(!s||!m.current)return;const E=Et(m.current);return m.current.contains(E.activeElement)||(m.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
99
|
-
`)),m.current.setAttribute("tabIndex","-1")),g.current&&m.current.focus()),()=>{o||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),$.useEffect(()=>{if(!s||!m.current)return;const E=Et(m.current),x=O=>{y.current=O,!(n||!a()||O.key!=="Tab")&&E.activeElement===m.current&&O.shiftKey&&(l.current=!0,d.current&&d.current.focus())},C=()=>{var D,j;const O=m.current;if(O===null)return;if(!E.hasFocus()||!a()||l.current){l.current=!1;return}if(O.contains(E.activeElement)||n&&E.activeElement!==c.current&&E.activeElement!==d.current)return;if(E.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!g.current)return;let k=[];if((E.activeElement===c.current||E.activeElement===d.current)&&(k=i(m.current)),k.length>0){const V=!!((D=y.current)!=null&&D.shiftKey&&((j=y.current)==null?void 0:j.key)==="Tab"),R=k[0],A=k[k.length-1];typeof R!="string"&&typeof A!="string"&&(V?A.focus():R.focus())}else O.focus()};E.addEventListener("focusin",C),E.addEventListener("keydown",x,!0);const _=setInterval(()=>{E.activeElement&&E.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(_),E.removeEventListener("focusin",C),E.removeEventListener("keydown",x,!0)}},[r,n,o,a,s,i]);const b=E=>{f.current===null&&(f.current=E.relatedTarget),g.current=!0,p.current=E.target;const x=t.props.onFocus;x&&x(E)},T=E=>{f.current===null&&(f.current=E.relatedTarget),g.current=!0};return J.jsxs($.Fragment,{children:[J.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:c,"data-testid":"sentinelStart"}),$.cloneElement(t,{ref:h,onFocus:b}),J.jsx("div",{tabIndex:s?0:-1,onFocus:T,ref:d,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Ui.propTypes={children:Yr,disableAutoFocus:u.bool,disableEnforceFocus:u.bool,disableRestoreFocus:u.bool,getTabbable:u.func,isEnabled:u.func,open:u.bool.isRequired});process.env.NODE_ENV!=="production"&&(Ui.propTypes=Ac(Ui.propTypes));function tw(e){return typeof e=="function"?e():e}const So=$.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=$.useState(null),l=pt($.isValidElement(n)?Pn(n):null,r);if(xr(()=>{i||s(tw(o)||document.body)},[o,i]),xr(()=>{if(a&&!i)return xd(r,a),()=>{xd(r,null)}},[r,a,i]),i){if($.isValidElement(n)){const c={ref:l};return $.cloneElement(n,c)}return n}return a&&E1.createPortal(n,a)});process.env.NODE_ENV!=="production"&&(So.propTypes={children:u.node,container:u.oneOfType([ir,u.func]),disablePortal:u.bool});process.env.NODE_ENV!=="production"&&(So.propTypes=Ac(So.propTypes));function rt(e,t){const C=t,{className:r,elementType:n,ownerState:o,externalForwardedProps:i,internalForwardedProps:a,shouldForwardComponentProp:s=!1}=C,l=re(C,["className","elementType","ownerState","externalForwardedProps","internalForwardedProps","shouldForwardComponentProp"]),_=i,{component:c,slots:d={[e]:void 0},slotProps:f={[e]:void 0}}=_,p=re(_,["component","slots","slotProps"]),g=d[e]||n,m=Hh(f[e],o),O=Bh(N(w({className:r},l),{externalForwardedProps:e==="root"?p:void 0,externalSlotProps:m})),{props:k}=O,D=k,{component:h}=D,y=re(D,["component"]),{internalRef:b}=O,T=pt(b,m==null?void 0:m.ref,t.ref),E=e==="root"?h||c:h,x=Fh(g,N(w(w(w(w(w({},e==="root"&&!c&&!d[e]&&a),e!=="root"&&!d[e]&&a),y),E&&!s&&{as:E}),E&&s&&{component:E}),{ref:T}),o);return[g,x]}const rw={entering:{opacity:1},entered:{opacity:1}},Fc=$.forwardRef(function(t,r){const n=Vo(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},H=t,{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:f,onEntering:p,onExit:g,onExited:m,onExiting:h,style:y,timeout:b=o,TransitionComponent:T=Bt}=H,E=re(H,["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),x=$.useRef(null),C=pt(x,Pn(s),r),_=B=>L=>{if(B){const P=x.current;L===void 0?B(P):B(P,L)}},O=_(p),k=_((B,L)=>{const P=Eo({style:y,timeout:b,easing:l},{mode:"enter"});B.style.webkitTransition=n.transitions.create("opacity",P),B.style.transition=n.transitions.create("opacity",P),d&&d(B,L)}),D=_(f),j=_(h),V=_(B=>{const L=Eo({style:y,timeout:b,easing:l},{mode:"exit"});B.style.webkitTransition=n.transitions.create("opacity",L),B.style.transition=n.transitions.create("opacity",L),g&&g(B)}),R=_(m),A=B=>{i&&i(x.current,B)};return J.jsx(T,N(w({appear:a,in:c,nodeRef:x,onEnter:k,onEntered:D,onEntering:O,onExit:V,onExited:R,onExiting:j,addEndListener:A,timeout:b},E),{children:(B,z)=>{var q=z,{ownerState:L}=q,P=re(q,["ownerState"]);return $.cloneElement(s,w({style:w(w(w({opacity:0,visibility:B==="exited"&&!c?"hidden":void 0},rw[B]),y),s.props.style),ref:C},P))}}))});process.env.NODE_ENV!=="production"&&(Fc.propTypes={addEndListener:u.func,appear:u.bool,children:Yr.isRequired,easing:u.oneOfType([u.shape({enter:u.string,exit:u.string}),u.string]),in:u.bool,onEnter:u.func,onEntered:u.func,onEntering:u.func,onExit:u.func,onExited:u.func,onExiting:u.func,style:u.object,timeout:u.oneOfType([u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});function nw(e){return ke("MuiBackdrop",e)}Ae("MuiBackdrop",["root","invisible"]);const ow=e=>{const{classes:t,invisible:r}=e;return He({root:["root",r&&"invisible"]},nw,t)},iw=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),jc=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiBackdrop"}),D=n,{children:o,className:i,component:a="div",invisible:s=!1,open:l,components:c={},componentsProps:d={},slotProps:f={},slots:p={},TransitionComponent:g,transitionDuration:m}=D,h=re(D,["children","className","component","invisible","open","components","componentsProps","slotProps","slots","TransitionComponent","transitionDuration"]),y=N(w({},n),{component:a,invisible:s}),b=ow(y),T=w({transition:g,root:c.Root},p),E=w(w({},d),f),x={slots:T,slotProps:E},[C,_]=rt("root",{elementType:iw,externalForwardedProps:x,className:ge(b.root,i),ownerState:y}),[O,k]=rt("transition",{elementType:Fc,externalForwardedProps:x,ownerState:y});return J.jsx(O,N(w(w({in:l,timeout:m},h),k),{children:J.jsx(C,N(w({"aria-hidden":!0},_),{classes:b,ref:r,children:o}))}))});process.env.NODE_ENV!=="production"&&(jc.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,components:u.shape({Root:u.elementType}),componentsProps:u.shape({root:u.object}),invisible:u.bool,open:u.bool.isRequired,slotProps:u.shape({root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),TransitionComponent:u.elementType,transitionDuration:u.oneOfType([u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})])});function aw(e){return typeof e=="function"?e():e}function sw(e){return e?e.props.hasOwnProperty("in"):!1}const Ld=()=>{},di=new q2;function lw(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:a,children:s,onClose:l,open:c,rootRef:d}=e,f=$.useRef({}),p=$.useRef(null),g=$.useRef(null),m=pt(g,d),[h,y]=$.useState(!c),b=sw(s);let T=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(T=!1);const E=()=>Et(p.current),x=()=>(f.current.modalRef=g.current,f.current.mount=p.current,f.current),C=()=>{di.mount(x(),{disableScrollLock:n}),g.current&&(g.current.scrollTop=0)},_=nr(()=>{const B=aw(t)||E().body;di.add(x(),B),g.current&&C()}),O=()=>di.isTopModal(x()),k=nr(B=>{p.current=B,B&&(c&&O()?C():g.current&&ho(g.current,T))}),D=$.useCallback(()=>{di.remove(x(),T)},[T]);$.useEffect(()=>()=>{D()},[D]),$.useEffect(()=>{c?_():(!b||!o)&&D()},[c,D,b,o,_]);const j=B=>L=>{var P;(P=B.onKeyDown)==null||P.call(B,L),!(L.key!=="Escape"||L.which===229||!O())&&(r||(L.stopPropagation(),l&&l(L,"escapeKeyDown")))},V=B=>L=>{var P;(P=B.onClick)==null||P.call(B,L),L.target===L.currentTarget&&l&&l(L,"backdropClick")};return{getRootProps:(B={})=>{const L=jh(e);delete L.onTransitionEnter,delete L.onTransitionExited;const P=w(w({},L),B);return N(w({role:"presentation"},P),{onKeyDown:j(P),ref:m})},getBackdropProps:(B={})=>{const L=B;return N(w({"aria-hidden":!0},L),{onClick:V(L),open:c})},getTransitionProps:()=>{var P,z;const B=()=>{y(!1),i&&i()},L=()=>{y(!0),a&&a(),o&&D()};return{onEnter:ul(B,(P=s==null?void 0:s.props.onEnter)!=null?P:Ld),onExited:ul(L,(z=s==null?void 0:s.props.onExited)!=null?z:Ld)}},rootRef:m,portalRef:k,isTopModal:O,exited:h,hasTransition:b}}function cw(e){return ke("MuiModal",e)}Ae("MuiModal",["root","hidden","backdrop"]);const uw=e=>{const{open:t,exited:r,classes:n}=e;return He({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},cw,n)},dw=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(qe(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),fw=fe(jc,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Bc=$.forwardRef(function(t,r){const n=je({name:"MuiModal",props:t}),ye=n,{BackdropComponent:o=fw,BackdropProps:i,classes:a,className:s,closeAfterTransition:l=!1,children:c,container:d,component:f,components:p={},componentsProps:g={},disableAutoFocus:m=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:y=!1,disablePortal:b=!1,disableRestoreFocus:T=!1,disableScrollLock:E=!1,hideBackdrop:x=!1,keepMounted:C=!1,onBackdropClick:_,onClose:O,onTransitionEnter:k,onTransitionExited:D,open:j,slotProps:V={},slots:R={},theme:A}=ye,H=re(ye,["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"]),B=N(w({},n),{closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:h,disableEscapeKeyDown:y,disablePortal:b,disableRestoreFocus:T,disableScrollLock:E,hideBackdrop:x,keepMounted:C}),{getRootProps:L,getBackdropProps:P,getTransitionProps:z,portalRef:q,isTopModal:I,exited:U,hasTransition:Q}=lw(N(w({},B),{rootRef:r})),X=N(w({},B),{exited:U}),K=uw(X),ee={};if(c.props.tabIndex===void 0&&(ee.tabIndex="-1"),Q){const{onEnter:W,onExited:ne}=z();ee.onEnter=W,ee.onExited=ne}const te={slots:w({root:p.Root,backdrop:p.Backdrop},R),slotProps:w(w({},g),V)},[ie,oe]=rt("root",{ref:r,elementType:dw,externalForwardedProps:N(w(w({},te),H),{component:f}),getSlotProps:L,ownerState:X,className:ge(s,K==null?void 0:K.root,!X.open&&X.exited&&(K==null?void 0:K.hidden))}),[de,ae]=rt("backdrop",{ref:i==null?void 0:i.ref,elementType:o,externalForwardedProps:te,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:W=>P(N(w({},W),{onClick:ne=>{_&&_(ne),W!=null&&W.onClick&&W.onClick(ne)}})),className:ge(i==null?void 0:i.className,K==null?void 0:K.backdrop),ownerState:X});return!C&&!j&&(!Q||U)?null:J.jsx(So,{ref:q,container:d,disablePortal:b,children:J.jsxs(ie,N(w({},oe),{children:[!x&&o?J.jsx(de,w({},ae)):null,J.jsx(Ui,{disableEnforceFocus:h,disableAutoFocus:m,disableRestoreFocus:T,isEnabled:I,open:j,children:$.cloneElement(c,ee)})]}))})});process.env.NODE_ENV!=="production"&&(Bc.propTypes={BackdropComponent:u.elementType,BackdropProps:u.object,children:Yr.isRequired,classes:u.object,className:u.string,closeAfterTransition:u.bool,component:u.elementType,components:u.shape({Backdrop:u.elementType,Root:u.elementType}),componentsProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object])}),container:u.oneOfType([ir,u.func]),disableAutoFocus:u.bool,disableEnforceFocus:u.bool,disableEscapeKeyDown:u.bool,disablePortal:u.bool,disableRestoreFocus:u.bool,disableScrollLock:u.bool,hideBackdrop:u.bool,keepMounted:u.bool,onBackdropClick:u.func,onClose:u.func,onTransitionEnter:u.func,onTransitionExited:u.func,open:u.bool.isRequired,slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,root:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function pw(e){return ke("MuiPaper",e)}Ae("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 hw=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return He(i,pw,o)},gw=fe("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}`]]}})(qe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Oa=$.forwardRef(function(t,r){var m;const n=je({props:t,name:"MuiPaper"}),o=Vo(),g=n,{className:i,component:a="div",elevation:s=1,square:l=!1,variant:c="elevation"}=g,d=re(g,["className","component","elevation","square","variant"]),f=N(w({},n),{component:a,elevation:s,square:l,variant:c}),p=hw(f);return process.env.NODE_ENV!=="production"&&o.shadows[s]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
|
|
100
|
-
`)),J.jsx(gw,N(w({as:a,ownerState:f,className:ge(p.root,i),ref:r},d),{style:w(w({},c==="elevation"&&w(w({"--Paper-shadow":(o.vars||o).shadows[s]},o.vars&&{"--Paper-overlay":(m=o.vars.overlays)==null?void 0:m[s]}),!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Le("#fff",pl(s))}, ${Le("#fff",pl(s))})`})),d.style)}))});process.env.NODE_ENV!=="production"&&(Oa.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,elevation:cr(Gt,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:u.bool,style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["elevation","outlined"]),u.string])});function mw(e){return ke("MuiPopover",e)}Ae("MuiPopover",["root","paper"]);function Fd(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function jd(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Bd(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ao(e){return typeof e=="function"?e():e}const vw=e=>{const{classes:t}=e;return He({root:["root"],paper:["paper"]},mw,t)},yw=fe(Bc,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),v0=fe(Oa,{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}),Hc=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiPopover"}),ae=n,{action:o,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:d,container:f,elevation:p=8,marginThreshold:g=16,open:m,PaperProps:h={},slots:y={},slotProps:b={},transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:E,transitionDuration:x="auto",TransitionProps:C={},disableScrollLock:_=!1}=ae,O=re(ae,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"]),k=$.useRef(),D=N(w({},n),{anchorOrigin:a,anchorReference:l,elevation:p,marginThreshold:g,transformOrigin:T,TransitionComponent:E,transitionDuration:x,TransitionProps:C}),j=vw(D),V=$.useCallback(()=>{if(l==="anchorPosition")return process.env.NODE_ENV!=="production"&&(s||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),s;const ne=ao(i),ue=ne&&ne.nodeType===1?ne:Et(k.current).body,me=ue.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const Ke=ue.getBoundingClientRect();process.env.NODE_ENV!=="test"&&Ke.top===0&&Ke.left===0&&Ke.right===0&&Ke.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
101
|
-
`))}return{top:me.top+Fd(me,a.vertical),left:me.left+jd(me,a.horizontal)}},[i,a.horizontal,a.vertical,s,l]),R=$.useCallback(ne=>({vertical:Fd(ne,T.vertical),horizontal:jd(ne,T.horizontal)}),[T.horizontal,T.vertical]),A=$.useCallback(ne=>{const ue={width:ne.offsetWidth,height:ne.offsetHeight},me=R(ue);if(l==="none")return{top:null,left:null,transformOrigin:Bd(me)};const Ke=V();let Ge=Ke.top-me.vertical,ze=Ke.left-me.horizontal;const _t=Ge+ue.height,Ze=ze+ue.width,lt=Wr(ao(i)),et=lt.innerHeight-g,le=lt.innerWidth-g;if(g!==null&&Ge<g){const it=Ge-g;Ge-=it,me.vertical+=it}else if(g!==null&&_t>et){const it=_t-et;Ge-=it,me.vertical+=it}if(process.env.NODE_ENV!=="production"&&ue.height>et&&ue.height&&et&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${ue.height-et}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
102
|
-
`)),g!==null&&ze<g){const it=ze-g;ze-=it,me.horizontal+=it}else if(Ze>le){const it=Ze-le;ze-=it,me.horizontal+=it}return{top:`${Math.round(Ge)}px`,left:`${Math.round(ze)}px`,transformOrigin:Bd(me)}},[i,l,V,R,g]),[H,B]=$.useState(m),L=$.useCallback(()=>{const ne=k.current;if(!ne)return;const ue=A(ne);ue.top!==null&&ne.style.setProperty("top",ue.top),ue.left!==null&&(ne.style.left=ue.left),ne.style.transformOrigin=ue.transformOrigin,B(!0)},[A]);$.useEffect(()=>(_&&window.addEventListener("scroll",L),()=>window.removeEventListener("scroll",L)),[i,_,L]);const P=()=>{L()},z=()=>{B(!1)};$.useEffect(()=>{m&&L()}),$.useImperativeHandle(o,()=>m?{updatePosition:()=>{L()}}:null,[m,L]),$.useEffect(()=>{if(!m)return;const ne=$b(()=>{L()}),ue=Wr(ao(i));return ue.addEventListener("resize",ne),()=>{ne.clear(),ue.removeEventListener("resize",ne)}},[i,m,L]);let q=x;const I={slots:w({transition:E},y),slotProps:w({transition:C,paper:h},b)},[U,Q]=rt("transition",{elementType:To,externalForwardedProps:I,ownerState:D,getSlotProps:ne=>N(w({},ne),{onEntering:(ue,me)=>{var Ke;(Ke=ne.onEntering)==null||Ke.call(ne,ue,me),P()},onExited:ue=>{var me;(me=ne.onExited)==null||me.call(ne,ue),z()}}),additionalProps:{appear:!0,in:m}});x==="auto"&&!U.muiSupportAuto&&(q=void 0);const X=f||(i?Et(ao(i)).body:void 0),[K,ye]=rt("root",{ref:r,elementType:yw,externalForwardedProps:w(w({},I),O),shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:$2(typeof b.backdrop=="function"?b.backdrop(D):b.backdrop,{invisible:!0})},container:X,open:m},ownerState:D,className:ge(j.root,d)}),W=ye,{slots:ee,slotProps:te}=W,ie=re(W,["slots","slotProps"]),[oe,de]=rt("paper",{ref:k,className:j.paper,elementType:v0,externalForwardedProps:I,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:H?void 0:{opacity:0}},ownerState:D});return J.jsx(K,N(w(w({},ie),!N2(K)&&{slots:ee,slotProps:te,disableScrollLock:_}),{children:J.jsx(U,N(w({},Q),{timeout:q,children:J.jsx(oe,N(w({},de),{children:c}))}))}))});process.env.NODE_ENV!=="production"&&(Hc.propTypes={action:Wo,anchorEl:cr(u.oneOfType([ir,u.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=ao(e.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
103
|
-
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
|
|
104
|
-
`))}return null}),anchorOrigin:u.shape({horizontal:u.oneOfType([u.oneOf(["center","left","right"]),u.number]).isRequired,vertical:u.oneOfType([u.oneOf(["bottom","center","top"]),u.number]).isRequired}),anchorPosition:u.shape({left:u.number.isRequired,top:u.number.isRequired}),anchorReference:u.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:u.elementType,BackdropProps:u.object,children:u.node,classes:u.object,className:u.string,container:u.oneOfType([ir,u.func]),disableScrollLock:u.bool,elevation:Gt,marginThreshold:u.number,onClose:u.func,open:u.bool.isRequired,PaperProps:u.shape({component:kc}),slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),paper:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,paper:u.elementType,root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transformOrigin:u.shape({horizontal:u.oneOfType([u.oneOf(["center","left","right"]),u.number]).isRequired,vertical:u.oneOfType([u.oneOf(["bottom","center","top"]),u.number]).isRequired}),TransitionComponent:u.elementType,transitionDuration:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})]),TransitionProps:u.object});function bw(e){return ke("MuiMenu",e)}Ae("MuiMenu",["root","paper","list"]);const ww={vertical:"top",horizontal:"right"},xw={vertical:"top",horizontal:"left"},Cw=e=>{const{classes:t}=e;return He({root:["root"],paper:["paper"],list:["list"]},bw,t)},Ew=fe(Hc,{shouldForwardProp:e=>Uo(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Tw=fe(v0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Sw=fe($c,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),ka=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiMenu"}),q=n,{autoFocus:o=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:g="auto",TransitionProps:I={}}=q,U=I,{onEntering:m}=U,h=re(U,["onEntering"]),Q=q,{variant:y="selectedMenu",slots:b={},slotProps:T={}}=Q,E=re(Q,["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"]),x=fa(),C=N(w({},n),{autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:m,PaperProps:f,transitionDuration:g,TransitionProps:h,variant:y}),_=Cw(C),O=o&&!s&&d,k=$.useRef(null),D=(X,K)=>{k.current&&k.current.adjustStyleForScrollbar(X,{direction:x?"rtl":"ltr"}),m&&m(X,K)},j=X=>{X.key==="Tab"&&(X.preventDefault(),c&&c(X,"tabKeyDown"))};let V=-1;$.Children.map(i,(X,K)=>{$.isValidElement(X)&&(process.env.NODE_ENV!=="production"&&Sc.isFragment(X)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
105
|
-
`)),X.props.disabled||(y==="selectedMenu"&&X.props.selected||V===-1)&&(V=K))});const R={slots:b,slotProps:w({list:l,transition:h,paper:f},T)},A=_c({elementType:b.root,externalSlotProps:T.root,ownerState:C,className:[_.root,a]}),[H,B]=rt("paper",{className:_.paper,elementType:Tw,externalForwardedProps:R,shouldForwardComponentProp:!0,ownerState:C}),[L,P]=rt("list",{className:ge(_.list,l.className),elementType:Sw,shouldForwardComponentProp:!0,externalForwardedProps:R,getSlotProps:X=>N(w({},X),{onKeyDown:K=>{var ee;j(K),(ee=X.onKeyDown)==null||ee.call(X,K)}}),ownerState:C}),z=typeof R.slotProps.transition=="function"?R.slotProps.transition(C):R.slotProps.transition;return J.jsx(Ew,N(w({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?ww:xw,slots:w({root:b.root,paper:H,backdrop:b.backdrop},b.transition&&{transition:b.transition}),slotProps:{root:A,paper:B,backdrop:typeof T.backdrop=="function"?T.backdrop(C):T.backdrop,transition:N(w({},z),{onEntering:(...X)=>{var K;D(...X),(K=z==null?void 0:z.onEntering)==null||K.call(z,...X)}})},open:d,ref:r,transitionDuration:g,ownerState:C},E),{classes:p,children:J.jsx(L,N(w({actions:k,autoFocus:o&&(V===-1||s),autoFocusItem:O,variant:y},P),{children:i}))}))});process.env.NODE_ENV!=="production"&&(ka.propTypes={anchorEl:u.oneOfType([ir,u.func]),autoFocus:u.bool,children:u.node,classes:u.object,className:u.string,disableAutoFocusItem:u.bool,MenuListProps:u.object,onClose:u.func,open:u.bool.isRequired,PaperProps:u.object,PopoverClasses:u.object,slotProps:u.shape({backdrop:u.oneOfType([u.func,u.object]),list:u.oneOfType([u.func,u.object]),paper:u.oneOfType([u.func,u.object]),root:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({backdrop:u.elementType,list:u.elementType,paper:u.elementType,root:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transitionDuration:u.oneOfType([u.oneOf(["auto"]),u.number,u.shape({appear:u.number,enter:u.number,exit:u.number})]),TransitionProps:u.object,variant:u.oneOf(["menu","selectedMenu"])});const Rw=({children:e,open:t,position:r,onClose:n,alignment:o})=>{const{themeSettings:i}=v.useThemeContext();return v.jsx(ka,{MenuListProps:{dense:!0,sx:{paddingTop:0,paddingBottom:0,fontFamily:i.typography.fontFamily}},anchorReference:"anchorPosition",anchorPosition:r!=null?r:{left:0,top:0},disableEnforceFocus:!0,disableRestoreFocus:!0,open:t,onClose:n,slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:i.typography.fontFamily,transform:t?`translate3d(${(o==null?void 0:o.horizontal)==="right"?"-100%":"0%"}, ${(o==null?void 0:o.vertical)==="bottom"?"-100%":"0%"}, 0) !important`:"none"}}},children:e})};class Gi{constructor(){Un(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Gi}static use(){const t=r0(Gi.create).current,[r,n]=$.useState(!1);return t.shouldMount=r,t.setShouldMount=n,$.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=Mw(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function _w(){return Gi.use()}function Mw(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function y0(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[d,f]=$.useState(!1),p=ge(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},m=ge(r.child,d&&r.childLeaving,n&&r.childPulsate);return!s&&!d&&f(!0),$.useEffect(()=>{if(!s&&l!=null){const h=setTimeout(l,c);return()=>{clearTimeout(h)}}},[l,s,c]),J.jsx("span",{className:p,style:g,children:J.jsx("span",{className:m})})}process.env.NODE_ENV!=="production"&&(y0.propTypes={classes:u.object.isRequired,className:u.string,in:u.bool,onExited:u.func,pulsate:u.bool,rippleSize:u.number,rippleX:u.number,rippleY:u.number,timeout:u.number.isRequired});const At=Ae("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ml=550,Ow=80,kw=Bo`
|
|
106
|
-
0% {
|
|
107
|
-
transform: scale(0);
|
|
108
|
-
opacity: 0.1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
100% {
|
|
112
|
-
transform: scale(1);
|
|
113
|
-
opacity: 0.3;
|
|
114
|
-
}
|
|
115
|
-
`,Aw=Bo`
|
|
116
|
-
0% {
|
|
117
|
-
opacity: 1;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
100% {
|
|
121
|
-
opacity: 0;
|
|
122
|
-
}
|
|
123
|
-
`,Pw=Bo`
|
|
124
|
-
0% {
|
|
125
|
-
transform: scale(1);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
50% {
|
|
129
|
-
transform: scale(0.92);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
100% {
|
|
133
|
-
transform: scale(1);
|
|
134
|
-
}
|
|
135
|
-
`,Iw=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Dw=fe(y0,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
136
|
-
opacity: 0;
|
|
137
|
-
position: absolute;
|
|
138
|
-
|
|
139
|
-
&.${At.rippleVisible} {
|
|
140
|
-
opacity: 0.3;
|
|
141
|
-
transform: scale(1);
|
|
142
|
-
animation-name: ${kw};
|
|
143
|
-
animation-duration: ${ml}ms;
|
|
144
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&.${At.ripplePulsate} {
|
|
148
|
-
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
& .${At.child} {
|
|
152
|
-
opacity: 1;
|
|
153
|
-
display: block;
|
|
154
|
-
width: 100%;
|
|
155
|
-
height: 100%;
|
|
156
|
-
border-radius: 50%;
|
|
157
|
-
background-color: currentColor;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
& .${At.childLeaving} {
|
|
161
|
-
opacity: 0;
|
|
162
|
-
animation-name: ${Aw};
|
|
163
|
-
animation-duration: ${ml}ms;
|
|
164
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
& .${At.childPulsate} {
|
|
168
|
-
position: absolute;
|
|
169
|
-
/* @noflip */
|
|
170
|
-
left: 0px;
|
|
171
|
-
top: 0;
|
|
172
|
-
animation-name: ${Pw};
|
|
173
|
-
animation-duration: 2500ms;
|
|
174
|
-
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
175
|
-
animation-iteration-count: infinite;
|
|
176
|
-
animation-delay: 200ms;
|
|
177
|
-
}
|
|
178
|
-
`,b0=$.forwardRef(function(t,r){const x=je({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=x,s=re(x,["center","classes","className"]),[l,c]=$.useState([]),d=$.useRef(0),f=$.useRef(null);$.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const p=$.useRef(!1),g=$r(),m=$.useRef(null),h=$.useRef(null),y=$.useCallback(C=>{const{pulsate:_,rippleX:O,rippleY:k,rippleSize:D,cb:j}=C;c(V=>[...V,J.jsx(Dw,{classes:{ripple:ge(i.ripple,At.ripple),rippleVisible:ge(i.rippleVisible,At.rippleVisible),ripplePulsate:ge(i.ripplePulsate,At.ripplePulsate),child:ge(i.child,At.child),childLeaving:ge(i.childLeaving,At.childLeaving),childPulsate:ge(i.childPulsate,At.childPulsate)},timeout:ml,pulsate:_,rippleX:O,rippleY:k,rippleSize:D},d.current)]),d.current+=1,f.current=j},[i]),b=$.useCallback((C={},_={},O=()=>{})=>{const{pulsate:k=!1,center:D=o||_.pulsate,fakeElement:j=!1}=_;if((C==null?void 0:C.type)==="mousedown"&&p.current){p.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(p.current=!0);const V=j?null:h.current,R=V?V.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,H,B;if(D||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)A=Math.round(R.width/2),H=Math.round(R.height/2);else{const{clientX:L,clientY:P}=C.touches&&C.touches.length>0?C.touches[0]:C;A=Math.round(L-R.left),H=Math.round(P-R.top)}if(D)B=Math.sqrt((2*Ht(R.width,2)+Ht(R.height,2))/3),B%2===0&&(B+=1);else{const L=Math.max(Math.abs((V?V.clientWidth:0)-A),A)*2+2,P=Math.max(Math.abs((V?V.clientHeight:0)-H),H)*2+2;B=Math.sqrt(Ht(L,2)+Ht(P,2))}C!=null&&C.touches?m.current===null&&(m.current=()=>{y({pulsate:k,rippleX:A,rippleY:H,rippleSize:B,cb:O})},g.start(Ow,()=>{m.current&&(m.current(),m.current=null)})):y({pulsate:k,rippleX:A,rippleY:H,rippleSize:B,cb:O})},[o,y,g]),T=$.useCallback(()=>{b({},{pulsate:!0})},[b]),E=$.useCallback((C,_)=>{if(g.clear(),(C==null?void 0:C.type)==="touchend"&&m.current){m.current(),m.current=null,g.start(0,()=>{E(C,_)});return}m.current=null,c(O=>O.length>0?O.slice(1):O),f.current=_},[g]);return $.useImperativeHandle(r,()=>({pulsate:T,start:b,stop:E}),[T,b,E]),J.jsx(Iw,N(w({className:ge(At.root,i.root,a),ref:h},s),{children:J.jsx(Lc,{component:null,exit:!0,children:l})}))});process.env.NODE_ENV!=="production"&&(b0.propTypes={center:u.bool,classes:u.object,className:u.string});function $w(e){return ke("MuiButtonBase",e)}const Nw=Ae("MuiButtonBase",["root","disabled","focusVisible"]),Lw=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=He({root:["root",t&&"disabled",r&&"focusVisible"]},$w,o);return r&&n&&(a.root+=` ${n}`),a},Fw=fe("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"},[`&.${Nw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qr=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiButtonBase"}),et=n,{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:g,LinkComponent:m="a",onBlur:h,onClick:y,onContextMenu:b,onDragLeave:T,onFocus:E,onFocusVisible:x,onKeyDown:C,onKeyUp:_,onMouseDown:O,onMouseLeave:k,onMouseUp:D,onTouchEnd:j,onTouchMove:V,onTouchStart:R,tabIndex:A=0,TouchRippleProps:H,touchRippleRef:B,type:L}=et,P=re(et,["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"]),z=$.useRef(null),q=_w(),I=pt(q.ref,B),[U,Q]=$.useState(!1);c&&U&&Q(!1),$.useImperativeHandle(o,()=>({focusVisible:()=>{Q(!0),z.current.focus()}}),[]);const X=q.shouldMount&&!d&&!c;$.useEffect(()=>{U&&p&&!d&&q.pulsate()},[d,p,U,q]);const K=tr(q,"start",O,f),ee=tr(q,"stop",b,f),te=tr(q,"stop",T,f),ie=tr(q,"stop",D,f),oe=tr(q,"stop",le=>{U&&le.preventDefault(),k&&k(le)},f),de=tr(q,"start",R,f),ae=tr(q,"stop",j,f),ye=tr(q,"stop",V,f),W=tr(q,"stop",le=>{zi(le.target)||Q(!1),h&&h(le)},!1),ne=nr(le=>{z.current||(z.current=le.currentTarget),zi(le.target)&&(Q(!0),x&&x(le)),E&&E(le)}),ue=()=>{const le=z.current;return l&&l!=="button"&&!(le.tagName==="A"&&le.href)},me=nr(le=>{p&&!le.repeat&&U&&le.key===" "&&q.stop(le,()=>{q.start(le)}),le.target===le.currentTarget&&ue()&&le.key===" "&&le.preventDefault(),C&&C(le),le.target===le.currentTarget&&ue()&&le.key==="Enter"&&!c&&(le.preventDefault(),y&&y(le))}),Ke=nr(le=>{p&&le.key===" "&&U&&!le.defaultPrevented&&q.stop(le,()=>{q.pulsate(le)}),_&&_(le),y&&le.target===le.currentTarget&&ue()&&le.key===" "&&!le.defaultPrevented&&y(le)});let Ge=l;Ge==="button"&&(P.href||P.to)&&(Ge=m);const ze={};Ge==="button"?(ze.type=L===void 0?"button":L,ze.disabled=c):(!P.href&&!P.to&&(ze.role="button"),c&&(ze["aria-disabled"]=c));const _t=pt(r,z),Ze=N(w({},n),{centerRipple:i,component:l,disabled:c,disableRipple:d,disableTouchRipple:f,focusRipple:p,tabIndex:A,focusVisible:U}),lt=Lw(Ze);return J.jsxs(Fw,N(w(w({as:Ge,className:ge(lt.root,s),ownerState:Ze,onBlur:W,onClick:y,onContextMenu:ee,onFocus:ne,onKeyDown:me,onKeyUp:Ke,onMouseDown:K,onMouseLeave:oe,onMouseUp:ie,onDragLeave:te,onTouchEnd:ae,onTouchMove:ye,onTouchStart:de,ref:_t,tabIndex:c?-1:A,type:L},ze),P),{children:[a,X?J.jsx(b0,w({ref:I,center:i},H)):null]}))});function tr(e,t,r,n=!1){return nr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(qr.propTypes={action:Wo,centerRipple:u.bool,children:u.node,classes:u.object,className:u.string,component:kc,disabled:u.bool,disableRipple:u.bool,disableTouchRipple:u.bool,focusRipple:u.bool,focusVisibleClassName:u.string,href:u.any,LinkComponent:u.elementType,onBlur:u.func,onClick:u.func,onContextMenu:u.func,onDragLeave:u.func,onFocus:u.func,onFocusVisible:u.func,onKeyDown:u.func,onKeyUp:u.func,onMouseDown:u.func,onMouseLeave:u.func,onMouseUp:u.func,onTouchEnd:u.func,onTouchMove:u.func,onTouchStart:u.func,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),tabIndex:u.number,TouchRippleProps:u.object,touchRippleRef:u.oneOfType([u.func,u.shape({current:u.shape({pulsate:u.func.isRequired,start:u.func.isRequired,stop:u.func.isRequired})})]),type:u.oneOfType([u.oneOf(["button","reset","submit"]),u.string])});function jw(e){return ke("MuiDivider",e)}const Hd=Ae("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Bw=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return He({root:["root",t&&"absolute",l,i&&"light",a==="vertical"&&"vertical",o&&"flexItem",r&&"withChildren",r&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},jw,n)},Hw=fe("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]}})(qe(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Le(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),zw=fe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(qe(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),jr=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiDivider"}),b=n,{absolute:o=!1,children:i,className:a,orientation:s="horizontal",component:l=i||s==="vertical"?"div":"hr",flexItem:c=!1,light:d=!1,role:f=l!=="hr"?"separator":void 0,textAlign:p="center",variant:g="fullWidth"}=b,m=re(b,["absolute","children","className","orientation","component","flexItem","light","role","textAlign","variant"]),h=N(w({},n),{absolute:o,component:l,flexItem:c,light:d,orientation:s,role:f,textAlign:p,variant:g}),y=Bw(h);return J.jsx(Hw,N(w({as:l,className:ge(y.root,a),role:f,ref:r,ownerState:h,"aria-orientation":f==="separator"&&(l!=="hr"||s==="vertical")?s:void 0},m),{children:i?J.jsx(zw,{className:y.wrapper,ownerState:h,children:i}):null}))});jr&&(jr.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(jr.propTypes={absolute:u.bool,children:u.node,classes:u.object,className:u.string,component:u.elementType,flexItem:u.bool,light:u.bool,orientation:u.oneOf(["horizontal","vertical"]),role:u.string,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),textAlign:u.oneOf(["center","left","right"]),variant:u.oneOfType([u.oneOf(["fullWidth","inset","middle"]),u.string])});const zd=Ae("MuiListItemIcon",["root","alignItemsFlexStart"]);function Ww(e){return typeof e.main=="string"}function Vw(e,t=[]){if(!Ww(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Er(e=[]){return([,t])=>t&&Vw(t,e)}function Uw(e){return ke("MuiTypography",e)}const Gw=Ae("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Yw={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},qw=M2(),Xw=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${pe(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return He(s,Uw,a)},Kw=fe("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${pe(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(qe(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([r,n])=>r!=="inherit"&&n&&typeof n=="object").map(([r,n])=>({props:{variant:r},style:n})),...Object.entries(e.palette).filter(Er()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,r])=>typeof r=="string").map(([r])=>({props:{color:`text${pe(r)}`},style:{color:(e.vars||e).palette.text[r]}})),{props:({ownerState:r})=>r.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:r})=>r.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:r})=>r.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:r})=>r.paragraph,style:{marginBottom:16}}]}})),Wd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},bt=$.forwardRef(function(t,r){const E=je({props:t,name:"MuiTypography"}),{color:n}=E,o=re(E,["color"]),i=!Yw[n],a=qw(w(w({},o),i&&{color:n})),x=a,{align:s="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:p=!1,variant:g="body1",variantMapping:m=Wd}=x,h=re(x,["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"]),y=N(w({},a),{align:s,color:n,className:l,component:c,gutterBottom:d,noWrap:f,paragraph:p,variant:g,variantMapping:m}),b=c||(p?"p":m[g]||Wd[g])||"span",T=Xw(y);return J.jsx(Kw,N(w({as:b,ref:r,className:ge(T.root,l)},h),{ownerState:y,style:w(w({},s!=="inherit"&&{"--Typography-textAlign":s}),h.style)}))});process.env.NODE_ENV!=="production"&&(bt.propTypes={align:u.oneOf(["center","inherit","justify","left","right"]),children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),u.string]),component:u.elementType,gutterBottom:u.bool,noWrap:u.bool,paragraph:u.bool,style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),u.string]),variantMapping:u.object});function Qw(e){return ke("MuiListItemText",e)}const vl=Ae("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function Zw(e){return ke("MuiMenuItem",e)}const qn=Ae("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jw=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},ex=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,l=He({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},Zw,a);return w(w({},a),l)},tx=fe(qr,{shouldForwardProp:e=>Uo(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Jw})(qe(({theme:e})=>N(w({},e.typography.body1),{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${qn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Le(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${qn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Le(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${qn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Le(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})`:Le(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${qn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${qn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Hd.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Hd.inset}`]:{marginLeft:52},[`& .${vl.root}`]:{marginTop:0,marginBottom:0},[`& .${vl.inset}`]:{paddingLeft:36},[`& .${zd.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:N(w({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2),{[`& .${zd.root} svg`]:{fontSize:"1.25rem"}})}]}))),Aa=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiMenuItem"}),C=n,{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:f,className:p}=C,g=re(C,["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"]),m=$.useContext(Co),h=$.useMemo(()=>({dense:a||m.dense||!1,disableGutters:l}),[m.dense,a,l]),y=$.useRef(null);xr(()=>{o&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[o]);const b=N(w({},n),{dense:h.dense,divider:s,disableGutters:l}),T=ex(n),E=pt(y,r);let x;return n.disabled||(x=f!==void 0?f:-1),J.jsx(Co.Provider,{value:h,children:J.jsx(tx,N(w({ref:E,role:d,tabIndex:x,component:i,focusVisibleClassName:ge(T.focusVisible,c),className:ge(T.root,p)},g),{ownerState:b,classes:T}))})});process.env.NODE_ENV!=="production"&&(Aa.propTypes={autoFocus:u.bool,children:u.node,classes:u.object,className:u.string,component:u.elementType,dense:u.bool,disabled:u.bool,disableGutters:u.bool,divider:u.bool,focusVisibleClassName:u.string,role:u.string,selected:u.bool,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),tabIndex:u.number});const rx=({children:e,disabled:t,style:r,className:n="",onClick:o})=>{const{themeSettings:i}=v.useThemeContext();return v.jsx("div",{className:`csdk-menu-item ${n}`,children:v.jsx(Aa,{disabled:t,sx:w({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:i.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"15px",color:v.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:v.DEFAULT_BACKGROUND_COLOR}},r),onClick:o,children:v.jsx("div",{className:"csdk-menu-item-content",children:e})})})};function nx(e){return ke("MuiListSubheader",e)}Ae("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const ox=e=>{const{classes:t,color:r,disableGutters:n,inset:o,disableSticky:i}=e,a={root:["root",r!=="default"&&`color${pe(r)}`,!n&&"gutters",o&&"inset",!i&&"sticky"]};return He(a,nx,t)},ix=fe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${pe(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})(qe(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Yi=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiListSubheader"}),g=n,{className:o,color:i="default",component:a="li",disableGutters:s=!1,disableSticky:l=!1,inset:c=!1}=g,d=re(g,["className","color","component","disableGutters","disableSticky","inset"]),f=N(w({},n),{color:i,component:a,disableGutters:s,disableSticky:l,inset:c}),p=ox(f);return J.jsx(ix,w({as:a,className:ge(p.root,o),ref:r,ownerState:f},d))});Yi&&(Yi.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Yi.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOf(["default","inherit","primary"]),component:u.elementType,disableGutters:u.bool,disableSticky:u.bool,inset:u.bool,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});const ax=({children:e})=>{const{themeSettings:t}=v.useThemeContext();return v.jsx(Yi,{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:v.DEFAULT_TEXT_COLOR},children:e})};function sx({color:e=v.DEFAULT_TEXT_COLOR}){return v.jsx("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",children:v.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 lx=({children:e,label:t,allowOpen:r,disabled:n,style:o,className:i=""})=>{const{themeSettings:a}=v.useThemeContext(),s=S.useRef(null),l=S.useRef(null),[c,d]=S.useState(!1),f=S.useCallback(()=>{n||d(!0)},[n]),p=S.useCallback(()=>d(!1),[]),g=S.useCallback(()=>d(!0),[]),m=S.useCallback(()=>d(!1),[]),h=c&&r;return v.jsxs("div",{ref:s,className:`csdk-menu-item ${i}`,children:[v.jsx(Aa,{disabled:n,sx:w({width:"100%",minWidth:"170px",height:"29px",minHeight:"29px",fontFamily:a.typography.fontFamily,fontSize:"13px",paddingLeft:"30px",paddingRight:"0px",color:v.DEFAULT_TEXT_COLOR,"&:hover":{backgroundColor:v.DEFAULT_BACKGROUND_COLOR}},o),onMouseEnter:f,onMouseLeave:p,children:v.jsxs("div",{className:"csdk-menu-item-content",style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[t,v.jsx(sx,{})]})}),v.jsx(ka,{ref:l,style:{pointerEvents:"none"},anchorEl:s.current,anchorOrigin:{horizontal:"right",vertical:"top"},transformOrigin:{horizontal:"left",vertical:"top"},open:h,autoFocus:!1,disableAutoFocus:!0,disableEnforceFocus:!0,MenuListProps:{sx:{paddingTop:0,paddingBottom:0}},slotProps:{paper:{sx:{borderRadius:0,border:"1px solid #bababa",boxShadow:"0 2px 4px 0 rgba(0,0,0,0.3)",fontFamily:a.typography.fontFamily}}},onClose:()=>{d(!1)},onMouseEnter:g,onMouseLeave:m,children:v.jsx("div",{style:{pointerEvents:"auto"},children:e})})]})},w0=({position:e,itemSections:t,children:r,closeContextMenu:n,alignment:o})=>{const[i,a]=S.useState(t),s=!!e;S.useEffect(()=>{t&&a(t)},[t]);const l=S.useCallback((c,d)=>{const{sectionTitle:f,items:p=[]}=c;return v.jsxs("div",{className:"csdk-menu-section",children:[f&&v.jsx(ax,{children:f}),p.map((g,m)=>{const{subItems:h}=g;return h&&h.length?v.jsx(lx,{label:g.caption,allowOpen:s,style:g.style,className:g.class,children:h.map(l)},m):v.jsx(rx,{disabled:g.disabled,style:g.style,className:g.class,onClick:()=>{var b;n(),(b=g.onClick)==null||b.call(g)},children:g.caption},m)})]},d!=null?d:f)},[n,s]);return v.jsx(v.Fragment,{children:v.jsxs(Rw,{position:e!=null?e:null,open:s,onClose:n,alignment:o,children:[i==null?void 0:i.map(l),r]})})},cx=({children:e,onBeforeMenuOpen:t})=>{const[r,n]=S.useState(null),o=S.useCallback(l=>{const c=t?t(l):l;c&&n(c)},[t]),i=S.useCallback(()=>{n(null)},[]),a=S.useCallback(()=>{var l;(l=r==null?void 0:r.onClose)==null||l.call(r),i()},[i,r]),s=S.useMemo(()=>({openMenu:o,closeMenu:i}),[o,i]);return v.jsxs(Tc.Provider,{value:s,children:[v.jsx(w0,{position:r==null?void 0:r.position,itemSections:r==null?void 0:r.itemSections,closeContextMenu:a,alignment:r==null?void 0:r.alignment}),e]})},ux=({children:e,onBeforeMenuOpen:t})=>{const r=da(),n=S.useCallback(a=>{const s=t?t(a):a;s&&(r==null||r.openMenu(s))},[t,r]),o=S.useCallback(()=>{r==null||r.closeMenu()},[r]),i={openMenu:n,closeMenu:o};return v.jsx(Tc.Provider,{value:i,children:e})},x0=({children:e,onBeforeMenuOpen:t})=>da()?t?v.jsx(ux,{onBeforeMenuOpen:t,children:e}):v.jsx(v.Fragment,{children:e}):v.jsx(cx,{onBeforeMenuOpen:t,children:e}),dx=({shouldHaveOwnMenuRoot:e}={})=>t=>function(n){const i=!!da();return e&&!i?v.jsx(x0,{children:v.jsx(t,w({},n))}):v.jsx(t,w({},n))},zc=S.createContext(null),Pa=()=>S.useContext(zc),fx=gt(Hc,{target:"epaozx80",label:"StyledMuiPopover"})(".MuiPaper-root.MuiPopover-paper:not([style*='top']),.MuiPaper-root.MuiPopover-paper:not([style*='left']){opacity:0 !important;}"),Wc=e=>{var f;const d=e,{children:t,open:r,id:n,position:o,onClose:i,BackdropProps:a,style:s,slotProps:l}=d,c=re(d,["children","open","id","position","onClose","BackdropProps","style","slotProps"]);return v.jsx(fx,N(w({id:n,className:"csdk-accessible",anchorEl:o==null?void 0:o.anchorEl,anchorOrigin:o==null?void 0:o.anchorOrigin,transformOrigin:o==null?void 0:o.contentOrigin,transitionDuration:0,open:r,BackdropProps:a,style:s,slotProps:{paper:{sx:w({display:"flex",boxShadow:"-1px -1px 10px rgba(0, 0, 0, 0.2)"},(f=l==null?void 0:l.paper)==null?void 0:f.sx)}},onClose:i},c),{children:t}))};let px=0;const hx=()=>`modal-${++px}`,an=new Set,gx=({children:e})=>{const[t,r]=S.useState([]),n=S.useRef([]);S.useEffect(()=>()=>{an.forEach(f=>{try{f&&f.parentNode&&f.parentNode===document.body&&document.body.contains(f)&&document.body.removeChild(f)}catch(p){}}),an.clear()},[]);const o=S.useCallback(f=>new Promise(p=>{const g=hx();let m;try{m=document.createElement("div"),m.style.position="fixed",m.style.top="50%",m.style.left="50%",m.style.transform="translate(-50%, -50%)",m.style.width="1px",m.style.height="1px",m.style.pointerEvents="none",m.style.visibility="hidden",m.setAttribute("data-modal-anchor",g),document.body&&typeof document.body.appendChild=="function"?(document.body.appendChild(m),an.add(m)):console.warn("Modal: Unable to append anchor element to document body")}catch(y){console.warn("Modal: Failed to create anchor element:",y),m=document.createElement("div"),m.setAttribute("data-modal-anchor",g)}const h={id:g,options:f,anchorEl:m,resolve:()=>p(g)};r(y=>{const b=[...y,h];return n.current=b,b}),p(g)}),[]),i=S.useCallback(f=>{r(p=>{if(!f){const h=p.slice(0,-1);n.current=h;const y=p[p.length-1];return y!=null&&y.anchorEl&&setTimeout(()=>{try{y.anchorEl&&y.anchorEl.parentNode&&y.anchorEl.parentNode===document.body&&document.body.contains(y.anchorEl)&&(document.body.removeChild(y.anchorEl),an.delete(y.anchorEl))}catch(b){}},0),y&&y.resolve(),h}const g=p.find(h=>h.id===f);g!=null&&g.anchorEl&&setTimeout(()=>{try{g.anchorEl&&g.anchorEl.parentNode&&g.anchorEl.parentNode===document.body&&document.body.contains(g.anchorEl)&&(document.body.removeChild(g.anchorEl),an.delete(g.anchorEl))}catch(h){}},0),g&&g.resolve();const m=p.filter(h=>h.id!==f);return n.current=m,m})},[]),a=S.useCallback(()=>{r(f=>(f.forEach(p=>{p.anchorEl&&setTimeout(()=>{try{p.anchorEl&&p.anchorEl.parentNode&&p.anchorEl.parentNode===document.body&&document.body.contains(p.anchorEl)&&(document.body.removeChild(p.anchorEl),an.delete(p.anchorEl))}catch(g){}},0),p.resolve()}),n.current=[],[]))},[]),s=S.useCallback(()=>n.current,[]),l=S.useCallback(f=>t.some(p=>p.id===f),[t]),c=S.useCallback(f=>{i(f)},[i]),d=S.useMemo(()=>({openModal:o,closeModal:i,closeAllModals:a,getModalStack:s,isModalOpen:l}),[o,i,a,s,l]);return v.jsxs(zc.Provider,{value:d,children:[t.map((f,p)=>{const{options:g}=f,m=g.measurement==="%"?`${g.width||80}%`:`${g.width||1200}px`,h=g.measurement==="%"?`${g.height||80}%`:`${g.height||800}px`;return v.jsx("div",{children:v.jsx("div",{"data-testid":"modal-backdrop",onClick:y=>{y.target.closest(".MuiPaper-root")||c(f.id)},style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1200+p},children:v.jsx(Wc,{open:!0,position:{anchorEl:f.anchorEl,anchorOrigin:{vertical:"center",horizontal:"center"},contentOrigin:{vertical:"center",horizontal:"center"}},onClose:()=>i(f.id),BackdropProps:{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},style:{zIndex:1200+p+10},slotProps:{paper:{sx:{display:"flex",width:m,height:h,maxWidth:"95vw",maxHeight:"95vh",position:"relative",zIndex:1200+p+10}}},children:v.jsx("div",{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},onClick:y=>y.stopPropagation(),children:v.jsx("div",{style:{flex:1,overflow:"hidden"},children:g.content})})})})},f.id)}),e]})},mx=({children:e})=>{const t=Pa(),r=S.useCallback(l=>(t==null?void 0:t.openModal(l))||Promise.resolve(""),[t]),n=S.useCallback(l=>{t==null||t.closeModal(l)},[t]),o=S.useCallback(()=>{t==null||t.closeAllModals()},[t]),i=S.useCallback(()=>(t==null?void 0:t.getModalStack())||[],[t]),a=S.useCallback(l=>(t==null?void 0:t.isModalOpen(l))||!1,[t]),s={openModal:r,closeModal:n,closeAllModals:o,getModalStack:i,isModalOpen:a};return v.jsx(zc.Provider,{value:s,children:e})},C0=({children:e})=>Pa()?v.jsx(mx,{children:e}):v.jsx(gx,{children:e}),vx=({shouldHaveOwnModalRoot:e}={})=>t=>function(n){const i=!!Pa();return e&&!i?v.jsx(C0,{children:v.jsx(t,w({},n))}):v.jsx(t,w({},n))},yx=e=>t=>(t.displayName=e,t),Go=e=>{const{componentName:t,shouldSkipSisenseContextWaiting:r,trackingConfig:n={},customContextErrorMessageKey:o,shouldHaveOwnMenuRoot:i,shouldHaveOwnModalRoot:a}=e;return s=>v.flow(yx(t),V1({shouldSkipSisenseContextWaiting:r,customContextErrorMessageKey:o}),kh({componentName:t,config:n}),Ih({componentName:t}),Y1(),dx({shouldHaveOwnMenuRoot:i}),vx({shouldHaveOwnModalRoot:a}))(s)};class Yo{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 dn=new Yo,Or=function(e,t){return dn.floor(e*t.value,t.decimals)};function bx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function wx(e,t,r){const{showTitle:n,showSecondary:o,skin:i,maxHeight:a,maxWidth:s,borderWidth:l}=r;for(let c=0;c<t.length;c++){const d=t[c],f=d.value,p=Or(f,e.valueSectionMarginBottom),m=Or(f,e.indicatorVerticalMargin)*2;let h=f+p+m;if(n&&i==="vertical"){const y=Or(f,e.titleSectionHeight);h+=y}if(o){const y=Or(f,e.secSectionHeight),b=Or(f,e.secSectionMarginTop);h+=y+b+(l||0)}if(h<=a){const y=Or(f,e.numericMinWidth),T=Or(f,e.indicatorHorizontalMargin)*2;if(y+T<=s)return N(w({},d),{maxWidth:s-T,maxHeight:a-m})}}return null}class xx{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=bx(s,a);return wx(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,skin:t.skin,borderWidth:"borderWidth"in o?o.borderWidth:0})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,a=n.height,n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=r.skin==="vertical"?n.titleSectionHeight:0),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.valueSectionMarginBottom+n.secSectionHeight+n.secSectionMarginTop+n.borderWidth);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,dn.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=dn.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=dn.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=dn.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=dn.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n;const o=r.fitTitleMeasure,i=r.fitValueMeasure,a=r.fitSecondaryMeasure;if(r.fitMeasures.some(l=>{const c=r[l.key],d=t[l.dataKey];return!!(c&&d&&c[l.prop]!==d.text)}))return r.maxWidth;if(t.skin==="vertical"){let c=o&&o.width>i.width?o:i;c=a&&a.width>c.width?a:c,n=c.width}else n=i.width,o&&(n+=o.width),a&&a.width>n&&(n=a.width);return n}draw(t,r,n){this.clearCanvas(t,n),this.drawValue(t,r,n),r.showTitle&&this.drawTitle(t,r,n),r.showSecondary&&this.drawSecondary(t,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r,n){!n.fitTitleMeasure||r.skin==="horizontal"&&n.fitValueMeasure.string!==r[n.fitValueMeasure.key].text||(t.font=n.titleFont,t.fillStyle=n.titleColor,r.skin==="vertical"?(t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitTitleMeasure.string,n.width/2,n.titleSectionHeight/2)):(t.textAlign="left",t.textBaseline="top",t.fillText(n.fitTitleMeasure.string,n.fitValueMeasure.width+n.valueSectionMarginRight,n.titleSectionMarginTop)))}drawValue(t,r,n){const o=r.skin==="vertical";t.fillStyle=n.valueColor||r.color,t.font=n.valueFont,t.textAlign=o?"center":"left",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,o?n.width/2:0,(r.showTitle&&o?n.titleSectionHeight:0)+n.valueSectionHeight/2)}drawSecondary(t,r){let n=r.height-r.secSectionHeight/2;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="middle",t.fillText(r.fitSecondaryMeasure.titleString,0,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.fillText(r.fitSecondaryMeasure.valueString,r.width,n),t.strokeStyle=r.borderColor,t.beginPath(),n=r.height-r.secSectionHeight-r.secSectionMarginTop-r.borderWidth,t.moveTo(0,n),t.lineTo(r.width,n),t.stroke()}}const fn=new Yo,fi=function(e,t){return fn.floor(e*t.value,t.decimals)};function Cx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function Ex(e,t,r){const{showTitle:n,showSecondary:o,maxHeight:i,maxWidth:a,bracketThickness:s}=r;for(let l=0;l<t.length;l++){const c=t[l],d=c.value,f=fi(d,e.indicatorMargin);let p=d+f;if(n){const g=fi(d,e.titleSectionHeight);p+=g}if(o){const g=fi(d,e.secSectionHeight);p+=g}if(p<=i){const g=fi(d,e.numericMinWidth),m=f*2;if(g+s*2+m<=a)return N(w({},c),{maxWidth:a-m,maxHeight:i-f})}}return null}class Tx{getBaseMeasure(t,r,n){const o=r,i="sizes"in o?o.sizes:[],a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Cx(s,a);return Ex(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary,bracketThickness:o.bracketThickness})}render(t,r,n,o){const i=t.getContext("2d");let a;n.height=o.value,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,a=n.height,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),a+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),a+=n.secSectionHeight);const s=this.getCanvasWidth(r,n);n.width=s,n.height=a,fn.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=fn.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=fn.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=fn.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=fn.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.numericMinWidth+r.bracketThickness*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let d;return s=c?l:s,c?d=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:d=s.string!==t[s.key].text,d?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),(r.showTitle||r.showSecondary)&&this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,r.titleSectionHeight/2),r.offsetY+=r.titleSectionHeight}drawValue(t,r,n){const o=n.offsetY;t.fillStyle=n.valueColor,t.fillRect(1,o,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,o+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){t.strokeStyle=n.bracketColor,t.beginPath(),r.showTitle?(t.moveTo(n.bracketWidth+.5,.5),t.lineTo(.5,.5)):t.moveTo(.5,.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),r.showTitle?(t.moveTo(n.width-(n.bracketWidth+.5),.5),t.lineTo(n.width-.5,.5)):t.moveTo(n.width-.5,.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}}const Be=new Yo,sn=function(e,t){return Be.floor(e*t.value,t.decimals)};function Sx(e,t){const r={};return e.forEach(n=>{t.some(function(o){return o.key===n?(r[n]=o,!0):!1})}),r}function Rx(e,t,r){const{maxWidth:n,maxHeight:o,showTitle:i,showSecondary:a}=r;for(let s=0;s<t.length;s++){const l=t[s],c=l.value,d=sn(c,e.valueSectionHeight),f=sn(c,e.indicatorMargin),p=Math.ceil(f*1.5);let g=c+d+p;if(i){const m=sn(c,e.titleSectionHeight);g+=m}if(a){const m=sn(c,e.secSectionHeight);g+=m}if(g<=o){const m=sn(c,e.gaugeWidth),h=sn(c,e.bracketWidth),y=f*2;if(m+h*2+y<=n)return N(w({},l),{maxWidth:n-y,maxHeight:o-p})}}return null}class _x{getBaseMeasure(t,r,n){const o=r,i="gaugeHeights"in o?o.gaugeHeights:void 0;if(!i)return null;const a=o.relativeSizes,s=o.measureKeys.concat(),l=Math.floor(n.clientWidth),c=Math.floor(n.clientHeight),d=Sx(s,a);return Rx(d,i,{maxWidth:l,maxHeight:c,showTitle:t.showTitle,showSecondary:t.showSecondary})}render(t,r,n,o){const i=t.getContext("2d");let a=0,s;n.gaugeHeight=o.value,n.size=o.size,n.maxWidth=o.maxWidth,n.maxHeight=o.maxHeight,n.offsetY=0,s=n.gaugeHeight+n.valueSectionHeight,r.showTitle&&(n.fitTitleMeasure=this.getFitTitleMeasure(i,r,n),s+=n.titleSectionHeight),n.fitValueMeasure=this.getFitValueMeasure(i,r,n),r.showSecondary&&(n.fitSecondaryMeasure=this.getFitSecondaryMeasure(i,r,n),s+=n.secSectionHeight),a=this.getCanvasWidth(r,n),n.width=a,n.height=s,Be.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=Be.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=Be.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=Be.getFitStringMeasure(t,r.secondary.text,a,n.secondaryValueFont),l=i-s.width,c=Be.getFitStringMeasure(t,r.secondaryTitle.text,l,n.secondaryTitleFont);return{width:c.width+s.width+o,titleString:c.string,valueString:s.string,key:"secondary"}}getCanvasWidth(t,r){let n=r.gaugeWidth+r.bracketWidth*2;const o=r.fitTitleMeasure,i=r.fitValueMeasure;let s=o&&o.width>i.width?o:i;const l=r.fitSecondaryMeasure,c=l&&l.width>s.width;let d;return s=c?l:s,c?d=s.titleString!==t.secondaryTitle.text||s.valueString!==t.secondary.text:d=s.string!==t[s.key].text,d?n=r.maxWidth:s.width>n&&(n=s.width),n}draw(t,r,n){this.clearCanvas(t,n),r.showTitle&&this.drawTitle(t,n),this.drawGauge(t,r,n),this.drawValue(t,r,n),r.showSecondary&&this.drawSecondary(t,n),this.drawBrackets(t,r,n)}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.textAlign="center",t.textBaseline="middle",t.fillText(r.fitTitleMeasure.string,r.width/2,(r.titleSectionHeight-r.titleBottomMargin)/2),r.offsetY+=r.titleSectionHeight}drawGauge(t,r,n){n.gaugeCenterX=n.width/2,n.gaugeCenterY=n.offsetY+n.gaugeHeight-n.gaugeBottomMargin,n.needleAngle=this.getNeedleAngle(r,n),r.skin===2&&r.conditions&&r.conditions.length?this.drawConditionalDial(t,r,n):this.drawSimpleDial(t,r,n),r.showTicks&&n.size!=="micro"&&this.drawTicks(t,r,n),this.drawNeedle(t,n),r.showLabels&&n.size!=="micro"&&this.drawLabels(t,r,n),n.offsetY+=n.gaugeHeight}drawValue(t,r,n){t.fillStyle=n.valueColor,t.fillRect(1,n.offsetY,n.width-n.bracketThickness*2,n.valueSectionHeight),t.font=n.valueFont,t.fillStyle="white",t.textAlign="center",t.textBaseline="middle",t.fillText(n.fitValueMeasure.string,n.width/2,n.offsetY+n.valueSectionHeight/2)}drawSecondary(t,r){const n=r.height-r.secBottomMargin;t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.textAlign="left",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.titleString,r.bracketWidth,n),t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.textAlign="right",t.textBaseline="bottom",t.fillText(r.fitSecondaryMeasure.valueString,r.width-r.bracketWidth,n)}drawBrackets(t,r,n){const o=r.showTitle?(n.titleSectionHeight-n.titleBottomMargin)/2:0;t.strokeStyle=n.bracketColor,t.beginPath(),t.moveTo(n.bracketWidth+.5,o+.5),t.lineTo(.5,o+.5),t.lineTo(.5,n.height-.5),r.showSecondary&&t.lineTo(n.bracketWidth+.5,n.height-.5),t.stroke(),t.moveTo(n.width-(n.bracketWidth+.5),o+.5),t.lineTo(n.width-.5,o+.5),t.lineTo(n.width-.5,n.height-.5),r.showSecondary&&t.lineTo(n.width-(n.bracketWidth+.5),n.height-.5),t.stroke(),t.closePath()}getNeedleAngle(t,r){const n=+t.min.data,o=+t.max.data,i=+(t.value.data||0);return i<n?r.startAngle-r.overDegrees:i>o?r.endAngle+r.overDegrees:this.getAngle(r,i,n,o)}getAngle(t,r,n,o){const i=(t.endAngle-t.startAngle)/(o-n);return(r-n)*i+t.startAngle}drawConditionalDial(t,r,n){const o=r.conditions,i=+r.min.data,a=+r.max.data,s=Be.degToRad(n.startAngle+180),l=Be.degToRad(n.endAngle+180);let c;const d=f=>this.getAngle(n,f,i,a);for(this.drawArc(t,n,s,l,n.defaultDialColor),c=o.length-1;c>=0;c--){const f=o[c];let p=+f.data,g,m=NaN,h=NaN,y=NaN,b=NaN;const T=.25;switch(f.operator){case"<":if(p<=i)break;p=p>a?a:p,g=d(p),m=s,h=Be.degToRad(g+180);break;case">":if(p>=a)break;p=p<i?i:p,g=d(p),m=Be.degToRad(g+180),h=l;break;case"≤":if(p<i)break;p=p>a?a:p,g=d(p),m=s,h=Be.degToRad(g+(g+T<=n.endAngle?T:0)+180);break;case"≥":if(p>a)break;p=p<i?i:p,g=d(p),m=Be.degToRad(g-(g-T>=n.startAngle?T:0)+180),h=l;break;case"=":if(p<i||p>a)break;g=d(p),m=Be.degToRad(g-(g-T>=n.startAngle?T:0)+180),h=Be.degToRad(g+(g+T<=n.endAngle?T:0)+180);break;case"≠":if(p<i||p>a)m=s,h=l;else if(p===i||p===a){const E=p===i;m=Be.degToRad(n.startAngle+(E?T:0)+180),h=Be.degToRad(n.endAngle-(E?0:T)+180)}else g=d(p),m=s,h=Be.degToRad(g-(g-T>=n.startAngle?T:0)+180),y=Be.degToRad(g+(g+T<=n.endAngle?T:0)+180),b=l}!isNaN(m)&&!isNaN(h)&&this.drawArc(t,n,m,h,f.color),!isNaN(y)&&!isNaN(b)&&this.drawArc(t,n,y,b,f.color)}}drawSimpleDial(t,r,n){const o=Be.degToRad(n.startAngle+180),i=Be.degToRad(n.needleAngle+180),a=Be.degToRad(n.endAngle+180);n.needleAngle>n.startAngle&&n.needleAngle<n.endAngle?(this.drawArc(t,n,o,i,n.valueColor),t.globalAlpha=n.gaugeOpacity,this.drawArc(t,n,i,a,n.valueColor)):(n.needleAngle<=n.startAngle&&(t.globalAlpha=n.gaugeOpacity),this.drawArc(t,n,o,a,n.valueColor)),t.globalAlpha=1}drawArc(t,r,n,o,i){t.fillStyle=i,t.beginPath(),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.outerArcRadius,n,o),t.arc(r.gaugeCenterX,r.gaugeCenterY,r.innerArcRadius,o,n,!0),t.fill()}drawTicks(t,r,n){const o=n.startAngle,i=n.endAngle,a=n.tickDegreesIncrement,s=n.needleAngle;let l;for(l=o;l<=i;l+=a){const c=Be.degToRad(l),d=n.gaugeCenterX-n.lengthToTick*Math.cos(c),f=n.gaugeCenterY-n.lengthToTick*Math.sin(c),p=s<o,g=s>=l-a/2&&s<l+a/2,m=l===i&&s>=l;t.fillStyle=!p&&g||m?r.color:n.tickColor,t.beginPath(),t.arc(d,f,n.tickRadius,0,2*Math.PI),t.fill()}}drawNeedle(t,r){const n=Be.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 Wt=new Yo;class Mx{render(t,r,n,o){const i=t.getContext("2d"),a=Math.floor(o.clientWidth)-n.horizontalMargin*2,s=n.sectionMinWidth;let l=0,c=0,d=0,f=0,p=0,g=0,m=0,h=0,y;if(i.font=n.valueFont,y=Wt.getStringWidth(i,r.value.text),n.offsetX=0,r.title.text+=":",r.secondaryTitle&&(r.secondaryTitle.text+=":"),r.showTitle&&(i.font=n.titleFont,g=Wt.getStringWidth(i,r.value.text),p=Wt.getStringWidth(i,r.title.text),c=p<s?p:s,y+=c+n.textPadding),r.showSecondary&&(i.font=n.secondaryValueFont,h=Wt.getStringWidth(i,r.secondary.text),f=h<s?h:s,y+=f,i.font=n.secondaryTitleFont||"",m=Wt.getStringWidth(i,r.secondaryTitle.text),d=m<s?m:s,y+=d+n.horizontalPadding*2+n.dividerWidth+n.textPadding),r.type==="gauge"){const T=n.horizontalPadding*2+n.dividerWidth;if(n.forceTickerView){const x=g+p+m+h+n.textPadding*4+T,C=a-T-x;n.barWidth=Math.max(C,n.barWidth)}const E=n.barWidth+T;y+=E,n.showTickerBar=y<=a||!0,l+=n.showTickerBar?E:0}l+=r.showTitle?n.textPadding:0,l+=r.showSecondary?n.horizontalPadding*2+n.dividerWidth+n.textPadding:0;const b=a-l-c-d-f;if(n.fitValueMeasure=Wt.getFitStringMeasure(i,r.value.text,b,n.valueFont),l+=n.fitValueMeasure.width,r.showSecondary){const T=a-l-c-d;let E;n.fitSecValueMeasure=Wt.getFitStringMeasure(i,r.secondary.text,T,n.secondaryValueFont),l+=n.fitSecValueMeasure.width;const x=a-l,C=x/2;r.showTitle?p+m>x?p>C&&m>C?E=C:m>C&&p<=C?E=x-p:E=m:E=m:E=x,n.fitSecTitleMeasure=Wt.getFitStringMeasure(i,r.secondaryTitle.text,E,n.secondaryTitleFont),l+=n.fitSecTitleMeasure.width}if(r.showTitle){const T=a-l;n.fitTitleMeasure=Wt.getFitStringMeasure(i,r.title.text,T,n.titleFont),l+=n.fitTitleMeasure.width}n.width=l,Wt.setCanvasSizes(t,i,l,n.height),this.draw(i,r,n)}draw(t,r,n){this.clearCanvas(t,n),r.type==="gauge"&&n.showTickerBar&&(this.drawTickerBar(t,r,n),this.drawDivider(t,n)),t.textBaseline="middle",r.showTitle&&this.drawTitle(t,n),this.drawValue(t,r,n),r.showSecondary&&(this.drawDivider(t,n),this.drawSecondary(t,n))}clearCanvas(t,r){t.fillStyle=r.backgroundColor,t.fillRect(0,0,r.width,r.height)}drawTickerBar(t,r,n){var c;const o=+r.min.data,i=+r.max.data,a=+(((c=r.value)==null?void 0:c.data)||0),s=Math.round((n.height-n.barHeight)/2);let l;if(t.fillStyle=n.valueColor,a<=o)t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=0;else if(a>=i)t.fillRect(n.offsetX,s,n.barWidth,n.barHeight),l=n.barWidth-n.tickerBarWidth;else{const d=(a-Math.abs(o))/(i-o),f=n.barWidth*d;t.fillRect(n.offsetX,s,f,n.barHeight),t.globalAlpha=n.barOpacity,t.fillRect(n.offsetX+f,s,n.barWidth-f,n.barHeight),f>n.barWidth-n.tickerBarWidth?l=n.barWidth-n.tickerBarWidth:f<n.tickerBarWidth?l=0:l=f-1}t.globalAlpha=1,t.fillStyle=n.barHandleColor,t.fillRect(n.offsetX+l,Math.round((n.height-n.tickerBarHeight)/2),n.tickerBarWidth,n.tickerBarHeight),n.offsetX+=n.barWidth}drawDivider(t,r){t.fillStyle=r.dividerColor,t.fillRect(r.offsetX+r.horizontalPadding,Math.round((r.height-r.dividerHeight)/2),r.dividerWidth,r.dividerHeight),r.offsetX+=r.horizontalPadding*2+r.dividerWidth}drawTitle(t,r){t.font=r.titleFont,t.fillStyle=r.titleColor,t.fillText(r.fitTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitTitleMeasure.width+r.textPadding}drawValue(t,r,n){t.font=n.valueFont,t.fillStyle=n.valueColor||r.color,t.fillText(n.fitValueMeasure.string,n.offsetX,Math.floor(n.height/2)),n.offsetX+=n.fitValueMeasure.width}drawSecondary(t,r){t.font=r.secondaryTitleFont,t.fillStyle=r.secondaryTitleColor,t.fillText(r.fitSecTitleMeasure.string,r.offsetX,Math.floor(r.height/2)),r.offsetX+=r.fitSecTitleMeasure.width+r.textPadding,t.font=r.secondaryValueFont,t.fillStyle=r.secondaryValueColor,t.fillText(r.fitSecValueMeasure.string,r.offsetX,Math.floor(r.height/2))}}const Vd={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"}]},Ox={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}]},kx={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"]},Ax={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 Px(e,t){const r=F.cloneDeep(Ax);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 Ix=new Yo,Dx=new xx,$x=new Tx,Nx=new _x,Lx=new Mx;class Fx{getService(t){switch(t){case"numericSimple":return Dx;case"numericBar":return $x;case"gauge":return Nx;case"ticker":return Lx}}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=Px(t,n);this.setTextOptions(s),i.render(t,r,s,o);return}this.calculateRelativeSizes(r,n,a.value),this.setTextOptions(n,a.size),i.render(t,r,n,a)}calculateRelativeSizes(t,r,n){const{relativeSizes:o}=r;o.forEach(function(i){let a;if("dataKey"in i&&"values"in i&&i.dataKey in t)a=i.values[t[i.dataKey]];else if("value"in i)a=i.value;else throw new F.TranslatableError("errors.indicatorInvalidRelativeSize");const s=a*n;r[i.key]=Ix.floor(s,i.decimals)})}setTextOptions(t,r){t.textKeys.forEach(function(n){const o=t[n],i=o.fontStyle?`${o.fontStyle} `:"",a=o.fontVariant?`${o.fontVariant} `:"",s=o.fontWeight?`${o.fontWeight} `:"",l=`${Number.parseFloat(o.fontSizes&&o.fontSizes[r]||o.fontSize||t.fontSize)}px `,c=o.fontFamily||t.fontFamily,{color:d}=o;t[`${n}Font`]=i+a+s+l+c,t[`${n}Color`]=d})}}function E0(e){var r;const t=(r=e.value)==null?void 0:r[0];if(t&&"color"in t)return t.color}function jx(e,t,r){if(!Bx(e))return r;const o=v.getColoringServiceByColorOptions(e).getColor(t);return o?N(w({},r),{value:N(w({},r.value),{color:o})}):r}function Bx(e){return typeof e=="string"||e.type==="uniform"||e.type==="conditional"}const Hx=(e,t)=>{const r=E0(t);return r&&e.value?v.getColoringServiceByColorOptions(r).getColor(v.isNumber(e.value)?e.value:0):null},zx=(e,t,r)=>{var f,p,g,m,h,y,b,T,E,x,C,_;const n=v.isNumber(e.min)?e.min:0,o=v.isNumber(e.max)?e.max:100,i=pi(r,"value"),a=pi(r,"secondary"),s=pi(r,"min"),l=pi(r,"max"),c=Hx(e,r),d=t.indicatorType==="gauge"?1:"vertical";return N(w(w({},Vx),c?{color:c}:null),{type:Wx(t.indicatorType,"numericSubtype"in t?t.numericSubtype:void 0)||"numericSimple",skin:t.skin||d,title:{text:(g=(p=(f=t.indicatorComponents)==null?void 0:f.title)==null?void 0:p.text)!=null?g:""},min:{data:n,text:v.applyFormatPlainText(s,n)},max:{data:o,text:v.applyFormatPlainText(l,o)},value:{data:e.value,text:Ud(e.value,i)},secondary:{data:e.secondary,text:Ud(e.secondary,a)},secondaryTitle:{text:(y=(h=(m=t.indicatorComponents)==null?void 0:m.secondaryTitle)==null?void 0:h.text)!=null?y:""},showSecondary:e.secondary!==void 0,showTitle:!!((T=(b=t.indicatorComponents)==null?void 0:b.title)!=null&&T.shouldBeShown),showLabels:!!((x=(E=t.indicatorComponents)==null?void 0:E.labels)!=null&&x.shouldBeShown),showTicks:!!((_=(C=t.indicatorComponents)==null?void 0:C.ticks)!=null&&_.shouldBeShown)})};function Wx(e,t){return e==="numeric"?t:e}function pi(e,t){var n;const r=(n=e[t])==null?void 0:n[0];return v.getCompleteNumberFormatConfig(r&&"numberFormatConfig"in r?r.numberFormatConfig:{})}const Vx={color:"#00cee6",showSecondary:!1};function Ud(e,t){return e===void 0?"":isNaN(e)?`#${v.NOT_AVAILABLE_TEXT}`:v.applyFormatPlainText(t,e)}function yl(e,t,r){const n=F.cloneDeep(r);for(const o in t){const i=t[o],a=Ux(e,i);a&&T0(n,o,a)}return n}function T0(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(!S0(a))return;T0(a,i.join("."),r)}}function Ux(e,t){const r=t.split(".");let n=e;for(const o of r){if(!S0(n)||!(o in n))return;n=n[o]}return n}function S0(e){return typeof e=="object"&&e!==null}function Gx(e,t,r){return yl(e,t,r)}const Yx={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"},qx=(e,t)=>{const{chartData:r,dataOptions:n,themeSettings:o}=t,{type:i}=e;let a;switch(i){case"gauge":a=kx;break;case"numeric":e.numericSubtype==="numericBar"?a=Ox:a=Vd;break;default:a=Vd}o&&(a=Gx(o,Yx,a));const s=E0(n);return s&&r.value&&v.isNumber(r.value)&&(a=jx(s,r.value,a)),w(N(w({},a),{forceTickerView:e.forceTickerView}),e.type==="gauge"&&e.tickerBarHeight?{tickerBarHeight:e.tickerBarHeight}:null)};var Xx=function(e){return e.PERCENT="%",e.PIXEL="px",e}({}),Kx=function(e){return e.DEFAULT="default",e.HOVER="hover",e.FOCUS="focus",e}({});function Oi(e){return typeof e=="string"}function Qx(e){var l;const t=v.useThemeContext().themeSettings,[r,n]=S.useState(null),[o,i]=S.useState(null),a=(l=v.useSisenseContext().app)==null?void 0:l.httpClient;S.useEffect(()=>{e&&Oi(e)&&a&&Sh(e,a).then(c=>{n(c)}).catch(i)},[a,e]),S.useEffect(()=>{(!e||!Oi(e))&&(n(null),i(null))},[e]);const s=S.useMemo(()=>r?Gd(t,r):e&&!Oi(e)?Gd(t,e):t,[r,t,e]);return o?[null,o]:[s,null]}function Gd(e,t){return F.merge.withOptions({mergeArrays:!1},e,t)}function Yd(e){return`${e.fontFamily}|${e.fontWeight}|${e.fontStyle}`}function Zx(e,t){const[r,n]=S.useState([]),[o,i]=S.useState(!1),a=S.useMemo(()=>e.filter(s=>!t.includes(Yd(s))),[e,t]);return S.useEffect(()=>{if(a.length===0){i(!0);return}let s=!1;const l=a.map(c=>{const d=c.src.map(p=>Object.entries(p).map(([m,h])=>`${m}('${h}')`).join(" ")).join(", ");return new FontFace(c.fontFamily,d,{style:c.fontStyle,weight:c.fontWeight.toString()}).load().then(p=>(s||document.fonts.add(p),Yd(c)))});return Promise.all(l).then(c=>{s||(n(d=>[...d,...c]),i(!0))}).catch(c=>{console.error("Failed to load fonts:",c),i(!0)}),()=>{s=!0}},[a]),{loadedFonts:r,areAllFontsLoaded:o}}const qd=S.createContext({loadedFonts:[]}),Jx=({fonts:e,children:t})=>{var a;const{loadedFonts:r}=S.useContext(qd),{themeSettings:n}=v.useThemeContext(),{loadedFonts:o,areAllFontsLoaded:i}=Zx(e||((a=n.typography.fontsLoader)==null?void 0:a.fonts)||[],r);return v.jsx(qd.Provider,{value:{loadedFonts:[...r,...o]},children:i&&t})},R0=Go({componentName:"ThemeProvider",trackingConfig:{skip:e=>!!e.skipTracking,transparent:!0},shouldSkipSisenseContextWaiting:!0})(e=>{const{theme:t,children:r}=e,[n,o]=Qx(t);if(o)throw o;return v.jsx(v.Fragment,{children:n&&v.jsx(v.ThemeContext$1.Provider,{value:{themeSettings:n},children:v.jsx(Jx,{children:r})})})});function eC(e,t,r){return e==null?e:v.baseSet(e,t,r)}const _0={"value.data":"value.data","value.text":"value.text","secondary.data":"secondary.data","secondary.text":"secondary.text","title.text":"title.text","secondaryTitle.text":"secondaryTitle.text"},M0={"value.color":"value.color","secondaryValue.color":"secondary.color","secondaryValue.fontWeight":"secondary.fontWeight","title.color":"title.color","secondaryTitle.color":"secondaryTitle.color"};function tC(e,t){const r={};return v.flow(Xd(e,_0),Xd(t,M0))(r)}function Xd(e,t){return r=>{const n=w({},r);for(const[o,i]of Object.entries(t))eC(n,i,F.get(e,o));return n}}const rC=(e,t,r)=>{const n=yl(e,_0,t),o=yl(e,M0,r);return{legacyDataOptions:n,legacyChartOptions:o}},nC=e=>e,oC=(e,t)=>{var o;const r={},n=(i,a)=>{if(i===void 0)return;const s=v.getCompleteNumberFormatConfig(a);return v.applyFormatPlainText(s,i)};return t.value&&t.value.length>0&&(r.value=N(w({},v.getDataPointMetadata("value",t.value[0])),{value:(o=e.value)!=null?o:0,displayValue:n(e.value,t.value[0])})),t.secondary&&t.secondary.length>0&&e.secondary!==void 0&&(r.secondary=N(w({},v.getDataPointMetadata("secondary",t.secondary[0])),{value:e.secondary,displayValue:n(e.secondary,t.secondary[0])})),t.min&&t.min.length>0&&e.min!==void 0&&(r.min=N(w({},v.getDataPointMetadata("min",t.min[0])),{value:e.min,displayValue:n(e.min,t.min[0])})),t.max&&t.max.length>0&&e.max!==void 0&&(r.max=N(w({},v.getDataPointMetadata("max",t.max[0])),{value:e.max,displayValue:n(e.max,t.max[0])})),{entries:r}},iC=({chartData:e,dataOptions:t,designOptions:r,onBeforeRender:n=nC,onDataPointClick:o})=>{var c;const i=S.useRef(null),a=S.useRef(null),{themeSettings:s}=v.useThemeContext();S.useEffect(()=>{if(!a.current||!i.current)return;const d=new Fx,f=zx(e,r,t),p=qx({type:r.indicatorType,numericSubtype:"numericSubtype"in r?r.numericSubtype:void 0,forceTickerView:r.forceTickerView,tickerBarHeight:r.tickerBarHeight},{chartData:e,dataOptions:t,themeSettings:s}),g=tC(f,p),m=n(g),{legacyDataOptions:h,legacyChartOptions:y}=rC(m,f,p);d.render(a.current,h,y,i.current)},[e,t,r,s,n]);const l=d=>{if(o){const f=oC(e,t);o(f,d.nativeEvent)}};return v.jsx("div",{ref:i,style:{display:"flex",justifyContent:"center",width:"100%",height:"100%",alignItems:"center",backgroundColor:(c=s==null?void 0:s.chart)==null?void 0:c.backgroundColor,cursor:o?"pointer":"default"},"aria-label":"indicator-root",onClick:l,children:v.jsx("canvas",{ref:a})})},aC=e=>e.type==="indicator",sC=e=>"min"in e,lC=e=>"indicatorComponents"in e,cC=e=>!!e.chartData&&aC(e.chartData)&&sC(e.dataOptions)&&lC(e.designOptions);function O0(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:F.baseSlice(e,t,r)}function uC(e,t){for(var r=e.length;r--&&v.baseIndexOf(t,e[r],0)>-1;);return r}function dC(e,t){for(var r=-1,n=e.length;++r<n&&v.baseIndexOf(t,e[r],0)>-1;);return r}function fC(e){return e.split("")}var pC="\\ud800-\\udfff",hC="\\u0300-\\u036f",gC="\\ufe20-\\ufe2f",mC="\\u20d0-\\u20ff",vC=hC+gC+mC,yC="\\ufe0e\\ufe0f",bC="\\u200d",wC=RegExp("["+bC+pC+vC+yC+"]");function k0(e){return wC.test(e)}var A0="\\ud800-\\udfff",xC="\\u0300-\\u036f",CC="\\ufe20-\\ufe2f",EC="\\u20d0-\\u20ff",TC=xC+CC+EC,SC="\\ufe0e\\ufe0f",RC="["+A0+"]",bl="["+TC+"]",wl="\\ud83c[\\udffb-\\udfff]",_C="(?:"+bl+"|"+wl+")",P0="[^"+A0+"]",I0="(?:\\ud83c[\\udde6-\\uddff]){2}",D0="[\\ud800-\\udbff][\\udc00-\\udfff]",MC="\\u200d",$0=_C+"?",N0="["+SC+"]?",OC="(?:"+MC+"(?:"+[P0,I0,D0].join("|")+")"+N0+$0+")*",kC=N0+$0+OC,AC="(?:"+[P0+bl+"?",bl,I0,D0,RC].join("|")+")",PC=RegExp(wl+"(?="+wl+")|"+AC+kC,"g");function IC(e){return e.match(PC)||[]}function xl(e){return k0(e)?IC(e):fC(e)}function DC(e,t,r){if(e=F.toString(e),e&&(r||t===void 0))return v.baseTrim(e);if(!e||!(t=F.baseToString(t)))return e;var n=xl(e),o=xl(t),i=dC(n,o),a=uC(n,o)+1;return O0(n,i,a).join("")}const L0=",";function $C(e){return e.join(`${L0} `)}function NC(e){return e.split(L0).map(DC)}function LC(e){switch(e){case"city":return"city";case"state":return"adm";case"country":return"country"}}function FC(e,t){const{name:r,rawName:n,coordinates:o,value:i,colorValue:a,details:s}=e,c={geo:t.locations.map((d,f)=>N(w({},v.getDataPointMetadata(`geo.${f}`,d)),{value:n[f]}))};if(t.size&&(c.size=N(w({},v.getDataPointMetadata("size",t.size)),{value:i})),t.colorBy&&(c.colorBy=N(w({},v.getDataPointMetadata("colorBy",t.colorBy)),{value:a})),t.details){const d=v.getDataPointMetadata("details",t.details);d.measure&&(c.details=N(w({},d),{value:s}))}return{categories:n,displayName:r,coordinates:{lat:o.lat,lng:o.lng},value:i,entries:c}}const jC=Object.freeze({usa:"united states",switzerland:"switzerland country",uk:"united kingdom"});function BC(e,t){const r=jC[e.toLowerCase()];return r&&(t[r]=e),r||e}function HC(e,t){return t[e.toLowerCase()]||e}const zC=(e,t)=>{const{app:r}=v.useSisenseContext(),[n,o]=S.useState([]),i=S.useRef(e),a=S.useCallback(()=>Ot(exports,null,function*(){if(!r||!e)return;const s={},l=LC(t),c=yield r.httpClient.post("api/v1/geo/locations",w({locations:e.map(m=>({name:BC(m.name,s)}))},l&&{geoLevel:l})),d=i.current!==e;if(!c||d)return;const f=c.reduce((m,h)=>{const y=N(w({},h),{name:HC(h.name,s)});return m[y.name]=y,m},{}),p=[],g=e.map(m=>(f[m.name]||p.push(m.name),w(w({},m),f[m.name]?{coordinates:f[m.name].latLng}:null)));p.length&&console.warn(`Locations "${p.join(", ")}" coordinates not found`),o(g)}),[r,o,e,t]);return S.useEffect(()=>{e&&(i.current=e,e.some(l=>!!l.coordinates)?o(e):a())},[e,r,a,o]),n};function WC(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 VC(e,t=4,r=24){let n=0;const{min:o,max:i}=WC(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 UC=()=>{const{app:e}=v.useSisenseContext(),[t,r]=S.useState(null),n=S.useCallback(()=>Ot(exports,null,function*(){if(!e)return;const o=yield e.httpClient.get("api/v1/settings/system");o&&r(o.geo)}),[r,e]);return S.useEffect(()=>{n()},[e,n]),t},GC="#00cee6",YC=v.createDataColoringFunction({getValueFromDataStructure:({colorValue:e})=>parseFloat(`${e}`),applyColorToDataStructure:(e,t)=>N(w({},e),{color:t})});function qC(e,t){return t?YC(e.map(({colorValue:r})=>({colorValue:r})),t).map(({color:r})=>r):e.map(()=>GC)}function F0(e){return{isLight:["hollow","filled-light"].includes(e),isFilled:["filled","filled-light"].includes(e)}}function j0(e){const{color:t,size:r,fill:n,blur:o}=e,{isFilled:i}=F0(n),l=o?{filled:.1,"filled-light":.1,hollow:.2,"hollow-bold":.25}[n]:{filled:.5,"filled-light":.2,hollow:.35,"hollow-bold":.9}[n];return{radius:r,fillOpacity:l,opacity:l,fillColor:i?t:"transparent",color:i?"transparent":t,stroke:!i,weight:i?0:2,customStyle:e}}function XC({coordinates:e,style:t}){const r=new v.Leaflet.CircleMarker({lat:e.lat,lng:e.lng},j0(t));return r.on("mouseover",KC),r.on("mouseout",QC),r}function KC(e){const t=e.target,r=t.options.customStyle,{isFilled:n,isLight:o}=F0(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 QC(e){const t=e.target,r=t.options.customStyle;t.setStyle(j0(r))}function ZC(e){e.forEach(t=>t.remove())}function JC(e,t){const r=`
|
|
179
|
-
© <a href='https://www.mapbox.com/about/maps/'>Mapbox</a>
|
|
180
|
-
© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>
|
|
181
|
-
<strong>
|
|
182
|
-
<a href='https://www.mapbox.com/map-feedback/' target='_blank' aria-label='Improve this map (opens in a new tab)'>
|
|
183
|
-
Improve this map
|
|
184
|
-
</a>
|
|
185
|
-
</strong>`,n="© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",o=v.Leaflet.control.attribution();return t.indexOf("mapbox")>-1?o.addAttribution(r).addTo(e):t.indexOf("openstreetmap")>-1&&o.addAttribution(n).addTo(e),o}var e3="Expected a function";function t3(e,t,r){if(typeof e!="function")throw new TypeError(e3);return setTimeout(function(){e.apply(void 0,r)},t)}var r3=F.baseRest(function(e,t,r){return t3(e,v.toNumber(t)||0,r)}),As=function(e){return e[e.YES=0]="YES",e[e.NO=1]="NO",e[e.LOADING=2]="LOADING",e}({});const Ps=10,n3=`
|
|
186
|
-
<svg
|
|
187
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
188
|
-
width="24"
|
|
189
|
-
height="24"
|
|
190
|
-
viewBox="0 0 24 24"
|
|
191
|
-
fill="green"
|
|
192
|
-
class="csdk-animate-spin"
|
|
193
|
-
>
|
|
194
|
-
<path
|
|
195
|
-
fillRule="evenodd"
|
|
196
|
-
clipRule="evenodd"
|
|
197
|
-
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"
|
|
198
|
-
fill="transparent"
|
|
199
|
-
fillOpacity="0.3"
|
|
200
|
-
/>
|
|
201
|
-
<path
|
|
202
|
-
fillRule="evenodd"
|
|
203
|
-
clipRule="evenodd"
|
|
204
|
-
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"
|
|
205
|
-
fill="#22C3C3"
|
|
206
|
-
/>
|
|
207
|
-
</svg>
|
|
208
|
-
`,rr=e=>`<span class="csdk-scattermap-tooltip-label">${e}</span>`,o3=e=>{const t=`
|
|
209
|
-
<div>
|
|
210
|
-
<div>${rr("...")}</div>
|
|
211
|
-
<div>${rr(`Showing first ${Ps} results`)}</div>
|
|
212
|
-
</div>
|
|
213
|
-
`;return`
|
|
214
|
-
<div>
|
|
215
|
-
${e.slice(0,Ps).map(r=>`<div>${rr(r)}</div>`).join("")}
|
|
216
|
-
${e.length>Ps?t:""}
|
|
217
|
-
</div>
|
|
218
|
-
`},Is=e=>`
|
|
219
|
-
<span class="csdk-scattermap-tooltip-category">
|
|
220
|
-
${rr(e)}
|
|
221
|
-
</span>
|
|
222
|
-
`,i3=()=>rr(n3),hi=(e,t,r=1)=>{const n=v.formatTooltipValue(t.size,e.value,`${e.value}`),o=v.formatTooltipValue(t.colorBy,e.colorValue,`${e.colorValue}`),i=t.details&&v.formatTooltipValue(t.details,e.details,`${e.details}`);return`
|
|
223
|
-
<div class="csdk-scattermap-tooltip-container">
|
|
224
|
-
<div class="csdk-scattermap-tooltip-content">
|
|
225
|
-
<div>${rr(e.name)}</div>
|
|
226
|
-
<div class="csdk-scattermap-tooltip-row">
|
|
227
|
-
${t.size?Is(v.getDataOptionTitle(t.size)):""}
|
|
228
|
-
${t.size?rr(n):""}
|
|
229
|
-
</div>
|
|
230
|
-
<div class="csdk-scattermap-tooltip-row">
|
|
231
|
-
${t.colorBy?Is(v.getDataOptionTitle(t.colorBy)):""}
|
|
232
|
-
${t.colorBy?rr(o||v.NOT_AVAILABLE_TEXT):""}
|
|
233
|
-
</div>
|
|
234
|
-
<div class="csdk-scattermap-tooltip-row">
|
|
235
|
-
${(r===2||r===0)&&t.details?Is(v.getDataOptionTitle(t.details)):""}
|
|
236
|
-
${r===2?i3():""}
|
|
237
|
-
${r===0&&t.details&&v.isMeasureColumn(t.details)?rr(i||v.NOT_AVAILABLE_TEXT):""}
|
|
238
|
-
</div>
|
|
239
|
-
<div>
|
|
240
|
-
${r===0&&t.details&&!v.isMeasureColumn(t.details)?o3(e.details):""}
|
|
241
|
-
</div>
|
|
242
|
-
</div>
|
|
243
|
-
</div>
|
|
244
|
-
`},a3=600,s3=11,l3=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=v.useSisenseContext(),o=S.useCallback(a=>Ot(exports,null,function*(){if(!n||!e.details||v.isMeasureColumn(e.details))return[];const s=e.locations.map((d,f)=>{const p=v.translateColumnToAttribute(d),g=NC(a)[f];return F.members(p,[g])}),l={dataSource:t,dimensions:[v.translateColumnToAttribute(e.details)],filters:F.mergeFilters(r,s),count:s3};return(yield F.executeQuery(l,n)).rows.map(([d])=>d.text)}),[n,e,t,r]);return S.useCallback(a=>{if(!e.details||e.details&&!v.isMeasureColumn(e.details)&&!t)return{content:hi(a,e)};if(v.isMeasureColumn(e.details))return{content:hi(a,e,As.YES)};const s=new Promise(c=>r3(c,a3)),l=Promise.all([o(a.name),s]).then(([c])=>hi(N(w({},a),{details:c}),e,As.YES));return{content:hi(a,e,As.LOADING),postponedContent:l}},[e,t,o])},c3=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=UC(),{themeSettings:l}=v.useThemeContext(),c=zC(a,t.locationLevel),{filters:d}=F.getFilterListAndRelationsJaql(n),f=l3({dataOptions:t,dataSource:r,filters:d}),p=S.useRef(null),g=S.useRef(null),m=S.useMemo(()=>VC(c,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[c,t,o]),h=S.useMemo(()=>{var x;return qC(c,(x=t.colorBy)==null?void 0:x.color)},[c,t]),y=S.useRef([]),b=S.useRef(v.Leaflet.layerGroup([])),T=S.useRef(null),E=S.useRef(null);return S.useEffect(()=>{p.current&&!g.current&&(g.current=v.Leaflet.map(p.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),b.current.addTo(g.current),g.current.fitWorld())},[]),S.useEffect(()=>{y.current&&(ZC(y.current),y.current=[]),c&&(c.forEach((x,C)=>{if(!x.coordinates)return;const _=XC({coordinates:x.coordinates,style:{color:h[C],size:m[C],fill:o.markers.fill,blur:!!x.blur}});y.current.push(_),_.addTo(b.current),i&&_.on("click",O=>{i(FC(x,t),O.originalEvent)}),_.bindTooltip(()=>{const{content:O,postponedContent:k}=f(x);return k==null||k.then(D=>_.setTooltipContent(D)),O})}),v.fitMapToBounds(g.current,y.current,v.prepareFitBoundsAnimationOptions(l)))},[c,h,m,o,l,t,f,i]),S.useEffect(()=>{var x;s&&(T.current&&T.current.remove(),T.current=v.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),g.current&&(T.current.addTo(g.current),(x=E.current)==null||x.remove(),E.current=JC(g.current,s.maps_api_provider)))},[s]),v.jsx("div",{className:"csdk-map-container",ref:p,style:{width:"100%",height:"100%"}})},B0=e=>e.type==="scattermap"&&"locations"in e,u3=e=>"locations"in e,d3=e=>"markers"in e,f3=e=>!!e.chartData&&B0(e.chartData)&&u3(e.dataOptions)&&d3(e.designOptions),p3="_wrapper_g0ngm_1",h3="_title_g0ngm_7",g3="_image_g0ngm_18",Ds={wrapper:p3,title:h3,image:g3},m3="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",v3="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",y3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%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",b3="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",w3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%3cg%3e%3cpath%20fill='%23E4E4E4'%20d='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",x3="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",C3="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",E3="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",T3="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",S3="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",R3="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",Kd="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",_3="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",M3="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",Qd={area:m3,line:v3,bar:y3,column:b3,polar:w3,funnel:x3,pie:C3,scatter:E3,indicator:T3,table:S3,treemap:R3,areamap:Kd,scattermap:Kd,boxplot:_3,sunburst:M3};function O3(e){var r;return(r=Qd[e])!=null?r:Qd["bar"]}const Vc=({iconType:e})=>{var s;const{themeSettings:t}=v.useThemeContext(),r=S.useRef(null),[n,o]=S.useState({width:null,height:null});S.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=O3(e),{t:a}=v.useTranslation();return v.jsxs("div",{ref:r,className:Ds.wrapper,children:[v.jsx("div",{className:Ds.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:k3(n.width,n.height)},children:a("chartNoData")}),i?v.jsx("img",{className:Ds.image,src:i}):null]})};function k3(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 A3=(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}),Ia=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i,debounceMs:a=300})=>{const s=S.useRef(null),[l,c]=S.useState(),d=S.useRef(null),f=S.useCallback(()=>{var _,O;const C={width:(_=s.current)==null?void 0:_.offsetWidth,height:(O=s.current)==null?void 0:O.offsetHeight};c(k=>{const D=(k==null?void 0:k.width)===0&&C.width===t.width,j=(k==null?void 0:k.height)===0&&C.height===t.height,V={width:D?k.width:C.width,height:j?k.height:C.height};return F.isEqual(k,V)?k:V})},[t]),p=S.useCallback(()=>{d.current&&clearTimeout(d.current),d.current=setTimeout(()=>{f()},a)},[f,a]);S.useLayoutEffect(()=>{f()},[f]),S.useEffect(()=>{const C=s.current;if(!C)return;const _=new ResizeObserver(()=>{p()});return _.observe(C),()=>{_.disconnect(),d.current&&clearTimeout(d.current)}},[p]);const g=S.useMemo(()=>A3(l,r,t),[l,t,r]),m=!!l;S.useEffect(()=>{m&&i&&i(g)},[g,m,i]);const h={width:r!=null&&r.width&&!(o!=null&&o.width)?`${r.width}px`:"100%",height:r!=null&&r.height&&!(o!=null&&o.height)?`${r.height}px`:"100%"},y=(l==null?void 0:l.width)||(l==null?void 0:l.width)===void 0,b=(l==null?void 0:l.height)||(l==null?void 0:l.width)===void 0,T={width:y||o!=null&&o.width?"100%":`${g.width}px`,height:b||o!=null&&o.height?"100%":`${g.height}px`,position:"relative"},E=o!=null&&o.width||o!=null&&o.height?{position:"static",width:"100%",height:"100%"}:{position:"absolute",top:0,right:0,bottom:0,left:0},x=n?`${g==null?void 0:g.width}${g==null?void 0:g.height}`:"";return v.jsx("div",{style:h,ref:s,children:v.jsx("div",{style:T,children:v.jsx("div",{style:E,children:g&&(typeof e=="function"?e(g):e)})},x)})},H0=32,z0={width:400,height:500},Da=e=>v.isTable(e)?{width:400,height:500}:v.isIndicator(e)?{width:200,height:200}:{width:400,height:400},W0=(e,{hasHeader:t}={})=>{const r=e==="pivot"?z0:Da(e);return t&&(r.height=r.height+H0),r},so=({isVisible:e,children:t})=>{const{themeSettings:r}=v.useThemeContext();return v.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&v.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:v.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:v.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:v.jsx("div",{style:{backgroundColor:r.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:v.jsx(Ec,{color:r==null?void 0:r.chart.textColor})})})})}),t]})};function Cl(e,t,r=v.getBaseDateFnsLocale(),n=v.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(v.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(c){return c.name===a.column.name&&F.isDatetime(a.column.type)&&F.isDatetime(c.type)});s!==-1&&o.set(s,a.dateFormat)}),o.size===0||(e.rows=e.rows.map(function(a){return a.map(function(l,c){const d=o.get(c);if(!d||l===v.NOT_AVAILABLE_DATA_VALUE)return l;let f,p;if(v.isCell(l)){if(l.data===v.NOT_AVAILABLE_DATA_VALUE)return l;f=w({},l)}else{const m=v.createCompareValue(`${l}`,"datetime");p=new Date(m.value),f={data:p.toISOString(),text:`${l}`}}if(!f.data)return l;let g=f.text;try{g=v.formatDateValue(f.data,d,r,n)}catch(m){console.error(m)}return f.text=g,f})})),e}function P3(e,t){return D3(e,t)}const I3={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function D3(e,t){const r=I3[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)),N(w({},t),{category:n,value:o})}const Uc=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},$3=(e,t)=>{if(t==="funnel"){const r=F.merge(e);if(r.breakBy.length>0&&r.breakBy[0].sortType===void 0&&r.y.length>0&&r.y[0].sortType===void 0)return r.y[0].sortType="sortDesc",r}return e},V0=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new F.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name)===-1)throw new F.TranslatableError("errors.dataOptions.attributeNotFound",{attributeName:a.name})}),r.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name||l.name===n[a.name])===-1)throw new F.TranslatableError("errors.dataOptions.measureNotFound",{measureName:n[a.name]})}),o&&o.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new F.TranslatableError("errors.dataOptions.filterAttributeNotFound",{attributeName:a.attribute.name})}),i&&i.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.attribute.name)===-1)throw new F.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function N3(e,t){switch(e){case"pie":case"funnel":case"treemap":return P3(e,t);default:return t}}const Gc=()=>{const[e,t]=S.useState();if(e)throw e;return t},L3=e=>e==="funnel"?e:v.deriveChartFamily(e),F3=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:l,setIsLoading:c,enabled:d=!0,loadData:f})=>{const p=Gc(),g=S.useMemo(()=>L3(r),[r]),m=S.useMemo(()=>[void 0,t],[t]),[h,y]=S.useState({}),{app:b}=v.useSisenseContext();return S.useEffect(()=>{if(!d)return;let T=!1;const{filters:E,relations:x}=F.getFilterListAndRelationsJaql(a);if(br(e)){if(!b)return;const C=f({app:b,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:E,filterRelations:x,highlights:s,count:b.settings.queryLimit}}),_=b==null?void 0:b.settings.loadingIndicatorConfig,O=setTimeout(()=>{_!=null&&_.enabled&&(c==null||c(!0))},_==null?void 0:_.delay);C.then(k=>{const D=Cl(k,t,b==null?void 0:b.settings.locale,b==null?void 0:b.settings.dateConfig);T||y({[g]:[D,t]})}).catch(k=>{p(k)}).finally(()=>{clearTimeout(O),_!=null&&_.enabled&&(c==null||c(!1))})}else{V0(e,n,o,i,E,s);const C=Cl(e,t,b==null?void 0:b.settings.locale,b==null?void 0:b.settings.dateConfig);y({[g]:[C,t]})}return()=>{T=!0}},[r,t,e,a,s,b,l,d]),h[g]||m},j3=(e,t)=>{switch(t){case"iqr":return S1(e);case"extremums":return R1(e);case"standardDeviation":return _1(e)}},B3=(e,t)=>{switch(t){case"iqr":return M1(e);case"standardDeviation":return O1(e)}},H3=(e,t,r)=>{const{column:n,style:o}=v.splitColumn(e);let i=j3(n,t),a;return o&&(i=i.map(s=>w({column:s},o))),r&&(a=B3(n,t),a&&o&&(a=w({column:a},o))),{values:i,outliers:a}},z3=e=>e.value.length>1,U0=e=>{var f;const{category:t}=e;let r,n,o;if(z3(e))r=e.value,o=e.valueTitle,n=(f=e.outliers)==null?void 0:f[0];else{const{outliersEnabled:p,boxType:g}=e,m=v.normalizeColumn(e.value[0]),{values:h,outliers:y}=H3(m,g,!!p);r=h,n=y,o=v.getDataOptionTitle(m)}const[i,a,s,l,c,d]=r;return{category:t[0]&&v.normalizeColumn(t[0]),boxMin:i&&v.normalizeMeasureColumn(i),boxMedian:a&&v.normalizeMeasureColumn(a),boxMax:s&&v.normalizeMeasureColumn(s),whiskerMin:l&&v.normalizeMeasureColumn(l),whiskerMax:c&&v.normalizeMeasureColumn(c),outliersCount:d&&v.normalizeMeasureColumn(d),outliers:n&&v.normalizeColumn(n),valueTitle:o}},Zd={city:4,state:3,country:2,auto:1};function W3(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>Zd[n]>Zd[r]?n:r,"auto")}function V3(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(v.normalizeColumn),size:r&&v.normalizeMeasureColumn(r),colorBy:n&&v.normalizeMeasureColumn(n),details:o&&v.normalizeAnyColumn(o),locationLevel:W3(t)}}function U3(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[v.normalizeMeasureColumn(a)];const f=a,{lowerBound:s,upperBound:l,title:c}=f,d=re(f,["lowerBound","upperBound","title"]);return[v.normalizeMeasureColumn(w({column:v.safeMerge(s,{title:c})},d)),v.normalizeMeasureColumn(w({column:v.safeMerge(l,{title:c})},d))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(v.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(v.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}const G3=(e,t)=>{if(v.emptyTable(t))return{rows:[],columns:[]};const r=v.getColumnsByName(t,e);return v.selectColumns(t,r)},El=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case F.Sort.Ascending:return 1;case"sortDesc":case F.Sort.Descending:return-1;default:return 0}},Y3=(e,t)=>{const r=e.columns.find(n=>El(n)!==0);if(r){const n=v.getColumnByName(t,r.column.name);n&&(n.direction=El(r))}return t},G0=e=>{if(!("sortType"in e))return e;const t=e.sortType,r=F.convertSortDirectionToSort(t);return N(w({},e),{sortType:t,column:q3(e.column,r)})};function q3(e,t){return K3(e)?X3(e,t):e}function X3(e,t){const r=e.sort(t);return v.isMeasureColumn(r)&&v.isMeasureColumn(e)&&(r.title=e.title),r}function K3(e){return"sort"in e&&typeof e.sort=="function"}const Q3=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=El(r),i=n?o===1?"sortDesc":"sortAsc":"sortNone";return r.sortType=i,G0(r)})}),Z3=(e,t)=>{const r=G3(e.columns.map(({column:{name:n}})=>n),t);return Y3(e,r)};function J3(e,t){if(v.isCartesian(e))return v.translateCartesianChartDataOptions(t);if(v.isCategorical(e))return eE(t);if(v.isIndicator(e))return tE(t);if(v.isScatter(e))return rE(t);if(v.isBoxplot(e))return U0(t);if(v.isScattermap(e))return V3(t);if(v.isRange(e))return U3(t);throw new F.TranslatableError("errors.unexpectedChartType",{chartType:e})}const eE=e=>({y:e.value.map(v.normalizeMeasureColumn),breakBy:e.category.map(v.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),tE=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(v.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(v.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(v.normalizeMeasureColumn))==null?void 0:o.map(Jd("min")),max:(a=(i=e.max)==null?void 0:i.map(v.normalizeMeasureColumn))==null?void 0:a.map(Jd("max"))}},Jd=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return N(w({},t),{column:v.safeMerge(r,{aggregation:n})})},rE=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&v.normalizeAnyColumn(t),y:r&&v.normalizeAnyColumn(r),breakByPoint:n&&v.normalizeColumn(n),breakByColor:o&&v.normalizeAnyColumn(o),size:i&&v.normalizeMeasureColumn(i),seriesToColorMap:a}};function nE(e,t){let r=[];return v.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:v.isCartesian(t)||v.isCategorical(t)||v.isRange(t)?r=["x","breakBy"]:v.isBoxplot(t)?r=["category","outliers"]:v.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!v.isMeasureColumn(o)).map(({column:o})=>o)}function oE(e,t){let r=[];return v.isIndicator(t)?r=["value","secondary","min","max"]:v.isScatter(t)?r=["x","y","breakByColor","size"]:v.isCartesian(t)||v.isCategorical(t)||v.isRange(t)?r=["y"]:v.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:v.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(v.isMeasureColumn).map(({column:o})=>o)}function Y0(e){return{columns:e.columns.map(v.normalizeAnyColumn).map(G0)}}function iE(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(v.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(v.normalizeColumn),values:(n=e.values)==null?void 0:n.map(v.normalizeMeasureColumn),grandTotals:e.grandTotals}}function q0(e,t){{const r=N3(t,e),n=J3(t,r),o=$3(n,t),i=nE(o,t),a=oE(o,t);return{dataOptions:o,attributes:i,measures:a}}}const aE=(e,t,r)=>S.useMemo(()=>{if(v.isRestructuredChartType(t)&&!r){const n=v.getChartBuilder(t);if(!n.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return sE(n,e)}else return lE(e,t)},[e,t,r]);function sE(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=Uc(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function lE(e,t){const{dataOptions:r,attributes:n,measures:o}=q0(e,t),i=Uc(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function cE(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c}=e;return!o||!i?null:{dataSource:br(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c}}const uE=(e,t)=>{const r=e.category&&v.getColumnByName(t,e.category.column.name);r&&(r.direction=v.sortDirection(e.category.sortType));const n=v.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?v.rownumColumnName:void 0),o=v.getIndexedRows(t.rows,r?[r]:[]),i=v.getColumnByName(t,e.boxMin.column.name),a=v.getColumnByName(t,e.boxMedian.column.name),s=v.getColumnByName(t,e.boxMax.column.name),l=v.getColumnByName(t,e.whiskerMin.column.name),c=v.getColumnByName(t,e.whiskerMax.column.name),d=e.outliers&&v.getColumnByName(t,e.outliers.column.name),f=[],p=[];n.forEach((m,h)=>{const y=o[m.key],b=y?y[0]:[],T=r&&!!v.isBlurred(b,r);f.push({q1:i?v.getValue(b,i):0,median:a?v.getValue(b,a):0,q3:s?v.getValue(b,s):0,low:l?v.getValue(b,l):0,high:c?v.getValue(b,c):0,blur:T});const E=d?b[d.index].rawValue.split(",").map(x=>parseFloat(x)):[];p.push(...E.map(x=>({x:h,y:x,blur:T})))});const g=[{name:e.valueTitle,title:e.valueTitle,data:f}];return p.length>0&&g.push({name:e.valueTitle,title:e.valueTitle,data:p}),{type:"boxplot",xValues:n,series:g}};function dE(e){return e.type==="boxplot"}const fE=2e4;function Xn(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 X0=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=Xn(e.columns,r.category),o=Xn(e.columns,r.whiskerMin),i=Xn(e.columns,r.whiskerMax),a=Xn(t.columns,r.category),s=Xn(t.columns,r.outliers)),v.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(c=>{const d=v.isNull(n)?null:c[n].data,f=c[i].data,p=c[o].data,g=t.rows.filter(m=>{const h=v.isNull(a)?null:m[a].data,y=m[s].data;return h===d&&(y<p||y>f)}).map(m=>m[s].data).join(",");return[...c,{data:g}]})}};function pE(e,t,r){const n=r&&U0(r);return X0(e,t,n)}const hE=(c,d)=>Ot(exports,[c,d],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},l){var h;const f={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},p=yield l(f,e);let g=p;const m=t.outliersCount?gE(p,t.outliersCount.column.name):0;if(t.outliers&&m<fE){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const b=yield l(y,e);g=X0(p,b,t)}catch(b){if((h=b==null?void 0:b.message)!=null&&h.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw b}}return g}),gE=(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 mE(e,t){return v.isRestructuredChartType(e)&&!t?v.getChartBuilder(e).data.loadData:e==="boxplot"?yE:vE}const vE=n=>Ot(exports,[n],function*({app:e,queryDescription:t,executionConfig:r}){var a,s;return(((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?F.executeQueryWithCache:F.executeQuery)(t,e,r)}),yE=n=>Ot(exports,[n],function*({app:e,chartDataOptionsInternal:t,queryDescription:r}){var a,s,l,c;const i=((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?F.executeQueryWithCache:F.executeQuery;return hE({app:e,chartDataOptions:t,dataSource:r.dataSource,attributes:(l=r.dimensions)!=null?l:[],measures:(c=r.measures)!=null?c:[],filters:r.filters,highlights:r.highlights,filterRelations:r.filterRelations},i)}),bE=(e,t)=>{const r=N(w({},e),{x:e.breakBy,breakBy:[]});let n=v.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>F.isNumber(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:l},numberFormatConfig:c},d)=>{const f=v.getCompleteNumberFormatConfig(c),p=a.xValues[d];F.isNumber(l)?s.push(v.applyFormatPlainText(f,parseFloat(p))):s.push(a.xValues[d])}),N(w({},a),{xValues:s})});n=N(w({},n),{xValues:i})}return N(w({},n),{type:"categorical"})},gi=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=v.getColumnByName(e,t[0].column.name);return r?[v.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},wE=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=gi(t,e.value);if(n===void 0)return r;const[o]=gi(t,e.secondary),[i]=gi(t,e.min),[a]=gi(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},xE=1,CE=(e,t)=>{const r=EE(e),n=e.locations&&v.getColumnsByName(t,e.locations.map(({column:{name:l}})=>l)),o=e.size&&v.getColumnByName(t,e.size.column.name),i=e.colorBy&&v.getColumnByName(t,e.colorBy.column.name),a=e.details&&v.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(l=>n.some(c=>v.getValue(l,c)!==v.NOT_AVAILABLE_DATA_VALUE)).map(l=>{const c=n.map(g=>v.getValue(l,g)),d=$C(c);let f;r&&(f={lat:v.getValue(l,n[0]),lng:v.getValue(l,n[1])});const p=n[0]&&!!v.isBlurred(l,n[0]);return w(N(w(w({name:d,rawName:c,value:o?v.getValue(l,o):xE},i&&{colorValue:v.getValue(l,i)}),a&&{details:v.getValue(l,a)}),{blur:p}),f?{coordinates:f}:null)})}};function EE(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>F.isNumber(t)).length===2}const TE=(e,t,r)=>{if(v.isCartesian(e))return v.isForecastChart(t)?v.advancedAnalyticsData(t,r):v.cartesianData(t,r);if(v.isCategorical(e))return bE(t,r);if(v.isScatter(e))return v.scatterData(t,r);if(v.isScattermap(e))return CE(t,r);if(v.isIndicator(e))return wE(t,r);if(v.isBoxplot(e))return uE(t,r);if(v.isRange(e))return v.rangeData(t,r);throw new F.TranslatableError("errors.unexpectedChartType",{chartType:e})};var SE=1/0,RE=F.Set&&1/F.setToArray(new F.Set([,-0]))[1]==SE?function(e){return new F.Set(e)}:v.noop,_E=200;function Yc(e,t,r){var n=-1,o=v.arrayIncludes,i=e.length,a=!0,s=[],l=s;if(i>=_E){var c=t?null:RE(e);if(c)return F.setToArray(c);a=!1,o=F.cacheHas,l=new F.SetCache}else l=t?[]:s;e:for(;++n<i;){var d=e[n],f=t?t(d):d;if(d=d!==0?d:0,a&&f===f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),s.push(d)}else o(l,f,r)||(l!==s&&l.push(f),s.push(d))}return s}var ME=F.baseRest(function(e){return Yc(F.baseFlatten(e,1,F.isArrayLikeObject,!0))});const K0=(e,t,r,n={})=>{if(v.emptyTable(e))return{rows:[],columns:[]};const o=ME(v.getColumnsByName(e,t.map(d=>d.name))),i=e,s=[...r.map(d=>{var f,p;return{column:(f=n[d.name])!=null?f:d.name,title:d.name,agg:(p=d.aggregation)!=null?p:"sum"}}),{column:v.rownumColumnName,title:v.rownumColumnName,agg:"min"}],l=v.groupBy(i,o,s),c=v.getColumnByName(l,v.rownumColumnName);if(!c)throw new F.TranslatableError("errors.noRowNumColumn");return v.orderBy(l,[c])};function OE({dataSet:e,data:t,chartDataOptions:r,chartType:n,isForecastOrTrendChart:o,attributes:i,measures:a,dataColumnNamesMapping:s,onDataReady:l}){return S.useMemo(()=>{if(!t||!r)return null;let c;if(l&&(c=l(t),!Z0(c)))throw new F.TranslatableError("errors.incorrectOnDataReadyHandler");const d=c||t;let f=v.createDataTableFromData(d);return br(e)||(f=K0(f,i,a,s)),kE(n,r,f,o)},[t,n,o])}function kE(e,t,r,n=!1){if(v.isRestructuredChartType(e)&&!n){const o=v.getChartBuilder(e);if(o.dataOptions.isCorrectDataOptionsInternal(t))return o.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return TE(e,t,r)}const AE=e=>e,PE=({chartType:e,chartData:t,dataOptions:r,designOptions:n,onDataPointClick:o,onDataPointContextMenu:i,onDataPointsSelected:a,onBeforeRender:s=AE,size:l})=>{const{app:c}=v.useSisenseContext(),{t:d}=v.useTranslation(),f=[],p=S.useCallback((y,b)=>v.formatDateValue(y,b,c==null?void 0:c.settings.locale,c==null?void 0:c.settings.dateConfig),[c==null?void 0:c.settings.locale,c==null?void 0:c.settings.dateConfig]),{themeSettings:g}=v.useThemeContext(),m=S.useMemo(()=>{var _;const{options:y,alerts:b}=v.highchartsOptionsService(t,e,n,r,d,g,p);f.push(...b);const T=((_=c==null?void 0:c.settings.accessibilityConfig)==null?void 0:_.enabled)||!1,E=v.applyCommonHighchartsOptions(y,g,T),x=v.applyEventHandlersToChart(E,r,{onDataPointClick:o,onDataPointContextMenu:i,onDataPointsSelected:a}),C=v.applyThemeToChart(x,g);return s(C)},[e,t,r,n,g,o,i,s,d]),h=S.useMemo(()=>m?N(w({},m),{chart:w(w(w({},m.chart),(l==null?void 0:l.width)&&{width:l.width}),(l==null?void 0:l.height)&&{height:l.height})}):null,[m,l]);return h&&v.jsxs("div",{"aria-label":"chart-root",style:{display:"flex",justifyContent:"center",height:"100%",width:"100%"},children:[!!f.length&&v.jsx(v.AlertBox,{alerts:f}),v.jsx(v.HighchartsReactMemoized,{options:h})]})},IE=[...v.CARTESIAN_CHART_TYPES,...v.CATEGORICAL_CHART_TYPES,...v.SCATTER_CHART_TYPES,...v.BOXPLOT_CHART_TYPES,...v.RANGE_CHART_TYPES],Q0=e=>IE.includes(e),DE=e=>!!e.chartType&&Q0(e.chartType)&&!!e.chartData,$E=e=>e==="indicator",NE=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&v.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&B0(t)?t.locations.length===0:e==="boxplot"&&dE(t)?t.xValues.length===0:"series"in t&&t.series.length===0,ki=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:d,onBeforeRender:f,onDataReady:p}=e,[g,m]=S.useState(!1),h=Da(t),{themeSettings:y}=v.useThemeContext(),b=v.hasForecastOrTrend(n,t),{dataOptions:T,attributes:E,measures:x,dataColumnNamesMapping:C}=aE(n,t,b),_=E.length===0&&x.length===0,O=S.useMemo(()=>mE(t,b),[t,b]),[k,D]=F3({dataSet:r,chartDataOptions:T,chartType:t,attributes:E,measures:x,dataColumnNamesMapping:C,filters:o,highlights:i,refreshCounter:s,setIsLoading:m,enabled:!_,loadData:O}),j=S.useMemo(()=>n?v.prepareChartDesignOptions(t,D,a):null,[n,t,D,a]),V=OE({dataSet:r,data:k,chartDataOptions:T,chartType:t,isForecastOrTrendChart:b,attributes:E,measures:x,dataColumnNamesMapping:C,onDataReady:p}),R=cE({dataSet:r,chartType:t,chartData:V,internalDataOptions:D,designOptions:j,onBeforeRender:f,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:d,filters:o});return R?v.jsx(Ia,{defaultSize:h,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:$E(t),children:A=>{if(!V&&g)return v.jsx(ua,{themeSettings:y});if(V&&NE(t,V)||_)return v.jsx(Vc,{iconType:t});if(v.isRestructuredChartType(t)&&!b){const B=v.getChartBuilder(t);return B.renderer.isCorrectRendererProps(R)?v.jsx(so,{isVisible:g,children:v.jsx(B.renderer.ChartRendererComponent,N(w({},R),{size:A}))}):null}return t==="scattermap"&&f3(R)?v.jsx(so,{isVisible:g,children:v.jsx(c3,w({},R))}):t==="indicator"&&cC(R)?v.jsx(so,{isVisible:g,children:v.jsx(iC,w({},R))}):Q0(t)&&DE(R)?v.jsx(so,{isVisible:g,children:v.jsx(PE,N(w({},R),{designOptions:w({},R.designOptions),size:A}))}):null}}):null};function Z0(e){return e&&typeof e=="object"&&"columns"in e&&F.isArray(e.columns)&&"rows"in e&&F.isArray(e.rows)}function LE(e){return ke("MuiPagination",e)}Ae("MuiPagination",["root","ul","outlined","text"]);function FE(e={}){const D=e,{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:d=!1,showLastButton:f=!1,siblingCount:p=1}=D,g=re(D,["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"]),[m,h]=Pc({controlled:c,default:o,name:r,state:"page"}),y=(j,V)=>{c||h(V),l&&l(j,V)},b=(j,V)=>{const R=V-j+1;return Array.from({length:R},(A,H)=>j+H)},T=b(1,Math.min(t,n)),E=b(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(m-p,n-t-p*2-1),t+2),C=Math.min(Math.max(m+p,t+p*2+2),n-t-1),_=[...d?["first"]:[],...s?[]:["previous"],...T,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...b(x,C),...C<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...E,...a?[]:["next"],...f?["last"]:[]],O=j=>{switch(j){case"first":return 1;case"previous":return m-1;case"next":return m+1;case"last":return n;default:return null}},k=_.map(j=>typeof j=="number"?{onClick:V=>{y(V,j)},type:"page",page:j,selected:j===m,disabled:i,"aria-current":j===m?"page":void 0}:{onClick:V=>{y(V,O(j))},type:j,page:O(j),selected:!1,disabled:i||!j.includes("ellipsis")&&(j==="next"||j==="last"?m>=n:m<=1)});return w({items:k},g)}function jE(e){return ke("MuiPaginationItem",e)}const ct=Ae("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),BE=In(J.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),HE=In(J.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),zE=In(J.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),WE=In(J.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),J0=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${pe(r.size)}`],r.variant==="text"&&t[`text${pe(r.color)}`],r.variant==="outlined"&&t[`outlined${pe(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]},VE=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${pe(i)}`,l,a,r!=="standard"&&`color${pe(r)}`,r!=="standard"&&`${l}${pe(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 He(c,jE,t)},UE=fe("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:J0})(qe(({theme:e})=>N(w({},e.typography.body2),{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${ct.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),GE=fe(qr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:J0})(qe(({theme:e})=>N(w({},e.typography.body2),{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${ct.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ct.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"}},[`&.${ct.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}))`:Le(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Le(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${ct.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${ct.selected}`]:{[`&.${ct.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${ct.selected}`]:{[`&.${ct.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(Er(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${ct.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${ct.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${ct.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(Er(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${ct.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:Le(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Le(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Le(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ct.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Le(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}}))]}))),YE=fe("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(qe(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),eg=$.forwardRef(function(t,r){var z,q,I,U;const n=je({props:t,name:"MuiPaginationItem"}),P=n,{className:o,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:d=!1,shape:f="circular",size:p="medium",slots:g={},slotProps:m={},type:h="page",variant:y="text"}=P,b=re(P,["className","color","component","components","disabled","page","selected","shape","size","slots","slotProps","type","variant"]),T=N(w({},n),{color:i,disabled:l,selected:d,shape:f,size:p,type:h,variant:y}),E=fa(),x=VE(T),C={slots:{previous:(z=g.previous)!=null?z:s.previous,next:(q=g.next)!=null?q:s.next,first:(I=g.first)!=null?I:s.first,last:(U=g.last)!=null?U:s.last},slotProps:m},[_,O]=rt("previous",{elementType:zE,externalForwardedProps:C,ownerState:T}),[k,D]=rt("next",{elementType:WE,externalForwardedProps:C,ownerState:T}),[j,V]=rt("first",{elementType:BE,externalForwardedProps:C,ownerState:T}),[R,A]=rt("last",{elementType:HE,externalForwardedProps:C,ownerState:T}),H=E?{previous:"next",next:"previous",first:"last",last:"first"}[h]:h,B={previous:_,next:k,first:j,last:R}[H],L={previous:O,next:D,first:V,last:A}[H];return h==="start-ellipsis"||h==="end-ellipsis"?J.jsx(UE,{ref:r,ownerState:T,className:ge(x.root,o),children:"…"}):J.jsxs(GE,N(w({ref:r,ownerState:T,component:a,disabled:l,className:ge(x.root,o)},b),{children:[h==="page"&&c,B?J.jsx(YE,N(w({},L),{className:x.icon,as:B})):null]}))});process.env.NODE_ENV!=="production"&&(eg.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","standard"]),u.string]),component:u.elementType,components:u.shape({first:u.elementType,last:u.elementType,next:u.elementType,previous:u.elementType}),disabled:u.bool,page:u.node,selected:u.bool,shape:u.oneOf(["circular","rounded"]),size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),slotProps:u.shape({first:u.oneOfType([u.func,u.object]),last:u.oneOfType([u.func,u.object]),next:u.oneOfType([u.func,u.object]),previous:u.oneOfType([u.func,u.object])}),slots:u.shape({first:u.elementType,last:u.elementType,next:u.elementType,previous:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),type:u.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:u.oneOfType([u.oneOf(["outlined","text"]),u.string])});const qE=e=>{const{classes:t,variant:r}=e;return He({root:["root",r],ul:["ul"]},LE,t)},XE=fe("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),KE=fe("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function QE(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const tg=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiPagination"}),j=n,{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:d=QE,hideNextButton:f=!1,hidePrevButton:p=!1,onChange:g,page:m,renderItem:h=V=>J.jsx(eg,w({},V)),shape:y="circular",showFirstButton:b=!1,showLastButton:T=!1,siblingCount:E=1,size:x="medium",variant:C="text"}=j,_=re(j,["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"]),{items:O}=FE(N(w({},n),{componentName:"Pagination"})),k=N(w({},n),{boundaryCount:o,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:d,hideNextButton:f,hidePrevButton:p,renderItem:h,shape:y,showFirstButton:b,showLastButton:T,siblingCount:E,size:x,variant:C}),D=qE(k);return J.jsx(XE,N(w({"aria-label":"pagination navigation",className:ge(D.root,i),ownerState:k,ref:r},_),{children:J.jsx(KE,{className:D.ul,ownerState:k,children:O.map((V,R)=>J.jsx("li",{children:h(N(w({},V),{color:a,"aria-label":d(V.type,V.page,V.selected),shape:y,size:x,variant:C}))},R))})}))});process.env.NODE_ENV!=="production"&&(tg.propTypes={boundaryCount:Gt,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["primary","secondary","standard"]),u.string]),count:Gt,defaultPage:Gt,disabled:u.bool,getItemAriaLabel:u.func,hideNextButton:u.bool,hidePrevButton:u.bool,onChange:u.func,page:Gt,renderItem:u.func,shape:u.oneOf(["circular","rounded"]),showFirstButton:u.bool,showLastButton:u.bool,siblingCount:Gt,size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),variant:u.oneOfType([u.oneOf(["outlined","text"]),u.string])});const rg=e=>{const t=[],r=[];for(const n of e.columns)v.isMeasureColumn(n)?r.push(v.translateColumnToMeasure(n)):t.push(v.translateColumnToAttribute(n));return{attributes:t,measures:r}},ZE=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=Gc(),[s,l]=S.useState(br(e)?null:e),[c,d]=S.useState(!1),f=S.useRef(!0),{isInitialized:p,app:g}=v.useSisenseContext(),[m,h]=S.useState(t);return S.useEffect(()=>{var E;let y=!1;if(!t)return;const{attributes:b,measures:T}=rg(t);if(br(e)){if(!p){a(new F.TranslatableError("errors.chartNoSisenseContext"));return}if(!g||!f.current&&i>0)return;d(!0),((E=g.settings.queryCacheConfig)!=null&&E.enabled?F.executeQueryWithCache:F.executeQuery)({dataSource:e,dimensions:b,measures:T,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},g).then(C=>{if(y)return;f.current=C.rows.length>o;const _=f.current?C.rows.slice(0,o):C.rows;i>0?l(O=>{const k=O==null?void 0:O.rows.length,D=k?k>i?O.rows.slice(0,i):O.rows:null;return{columns:C.columns,rows:D?[...D,..._]:_}}):l({columns:C.columns,rows:_}),h(t)}).finally(()=>{d(!1)}).catch(C=>{y||a(C)})}else l(e),h(t);return()=>{y=!0}},[g,e,t,r,n,i,o,p,a]),[c?null:s,m]},JE=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=v.useSisenseContext();return S.useMemo(()=>{if(!e||!t)return null;let i=v.createDataTableFromData(Cl(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(l=>!v.isMeasureColumn(l)).map(v.translateColumnToAttribute),s=t.columns.filter(l=>v.isMeasureColumn(l)).map(v.translateColumnToMeasure);return V0(i,a,s,r),n&&(i=K0(i,a,s,r)),Z3(t,i)},[e,t,n,r,o])};function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fe.apply(null,arguments)}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e){"@babel/helpers - typeof";return ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ar(e)}function eT(e,t){if(ar(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ar(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ng(e){var t=eT(e,"string");return ar(t)=="symbol"?t:t+""}function ef(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ng(n.key),n)}}function Ie(e,t,r){return t&&ef(e.prototype,t),r&&ef(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tl(e,t){return Tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Tl(e,t)}function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tl(e,t)}function Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function st(e,t){if(t&&(ar(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(e)}function ve(e){return ve=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ve(e)}function Y(e,t,r){return(t=ng(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yt=function(t,r,n,o,i,a,s,l){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,o,i,a,s,l],f=0;c=new Error("Invariant Violation: "+r.replace(/%s/g,function(){return d[f++]}))}throw c.framesToPop=1,c}},mi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},tT=Array.isArray,Ft=tT,rT=typeof mi=="object"&&mi&&mi.Object===Object&&mi,og=rT,nT=og,oT=typeof self=="object"&&self&&self.Object===Object&&self,iT=nT||oT||Function("return this")(),Jt=iT,aT=Jt,sT=aT.Symbol,qo=sT,tf=qo,ig=Object.prototype,lT=ig.hasOwnProperty,cT=ig.toString,Kn=tf?tf.toStringTag:void 0;function uT(e){var t=lT.call(e,Kn),r=e[Kn];try{e[Kn]=void 0;var n=!0}catch(i){}var o=cT.call(e);return n&&(t?e[Kn]=r:delete e[Kn]),o}var dT=uT,fT=Object.prototype,pT=fT.toString;function hT(e){return pT.call(e)}var gT=hT,rf=qo,mT=dT,vT=gT,yT="[object Null]",bT="[object Undefined]",nf=rf?rf.toStringTag:void 0;function wT(e){return e==null?e===void 0?bT:yT:nf&&nf in Object(e)?mT(e):vT(e)}var Xr=wT;function xT(e){return e!=null&&typeof e=="object"}var Rr=xT,CT=Xr,ET=Rr,TT="[object Symbol]";function ST(e){return typeof e=="symbol"||ET(e)&&CT(e)==TT}var $a=ST,RT=Ft,_T=$a,MT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,OT=/^\w*$/;function kT(e,t){if(RT(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||_T(e)?!0:OT.test(e)||!MT.test(e)||t!=null&&e in Object(t)}var AT=kT;function PT(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Kr=PT,IT=Xr,DT=Kr,$T="[object AsyncFunction]",NT="[object Function]",LT="[object GeneratorFunction]",FT="[object Proxy]";function jT(e){if(!DT(e))return!1;var t=IT(e);return t==NT||t==LT||t==$T||t==FT}var ag=jT,BT=Jt,HT=BT["__core-js_shared__"],zT=HT,$s=zT,of=function(){var e=/[^.]+$/.exec($s&&$s.keys&&$s.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function WT(e){return!!of&&of in e}var VT=WT,UT=Function.prototype,GT=UT.toString;function YT(e){if(e!=null){try{return GT.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var sg=YT,qT=ag,XT=VT,KT=Kr,QT=sg,ZT=/[\\^$.*+?()[\]{}|]/g,JT=/^\[object .+?Constructor\]$/,eS=Function.prototype,tS=Object.prototype,rS=eS.toString,nS=tS.hasOwnProperty,oS=RegExp("^"+rS.call(nS).replace(ZT,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function iS(e){if(!KT(e)||XT(e))return!1;var t=qT(e)?oS:JT;return t.test(QT(e))}var aS=iS;function sS(e,t){return e==null?void 0:e[t]}var lS=sS,cS=aS,uS=lS;function dS(e,t){var r=uS(e,t);return cS(r)?r:void 0}var Qr=dS,fS=Qr,pS=fS(Object,"create"),Na=pS,af=Na;function hS(){this.__data__=af?af(null):{},this.size=0}var gS=hS;function mS(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vS=mS,yS=Na,bS="__lodash_hash_undefined__",wS=Object.prototype,xS=wS.hasOwnProperty;function CS(e){var t=this.__data__;if(yS){var r=t[e];return r===bS?void 0:r}return xS.call(t,e)?t[e]:void 0}var ES=CS,TS=Na,SS=Object.prototype,RS=SS.hasOwnProperty;function _S(e){var t=this.__data__;return TS?t[e]!==void 0:RS.call(t,e)}var MS=_S,OS=Na,kS="__lodash_hash_undefined__";function AS(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=OS&&t===void 0?kS:t,this}var PS=AS,IS=gS,DS=vS,$S=ES,NS=MS,LS=PS;function Dn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Dn.prototype.clear=IS;Dn.prototype.delete=DS;Dn.prototype.get=$S;Dn.prototype.has=NS;Dn.prototype.set=LS;var FS=Dn;function jS(){this.__data__=[],this.size=0}var BS=jS;function HS(e,t){return e===t||e!==e&&t!==t}var lg=HS,zS=lg;function WS(e,t){for(var r=e.length;r--;)if(zS(e[r][0],t))return r;return-1}var La=WS,VS=La,US=Array.prototype,GS=US.splice;function YS(e){var t=this.__data__,r=VS(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():GS.call(t,r,1),--this.size,!0}var qS=YS,XS=La;function KS(e){var t=this.__data__,r=XS(t,e);return r<0?void 0:t[r][1]}var QS=KS,ZS=La;function JS(e){return ZS(this.__data__,e)>-1}var eR=JS,tR=La;function rR(e,t){var r=this.__data__,n=tR(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var nR=rR,oR=BS,iR=qS,aR=QS,sR=eR,lR=nR;function $n(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}$n.prototype.clear=oR;$n.prototype.delete=iR;$n.prototype.get=aR;$n.prototype.has=sR;$n.prototype.set=lR;var Fa=$n,cR=Qr,uR=Jt,dR=cR(uR,"Map"),qc=dR,sf=FS,fR=Fa,pR=qc;function hR(){this.size=0,this.__data__={hash:new sf,map:new(pR||fR),string:new sf}}var gR=hR;function mR(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var vR=mR,yR=vR;function bR(e,t){var r=e.__data__;return yR(t)?r[typeof t=="string"?"string":"hash"]:r.map}var ja=bR,wR=ja;function xR(e){var t=wR(this,e).delete(e);return this.size-=t?1:0,t}var CR=xR,ER=ja;function TR(e){return ER(this,e).get(e)}var SR=TR,RR=ja;function _R(e){return RR(this,e).has(e)}var MR=_R,OR=ja;function kR(e,t){var r=OR(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var AR=kR,PR=gR,IR=CR,DR=SR,$R=MR,NR=AR;function Nn(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])}}Nn.prototype.clear=PR;Nn.prototype.delete=IR;Nn.prototype.get=DR;Nn.prototype.has=$R;Nn.prototype.set=NR;var cg=Nn,ug=cg,LR="Expected a function";function Xc(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(LR);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(Xc.Cache||ug),r}Xc.Cache=ug;var FR=Xc,jR=FR,BR=500;function HR(e){var t=jR(e,function(n){return r.size===BR&&r.clear(),n}),r=t.cache;return t}var zR=HR,WR=zR,VR=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,UR=/\\(\\)?/g,GR=WR(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(VR,function(r,n,o,i){t.push(o?i.replace(UR,"$1"):n||r)}),t}),YR=GR;function qR(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 XR=qR,lf=qo,KR=XR,QR=Ft,ZR=$a,JR=1/0,cf=lf?lf.prototype:void 0,uf=cf?cf.toString:void 0;function dg(e){if(typeof e=="string")return e;if(QR(e))return KR(e,dg)+"";if(ZR(e))return uf?uf.call(e):"";var t=e+"";return t=="0"&&1/e==-JR?"-0":t}var e_=dg,t_=e_;function r_(e){return e==null?"":t_(e)}var fg=r_,n_=Ft,o_=AT,i_=YR,a_=fg;function s_(e,t){return n_(e)?e:o_(e,t)?[e]:i_(a_(e))}var Ba=s_,l_=$a,c_=1/0;function u_(e){if(typeof e=="string"||l_(e))return e;var t=e+"";return t=="0"&&1/e==-c_?"-0":t}var Kc=u_,d_=Ba,f_=Kc;function p_(e,t){t=d_(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[f_(t[r++])];return r&&r==n?e:void 0}var pg=p_,h_=Qr,g_=function(){try{var e=h_(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),hg=g_,df=hg;function m_(e,t,r){t=="__proto__"&&df?df(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var gg=m_,v_=gg,y_=lg,b_=Object.prototype,w_=b_.hasOwnProperty;function x_(e,t,r){var n=e[t];(!(w_.call(e,t)&&y_(n,r))||r===void 0&&!(t in e))&&v_(e,t,r)}var Qc=x_,C_=9007199254740991,E_=/^(?:0|[1-9]\d*)$/;function T_(e,t){var r=typeof e;return t=t==null?C_:t,!!t&&(r=="number"||r!="symbol"&&E_.test(e))&&e>-1&&e%1==0&&e<t}var Zc=T_,S_=Qc,R_=Ba,__=Zc,ff=Kr,M_=Kc;function O_(e,t,r,n){if(!ff(e))return e;t=R_(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var l=M_(t[o]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=a){var d=s[l];c=n?n(d,l,s):void 0,c===void 0&&(c=ff(d)?d:__(t[o+1])?[]:{})}S_(s,l,c),s=s[l]}return e}var k_=O_,A_=pg,P_=k_,I_=Ba;function D_(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=A_(e,a);r(s,a)&&P_(i,I_(a,e),s)}return i}var $_=D_;function N_(e,t){return e!=null&&t in Object(e)}var L_=N_,F_=Xr,j_=Rr,B_="[object Arguments]";function H_(e){return j_(e)&&F_(e)==B_}var z_=H_,pf=z_,W_=Rr,mg=Object.prototype,V_=mg.hasOwnProperty,U_=mg.propertyIsEnumerable,G_=pf(function(){return arguments}())?pf:function(e){return W_(e)&&V_.call(e,"callee")&&!U_.call(e,"callee")},Ha=G_,Y_=9007199254740991;function q_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Y_}var Jc=q_,X_=Ba,K_=Ha,Q_=Ft,Z_=Zc,J_=Jc,e4=Kc;function t4(e,t,r){t=X_(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=e4(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&&J_(o)&&Z_(a,o)&&(Q_(e)||K_(e)))}var r4=t4,n4=L_,o4=r4;function i4(e,t){return e!=null&&o4(e,t,n4)}var a4=i4,s4=$_,l4=a4;function c4(e,t){return s4(e,t,function(r,n){return l4(e,n)})}var u4=c4;function d4(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var za=d4,hf=qo,f4=Ha,p4=Ft,gf=hf?hf.isConcatSpreadable:void 0;function h4(e){return p4(e)||f4(e)||!!(gf&&e&&e[gf])}var g4=h4,m4=za,v4=g4;function vg(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=v4),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?vg(s,t-1,r,n,o):m4(o,s):n||(o[o.length]=s)}return o}var yg=vg,y4=yg;function b4(e){var t=e==null?0:e.length;return t?y4(e,1):[]}var w4=b4;function x4(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 C4=x4,E4=C4,mf=Math.max;function T4(e,t,r){return t=mf(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=mf(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),E4(e,this,s)}}var S4=T4;function R4(e){return function(){return e}}var _4=R4;function M4(e){return e}var bg=M4,O4=_4,vf=hg,k4=bg,A4=vf?function(e,t){return vf(e,"toString",{configurable:!0,enumerable:!1,value:O4(t),writable:!0})}:k4,P4=A4,I4=800,D4=16,$4=Date.now;function N4(e){var t=0,r=0;return function(){var n=$4(),o=D4-(n-r);if(r=n,o>0){if(++t>=I4)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var L4=N4,F4=P4,j4=L4,B4=j4(F4),H4=B4,z4=w4,W4=S4,V4=H4;function U4(e){return V4(W4(e,void 0,z4),e+"")}var G4=U4,Y4=u4,q4=G4,X4=q4(function(e,t){return e==null?{}:Y4(e,t)}),lo=X4;function yf(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 bf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?yf(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function at(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 wf=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ns=function(){return Math.random().toString(36).substring(7).split("").join(".")},Br={INIT:"@@redux/INIT"+Ns(),REPLACE:"@@redux/REPLACE"+Ns(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ns()}};function wg(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 K4(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(J4(e))return"date";if(Z4(e))return"error";var r=Q4(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 Q4(e){return typeof e.constructor=="function"?e.constructor.name:null}function Z4(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function J4(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function pr(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=K4(e)),t}function xg(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"?at(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"?at(1):"Expected the enhancer to be a function. Instead, received: '"+pr(r)+"'");return r(xg)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?at(2):"Expected the root reducer to be a function. Instead, received: '"+pr(e)+"'");var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(process.env.NODE_ENV==="production"?at(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 f(h){if(typeof h!="function")throw new Error(process.env.NODE_ENV==="production"?at(4):"Expected the listener to be a function. Instead, received: '"+pr(h)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?at(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return c(),s.push(h),function(){if(y){if(l)throw new Error(process.env.NODE_ENV==="production"?at(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c();var T=s.indexOf(h);s.splice(T,1),a=null}}}function p(h){if(!wg(h))throw new Error(process.env.NODE_ENV==="production"?at(7):"Actions must be plain objects. Instead, the actual type was: '"+pr(h)+"'. 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 h.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?at(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?at(9):"Reducers may not dispatch actions.");try{l=!0,i=o(i,h)}finally{l=!1}for(var y=a=s,b=0;b<y.length;b++){var T=y[b];T()}return h}function g(h){if(typeof h!="function")throw new Error(process.env.NODE_ENV==="production"?at(10):"Expected the nextReducer to be a function. Instead, received: '"+pr(h));o=h,p({type:Br.REPLACE})}function m(){var h,y=f;return h={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(process.env.NODE_ENV==="production"?at(11):"Expected the observer to be an object. Instead, received: '"+pr(T)+"'");function E(){T.next&&T.next(d())}E();var x=y(E);return{unsubscribe:x}}},h[wf]=function(){return this},h}return p({type:Br.INIT}),n={dispatch:p,subscribe:f,getState:d,replaceReducer:g},n[wf]=m,n}function Sl(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function eM(e,t,r,n){var o=Object.keys(t),i=r&&r.type===Br.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(!wg(e))return"The "+i+' has unexpected type of "'+pr(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===Br.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 tM(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Br.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?at(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:Br.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?at(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+Br.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 rM(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"&&Sl('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{tM(r)}catch(l){s=l}return function(c,d){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var f=eM(c,r,d,a);f&&Sl(f)}for(var p=!1,g={},m=0;m<i.length;m++){var h=i[m],y=r[h],b=c[h],T=y(b,d);if(typeof T=="undefined"){var E=d&&d.type;throw new Error(process.env.NODE_ENV==="production"?at(14):"When called with an action of type "+(E?'"'+String(E)+'"':"(unknown type)")+', the slice reducer for key "'+h+'" 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.')}g[h]=T,p=p||T!==b}return p=p||i.length!==Object.keys(c).length,p?g:c}}function xf(e,t){return function(){return t(e.apply(this,arguments))}}function Cg(e,t){if(typeof e=="function")return xf(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?at(16):"bindActionCreators expected an object or a function, but instead received: '"+pr(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]=xf(o,t))}return r}function qi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function nM(){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"?at(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=qi.apply(void 0,s)(o.dispatch),bf(bf({},o),{},{dispatch:i})}}}function Cf(){}process.env.NODE_ENV!=="production"&&typeof Cf.name=="string"&&Cf.name!=="isCrushed"&&Sl('You are currently using minified code outside of NODE_ENV === "production". This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) to ensure you have the correct code for your production build.');var oM=Fa;function iM(){this.__data__=new oM,this.size=0}var aM=iM;function sM(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var lM=sM;function cM(e){return this.__data__.get(e)}var uM=cM;function dM(e){return this.__data__.has(e)}var fM=dM,pM=Fa,hM=qc,gM=cg,mM=200;function vM(e,t){var r=this.__data__;if(r instanceof pM){var n=r.__data__;if(!hM||n.length<mM-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new gM(n)}return r.set(e,t),this.size=r.size,this}var yM=vM,bM=Fa,wM=aM,xM=lM,CM=uM,EM=fM,TM=yM;function Ln(e){var t=this.__data__=new bM(e);this.size=t.size}Ln.prototype.clear=wM;Ln.prototype.delete=xM;Ln.prototype.get=CM;Ln.prototype.has=EM;Ln.prototype.set=TM;var SM=Ln;function RM(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var Eg=RM,_M=Qc,MM=gg;function OM(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=n?n(r[s],e[s],s,r,e):void 0;l===void 0&&(l=e[s]),o?MM(r,s,l):_M(r,s,l)}return r}var Wa=OM;function kM(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var AM=kM,Ro={exports:{}};function PM(){return!1}var IM=PM;(function(e,t){var r=Jt,n=IM,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a?r.Buffer:void 0,l=s?s.isBuffer:void 0,c=l||n;e.exports=c})(Ro,Ro.exports);var DM=Xr,$M=Jc,NM=Rr,LM="[object Arguments]",FM="[object Array]",jM="[object Boolean]",BM="[object Date]",HM="[object Error]",zM="[object Function]",WM="[object Map]",VM="[object Number]",UM="[object Object]",GM="[object RegExp]",YM="[object Set]",qM="[object String]",XM="[object WeakMap]",KM="[object ArrayBuffer]",QM="[object DataView]",ZM="[object Float32Array]",JM="[object Float64Array]",e5="[object Int8Array]",t5="[object Int16Array]",r5="[object Int32Array]",n5="[object Uint8Array]",o5="[object Uint8ClampedArray]",i5="[object Uint16Array]",a5="[object Uint32Array]",De={};De[ZM]=De[JM]=De[e5]=De[t5]=De[r5]=De[n5]=De[o5]=De[i5]=De[a5]=!0;De[LM]=De[FM]=De[KM]=De[jM]=De[QM]=De[BM]=De[HM]=De[zM]=De[WM]=De[VM]=De[UM]=De[GM]=De[YM]=De[qM]=De[XM]=!1;function s5(e){return NM(e)&&$M(e.length)&&!!De[DM(e)]}var l5=s5;function c5(e){return function(t){return e(t)}}var eu=c5,_o={exports:{}};(function(e,t){var r=og,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=s})(_o,_o.exports);var u5=l5,d5=eu,Ef=_o.exports,Tf=Ef&&Ef.isTypedArray,f5=Tf?d5(Tf):u5,Tg=f5,p5=AM,h5=Ha,g5=Ft,m5=Ro.exports,v5=Zc,y5=Tg,b5=Object.prototype,w5=b5.hasOwnProperty;function x5(e,t){var r=g5(e),n=!r&&h5(e),o=!r&&!n&&m5(e),i=!r&&!n&&!o&&y5(e),a=r||n||o||i,s=a?p5(e.length,String):[],l=s.length;for(var c in e)(t||w5.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||v5(c,l)))&&s.push(c);return s}var Sg=x5,C5=Object.prototype;function E5(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||C5;return e===r}var Va=E5;function T5(e,t){return function(r){return e(t(r))}}var Rg=T5,S5=Rg,R5=S5(Object.keys,Object),_5=R5,M5=Va,O5=_5,k5=Object.prototype,A5=k5.hasOwnProperty;function P5(e){if(!M5(e))return O5(e);var t=[];for(var r in Object(e))A5.call(e,r)&&r!="constructor"&&t.push(r);return t}var tu=P5,I5=ag,D5=Jc;function $5(e){return e!=null&&D5(e.length)&&!I5(e)}var Xo=$5,N5=Sg,L5=tu,F5=Xo;function j5(e){return F5(e)?N5(e):L5(e)}var Ua=j5,B5=Wa,H5=Ua;function z5(e,t){return e&&B5(t,H5(t),e)}var W5=z5;function V5(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var U5=V5,G5=Kr,Y5=Va,q5=U5,X5=Object.prototype,K5=X5.hasOwnProperty;function Q5(e){if(!G5(e))return q5(e);var t=Y5(e),r=[];for(var n in e)n=="constructor"&&(t||!K5.call(e,n))||r.push(n);return r}var Z5=Q5,J5=Sg,eO=Z5,tO=Xo;function rO(e){return tO(e)?J5(e,!0):eO(e)}var ru=rO,nO=Wa,oO=ru;function iO(e,t){return e&&nO(t,oO(t),e)}var aO=iO,Rl={exports:{}};(function(e,t){var r=Jt,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===n,a=i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(c,d){if(d)return c.slice();var f=c.length,p=s?s(f):new c.constructor(f);return c.copy(p),p}e.exports=l})(Rl,Rl.exports);function sO(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var _g=sO;function lO(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 cO=lO;function uO(){return[]}var Mg=uO,dO=cO,fO=Mg,pO=Object.prototype,hO=pO.propertyIsEnumerable,Sf=Object.getOwnPropertySymbols,gO=Sf?function(e){return e==null?[]:(e=Object(e),dO(Sf(e),function(t){return hO.call(e,t)}))}:fO,nu=gO,mO=Wa,vO=nu;function yO(e,t){return mO(e,vO(e),t)}var bO=yO,wO=Rg,xO=wO(Object.getPrototypeOf,Object),Og=xO,CO=za,EO=Og,TO=nu,SO=Mg,RO=Object.getOwnPropertySymbols,_O=RO?function(e){for(var t=[];e;)CO(t,TO(e)),e=EO(e);return t}:SO,kg=_O,MO=Wa,OO=kg;function kO(e,t){return MO(e,OO(e),t)}var AO=kO,PO=za,IO=Ft;function DO(e,t,r){var n=t(e);return IO(e)?n:PO(n,r(e))}var Ag=DO,$O=Ag,NO=nu,LO=Ua;function FO(e){return $O(e,LO,NO)}var jO=FO,BO=Ag,HO=kg,zO=ru;function WO(e){return BO(e,zO,HO)}var VO=WO,UO=Qr,GO=Jt,YO=UO(GO,"DataView"),qO=YO,XO=Qr,KO=Jt,QO=XO(KO,"Promise"),ZO=QO,JO=Qr,ek=Jt,tk=JO(ek,"Set"),rk=tk,nk=Qr,ok=Jt,ik=nk(ok,"WeakMap"),ak=ik,_l=qO,Ml=qc,Ol=ZO,kl=rk,Al=ak,Pg=Xr,Fn=sg,Rf="[object Map]",sk="[object Object]",_f="[object Promise]",Mf="[object Set]",Of="[object WeakMap]",kf="[object DataView]",lk=Fn(_l),ck=Fn(Ml),uk=Fn(Ol),dk=Fn(kl),fk=Fn(Al),Ir=Pg;(_l&&Ir(new _l(new ArrayBuffer(1)))!=kf||Ml&&Ir(new Ml)!=Rf||Ol&&Ir(Ol.resolve())!=_f||kl&&Ir(new kl)!=Mf||Al&&Ir(new Al)!=Of)&&(Ir=function(e){var t=Pg(e),r=t==sk?e.constructor:void 0,n=r?Fn(r):"";if(n)switch(n){case lk:return kf;case ck:return Rf;case uk:return _f;case dk:return Mf;case fk:return Of}return t});var Ko=Ir,pk=Object.prototype,hk=pk.hasOwnProperty;function gk(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&hk.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var mk=gk,vk=Jt,yk=vk.Uint8Array,bk=yk,Af=bk;function wk(e){var t=new e.constructor(e.byteLength);return new Af(t).set(new Af(e)),t}var ou=wk,xk=ou;function Ck(e,t){var r=t?xk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Ek=Ck,Tk=/\w*$/;function Sk(e){var t=new e.constructor(e.source,Tk.exec(e));return t.lastIndex=e.lastIndex,t}var Rk=Sk,Pf=qo,If=Pf?Pf.prototype:void 0,Df=If?If.valueOf:void 0;function _k(e){return Df?Object(Df.call(e)):{}}var Mk=_k,Ok=ou;function kk(e,t){var r=t?Ok(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Ak=kk,Pk=ou,Ik=Ek,Dk=Rk,$k=Mk,Nk=Ak,Lk="[object Boolean]",Fk="[object Date]",jk="[object Map]",Bk="[object Number]",Hk="[object RegExp]",zk="[object Set]",Wk="[object String]",Vk="[object Symbol]",Uk="[object ArrayBuffer]",Gk="[object DataView]",Yk="[object Float32Array]",qk="[object Float64Array]",Xk="[object Int8Array]",Kk="[object Int16Array]",Qk="[object Int32Array]",Zk="[object Uint8Array]",Jk="[object Uint8ClampedArray]",eA="[object Uint16Array]",tA="[object Uint32Array]";function rA(e,t,r){var n=e.constructor;switch(t){case Uk:return Pk(e);case Lk:case Fk:return new n(+e);case Gk:return Ik(e,r);case Yk:case qk:case Xk:case Kk:case Qk:case Zk:case Jk:case eA:case tA:return Nk(e,r);case jk:return new n;case Bk:case Wk:return new n(e);case Hk:return Dk(e);case zk:return new n;case Vk:return $k(e)}}var nA=rA,oA=Kr,$f=Object.create,iA=function(){function e(){}return function(t){if(!oA(t))return{};if($f)return $f(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),aA=iA,sA=aA,lA=Og,cA=Va;function uA(e){return typeof e.constructor=="function"&&!cA(e)?sA(lA(e)):{}}var dA=uA,fA=Ko,pA=Rr,hA="[object Map]";function gA(e){return pA(e)&&fA(e)==hA}var mA=gA,vA=mA,yA=eu,Nf=_o.exports,Lf=Nf&&Nf.isMap,bA=Lf?yA(Lf):vA,wA=bA,xA=Ko,CA=Rr,EA="[object Set]";function TA(e){return CA(e)&&xA(e)==EA}var SA=TA,RA=SA,_A=eu,Ff=_o.exports,jf=Ff&&Ff.isSet,MA=jf?_A(jf):RA,OA=MA,kA=SM,AA=Eg,PA=Qc,IA=W5,DA=aO,$A=Rl.exports,NA=_g,LA=bO,FA=AO,jA=jO,BA=VO,HA=Ko,zA=mk,WA=nA,VA=dA,UA=Ft,GA=Ro.exports,YA=wA,qA=Kr,XA=OA,KA=Ua,QA=ru,ZA=1,JA=2,eP=4,Ig="[object Arguments]",tP="[object Array]",rP="[object Boolean]",nP="[object Date]",oP="[object Error]",Dg="[object Function]",iP="[object GeneratorFunction]",aP="[object Map]",sP="[object Number]",$g="[object Object]",lP="[object RegExp]",cP="[object Set]",uP="[object String]",dP="[object Symbol]",fP="[object WeakMap]",pP="[object ArrayBuffer]",hP="[object DataView]",gP="[object Float32Array]",mP="[object Float64Array]",vP="[object Int8Array]",yP="[object Int16Array]",bP="[object Int32Array]",wP="[object Uint8Array]",xP="[object Uint8ClampedArray]",CP="[object Uint16Array]",EP="[object Uint32Array]",Oe={};Oe[Ig]=Oe[tP]=Oe[pP]=Oe[hP]=Oe[rP]=Oe[nP]=Oe[gP]=Oe[mP]=Oe[vP]=Oe[yP]=Oe[bP]=Oe[aP]=Oe[sP]=Oe[$g]=Oe[lP]=Oe[cP]=Oe[uP]=Oe[dP]=Oe[wP]=Oe[xP]=Oe[CP]=Oe[EP]=!0;Oe[oP]=Oe[Dg]=Oe[fP]=!1;function Ai(e,t,r,n,o,i){var a,s=t&ZA,l=t&JA,c=t&eP;if(r&&(a=o?r(e,n,o,i):r(e)),a!==void 0)return a;if(!qA(e))return e;var d=UA(e);if(d){if(a=zA(e),!s)return NA(e,a)}else{var f=HA(e),p=f==Dg||f==iP;if(GA(e))return $A(e,s);if(f==$g||f==Ig||p&&!o){if(a=l||p?{}:VA(e),!s)return l?FA(e,DA(a,e)):LA(e,IA(a,e))}else{if(!Oe[f])return o?e:{};a=WA(e,f,s)}}i||(i=new kA);var g=i.get(e);if(g)return g;i.set(e,a),XA(e)?e.forEach(function(y){a.add(Ai(y,t,r,y,e,i))}):YA(e)&&e.forEach(function(y,b){a.set(b,Ai(y,t,r,b,e,i))});var m=c?l?BA:jA:l?QA:KA,h=d?void 0:m(e);return AA(h||e,function(y,b){h&&(b=y,y=e[b]),PA(a,b,Ai(y,t,r,b,e,i))}),a}var TP=Ai,SP=TP,RP=4;function _P(e){return SP(e,RP)}var MP=_P;function OP(e,t){return e<t}var vi=function(){function e(t,r){Pe(this,e),this._items=t||[],this._size=this._items.length,this._comparator=r||OP,this._heapify()}return Ie(e,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var r=this._items[0],n=this._items.pop();return this._size--,this._size>0&&(this._items[0]=n,this._sinkDown(0)),r}}},{key:"push",value:function(r){this._items[this._size++]=r,this._bubbleUp(this._size-1)}},{key:"size",value:function(){return this._size}},{key:"peek",value:function(){if(this._size!==0)return this._items[0]}},{key:"_heapify",value:function(){for(var r=Math.floor((this._size+1)/2);r>=0;r--)this._sinkDown(r)}},{key:"_bubbleUp",value:function(r){for(var n=this._items[r];r>0;){var o=Math.floor((r+1)/2)-1,i=this._items[o];if(this._comparator(i,n))return;this._items[o]=n,this._items[r]=i,r=o}}},{key:"_sinkDown",value:function(r){for(var n=this._items[r];;){var o=2*(r+1)-1,i=2*(r+1),a=-1;if(o<this._size){var s=this._items[o];this._comparator(s,n)&&(a=o)}if(i<this._size){var l=this._items[i];this._comparator(l,n)&&(a===-1||this._comparator(l,this._items[a]))&&(a=i)}if(a===-1)return;this._items[r]=this._items[a],this._items[a]=n,r=a}}}]),e}(),Ng=function(){function e(){Pe(this,e),this._valueToPositionMap={},this._size=0,this._smallValues=new vi([],this._smallerComparator),this._largeValues=new vi([],this._greaterComparator),this.getNewPositionForValue=this.getNewPositionForValue.bind(this),this.getValuePosition=this.getValuePosition.bind(this),this.getSize=this.getSize.bind(this),this.replaceFurthestValuePosition=this.replaceFurthestValuePosition.bind(this)}return Ie(e,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(r){return this._valueToPositionMap[r]===void 0?null:this._valueToPositionMap[r]}},{key:"getNewPositionForValue",value:function(r){Yt(this._valueToPositionMap[r]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var n=this._size;return this._size++,this._pushToHeaps(n,r),this._valueToPositionMap[r]=n,n}},{key:"replaceFurthestValuePosition",value:function(r,n,o){if(Yt(this._valueToPositionMap[o]===void 0,"Shouldn't try to replace values with value already stored value in BufferSet"),this._cleanHeaps(),this._smallValues.empty()||this._largeValues.empty())return null;var i=this._smallValues.peek().value,a=this._largeValues.peek().value;if(i>=r&&a<=n)return null;var s;r-i>a-n?(s=i,this._smallValues.pop()):(s=a,this._largeValues.pop());var l=this._valueToPositionMap[s];return delete this._valueToPositionMap[s],this._valueToPositionMap[o]=l,this._pushToHeaps(l,o),l}},{key:"_pushToHeaps",value:function(r,n){var o={position:r,value:n};this._smallValues.push(o),this._largeValues.push(o)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var r=Math.min(this._smallValues.size(),this._largeValues.size()),n=Math.max(this._smallValues.size(),this._largeValues.size());n>10*r&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var r=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,n=new vi([],this._smallerComparator),o=new vi([],this._greaterComparator);!r.empty();){var i=r.pop();this._valueToPositionMap[i.value]!==void 0&&(n.push(i),o.push(i))}this._smallValues=n,this._largeValues=o}},{key:"_cleanHeap",value:function(r){for(;!r.empty()&&this._valueToPositionMap[r.peek().value]===void 0;)r.pop()}},{key:"_smallerComparator",value:function(r,n){return r.value<n.value}},{key:"_greaterComparator",value:function(r,n){return r.value>n.value}}]),e}(),ut=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ls=function(t){return Math.floor(t/2)},kP=ut.Int32Array||function(e){for(var t=[],r=e-1;r>=0;--r)t[r]=0;return t};function AP(e){for(var t=1;t<e;)t*=2;return t}var PP=function(){function e(t){Pe(this,e),this._size=t.length,this._half=AP(this._size),this._heap=new kP(2*this._half);var r;for(r=0;r<this._size;++r)this._heap[this._half+r]=t[r];for(r=this._half-1;r>0;--r)this._heap[r]=this._heap[2*r]+this._heap[2*r+1]}return Ie(e,[{key:"set",value:function(r,n){Yt(0<=r&&r<this._size,"Index out of range %s",r);var o=this._half+r;for(this._heap[o]=n,o=Ls(o);o!==0;o=Ls(o))this._heap[o]=this._heap[2*o]+this._heap[2*o+1]}},{key:"get",value:function(r){Yt(0<=r&&r<this._size,"Index out of range %s",r);var n=this._half+r;return this._heap[n]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(r){if(Yt(0<=r&&r<this._size+1,"Index out of range %s",r),r===0)return 0;for(var n=this._half+r-1,o=this._heap[n];n!==1;n=Ls(n))n%2===1&&(o+=this._heap[n-1]);return o}},{key:"sumTo",value:function(r){return Yt(0<=r&&r<this._size,"Index out of range %s",r),this.sumUntil(r+1)}},{key:"sum",value:function(r,n){return Yt(r<=n,"Begin must precede end"),this.sumUntil(n)-this.sumUntil(r)}},{key:"greatestLowerBound",value:function(r){if(r<0)return-1;var n=1;if(this._heap[n]<=r)return this._size;for(;n<this._half;){var o=this._heap[2*n];r<o?n=2*n:(n=2*n+1,r-=o)}return n-this._half}},{key:"greatestStrictLowerBound",value:function(r){if(r<=0)return-1;var n=1;if(this._heap[n]<r)return this._size;for(;n<this._half;){var o=this._heap[2*n];r<=o?n=2*n:(n=2*n+1,r-=o)}return n-this._half}},{key:"leastUpperBound",value:function(r){return this.greatestStrictLowerBound(r)+1}},{key:"leastStrictUpperBound",value:function(r){return this.greatestLowerBound(r)+1}}],[{key:"uniform",value:function(r,n){for(var o=[],i=r-1;i>=0;--i)o[i]=n;return new e(o)}},{key:"empty",value:function(r){return e.uniform(r,0)}}]),e}();function Mo(e,t){if(e===t)return!0;if(ar(e)!=="object"||e===null||ar(t)!=="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!o(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}var ce={FIXED:"fixed",FIXED_RIGHT:"fixedRight",SCROLLABLE:"scrollable"};function Pl(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=IP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
245
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function IP(e,t){if(e){if(typeof e=="string")return Bf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bf(e,t)}}function Bf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fs(e){var t=e.props,r=t.align,n=t.allowCellsRecycling,o=t.cellClassName,i=t.columnKey,a=t.flexGrow,s=t.fixed,l=t.fixedRight,c=t.maxWidth,d=t.minWidth,f=t.isReorderable,p=t.isResizable,g=t.pureRendering,m=t.width;return{align:r,allowCellsRecycling:n,cellClassName:o,columnKey:i,flexGrow:a,fixed:s,fixedRight:l,maxWidth:c,minWidth:d,isReorderable:f,isResizable:p,pureRendering:g,width:m}}function Hf(e,t){e.cell.push(t.props.cell),e.footer.push(t.props.footer),e.header.push(t.props.header)}function Il(e){var t,r;return e!=null&&(t=e.props)!==null&&t!==void 0&&t.fixed?ce.FIXED:e!=null&&(r=e.props)!==null&&r!==void 0&&r.fixedRight?ce.FIXED_RIGHT:ce.SCROLLABLE}function Oo(){var e;return e={},Y(e,ce.FIXED,[]),Y(e,ce.SCROLLABLE,[]),Y(e,ce.FIXED_RIGHT,[]),e}function DP(){return{groupHeader:[],header:[],cell:[],footer:[]}}function zf(e){var t=Oo(),r=Pl(e),n;try{for(r.s();!(n=r.n()).done;){var o=n.value,i=Il(o);t[i].push(o)}}catch(s){r.e(s)}finally{r.f()}var a=[];return a.push.apply(a,t[ce.FIXED]),a.push.apply(a,t[ce.SCROLLABLE]),a.push.apply(a,t[ce.FIXED_RIGHT]),a}function Wf(e,t){return t===ce.FIXED?e[ce.FIXED].length:t===ce.SCROLLABLE?e[ce.FIXED].length+e[ce.SCROLLABLE].length:e[ce.FIXED].length+e[ce.SCROLLABLE].length+e[ce.FIXED_RIGHT].length}function $P(e){var t,r,n=[];S.Children.forEach(e,function(g,m){g!=null&&(Yt(g.type.__TableColumnGroup__||g.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),n.push(g))});var o=Oo(),i=Oo(),a=DP(),s=(t=(r=n[0])===null||r===void 0?void 0:r.type.__TableColumnGroup__)!==null&&t!==void 0?t:!1;if(s)(function(){var g=0,m=Pl(zf(n)),h;try{var y=function(){var T=h.value,E=Il(T),x=Fs(T);x.index=Wf(i,E),i[E].push(x),a.groupHeader.push(T.props.header),S.Children.forEach(T.props.children,function(C){var _=Fs(C);_.index=g++,_.groupIdx=x.index,o[E].push(_),Hf(a,C)})};for(m.s();!(h=m.n()).done;)y()}catch(b){m.e(b)}finally{m.f()}})();else{var l=Pl(zf(n)),c;try{for(l.s();!(c=l.n()).done;){var d=c.value,f=Il(d),p=Fs(d);p.index=Wf(o,f),o[f].push(p),Hf(a,d)}}catch(g){l.e(g)}finally{l.f()}}return{columnGroupElements:i,columnElements:o,elementTemplates:a,useGroupHeader:s}}function Ga(e,t,r){return e<t?t:e>r?r:e}var Xi="NOT_FOUND";function NP(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Xi},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function LP(e,t){var r=[];function n(s){var l=r.findIndex(function(d){return t(s,d.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Xi}function o(s,l){n(s)===Xi&&(r.unshift({key:s,value:l}),r.length>e&&r.pop())}function i(){return r}function a(){r=[]}return{get:n,put:o,getEntries:i,clear:a}}var FP=function(t,r){return t===r};function jP(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 BP(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?FP:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,l=jP(o),c=a===1?NP(l):LP(a,l);function d(){var f=c.get(arguments);if(f===Xi){if(f=e.apply(null,arguments),s){var p=c.getEntries(),g=p.find(function(m){return s(m.value,f)});g&&(f=g.value)}c.put(arguments,f)}return f}return d.clearCache=function(){return c.clear()},d}function HP(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 zP(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var c=0,d,f={memoizeOptions:void 0},p=s.pop();if(typeof p=="object"&&(f=p,p=s.pop()),typeof p!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof p+"]");var g=f,m=g.memoizeOptions,h=m===void 0?r:m,y=Array.isArray(h)?h:[h],b=HP(s),T=e.apply(void 0,[function(){return c++,p.apply(null,arguments)}].concat(y)),E=e(function(){for(var C=[],_=b.length,O=0;O<_;O++)C.push(b[O].apply(null,arguments));return d=T.apply(null,C),d});return Object.assign(E,{resultFunc:p,memoizedResultFunc:T,dependencies:b,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),E};return o}var Ya=zP(BP),ur=Ya;function WP(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=VP(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
246
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function VP(e,t){if(e){if(typeof e=="string")return Vf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vf(e,t)}}function Vf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Lg=[],UP={},iu={memoizeOptions:{maxSize:12}},Pi=Ya(function(e){return e||Lg},function(e){return e.reduce(function(t,r){return t+r.props.width},0)},iu),bn=Ya(function(e){return e||Lg},function(e){return e.reduce(function(t,r){return t+r.width},0)},iu);function Fg(e){return bn(e.fixed)+bn(e.fixedRight)+bn(e.scrollable)}var GP=Ya(function(e){return e||UP},function(e){var t=Array.prototype.concat.call(e.fixed,e.scrollable,e.fixedRight),r=0,n=WP(t),o;try{for(n.s();!(o=n.n()).done;){var i=o.value;r+=i.flexGrow||0}}catch(a){n.e(a)}finally{n.f()}return r},iu),YP=1,qP=3,XP=6,vr={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};function KP(e,t,r,n,o,i,a){var s=t.cellGroupWrapperHeight,l=t.footerHeight,c=t.headerHeight,d=t.groupHeaderHeight,f=s?0:2*YP,p=l+c+d+f,g=o.height,m=o.maxHeight,h=o.useMaxHeight,y=o.width,b=Math.round(h?m:g),T=b-p,E=QP(e,n,y,a),x=T,C=T;switch(E){case vr.VISIBLE:{x-=i,C-=i;break}case vr.JOINT_SCROLLBARS:{x-=i;break}}return{bufferRowCount:ZP(C,r),minAvailableHeight:Math.max(x,0),maxAvailableHeight:Math.max(C,0),reservedHeight:p,scrollStateX:E}}function QP(e,t,r,n){var o=t.overflowX,i=t.showScrollbarX,a=Fg(e);return o==="hidden"||i===!1?vr.HIDDEN:a>r?vr.VISIBLE:a>r-n?vr.JOINT_SCROLLBARS:vr.HIDDEN}function ZP(e,t){var r=t.bufferRowCount,n=t.rowHeight,o=t.subRowHeight;if(r!==void 0)return r;var i=n+o,a=Math.ceil(e/i)+1;return Ga(Math.floor(a/2),qP,XP)}var au=ur([function(e){return e.columnElements},function(e){return e.elementHeights},function(e){return e.rowSettings},function(e){return e.scrollFlags},function(e){return e.tableSize},function(e){return e.scrollbarXHeight},function(e){return e.scrollbarYWidth}],KP);function JP(e,t,r){var n=r.overflowY,o=r.showScrollbarY,i=n!=="hidden"&&o!==!1,a=e.minAvailableHeight,s=e.maxAvailableHeight,l=e.scrollStateX,c=!1,d=!1;l===vr.VISIBLE&&(d=!0),i&&t>s&&(c=!0),c&&l===vr.JOINT_SCROLLBARS&&(d=!0);var f=s;return d&&(f=a),{availableHeight:f,scrollEnabledX:d,scrollEnabledY:c}}var Vr=ur([au,function(e){return e.scrollContentHeight},function(e){return e.scrollFlags}],JP);function Lr(e,t){var r=e.rowSettings,n=e.getInternal(),o=n.storedHeights,i=n.rowOffsetIntervalTree,a=r.rowHeightGetter,s=r.subRowHeightGetter,l=a(t)+s(t),c=o[t];return l!==c&&(i.set(t,l),o[t]=l,e.scrollContentHeight+=l-c),o[t]}function Uf(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?eI(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?Dl(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function Dl(e,t){var r=Vr(e),n=r.availableHeight,o=e.rowSettings,i=e.scrollContentHeight,a=e.getInternal(),s=a.rowOffsetIntervalTree,l=o.rowsCount;if(e.rowSettings.rowHeightGetter!=null&&e.isVerticalScrollExact){for(var c=e.getInternal(),d=c.rowUntilOffsetsAreExact;d<l;)Lr(e,d++);e.getInternal().rowUntilOffsetsAreExact=l}if(l===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var f=0,p=0,g=void 0;if(!(t<=0))if(t>=i-n)f=void 0,g=l-1;else{var m=s.greatestLowerBound(t);f=Ga(m,0,Math.max(l-1,0));var h=s.sumUntil(f);p=h-t}return{firstIndex:f,firstOffset:p,lastIndex:g,changed:!0}}function eI(e,t){var r=Vr(e),n=r.availableHeight,o=e.rowSettings,i=e.scrollY,a=e.getInternal(),s=a.rowOffsetIntervalTree,l=a.storedHeights,c=o.rowsCount;if(c===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=Ga(t,0,Math.max(c-1,0)),Lr(e,t);var d=s.sumUntil(t),f=d+l[t],p=t,g=void 0;if(!(d<i))if(i+n<f)p=void 0,g=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:p,firstOffset:0,lastIndex:g,changed:!0}}function tI(e){return e==null}var go=tI;function rI(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var nI=rI,oI=/\s/;function iI(e){for(var t=e.length;t--&&oI.test(e.charAt(t)););return t}var aI=iI,sI=aI,lI=/^\s+/;function cI(e){return e&&e.slice(0,sI(e)+1).replace(lI,"")}var uI=cI,dI=uI,Gf=Kr,fI=$a,Yf=NaN,pI=/^[-+]0x[0-9a-f]+$/i,hI=/^0b[01]+$/i,gI=/^0o[0-7]+$/i,mI=parseInt;function vI(e){if(typeof e=="number")return e;if(fI(e))return Yf;if(Gf(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Gf(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=dI(e);var r=hI.test(e);return r||gI.test(e)?mI(e.slice(2),r?2:8):pI.test(e)?Yf:+e}var su=vI,yI=nI,js=su;function bI(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=js(r),r=r===r?r:0),t!==void 0&&(t=js(t),t=t===t?t:0),yI(js(e),t,r)}var qa=bI,wI=za,xI=yg,CI=_g,EI=Ft;function TI(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return wI(EI(r)?CI(r):[r],xI(t,1))}var qf=TI;function Xf(e,t){var r=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=SI(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
247
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function SI(e,t){if(e){if(typeof e=="string")return Kf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kf(e,t)}}function Kf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RI(e,t,r,n,o){var i=r?o:0,a=n-i,s=_I(e,t,a),l=s.columnGroupElements,c=s.columnElements,d=Qf(c),f=d.fixed,p=d.fixedRight,g=d.scrollable,m=Qf(l),h=m.fixed,y=m.fixedRight,b=m.scrollable,T=bn(f),E=bn(p),x=bn(g),C=a-T-E,_=Math.max(0,T+E+x-a);return{columnGroupProps:qf(h,b,y),columnProps:qf(f,g,p),availableScrollWidth:C,fixedColumns:f,fixedRightColumns:p,scrollableColumns:g,fixedColumnGroups:h,fixedRightColumnGroups:y,scrollableColumnGroups:b,maxScrollX:_}}function _I(e,t,r){var n=Oo(),o=Oo(),i=Fg(t),a=GP(t),s=Math.max(r-i,0),l=[];for(var c in t){var d=t[c],f=0,p=0,g=Xf(d),m;try{for(g.s();!(m=g.n()).done;){var h=m.value,y=h.flexGrow||0,b=0;y&&(b=Math.floor(y*s/a));var T=h.width+b;a-=y,s-=b;var E=Fe({},h,{width:T,offset:f});f+=T,l[h.groupIdx]=T+(l[h.groupIdx]||0),o[c][p]=E,p++}}catch(A){g.e(A)}finally{g.f()}}for(var x in e){var C=e[x],_=0,O=0,k=Xf(C),D;try{for(k.s();!(D=k.n()).done;){var j=D.value,V=l[j.index],R=Fe({},j,{width:V,offset:_});_+=V,n[x][O]=R,O++}}catch(A){k.e(A)}finally{k.f()}}return{columnGroupElements:n,columnElements:o}}function Qf(e){return{fixed:e.fixed,fixedRight:e.fixedRight,scrollable:e.scrollable}}var Qo=ur([function(e){return e.columnGroupElements},function(e){return e.columnElements},function(e){return Vr(e).scrollEnabledY},function(e){return e.tableSize.width},function(e){return e.scrollbarYWidth}],RI);function MI(e,t,r){var n=t.scrollLeft,o=e.scrollX;n!==void 0&&(!r||n!==r.scrollLeft)&&(o=n),o=OI(e,t,r.scrollToColumn,o);var i=Qo(e),a=i.maxScrollX;o=qa(o,0,a),Fe(e,{maxScrollX:a,scrollX:o})}function OI(e,t,r,n){var o=t.scrollToColumn;if(go(o))return n;var i=Qo(e),a=i.availableScrollWidth,s=i.fixedColumns,l=i.scrollableColumns,c=s.length,d=l.length,f=d===0,p=o===r,g=o<c,m=o>=c+d;if(p||g||m||f)return n;for(var h=Math.min(o-c,l.length-1),y=0,b=0;b<h;++b)y+=l[b].width;var T=l[h].width,E=y+T-a;return n<E?E:n>y?y:n}var Zf={initialize:MI};function kI(e,t,r,n,o,i,a){var s=o.availableHeight,l=o.scrollEnabledX,c=r;l&&(c+=a);var d=Math.min(s,n),f=i?d:s,p=f+c,g=f;t<p&&(g=t-c);var m=i?n:Math.max(n,s),h=m+c;t&&(h=Math.max(t,h));var y=e.footerHeight,b=e.groupHeaderHeight,T=e.headerHeight,E=b+T,x=E+g,C=x+y,_=Math.max(0,x-E);return{bodyHeight:d,bodyOffsetTop:E,componentHeight:p,contentHeight:h,footOffsetTop:x,scrollbarXOffsetTop:C,scrollbarYHeight:_,visibleRowsHeight:g}}var gn=ur([function(e){return e.elementHeights},function(e){return e.tableSize.ownerHeight},function(e){return au(e).reservedHeight},function(e){return e.scrollContentHeight},Vr,function(e){return e.tableSize.useMaxHeight},function(e){return e.scrollbarXHeight}],kI);function Qn(e,t){var r=Jf(e,t),n=e.rowSettings,o=e.scrollContentHeight,i=n.rowsCount,a=gn(e),s=a.bodyHeight,l=o-s,c;l===0?(r.firstViewportIdx>0&&(r=Jf(e,{firstOffset:0,lastIndex:i-1})),c=0):c=r.firstOffset;var d=r.firstViewportIdx,f=r.endViewportIdx;AI(e,r,e.scrolling);var p=0;i>0&&(p=e.rowOffsets[r.firstViewportIdx]-c),p=qa(p,0,l),Fe(e,{firstRowIndex:d,firstRowOffset:c,endRowIndex:f,maxScrollY:l,scrollY:p})}function Jf(e,t){var r=au(e),n=r.bufferRowCount,o=r.maxAvailableHeight,i=e.rowSettings.rowsCount;if(i===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var a=t.firstIndex,s=t.firstOffset,l=t.lastIndex;(a>=i||l>=i)&&(l=i-1);var c=1,d=a,f=s;l!==void 0&&(c=-1,d=l,f=0);for(var p=d,g=p;p<i&&p>=0&&f<o;)f+=Lr(e,p),g=p,p+=c;var m=!1;if(f<o&&p===i&&l===void 0)for(m=!0,p=a-1;p>=0&&f<o;)f+=Lr(e,p),d=p,--p;var h=Math.min(d,g),y=Math.max(h-n,0);for(p=y;p<h;p++)Lr(e,p);var b=Math.max(d,g)+1,T=Math.min(b+n,i);for(p=b;p<T;p++)Lr(e,p);var E=Vr(e),x=E.availableHeight;if(l!==void 0||m){s=s+Math.min(x-f,0);var C=e.getInternal(),_=C.storedHeights;-1*s>=_[h]&&(h+=1,s+=_[h])}return{endBufferIdx:T,endViewportIdx:b,firstBufferIdx:y,firstOffset:s,firstViewportIdx:h}}function AI(e,t,r){var n=e.getInternal(),o=n.rowBufferSet,i=n.rowOffsetIntervalTree,a=n.storedHeights,s=t.endBufferIdx,l=t.endViewportIdx,c=t.firstBufferIdx,d=t.firstViewportIdx,f=s-c;if(f===0){e.rowOffsets={},e.rows=[];return}for(var p=r?d:c,g=r?l:s,m=[],h={},y=i.sumUntil(p),b=p;b<g;b++){h[b]=y,y+=a[b];var T=PI(b,o,p,g,f);m[T]=b}e.rows=m,e.rowOffsets=h}function PI(e,t,r,n,o){var i=t.getValuePosition(e);return i===null&&t.getSize()>=o&&(i=t.replaceFurthestValuePosition(r,n-1,e)),i===null&&(i=t.getNewPositionForValue(e)),i}var $l={exports:{}},Ki={exports:{}},Ce={};/** @license React v16.13.1
|
|
248
|
-
* react-is.production.min.js
|
|
249
|
-
*
|
|
250
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
251
|
-
*
|
|
252
|
-
* This source code is licensed under the MIT license found in the
|
|
253
|
-
* LICENSE file in the root directory of this source tree.
|
|
254
|
-
*/var ot=typeof Symbol=="function"&&Symbol.for,lu=ot?Symbol.for("react.element"):60103,cu=ot?Symbol.for("react.portal"):60106,Xa=ot?Symbol.for("react.fragment"):60107,Ka=ot?Symbol.for("react.strict_mode"):60108,Qa=ot?Symbol.for("react.profiler"):60114,Za=ot?Symbol.for("react.provider"):60109,Ja=ot?Symbol.for("react.context"):60110,uu=ot?Symbol.for("react.async_mode"):60111,es=ot?Symbol.for("react.concurrent_mode"):60111,ts=ot?Symbol.for("react.forward_ref"):60112,rs=ot?Symbol.for("react.suspense"):60113,II=ot?Symbol.for("react.suspense_list"):60120,ns=ot?Symbol.for("react.memo"):60115,os=ot?Symbol.for("react.lazy"):60116,DI=ot?Symbol.for("react.block"):60121,$I=ot?Symbol.for("react.fundamental"):60117,NI=ot?Symbol.for("react.responder"):60118,LI=ot?Symbol.for("react.scope"):60119;function Rt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case lu:switch(e=e.type,e){case uu:case es:case Xa:case Qa:case Ka:case rs:return e;default:switch(e=e&&e.$$typeof,e){case Ja:case ts:case os:case ns:case Za:return e;default:return t}}case cu:return t}}}function jg(e){return Rt(e)===es}Ce.AsyncMode=uu;Ce.ConcurrentMode=es;Ce.ContextConsumer=Ja;Ce.ContextProvider=Za;Ce.Element=lu;Ce.ForwardRef=ts;Ce.Fragment=Xa;Ce.Lazy=os;Ce.Memo=ns;Ce.Portal=cu;Ce.Profiler=Qa;Ce.StrictMode=Ka;Ce.Suspense=rs;Ce.isAsyncMode=function(e){return jg(e)||Rt(e)===uu};Ce.isConcurrentMode=jg;Ce.isContextConsumer=function(e){return Rt(e)===Ja};Ce.isContextProvider=function(e){return Rt(e)===Za};Ce.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===lu};Ce.isForwardRef=function(e){return Rt(e)===ts};Ce.isFragment=function(e){return Rt(e)===Xa};Ce.isLazy=function(e){return Rt(e)===os};Ce.isMemo=function(e){return Rt(e)===ns};Ce.isPortal=function(e){return Rt(e)===cu};Ce.isProfiler=function(e){return Rt(e)===Qa};Ce.isStrictMode=function(e){return Rt(e)===Ka};Ce.isSuspense=function(e){return Rt(e)===rs};Ce.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Xa||e===es||e===Qa||e===Ka||e===rs||e===II||typeof e=="object"&&e!==null&&(e.$$typeof===os||e.$$typeof===ns||e.$$typeof===Za||e.$$typeof===Ja||e.$$typeof===ts||e.$$typeof===$I||e.$$typeof===NI||e.$$typeof===LI||e.$$typeof===DI)};Ce.typeOf=Rt;var xe={};/** @license React v16.13.1
|
|
255
|
-
* react-is.development.js
|
|
256
|
-
*
|
|
257
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
258
|
-
*
|
|
259
|
-
* This source code is licensed under the MIT license found in the
|
|
260
|
-
* LICENSE file in the root directory of this source tree.
|
|
261
|
-
*/process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function E(W){return typeof W=="string"||typeof W=="function"||W===n||W===c||W===i||W===o||W===f||W===p||typeof W=="object"&&W!==null&&(W.$$typeof===m||W.$$typeof===g||W.$$typeof===a||W.$$typeof===s||W.$$typeof===d||W.$$typeof===y||W.$$typeof===b||W.$$typeof===T||W.$$typeof===h)}function x(W){if(typeof W=="object"&&W!==null){var ne=W.$$typeof;switch(ne){case t:var ue=W.type;switch(ue){case l:case c:case n:case i:case o:case f:return ue;default:var me=ue&&ue.$$typeof;switch(me){case s:case d:case m:case g:case a:return me;default:return ne}}case r:return ne}}}var C=l,_=c,O=s,k=a,D=t,j=d,V=n,R=m,A=g,H=r,B=i,L=o,P=f,z=!1;function q(W){return z||(z=!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.")),I(W)||x(W)===l}function I(W){return x(W)===c}function U(W){return x(W)===s}function Q(W){return x(W)===a}function X(W){return typeof W=="object"&&W!==null&&W.$$typeof===t}function K(W){return x(W)===d}function ee(W){return x(W)===n}function te(W){return x(W)===m}function ie(W){return x(W)===g}function oe(W){return x(W)===r}function de(W){return x(W)===i}function ae(W){return x(W)===o}function ye(W){return x(W)===f}xe.AsyncMode=C,xe.ConcurrentMode=_,xe.ContextConsumer=O,xe.ContextProvider=k,xe.Element=D,xe.ForwardRef=j,xe.Fragment=V,xe.Lazy=R,xe.Memo=A,xe.Portal=H,xe.Profiler=B,xe.StrictMode=L,xe.Suspense=P,xe.isAsyncMode=q,xe.isConcurrentMode=I,xe.isContextConsumer=U,xe.isContextProvider=Q,xe.isElement=X,xe.isForwardRef=K,xe.isFragment=ee,xe.isLazy=te,xe.isMemo=ie,xe.isPortal=oe,xe.isProfiler=de,xe.isStrictMode=ae,xe.isSuspense=ye,xe.isValidElementType=E,xe.typeOf=x}();process.env.NODE_ENV==="production"?Ki.exports=Ce:Ki.exports=xe;/*
|
|
262
|
-
object-assign
|
|
263
|
-
(c) Sindre Sorhus
|
|
264
|
-
@license MIT
|
|
265
|
-
*/var ep=Object.getOwnPropertySymbols,FI=Object.prototype.hasOwnProperty,jI=Object.prototype.propertyIsEnumerable;function BI(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function HI(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch(i){return!1}}var zI=HI()?Object.assign:function(e,t){for(var r,n=BI(e),o,i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var a in r)FI.call(r,a)&&(n[a]=r[a]);if(ep){o=ep(r);for(var s=0;s<o.length;s++)jI.call(r,o[s])&&(n[o[s]]=r[o[s]])}}return n},WI="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",du=WI,Bg=Function.call.bind(Object.prototype.hasOwnProperty),Nl=function(){};if(process.env.NODE_ENV!=="production"){var VI=du,Ll={},UI=Bg;Nl=function(e){var t="Warning: "+e;typeof console!="undefined"&&console.error(t);try{throw new Error(t)}catch(r){}}}function Hg(e,t,r,n,o){if(process.env.NODE_ENV!=="production"){for(var i in e)if(UI(e,i)){var a;try{if(typeof e[i]!="function"){var s=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[i](t,i,n,r,null,VI)}catch(c){a=c}if(a&&!(a instanceof Error)&&Nl((n||"React class")+": type specification of "+r+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in Ll)){Ll[a.message]=!0;var l=o?o():"";Nl("Failed "+r+" type: "+a.message+(l!=null?l:""))}}}}Hg.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Ll={})};var GI=Hg,YI=Ki.exports,qI=zI,ln=du,Bs=Bg,tp=GI,pn=function(){};process.env.NODE_ENV!=="production"&&(pn=function(e){var t="Warning: "+e;typeof console!="undefined"&&console.error(t);try{throw new Error(t)}catch(r){}});function yi(){return null}var XI=function(e,t){var r=typeof Symbol=="function"&&Symbol.iterator,n="@@iterator";function o(A){var H=A&&(r&&A[r]||A[n]);if(typeof H=="function")return H}var i="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:f(),arrayOf:p,element:g(),elementType:m(),instanceOf:h,node:E(),objectOf:b,oneOf:y,oneOfType:T,shape:C,exact:_};function s(A,H){return A===H?A!==0||1/A===1/H:A!==A&&H!==H}function l(A,H){this.message=A,this.data=H&&typeof H=="object"?H:{},this.stack=""}l.prototype=Error.prototype;function c(A){if(process.env.NODE_ENV!=="production")var H={},B=0;function L(z,q,I,U,Q,X,K){if(U=U||i,X=X||I,K!==ln){if(t){var ee=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 ee.name="Invariant Violation",ee}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var te=U+":"+I;!H[te]&&B<3&&(pn("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+U+"`. 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."),H[te]=!0,B++)}}return q[I]==null?z?q[I]===null?new l("The "+Q+" `"+X+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new l("The "+Q+" `"+X+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:A(q,I,U,Q,X)}var P=L.bind(null,!1);return P.isRequired=L.bind(null,!0),P}function d(A){function H(B,L,P,z,q,I){var U=B[L],Q=D(U);if(Q!==A){var X=j(U);return new l("Invalid "+z+" `"+q+"` of type "+("`"+X+"` supplied to `"+P+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return c(H)}function f(){return c(yi)}function p(A){function H(B,L,P,z,q){if(typeof A!="function")return new l("Property `"+q+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var I=B[L];if(!Array.isArray(I)){var U=D(I);return new l("Invalid "+z+" `"+q+"` of type "+("`"+U+"` supplied to `"+P+"`, expected an array."))}for(var Q=0;Q<I.length;Q++){var X=A(I,Q,P,z,q+"["+Q+"]",ln);if(X instanceof Error)return X}return null}return c(H)}function g(){function A(H,B,L,P,z){var q=H[B];if(!e(q)){var I=D(q);return new l("Invalid "+P+" `"+z+"` of type "+("`"+I+"` supplied to `"+L+"`, expected a single ReactElement."))}return null}return c(A)}function m(){function A(H,B,L,P,z){var q=H[B];if(!YI.isValidElementType(q)){var I=D(q);return new l("Invalid "+P+" `"+z+"` of type "+("`"+I+"` supplied to `"+L+"`, expected a single ReactElement type."))}return null}return c(A)}function h(A){function H(B,L,P,z,q){if(!(B[L]instanceof A)){var I=A.name||i,U=R(B[L]);return new l("Invalid "+z+" `"+q+"` of type "+("`"+U+"` supplied to `"+P+"`, expected ")+("instance of `"+I+"`."))}return null}return c(H)}function y(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?pn("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])."):pn("Invalid argument supplied to oneOf, expected an array.")),yi;function H(B,L,P,z,q){for(var I=B[L],U=0;U<A.length;U++)if(s(I,A[U]))return null;var Q=JSON.stringify(A,function(K,ee){var te=j(ee);return te==="symbol"?String(ee):ee});return new l("Invalid "+z+" `"+q+"` of value `"+String(I)+"` "+("supplied to `"+P+"`, expected one of "+Q+"."))}return c(H)}function b(A){function H(B,L,P,z,q){if(typeof A!="function")return new l("Property `"+q+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var I=B[L],U=D(I);if(U!=="object")return new l("Invalid "+z+" `"+q+"` of type "+("`"+U+"` supplied to `"+P+"`, expected an object."));for(var Q in I)if(Bs(I,Q)){var X=A(I,Q,P,z,q+"."+Q,ln);if(X instanceof Error)return X}return null}return c(H)}function T(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&pn("Invalid argument supplied to oneOfType, expected an instance of array."),yi;for(var H=0;H<A.length;H++){var B=A[H];if(typeof B!="function")return pn("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(B)+" at index "+H+"."),yi}function L(P,z,q,I,U){for(var Q=[],X=0;X<A.length;X++){var K=A[X],ee=K(P,z,q,I,U,ln);if(ee==null)return null;ee.data&&Bs(ee.data,"expectedType")&&Q.push(ee.data.expectedType)}var te=Q.length>0?", expected one of type ["+Q.join(", ")+"]":"";return new l("Invalid "+I+" `"+U+"` supplied to "+("`"+q+"`"+te+"."))}return c(L)}function E(){function A(H,B,L,P,z){return O(H[B])?null:new l("Invalid "+P+" `"+z+"` supplied to "+("`"+L+"`, expected a ReactNode."))}return c(A)}function x(A,H,B,L,P){return new l((A||"React class")+": "+H+" type `"+B+"."+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function C(A){function H(B,L,P,z,q){var I=B[L],U=D(I);if(U!=="object")return new l("Invalid "+z+" `"+q+"` of type `"+U+"` "+("supplied to `"+P+"`, expected `object`."));for(var Q in A){var X=A[Q];if(typeof X!="function")return x(P,z,q,Q,j(X));var K=X(I,Q,P,z,q+"."+Q,ln);if(K)return K}return null}return c(H)}function _(A){function H(B,L,P,z,q){var I=B[L],U=D(I);if(U!=="object")return new l("Invalid "+z+" `"+q+"` of type `"+U+"` "+("supplied to `"+P+"`, expected `object`."));var Q=qI({},B[L],A);for(var X in Q){var K=A[X];if(Bs(A,X)&&typeof K!="function")return x(P,z,q,X,j(K));if(!K)return new l("Invalid "+z+" `"+q+"` key `"+X+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify(B[L],null," ")+`
|
|
266
|
-
Valid keys: `+JSON.stringify(Object.keys(A),null," "));var ee=K(I,X,P,z,q+"."+X,ln);if(ee)return ee}return null}return c(H)}function O(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(O);if(A===null||e(A))return!0;var H=o(A);if(H){var B=H.call(A),L;if(H!==A.entries){for(;!(L=B.next()).done;)if(!O(L.value))return!1}else for(;!(L=B.next()).done;){var P=L.value;if(P&&!O(P[1]))return!1}}else return!1;return!0;default:return!1}}function k(A,H){return A==="symbol"?!0:H?H["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&H instanceof Symbol:!1}function D(A){var H=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":k(H,A)?"symbol":H}function j(A){if(typeof A=="undefined"||A===null)return""+A;var H=D(A);if(H==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return H}function V(A){var H=j(A);switch(H){case"array":case"object":return"an "+H;case"boolean":case"date":case"regexp":return"a "+H;default:return H}}function R(A){return!A.constructor||!A.constructor.name?i:A.constructor.name}return a.checkPropTypes=tp,a.resetWarningCache=tp.resetWarningCache,a.PropTypes=a,a},KI=du;function zg(){}function Wg(){}Wg.resetWarningCache=zg;var QI=function(){function e(n,o,i,a,s,l){if(l!==KI){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Wg,resetWarningCache:zg};return r.PropTypes=r,r};if(process.env.NODE_ENV!=="production"){var ZI=Ki.exports,JI=!0;$l.exports=XI(ZI.isElement,JI)}else $l.exports=QI();var M=$l.exports,e6=/\//g,bi={};function t6(e){return bi[e]||(bi[e]=e.replace(e6,"_")),bi[e]}function se(e){var t;return ar(e)=="object"?t=Object.keys(e).filter(function(r){return e[r]}):t=Array.prototype.slice.call(arguments),t.map(t6).join(" ")}function is(e){return function(){return e}}function nt(){}nt.thatReturns=is;nt.thatReturnsFalse=is(!1);nt.thatReturnsTrue=is(!0);nt.thatReturnsNull=is(null);nt.thatReturnsThis=function(){return this};nt.thatReturnsArgument=function(e){return e};var Vt={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},rp=!1,Dr,Fl,jl,Ii,Di,Vg,$i,Bl,Hl,zl,Ug,Wl,Vl,Gg,Yg;function ht(){if(!rp){rp=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),r=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Wl=/\b(iPhone|iP[ao]d)/.exec(e),Vl=/\b(iP[ao]d)/.exec(e),zl=/Android/i.exec(e),Gg=/FBAN\/\w+;/i.exec(e),Yg=/Mobile/i.exec(e),Ug=!!/Win64/.exec(e),t){Dr=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Dr&&document&&document.documentMode&&(Dr=document.documentMode);var n=/(?:Trident\/(\d+.\d+))/.exec(e);Vg=n?parseFloat(n[1])+4:Dr,Fl=t[2]?parseFloat(t[2]):NaN,jl=t[3]?parseFloat(t[3]):NaN,Ii=t[4]?parseFloat(t[4]):NaN,Ii?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Di=t&&t[1]?parseFloat(t[1]):NaN):Di=NaN}else Dr=Fl=jl=Di=Ii=NaN;if(r){if(r[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);$i=o?parseFloat(o[1].replace("_",".")):!0}else $i=!1;Bl=!!r[2],Hl=!!r[3]}else $i=Bl=Hl=!1}}var Ul={ie:function(){return ht()||Dr},ieCompatibilityMode:function(){return ht()||Vg>Dr},ie64:function(){return Ul.ie()&&Ug},firefox:function(){return ht()||Fl},opera:function(){return ht()||jl},webkit:function(){return ht()||Ii},safari:function(){return Ul.webkit()},chrome:function(){return ht()||Di},windows:function(){return ht()||Bl},osx:function(){return ht()||$i},linux:function(){return ht()||Hl},iphone:function(){return ht()||Wl},mobile:function(){return ht()||Wl||Vl||zl||Yg},nativeApp:function(){return ht()||Gg},android:function(){return ht()||zl},ipad:function(){return ht()||Vl}},wi=!!(typeof window!="undefined"&&window.document&&window.document.createElement),fu={canUseDOM:wi,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:wi&&!!(window.addEventListener||window.attachEvent),canUseViewport:wi&&!!window.screen,isInWorker:!wi},qg;fu.canUseDOM&&(qg=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
267
|
-
* Checks if an event is supported in the current execution environment.
|
|
268
|
-
*
|
|
269
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
270
|
-
* `reset`, `load`, `error`, and `select`.
|
|
271
|
-
*
|
|
272
|
-
* Borrows from Modernizr.
|
|
273
|
-
*
|
|
274
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
275
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
|
276
|
-
* @return {boolean} True if the event is supported.
|
|
277
|
-
* @internal
|
|
278
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
279
|
-
*/function r6(e,t){if(!fu.canUseDOM||t)return!1;var r="on"+e,n=r in document;if(!n){var o=document.createElement("div");o.setAttribute(r,"return;"),n=typeof o[r]=="function"}return!n&&qg&&e==="wheel"&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var np=10,op=40,ip=800;function Xg(e){var t=0,r=0,n=0,o=0;return"detail"in e&&(r=e.detail),"wheelDelta"in e&&(r=-e.wheelDelta/120),"wheelDeltaY"in e&&(r=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=r,r=0),n=t*np,o=r*np,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||o)&&e.deltaMode&&(e.deltaMode==1?(n*=op,o*=op):(n*=ip,o*=ip)),n&&!t&&(t=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:t,spinY:r,pixelX:n,pixelY:o}}Xg.getEventType=function(){return Ul.firefox()?"DOMMouseScroll":r6("wheel")?"wheel":"mousewheel"};var n6=ut.requestAnimationFrame||ut.webkitRequestAnimationFrame||ut.mozRequestAnimationFrame||ut.oRequestAnimationFrame||ut.msRequestAnimationFrame,ap=0,yr=n6||function(e){var t=Date.now(),r=Math.max(0,16-(t-ap));return ap=t+r,ut.setTimeout(function(){e(Date.now())},r)};yr(nt);var Kg=function(){function e(t,r,n,o,i,a){Pe(this,e),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof r!="function"&&(r=r?nt.thatReturnsTrue:nt.thatReturnsFalse),typeof n!="function"&&(n=n?nt.thatReturnsTrue:nt.thatReturnsFalse),this._handleScrollX=r,this._handleScrollY=n,this._preventDefault=i,this._stopPropagation=a,this._onWheelCallback=t,this.onWheel=this.onWheel.bind(this),this._isRTL=o}return Ie(e,[{key:"onWheel",value:function(r){this._preventDefault&&r.preventDefault();var n=Xg(r);r.shiftKey&&e._allowInternalAxesSwap()?n=e._swapNormalizedWheelAxis(n):r.shiftKey||(n.pixelX*=this._isRTL?-1:1);var o=this._deltaX+n.pixelX,i=this._deltaY+n.pixelY,a=this._handleScrollX(o,i),s=this._handleScrollY(i,o);if(!(!a&&!s)&&!(this._rootRef&&!this._contains(r.target))){this._deltaX+=a?n.pixelX:0,this._deltaY+=s?n.pixelY:0,r.defaultPrevented||r.preventDefault();var l;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&r.stopPropagation(),l=!0),l===!0&&this._animationFrameID===null&&(this._animationFrameID=yr(this._didWheel))}}},{key:"setRoot",value:function(r){this._rootRef=r}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(r){for(var n=r;n!=document.body;){if(n===this._rootRef)return!0;n=n.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(r){return{spinX:r.spinY,spinY:r.spinX,pixelX:r.pixelY,pixelY:r.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),e}(),cn={listen:function(t,r,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t.addEventListener)return t.addEventListener(r,n,o||!1),{remove:function(){t.removeEventListener(r,n,o||!1)}};if(t.attachEvent)return t.attachEvent("on"+r,n),{remove:function(){t.detachEvent("on"+r,n)}}},capture:function(t,r,n){return t.addEventListener?(t.addEventListener(r,n,!0),{remove:function(){t.removeEventListener(r,n,!0)}}):(process.env.NODE_ENV!=="production"&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:nt})},registerDefault:function(){}},Qg=ut.cancelAnimationFrame||ut.webkitCancelAnimationFrame||ut.mozCancelAnimationFrame||ut.oCancelAnimationFrame||ut.msCancelAnimationFrame||ut.clearTimeout;function o6(e){var t=0,r=0;if(!e.clientX||!e.clientY){if(e.touches&&e.touches.length>0){var n=e.touches[0];t=n.clientX,r=n.clientY}}else t=e.clientX,r=e.clientY;return{x:t,y:r}}var Gl={getCoordinatesFromEvent:o6},pu=function(){function e(t,r,n,o){Pe(this,e),this._isDragging=!1,this._isTouchEnabled=o,this._animationFrameID=null,this._domNode=n,this._onMove=t,this._onMoveEnd=r,this._onMouseEnd=this._onMouseEnd.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._didMouseMove=this._didMouseMove.bind(this)}return Ie(e,[{key:"captureMouseMoves",value:function(r){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=cn.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=cn.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=cn.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=cn.listen(this._domNode,"touchstart",this._onMouseMove,{passive:!1}),this._eventTouchMoveToken=cn.listen(r.target,"touchmove",this._onMouseMove,{passive:!1}),this._eventTouchEndToken=cn.listen(r.target,"touchend",this._onMouseUp,{passive:!1})),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var n=Gl.getCoordinatesFromEvent(r),o=n.x,i=n.y;this._x=o,this._y=i}r.preventDefault()}},{key:"releaseMouseMoves",value:function(){this._eventMoveToken&&this._eventUpToken&&this._eventLeaveToken&&(this._eventMoveToken.remove(),this._eventMoveToken=null,this._eventUpToken.remove(),this._eventUpToken=null,this._eventLeaveToken.remove(),this._eventLeaveToken=null),this._isTouchEnabled&&this._eventTouchStartToken&&this._eventTouchMoveToken&&this._eventTouchEndToken&&(this._eventTouchStartToken.remove(),this._eventTouchStartToken=null,this._eventTouchMoveToken.remove(),this._eventTouchMoveToken=null,this._eventTouchEndToken.remove(),this._eventTouchEndToken=null),this._animationFrameID!==null&&(Qg(this._animationFrameID),this._animationFrameID=null),this._isDragging&&(this._isDragging=!1,this._x=null,this._y=null)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"_onMouseMove",value:function(r){var n=Gl.getCoordinatesFromEvent(r),o=n.x,i=n.y;this._deltaX+=o-this._x,this._deltaY+=i-this._y,this._animationFrameID===null&&(this._animationFrameID=yr(this._didMouseMove)),this._x=o,this._y=i,r.preventDefault()}},{key:"_didMouseMove",value:function(){this._animationFrameID=null,this._onMove(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_onMouseUp",value:function(){this._animationFrameID&&this._didMouseMove(),this._onMoveEnd(!1)}},{key:"_onMouseEnd",value:function(){this._onMoveEnd(!0)}}]),e}(),Yl={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function as(e){if(Yl.hasOwnProperty(e))return Yl[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}as.CSS_VARS=Yl;var i6=/-(.)/g;function a6(e){return e.replace(i6,function(t,r){return r.toUpperCase()})}var Hs={},ql=["Webkit","ms","Moz","O"],s6=new RegExp("^("+ql.join("|")+")"),Zg=fu.canUseDOM?document.createElement("div").style:{};function l6(e){for(var t=0;t<ql.length;t++){var r=ql[t]+e;if(r in Zg)return r}return null}function mn(e){var t=a6(e);if(Hs[t]===void 0){var r=t.charAt(0).toUpperCase()+t.slice(1);s6.test(r)&&Yt(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",e),Hs[t]=t in Zg?t:l6(r)}return Hs[t]}var Xl={hasCSSAnimations:function(){return!!mn("animationName")},hasCSSTransforms:function(){return!!mn("transform")},hasCSS3DTransforms:function(){return!!mn("perspective")},hasCSSTransitions:function(){return!!mn("transition")}},sp=mn("transform");mn("backfaceVisibility");var c6=function(){if(Xl.hasCSSTransforms()){var e=ut.window?ut.window.navigator.userAgent:"UNKNOWN",t=/Safari\//.test(e)&&!/Chrome\//.test(e);return!t&&Xl.hasCSS3DTransforms()?function(r,n,o){r[sp]="translate3d("+n+"px,"+o+"px,0)"}:function(r,n,o){r[sp]="translate("+n+"px,"+o+"px)"}}else return function(r,n,o){r.left=n+"px",r.top=o+"px"}}();function En(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;e.display!=="none"&&(n?(e.left=t+"px",e.top=r+"px"):(Xl.hasCSSTransforms()&&(t*=o?-1:1),e.left=0,c6(e,t,r)),o&&(e.right=e.left,e.left="auto"))}function u6(e){var t=d6();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var f6={position:0,scrollable:!1},Jg=parseInt(as("--scrollbar-face-margin"),10),lp=Jg*2,zs=30,em=40,Ct=function(e){Qe(r,e);var t=u6(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),Y(Z(o),"_onRefFace",function(i){return o._faceRef=i}),Y(Z(o),"_onRefRoot",function(i){return o._rootRef=i}),Y(Z(o),"scrollBy",function(i){o._onWheel(i)}),Y(Z(o),"_shouldHandleX",function(i){return o.props.orientation==="horizontal"?o._shouldHandleChange(i):!1}),Y(Z(o),"_shouldHandleY",function(i){return o.props.orientation!=="horizontal"?o._shouldHandleChange(i):!1}),Y(Z(o),"_shouldHandleChange",function(i){var a=o._calculateState(o.state.position+i,o.props.size,o.props.contentSize,o.props.orientation);return a.position!==o.state.position}),Y(Z(o),"_calculateState",function(i,a,s,l){var c=Math.max(1,a);if(s<=c)return f6;var d="".concat(i,"_").concat(c,"_").concat(s,"_").concat(l);if(o._stateKey===d)return o._stateForKey;var f=l==="horizontal",p=c/s,g=c*p;g<zs&&(p=(c-zs)/(s-c),g=zs);var m=!0,h=s-c;i<0?i=0:i>h&&(i=h);var y={faceSize:g,isHorizontal:f,position:i,scale:p,scrollable:m};return o._stateKey=d,o._stateForKey=y,y}),Y(Z(o),"_onWheelY",function(i,a){o._onWheel(a)}),Y(Z(o),"_onWheelX",function(i,a){o._onWheel(i)}),Y(Z(o),"_onWheel",function(i){var a=o.props;o._setNextState(o._calculateState(o.state.position+i,a.size,a.contentSize,a.orientation))}),Y(Z(o),"_onMouseDown",function(i){o.setState({isDragging:!0});var a;if(i.target!==o._faceRef){var s,l,c,d,f=i.nativeEvent,p=o.state.isHorizontal?(s=(l=f.offsetX)!==null&&l!==void 0?l:f.layerX)!==null&&s!==void 0?s:o.getTouchX(f):(c=(d=f.offsetY)!==null&&d!==void 0?d:f.layerY)!==null&&c!==void 0?c:o.getTouchY(f),g=o.props;p/=o.state.scale,a=o._calculateState(p-o.state.faceSize*.5/o.state.scale,g.size,g.contentSize,g.orientation)}else a={};o._setNextState(a),o._mouseMoveTracker.captureMouseMoves(i),o._rootRef.focus()}),Y(Z(o),"_onTouchCancel",function(i){i.stopPropagation()}),Y(Z(o),"_onTouchEnd",function(i){i.stopPropagation()}),Y(Z(o),"_onTouchMove",function(i){i.stopPropagation()}),Y(Z(o),"_onTouchStart",function(i){i.stopPropagation(),o._onMouseDown(i)}),Y(Z(o),"_onMouseMove",function(i,a){var s=o.props,l=o.state.isHorizontal?i*(o.props.isRTL?-1:1):a;l/=o.state.scale;var c=xt.flushSync||function(d){return d()};c(function(){return o._setNextState(o._calculateState(o.state.position+l,s.size,s.contentSize,s.orientation))})}),Y(Z(o),"_onMouseMoveEnd",function(){o._nextState=null,o._mouseMoveTracker.releaseMouseMoves(),o.setState({isDragging:!1})}),Y(Z(o),"_onKeyDown",function(i){var a=i.keyCode;if(a!==Vt.TAB){var s=em,l=0;if(o.state.isHorizontal)switch(a){case Vt.HOME:l=-1,s=o.props.contentSize;break;case Vt.LEFT:l=-1;break;case Vt.RIGHT:l=1;break;default:return}if(!o.state.isHorizontal)switch(a){case Vt.SPACE:i.shiftKey?l=-1:l=1;break;case Vt.HOME:l=-1,s=o.props.contentSize;break;case Vt.UP:l=-1;break;case Vt.DOWN:l=1;break;case Vt.PAGE_UP:l=-1,s=o.props.size;break;case Vt.PAGE_DOWN:l=1,s=o.props.size;break;default:return}i.preventDefault();var c=o.props;o._setNextState(o._calculateState(o.state.position+s*l,c.size,c.contentSize,c.orientation))}}),Y(Z(o),"getTouchX",function(i){return Math.round(i.targetTouches[0].clientX-i.target.getBoundingClientRect().x)}),Y(Z(o),"getTouchY",function(i){return Math.round(i.targetTouches[0].clientY-i.target.getBoundingClientRect().y)}),Y(Z(o),"_setNextState",function(i,a){a=a||o.props;var s=a.position,l=o.state.position!==i.position;if(s===void 0){var c=l?o._didScroll:void 0;o.setState(i,c)}else if(s===i.position)o.setState(i);else{i.position!==void 0&&i.position!==o.state.position&&o.props.onScroll(i.position);return}}),Y(Z(o),"_didScroll",function(){o.props.onScroll(o.state.position)}),o.state=o._calculateState(n.position||n.defaultPosition||0,n.size,n.contentSize,n.orientation),o._initialRender=!0,o}return Ie(r,[{key:"componentDidUpdate",value:function(){var o=this.props.position;o===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(o,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var o=this.props.size,i,a,s=this.state.isHorizontal,l=!s,c=this.state.isDragging,d=this.state.faceSize,f=this.props.isOpaque,p=this.props.verticalTop||0,g=se({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":l,"ScrollbarLayout/mainHorizontal":s,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":f,"public/Scrollbar/mainActive":c}),m=se({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":s,"ScrollbarLayout/faceVertical":l,"public/Scrollbar/faceActive":c,"public/Scrollbar/face":!0}),h=this.state.position*this.state.scale+Jg;return s?(i={width:o},a={width:d-lp,top:0,bottom:0},En(a,h,0,this._initialRender,this.props.isRTL)):(i={top:p,height:o},this.props.isRTL&&(i.left=i.right||0,i.right="auto"),a={height:d-lp},En(a,0,h,this._initialRender,this.props.isRTL),a.left=0,a.right=0),i.touchAction="none",i.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&(i.backgroundColor=as("--fbui-desktop-background-light")),S.createElement("div",{onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:g,style:i,ref:this._onRefRoot},S.createElement("div",{ref:this._onRefFace,className:m,style:a}))}},{key:"componentDidMount",value:function(){var o=this.props.orientation==="horizontal",i=o?this._onWheelX:this._onWheelY;this._wheelHandler=new Kg(i,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new pu(this._onMouseMove,this._onMouseMoveEnd,document.documentElement,this.props.touchEnabled),this.props.position!==void 0&&this.state.position!==this.props.position&&this._didScroll(),this._initialRender=!1}},{key:"componentWillUnmount",value:function(){this._rootRef&&this._rootRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._nextState=null,this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}}]),r}(S.PureComponent);Y(Ct,"propTypes",{contentSize:M.number.isRequired,defaultPosition:M.number,isOpaque:M.bool,orientation:M.oneOf(["vertical","horizontal"]),onScroll:M.func,position:M.number,size:M.number.isRequired,trackColor:M.oneOf(["gray"]),touchEnabled:M.bool,zIndex:M.number,verticalTop:M.number,isRTL:M.bool});Y(Ct,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:nt,orientation:"vertical",zIndex:99});Ct.KEYBOARD_SCROLL_AMOUNT=em;Ct.SIZE=parseInt(as("--scrollbar-size"),10);Ct.OFFSET=1;function Je(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var o=C6[e],i=o?typeof o=="function"?o.apply(null,r):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function sr(e){return!!e&&!!e[$e]}function Tr(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===E6}(e)||Array.isArray(e)||!!e[gp]||!!e.constructor[gp]||hu(e)||gu(e))}function p6(e){return sr(e)||Je(23,e),e[$e].t}function Ur(e,t,r){r===void 0&&(r=!1),jn(e)===0?(r?Object.keys:xn)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function jn(e){var t=e[$e];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:hu(e)?2:gu(e)?3:0}function wn(e,t){return jn(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function h6(e,t){return jn(e)===2?e.get(t):e[t]}function tm(e,t,r){var n=jn(e);n===2?e.set(t,r):n===3?(e.delete(t),e.add(r)):e[t]=r}function rm(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function hu(e){return w6&&e instanceof Map}function gu(e){return x6&&e instanceof Set}function hr(e){return e.o||e.t}function mu(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=om(e);delete t[$e];for(var r=xn(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function vu(e,t){return t===void 0&&(t=!1),yu(e)||sr(e)||!Tr(e)||(jn(e)>1&&(e.set=e.add=e.clear=e.delete=g6),Object.freeze(e),t&&Ur(e,function(r,n){return vu(n,!0)},!0)),e}function g6(){Je(2)}function yu(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xt(e){var t=Jl[e];return t||Je(18,e),t}function m6(e,t){Jl[e]||(Jl[e]=t)}function Kl(){return process.env.NODE_ENV==="production"||Tn||Je(0),Tn}function Ws(e,t){t&&(Xt("Patches"),e.u=[],e.s=[],e.v=t)}function Qi(e){Ql(e),e.p.forEach(v6),e.p=null}function Ql(e){e===Tn&&(Tn=e.l)}function cp(e){return Tn={p:[],l:Tn,h:e,m:!0,_:0}}function v6(e){var t=e[$e];t.i===0||t.i===1?t.j():t.O=!0}function Vs(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.g||Xt("ES5").S(t,e,n),n?(r[$e].P&&(Qi(t),Je(4)),Tr(e)&&(e=Zi(t,e),t.l||Ji(t,e)),t.u&&Xt("Patches").M(r[$e].t,e,t.u,t.s)):e=Zi(t,r,[]),Qi(t),t.u&&t.v(t.u,t.s),e!==nm?e:void 0}function Zi(e,t,r){if(yu(t))return t;var n=t[$e];if(!n)return Ur(t,function(i,a){return up(e,n,t,i,a,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Ji(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=mu(n.k):n.o;Ur(n.i===3?new Set(o):o,function(i,a){return up(e,n,o,i,a,r)}),Ji(e,o,!1),r&&e.u&&Xt("Patches").R(n,r,e.u,e.s)}return n.o}function up(e,t,r,n,o,i){if(process.env.NODE_ENV!=="production"&&o===r&&Je(5),sr(o)){var a=Zi(e,o,i&&t&&t.i!==3&&!wn(t.D,n)?i.concat(n):void 0);if(tm(r,n,a),!sr(a))return;e.m=!1}if(Tr(o)&&!yu(o)){if(!e.h.F&&e._<1)return;Zi(e,o),t&&t.A.l||Ji(e,o)}}function Ji(e,t,r){r===void 0&&(r=!1),e.h.F&&e.m&&vu(t,r)}function Us(e,t){var r=e[$e];return(r?hr(r):e)[t]}function dp(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function mr(e){e.P||(e.P=!0,e.l&&mr(e.l))}function Gs(e){e.o||(e.o=mu(e.t))}function Zl(e,t,r){var n=hu(t)?Xt("MapSet").N(t,r):gu(t)?Xt("MapSet").T(t,r):e.g?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:Kl(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},l=s,c=ko;a&&(l=[s],c=co);var d=Proxy.revocable(l,c),f=d.revoke,p=d.proxy;return s.k=p,s.j=f,p}(t,r):Xt("ES5").J(t,r);return(r?r.A:Kl()).p.push(n),n}function y6(e){return sr(e)||Je(22,e),function t(r){if(!Tr(r))return r;var n,o=r[$e],i=jn(r);if(o){if(!o.P&&(o.i<4||!Xt("ES5").K(o)))return o.t;o.I=!0,n=fp(r,i),o.I=!1}else n=fp(r,i);return Ur(n,function(a,s){o&&h6(o.t,a)===s||tm(n,a,t(s))}),i===3?new Set(n):n}(e)}function fp(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return mu(e)}function b6(){function e(a,s){var l=i[a];return l?l.enumerable=s:i[a]=l={configurable:!0,enumerable:s,get:function(){var c=this[$e];return process.env.NODE_ENV!=="production"&&o(c),ko.get(c,a)},set:function(c){var d=this[$e];process.env.NODE_ENV!=="production"&&o(d),ko.set(d,a,c)}},l}function t(a){for(var s=a.length-1;s>=0;s--){var l=a[s][$e];if(!l.P)switch(l.i){case 5:n(l)&&mr(l);break;case 4:r(l)&&mr(l)}}}function r(a){for(var s=a.t,l=a.k,c=xn(l),d=c.length-1;d>=0;d--){var f=c[d];if(f!==$e){var p=s[f];if(p===void 0&&!wn(s,f))return!0;var g=l[f],m=g&&g[$e];if(m?m.t!==p:!rm(g,p))return!0}}var h=!!s[$e];return c.length!==xn(s).length+(h?0:1)}function n(a){var s=a.k;if(s.length!==a.t.length)return!0;var l=Object.getOwnPropertyDescriptor(s,s.length-1);if(l&&!l.get)return!0;for(var c=0;c<s.length;c++)if(!s.hasOwnProperty(c))return!0;return!1}function o(a){a.O&&Je(3,JSON.stringify(hr(a)))}var i={};m6("ES5",{J:function(a,s){var l=Array.isArray(a),c=function(f,p){if(f){for(var g=Array(p.length),m=0;m<p.length;m++)Object.defineProperty(g,""+m,e(m,!0));return g}var h=om(p);delete h[$e];for(var y=xn(h),b=0;b<y.length;b++){var T=y[b];h[T]=e(T,f||!!h[T].enumerable)}return Object.create(Object.getPrototypeOf(p),h)}(l,a),d={i:l?5:4,A:s?s.A:Kl(),P:!1,I:!1,D:{},l:s,t:a,k:c,o:null,O:!1,C:!1};return Object.defineProperty(c,$e,{value:d,writable:!0}),c},S:function(a,s,l){l?sr(s)&&s[$e].A===a&&t(a.p):(a.u&&function c(d){if(d&&typeof d=="object"){var f=d[$e];if(f){var p=f.t,g=f.k,m=f.D,h=f.i;if(h===4)Ur(g,function(x){x!==$e&&(p[x]!==void 0||wn(p,x)?m[x]||c(g[x]):(m[x]=!0,mr(f)))}),Ur(p,function(x){g[x]!==void 0||wn(g,x)||(m[x]=!1,mr(f))});else if(h===5){if(n(f)&&(mr(f),m.length=!0),g.length<p.length)for(var y=g.length;y<p.length;y++)m[y]=!1;else for(var b=p.length;b<g.length;b++)m[b]=!0;for(var T=Math.min(g.length,p.length),E=0;E<T;E++)g.hasOwnProperty(E)||(m[E]=!0),m[E]===void 0&&c(g[E])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var pp,Tn,bu=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",w6=typeof Map!="undefined",x6=typeof Set!="undefined",hp=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",nm=bu?Symbol.for("immer-nothing"):((pp={})["immer-nothing"]=!0,pp),gp=bu?Symbol.for("immer-draftable"):"__$immer_draftable",$e=bu?Symbol.for("immer-state"):"__$immer_state",C6={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},E6=""+Object.prototype.constructor,xn=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,om=Object.getOwnPropertyDescriptors||function(e){var t={};return xn(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Jl={},ko={get:function(e,t){if(t===$e)return e;var r=hr(e);if(!wn(r,t))return function(o,i,a){var s,l=dp(i,a);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!Tr(n)?n:n===Us(e.t,t)?(Gs(e),e.o[t]=Zl(e.A.h,n,e)):n},has:function(e,t){return t in hr(e)},ownKeys:function(e){return Reflect.ownKeys(hr(e))},set:function(e,t,r){var n=dp(hr(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Us(hr(e),t),i=o==null?void 0:o[$e];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(rm(r,o)&&(r!==void 0||wn(e.t,t)))return!0;Gs(e),mr(e)}return e.o[t]===r&&typeof r!="number"&&(r!==void 0||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Us(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,Gs(e),mr(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=hr(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Je(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Je(12)}},co={};Ur(ko,function(e,t){co[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),co.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Je(13),co.set.call(this,e,t,void 0)},co.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Je(14),ko.set.call(this,e[0],t,r,e[0])};var T6=function(){function e(r){var n=this;this.g=hp,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var l=n;return function(h){var y=this;h===void 0&&(h=s);for(var b=arguments.length,T=Array(b>1?b-1:0),E=1;E<b;E++)T[E-1]=arguments[E];return l.produce(h,function(x){var C;return(C=i).call.apply(C,[y,x].concat(T))})}}var c;if(typeof i!="function"&&Je(6),a!==void 0&&typeof a!="function"&&Je(7),Tr(o)){var d=cp(n),f=Zl(n,o,void 0),p=!0;try{c=i(f),p=!1}finally{p?Qi(d):Ql(d)}return typeof Promise!="undefined"&&c instanceof Promise?c.then(function(h){return Ws(d,a),Vs(h,d)},function(h){throw Qi(d),h}):(Ws(d,a),Vs(c,d))}if(!o||typeof o!="object"){if((c=i(o))===void 0&&(c=o),c===nm&&(c=void 0),n.F&&vu(c,!0),a){var g=[],m=[];Xt("Patches").M(o,c,g,m),a(g,m)}return c}Je(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(c){for(var d=arguments.length,f=Array(d>1?d-1:0),p=1;p<d;p++)f[p-1]=arguments[p];return n.produceWithPatches(c,function(g){return o.apply(void 0,[g].concat(f))})};var a,s,l=n.produce(o,i,function(c,d){a=c,s=d});return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(c){return[c,a,s]}):[l,a,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Tr(r)||Je(8),sr(r)&&(r=y6(r));var n=cp(this),o=Zl(this,r,void 0);return o[$e].C=!0,Ql(n),o},t.finishDraft=function(r,n){var o=r&&r[$e];process.env.NODE_ENV!=="production"&&(o&&o.C||Je(9),o.I&&Je(10));var i=o.A;return Ws(i,n),Vs(void 0,i)},t.setAutoFreeze=function(r){this.F=r},t.setUseProxies=function(r){r&&!hp&&Je(20),this.g=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=Xt("Patches").$;return sr(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),Tt=new T6,S6=Tt.produce;Tt.produceWithPatches.bind(Tt);Tt.setAutoFreeze.bind(Tt);Tt.setUseProxies.bind(Tt);Tt.applyPatches.bind(Tt);Tt.createDraft.bind(Tt);Tt.finishDraft.bind(Tt);var Ni=S6;function im(e){var t=function(n){var o=n.dispatch,i=n.getState;return function(a){return function(s){return typeof s=="function"?s(o,i,e):a(s)}}};return t}var am=im();am.withExtraArgument=im;var mp=am,R6=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ea=function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},_6=Object.defineProperty,vp=Object.getOwnPropertySymbols,M6=Object.prototype.hasOwnProperty,O6=Object.prototype.propertyIsEnumerable,yp=function(e,t,r){return t in e?_6(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Ao=function(e,t){for(var r in t||(t={}))M6.call(t,r)&&yp(e,r,t[r]);if(vp)for(var n=0,o=vp(t);n<o.length;n++){var r=o[n];O6.call(t,r)&&yp(e,r,t[r])}return e},k6=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?qi:qi.apply(null,arguments)};function sm(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function lm(e,t){var r=0;return{measureTime:function(n){var o=Date.now();try{return n()}finally{var i=Date.now();r+=i-o}},warnIfExceeded:function(){r>e&&console.warn(t+" took "+r+"ms, which is more than the warning threshold of "+e+`ms.
|
|
280
|
-
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
281
|
-
It is disabled in production builds, so you don't need to worry about that.`)}}}var A6=function(e){R6(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,ea([void 0],r[0].concat(this)))):new(t.bind.apply(t,ea([void 0],r.concat(this))))},t}(Array),P6=process.env.NODE_ENV==="production",bp="Invariant failed";function wp(e,t){if(!e)throw P6?new Error(bp):new Error(bp+": "+(t||""))}function I6(e,t,r,n){return JSON.stringify(e,D6(t,n),r)}function D6(e,t){var r=[],n=[];return t||(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}function $6(e){return typeof e!="object"||e===null||typeof e=="undefined"||Object.isFrozen(e)}function N6(e,t,r){var n=cm(e,t,r);return{detectMutations:function(){return um(e,t,n,r)}}}function cm(e,t,r,n){t===void 0&&(t=[]),n===void 0&&(n="");var o={value:r};if(!e(r)){o.children={};for(var i in r){var a=n?n+"."+i:i;t.length&&t.indexOf(a)!==-1||(o.children[i]=cm(e,t,r[i],a))}}return o}function um(e,t,r,n,o,i){t===void 0&&(t=[]),o===void 0&&(o=!1),i===void 0&&(i="");var a=r?r.value:void 0,s=a===n;if(o&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:i};if(e(a)||e(n))return{wasMutated:!1};var l={};for(var c in r.children)l[c]=!0;for(var c in n)l[c]=!0;for(var c in l){var d=i?i+"."+c:c;if(!(t.length&&t.indexOf(d)!==-1)){var f=um(e,t,r.children[c],n[c],s,d);if(f.wasMutated)return f}}return{wasMutated:!1}}function L6(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(l){return function(c){return l(c)}}};var t=e.isImmutable,r=t===void 0?$6:t,n=e.ignoredPaths,o=e.warnAfter,i=o===void 0?32:o,a=e.ignore;n=n||a;var s=N6.bind(null,r,n);return function(l){var c=l.getState,d=c(),f=s(d),p;return function(g){return function(m){var h=lm(i,"ImmutableStateInvariantMiddleware");h.measureTime(function(){d=c(),p=f.detectMutations(),f=s(d),wp(!p.wasMutated,"A state mutation was detected between dispatches, in the path '"+(p.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var y=g(m);return h.measureTime(function(){d=c(),p=f.detectMutations(),f=s(d),p.wasMutated&&wp(!p.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(p.path||"")+". Take a look at the reducer(s) handling the action "+I6(m)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),h.warnIfExceeded(),y}}}}function dm(e){var t=typeof e;return t==="undefined"||e===null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||sm(e)}function ec(e,t,r,n,o){t===void 0&&(t=""),r===void 0&&(r=dm),o===void 0&&(o=[]);var i;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null)return!1;for(var a=n!=null?n(e):Object.entries(e),s=o.length>0,l=0,c=a;l<c.length;l++){var d=c[l],f=d[0],p=d[1],g=t?t+"."+f:f;if(!(s&&o.indexOf(g)>=0)){if(!r(p))return{keyPath:g,value:p};if(typeof p=="object"&&(i=ec(p,g,r,n,o),i))return i}}return!1}function F6(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(y){return function(b){return y(b)}}};var t=e.isSerializable,r=t===void 0?dm:t,n=e.getEntries,o=e.ignoredActions,i=o===void 0?[]:o,a=e.ignoredActionPaths,s=a===void 0?["meta.arg","meta.baseQueryMeta"]:a,l=e.ignoredPaths,c=l===void 0?[]:l,d=e.warnAfter,f=d===void 0?32:d,p=e.ignoreState,g=p===void 0?!1:p,m=e.ignoreActions,h=m===void 0?!1:m;return function(y){return function(b){return function(T){var E=b(T),x=lm(f,"SerializableStateInvariantMiddleware");return!h&&!(i.length&&i.indexOf(T.type)!==-1)&&x.measureTime(function(){var C=ec(T,"",r,n,s);if(C){var _=C.keyPath,O=C.value;console.error("A non-serializable value was detected in an action, in the path: `"+_+"`. Value:",O,`
|
|
282
|
-
Take a look at the logic that dispatched this action: `,T,`
|
|
283
|
-
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
284
|
-
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),g||(x.measureTime(function(){var C=y.getState(),_=ec(C,"",r,n,c);if(_){var O=_.keyPath,k=_.value;console.error("A non-serializable value was detected in the state, in the path: `"+O+"`. Value:",k,`
|
|
285
|
-
Take a look at the reducer(s) handling this action type: `+T.type+`.
|
|
286
|
-
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),x.warnIfExceeded()),E}}}}function Ys(e){return typeof e=="boolean"}function j6(){return function(t){return B6(t)}}function B6(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,o=n===void 0?!0:n,i=e.serializableCheck,a=i===void 0?!0:i,s=new A6;if(r&&(Ys(r)?s.push(mp):s.push(mp.withExtraArgument(r.extraArgument))),process.env.NODE_ENV!=="production"){if(o){var l={};Ys(o)||(l=o),s.unshift(L6(l))}if(a){var c={};Ys(a)||(c=a),s.push(F6(c))}}return s}var qs=process.env.NODE_ENV==="production";function H6(e){var t=j6(),r=e||{},n=r.reducer,o=n===void 0?void 0:n,i=r.middleware,a=i===void 0?t():i,s=r.devTools,l=s===void 0?!0:s,c=r.preloadedState,d=c===void 0?void 0:c,f=r.enhancers,p=f===void 0?void 0:f,g;if(typeof o=="function")g=o;else if(sm(o))g=rM(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var m=a;if(typeof m=="function"&&(m=m(t),!qs&&!Array.isArray(m)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qs&&m.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var h=nM.apply(void 0,m),y=qi;l&&(y=k6(Ao({trace:!qs},typeof l=="object"&&l)));var b=[h];Array.isArray(p)?b=ea([h],p):typeof p=="function"&&(b=p(b));var T=y.apply(void 0,b);return xg(g,d,T)}function Po(e,t){function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ao(Ao({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function fm(e){var t={},r=[],n,o={addCase:function(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=a,o},addMatcher:function(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase:function(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function z6(e){return typeof e=="function"}function W6(e,t,r,n){r===void 0&&(r=[]);var o=typeof t=="function"?fm(t):[t,r,n],i=o[0],a=o[1],s=o[2],l;if(z6(e))l=function(){return Ni(e(),function(){})};else{var c=Ni(e,function(){});l=function(){return c}}function d(f,p){f===void 0&&(f=l());var g=ea([i[p.type]],a.filter(function(m){var h=m.matcher;return h(p)}).map(function(m){var h=m.reducer;return h}));return g.filter(function(m){return!!m}).length===0&&(g=[s]),g.reduce(function(m,h){if(h)if(sr(m)){var y=m,b=h(y,p);return typeof b=="undefined"?m:b}else{if(Tr(m))return Ni(m,function(T){return h(T,p)});var b=h(m,p);if(typeof b=="undefined"){if(m===null)return m;throw Error("A case reducer on a non-draftable value must not return undefined")}return b}return m},f)}return d.getInitialState=l,d}function V6(e,t){return e+"/"+t}function U6(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r=typeof e.initialState=="function"?e.initialState:Ni(e.initialState,function(){}),n=e.reducers||{},o=Object.keys(n),i={},a={},s={};o.forEach(function(d){var f=n[d],p=V6(t,d),g,m;"reducer"in f?(g=f.reducer,m=f.prepare):g=f,i[d]=g,a[p]=g,s[d]=m?Po(p,m):Po(p)});function l(){var d=typeof e.extraReducers=="function"?fm(e.extraReducers):[e.extraReducers],f=d[0],p=f===void 0?{}:f,g=d[1],m=g===void 0?[]:g,h=d[2],y=h===void 0?void 0:h,b=Ao(Ao({},p),a);return W6(r,b,m,y)}var c;return{name:t,reducer:function(d,f){return c||(c=l()),c(d,f)},actions:s,caseReducers:i,getInitialState:function(){return c||(c=l()),c.getInitialState()}}}var wu="listenerMiddleware";Po(wu+"/add");Po(wu+"/removeAll");Po(wu+"/remove");b6();function G6(){var e=Y6();return{columnElements:[],columnGroupElements:[],elementTemplates:{cell:[],footer:[],groupHeader:[],header:[]},elementHeights:{footerHeight:0,groupHeaderHeight:0,headerHeight:0},propsRevision:null,rowSettings:{bufferRowCount:void 0,rowAttributesGetter:void 0,rowHeight:0,rowHeightGetter:function(){return 0},rowsCount:0,subRowHeight:0,subRowHeightGetter:function(){return 0}},scrollFlags:{overflowX:"auto",overflowY:"auto",showScrollbarX:!0,showScrollbarY:!0},tableSize:{height:void 0,maxHeight:0,ownerHeight:void 0,useMaxHeight:!1,width:0},firstRowIndex:0,firstRowOffset:0,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:Ct.SIZE,scrollY:0,scrollbarYWidth:Ct.SIZE,scrolling:!1,getInternal:function(){return e}}}function Y6(){return{rowBufferSet:new Ng,rowOffsetIntervalTree:null,storedHeights:[],rowUntilOffsetsAreExact:0}}var pm=U6({name:"FDT",initialState:{},reducers:{initialize:function(t,r){var n=r.payload;Fe(t,G6()),Cp(t,n),xp(t);var o=Uf(t,n);Qn(t,o),Zf.initialize(t,n,{})},propChange:function(t,r){var n=r.payload,o=n.newProps,i=n.oldProps,a=MP(p6(t));Cp(t,o),(i.rowsCount!==o.rowsCount||i.rowHeight!==o.rowHeight||i.subRowHeight!==o.subRowHeight)&&xp(t),i.rowsCount!==o.rowsCount&&(t.getInternal().rowBufferSet=new Ng);var s=Uf(t,o,i);(!Mo(t,a)||s.changed)&&Qn(t,s),Zf.initialize(t,o,i),(t.scrollX!==a.scrollX||t.scrollY!==a.scrollY)&&(t.scrolling=t.scrolling||!0)},scrollEnd:function(t){t.scrolling=!1;var r={firstIndex:t.firstRowIndex,firstOffset:t.firstRowOffset,lastIndex:t.lastIndex};Qn(t,r)},scrollToY:function(t,r){var n=r.payload;t.scrolling=!0;var o=Dl(t,n);Qn(t,o)},scrollToX:function(t,r){var n=r.payload;t.scrolling=!0,t.scrollX=n},updateRowHeights:function(t,r){var n=r.payload||0;if(!(n>=t.rowSettings.rowsCount)){for(;n<t.rowSettings.rowsCount;)Lr(t,n++);var o=t.getInternal().rowOffsetIntervalTree.sumUntil(t.firstRowIndex)-t.firstRowOffset,i=Dl(t,o);Qn(t,i)}}}});function xp(e){for(var t=e.rowSettings,r=t.rowHeight,n=t.rowsCount,o=t.subRowHeight,i=t.rowHeightGetter,a=t.subRowHeightGetter,s=r+o,l=0,c=new Array(n),d=0;d<n;d++)e.isVerticalScrollExact?c[d]=i(d)+a(d):c[d]=s,l+=c[d];var f=new PP(c);e.scrollContentHeight=l,Fe(e.getInternal(),{rowOffsetIntervalTree:f,storedHeights:c})}function Cp(e,t){var r=$P(t.children),n=r.columnGroupElements,o=r.columnElements,i=r.elementTemplates,a=r.useGroupHeader;Fe(e,{columnGroupElements:n,columnElements:o,elementTemplates:i,propsRevision:e.propsRevision+1,isVerticalScrollExact:t.isVerticalScrollExact}),Object.freeze(e.columnElements),Object.freeze(e.columnGroupElements),Object.freeze(e.elementTemplates),e.elementHeights=Fe({},e.elementHeights,lo(t,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),a||(e.elementHeights.groupHeaderHeight=0),e.rowSettings=Fe({},e.rowSettings,lo(t,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var s=e.rowSettings,l=s.rowHeight,c=s.subRowHeight;e.rowSettings.rowHeightGetter=t.rowHeightGetter||function(){return l},e.rowSettings.subRowHeightGetter=t.subRowHeightGetter||function(){return c||0},e.rowSettings.rowAttributesGetter=t.rowAttributesGetter,e.scrollFlags=Fe({},e.scrollFlags,lo(t,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),e.tableSize=Fe({},e.tableSize,lo(t,["height","maxHeight","ownerHeight","width"])),e.tableSize.useMaxHeight=e.tableSize.height===void 0,e.scrollbarXHeight=t.scrollbarXHeight,e.scrollbarYWidth=t.scrollbarYWidth}var q6=pm.reducer,Bn=pm.actions,X6=Bn.initialize,K6=Bn.propChange,Q6=Bn.scrollEnd,Z6=Bn.scrollToX,J6=Bn.scrollToY,eD=Bn.updateRowHeights,tD=function(t,r){var n=Cg({scrollToX:Z6,scrollToY:J6,scrollEnd:Q6},t.dispatch),o=function(s){var l=t.getState(),c=l.scrollX;if(s!==c){var d=Math.round(s),f=r(),p=f.onHorizontalScroll;(!p||p(d))&&n.scrollToX(d)}},i=function(s){var l=t.getState(),c=l.scrollY;if(s!==c){var d=r(),f=d.onVerticalScroll;(!f||f(s))&&n.scrollToY(s)}};return{scrollToX:o,scrollToY:i,stopScroll:n.scrollEnd}},rD=Xr,nD=Rr,oD="[object Number]";function iD(e){return typeof e=="number"||nD(e)&&rD(e)==oD}var aD=iD,sD=aD;function lD(e){return sD(e)&&e!=+e}var Ep=lD;function cD(e,t,r,n,o){n=n||setTimeout,o=o||clearTimeout;var i;function a(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];a.reset();var d=function(){e.apply(r,l)};d.__SMmeta=e.__SMmeta,i=n(d,t)}return a.reset=function(){o(i)},a}function tt(e){e||(e="");var t,r=arguments.length;if(r>1)for(var n=1;n<r;n++)t=arguments[n],t&&(e=(e?e+" ":"")+t);return e}function uD(e,t,r){var n=1,o=1,i=e+2,a=e+1,s=2;return t&&(o++,a++,i++,s++),r&&a++,{ariaGroupHeaderIndex:n,ariaHeaderIndex:o,ariaFooterIndex:i,ariaRowCount:a,ariaRowIndexOffset:s}}var dD=ur([function(e){return e.rowsCount},function(e){return e.groupHeaderHeight>0},function(e){return e.footerHeight>0}],uD);function fD(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(r(i[l],l,i)===!1)break}return t}}var pD=fD,hD=pD,gD=hD(),mD=gD,vD=mD,yD=Ua;function bD(e,t){return e&&vD(e,t,yD)}var wD=bD,xD=Xo;function CD(e,t){return function(r,n){if(r==null)return r;if(!xD(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 ED=CD,TD=wD,SD=ED,RD=SD(TD),_D=RD,MD=bg;function OD(e){return typeof e=="function"?e:MD}var kD=OD,AD=Eg,PD=_D,ID=kD,DD=Ft;function $D(e,t){var r=DD(e)?AD:PD;return r(e,ID(t))}var Tp=$D;function ND(e,t){var r=e.columnGroupProps,n=e.columnProps,o=[],i=[],a=[];Tp(r,function(d,f){var p={props:d,template:t.groupHeader[f]};d.fixed?o.push(p):d.fixedRight?i.push(p):a.push(p)});var s={cell:[],header:[],footer:[]},l={cell:[],header:[],footer:[]},c={cell:[],header:[],footer:[]};return Tp(n,function(d,f){var p=c;d.fixed?p=s:d.fixedRight&&(p=l),p.cell.push({props:d,template:t.cell[f]}),p.header.push({props:d,template:t.header[f]}),p.footer.push({props:d,template:t.footer[f]})}),{fixedColumnGroups:o,fixedColumns:s,fixedRightColumnGroups:i,fixedRightColumns:l,scrollableColumnGroups:a,scrollableColumns:c}}var LD=ur([function(e){return Qo(e)},function(e){return e.elementTemplates}],ND);function FD(e,t){return e==null||e!==e?t:e}var jD=FD,BD=Math.max,HD=Math.min;function zD(e,t,r){return e>=HD(t,r)&&e<BD(t,r)}var WD=zD,VD=su,Sp=1/0,UD=17976931348623157e292;function GD(e){if(!e)return e===0?e:0;if(e=VD(e),e===Sp||e===-Sp){var t=e<0?-1:1;return t*UD}return e===e?e:0}var YD=GD,qD=WD,Rp=YD,XD=su;function KD(e,t,r){return t=Rp(t),r===void 0?(r=t,t=0):r=Rp(r),e=XD(e),qD(e,t,r)}var Hr=KD;function QD(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function or(e,t){if(e==null)return{};var r,n,o=QD(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var ZD=["height","width","isVisible","style","className","children","columnKey","columnIndex","rowIndex","left","cellGroupType","isHeader","isGroupHeader","maxWidth","minWidth","touchEnabled"];function _p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function JD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_p(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_p(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function e8(e){var t=t8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function t8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ta=function(e){Qe(r,e);var t=e8(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.height,a=o.width,s=o.style,l=o.className,c=o.children,d=or(o,ZD),f=JD({height:i,width:a},s);return S.createElement("div",Fe({},d,{className:tt(se("fixedDataTableCellLayout/wrap1"),se("public/fixedDataTableCell/wrap1"),l),style:f}),S.createElement("div",{className:tt(se("fixedDataTableCellLayout/wrap2"),se("public/fixedDataTableCell/wrap2"))},S.createElement("div",{className:tt(se("fixedDataTableCellLayout/wrap3"),se("public/fixedDataTableCell/wrap3"))},S.createElement("div",{className:se("public/fixedDataTableCell/cellContent")},c))))}}]),r}(S.Component);Y(ta,"propTypes",{height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,isVisible:M.bool});function hm(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function gm(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function mm(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}}hm.__suppressDeprecationWarning=!0;gm.__suppressDeprecationWarning=!0;mm.__suppressDeprecationWarning=!0;function vm(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
287
|
-
|
|
288
|
-
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(r!==null?`
|
|
289
|
-
`+r:"")+(n!==null?`
|
|
290
|
-
`+n:"")+(o!==null?`
|
|
291
|
-
`+o:"")+`
|
|
292
|
-
|
|
293
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
294
|
-
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=hm,t.componentWillReceiveProps=gm),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=mm;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,d,f){var p=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:f;s.call(this,c,d,p)}}return e}var r8=["height","width","isVisible","style","className","children","columnKey","columnIndex","rowIndex","left","cellGroupType","isHeader","isGroupHeader","maxWidth","minWidth","touchEnabled"];function Mp(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 n8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var xu=S.forwardRef(function(t,r){var n=t.height,o=t.width,i=t.style,a=t.className,s=t.children,l=or(t,r8),c=n8({height:n,width:o},i);return S.createElement("div",Fe({},l,{className:tt(se("fixedDataTableCellLayout/wrap"),se("public/fixedDataTableCell/wrap"),se("public/fixedDataTableCell/cellContent"),a),style:c,ref:r}),s)});xu.propTypes={height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,isVisible:M.bool};var Sn=S.createContext({}),o8=pg;function i8(e,t,r){var n=e==null?void 0:o8(e,t);return n===void 0?r:n}var tc=i8;function a8(e){var t=s8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Op=15,kp=100,Cu=function(e){Qe(r,e);var t=a8(r);function r(){var n;Pe(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),Y(Z(n),"state",{displacement:0}),Y(Z(n),"containerRef",S.createRef()),Y(Z(n),"onTouchEnd",function(s){n.props.touchEnabled&&s.stopPropagation()}),Y(Z(n),"onTouchMove",function(s){n.props.touchEnabled&&s.stopPropagation()}),Y(Z(n),"onMouseMove",function(s){n.cursorDeltaX+=s*(n.context.isRTL?-1:1)}),Y(Z(n),"onMouseUp",function(){Qg(n.frameId),n.setState({displacement:0,isReordering:!1}),n.updateColumnOrder(),n.frameId=null,n.cursorDeltaX=0,n.mouseMoveTracker.releaseMouseMoves()}),Y(Z(n),"initializeDOMMouseMoveTracker",function(s){n.mouseMoveTracker=new pu(n.onMouseMove,n.onMouseUp,document.body,n.props.touchEnabled),n.mouseMoveTracker.captureMouseMoves(s)}),Y(Z(n),"updateDisplacementPeriodically",function(){n.frameId=yr(n.updateDisplacementPeriodically),n.updateDisplacementWithScroll()}),Y(Z(n),"getBoundedDeltaX",function(s){var l=0,c=0,d=n.props.cellGroupType,f=n.context.groupHeaderHeight>0;if(f&&!n.props.isGroupHeader){var p=n.context.getColumnGroupByChild(n.props.columnIndex);l=p.width,c=p.offset}else l=n.context.getCellGroupWidth(d);var g=l-n.props.width;return qa(s,-n.originalLeft+c,-n.originalLeft+g+c)}),Y(Z(n),"updateDisplacementWithScroll",function(){var s=n.scrollStart,l=n.props.cellGroupType,c=n.context,d=c.scrollX,f=c.maxScrollX,p=c.availableScrollWidth,g=n.cursorDeltaX;if(l===ce.SCROLLABLE){var m=n.originalLeft-s+g;g+=d-s,m>p-kp?d=Math.min(d+Op,f):m<=kp&&(d=Math.max(d-Op,0)),n.context.scrollToX(d)}g=n.getBoundedDeltaX(g),n.setState({displacement:g})}),Y(Z(n),"isColumnMovedToRight",function(s){return s>0}),Y(Z(n),"isColumnMovedToLeft",function(s){return s<0}),Y(Z(n),"updateColumnOrder",function(){var s=n.props.cellGroupType,l=n.getBoundedDeltaX(n.cursorDeltaX+n.context.scrollX-n.scrollStart),c=l>=0?n.props.width+l+n.props.left:l+n.props.left,d,f;if(n.props.isGroupHeader){var p=n.context.getColumnGroupAtOffset(c,s),g=p.columnGroup,m=p.distanceFromOffset;d=g,f=m}else{var h=n.context.getColumnAtOffset(c,s),y=h.column,b=h.distanceFromOffset;d=y,f=b}var T=null,E=null;d.index<n.props.columnIndex?f<=d.width/2?(T=d.index-1,E=d.index):(T=d.index,E=d.index+1):f>=d.width/2?(T=d.index,E=d.index+1):(T=d.index-1,E=d.index),T===n.props.columnIndex&&--T,E===n.props.columnIndex&&++E;var x=n.props.isGroupHeader?n.context.getColumnGroupCount():n.context.getColumnCount(),C,_;Hr(T,0,x)&&(C=n.props.isGroupHeader?n.context.getColumnGroup(T):n.context.getColumn(T)),Hr(E,0,x)&&(_=n.props.isGroupHeader?n.context.getColumnGroup(E):n.context.getColumn(E)),n.props.onColumnReorderEnd({columnBefore:tc(C,"columnKey"),columnAfter:tc(_,"columnKey"),reorderColumn:n.props.columnKey})}),n}return Ie(r,[{key:"componentDidMount",value:function(){var o=this.props.contents.parentNode.cloneNode(!0);o.firstChild.classList.add(se("public/fixedDataTableCell/reordering")),this.containerRef.current.appendChild(o),this.startDrag()}},{key:"render",value:function(){var o={position:"absolute"};return En(o,this.state.displacement,0,!0,this.context.isRTL),S.createElement("div",{style:o,ref:this.containerRef})}},{key:"startDrag",value:function(){this.cursorDeltaX=0,this.scrollStart=this.context.scrollX,this.originalLeft=this.props.left,this.initializeDOMMouseMoveTracker(this.props.reorderStartEvent),this.setState({displacement:0,isReordering:!0}),this.frameId=yr(this.updateDisplacementPeriodically)}}]),r}(S.PureComponent);Cu.contextType=Sn;Cu.propTypes={columnIndex:M.number.isRequired,columnKey:M.string.isRequired,contents:M.object.isRequired,cellGroupType:M.string,isGroupHeader:M.bool,isRTL:M.bool,left:M.number.isRequired,onColumnReorderStart:M.func.isRequired,reorderStartEvent:M.object.isRequired,touchEnabled:M.bool,width:M.number.isRequired};function l8(e){var t=c8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var u8=function(e){Qe(r,e);var t=l8(r);function r(n){var o;Pe(this,r),o=t.call(this,n);var i=n.value;return o.unsubscribe=i.subscribe(function(a){o.setState({FixedDataTableContextValue:a})}),o.state={FixedDataTableContextValue:i},o}return Ie(r,[{key:"componentWillUnmount",value:function(){this.unsubscribe()}},{key:"render",value:function(){var o=this.state.FixedDataTableContextValue;return S.createElement(Sn.Provider,{value:o},this.props.children)}}]),r}(S.PureComponent);function d8(){}var f8=d8,p8=["onColumnReorderStart","onColumnReorderEnd","reorderStartEvent","children"];function h8(e){var t=g8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function g8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m8=1,Io=function(e){Qe(r,e);var t=h8(r);function r(){var n;Pe(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),Y(Z(n),"state",{isReordering:!1}),Y(Z(n),"dragContainer",null),Y(Z(n),"cellRef",S.createRef()),Y(Z(n),"isMounted",!1),Y(Z(n),"setReorderHandle",function(s){s&&(s.addEventListener("mousedown",n.onMouseDown,{passive:!1}),s.addEventListener("touchstart",n.onTouchStart,{passive:!1}))}),Y(Z(n),"onTouchStart",function(s){n.props.touchEnabled&&n.onMouseDown(s)}),Y(Z(n),"onMouseDown",function(s){n.onDragStart(s)}),Y(Z(n),"onDragStart",function(s){n.createDragContainer(),n.renderDragProxy(s),n.props.onColumnReorderStart(n.props.columnKey)}),Y(Z(n),"onColumnReorderEnd",function(s){n.isMounted&&n.setState({isReordering:!1}),n.removeDragContainer(),n.props.onColumnReorderEnd(s)}),Y(Z(n),"createDragContainer",function(){n.dragContainer=document.createElement("div"),n.dragContainer.dataset.columnKey=n.props.columnKey;var s=n.cellRef.current.closest(".fixedDataTableCellGroupLayout_cellGroup");s.appendChild(n.dragContainer)}),Y(Z(n),"getDragContainer",function(){if(n.dragContainer)return n.dragContainer;var s=n.cellRef.current.closest(".fixedDataTableCellGroupLayout_cellGroup");return n.dragContainer=s.querySelector('[data-column-key="'.concat(n.props.columnKey,'"]')),n.dragContainer}),Y(Z(n),"removeDragContainer",function(){n.props.__react19RootCreator?n.dragContainer.root.unmount():xt.unmountComponentAtNode(n.dragContainer),n.dragContainer.remove(),n.dragContainer=null}),n}return Ie(r,[{key:"componentDidMount",value:function(){this.isMounted=!0;var o=tc(this.getDragContainer(),"dataset.columnKey"),i=fg(this.props.columnKey)===o;i&&(this.renderDragProxy({}),this.setState({isReordering:!0}))}},{key:"componentWillUnmount",value:function(){this.isMounted=!1}},{key:"render",value:function(){if(this.state.isReordering)return null;var o=this.props,i=o.children,a=or(o,p8),s=tt(se({"public/fixedDataTableCell/resizeReorderCellContainer":!0}),a.className),l=tt(s,se({"public/fixedDataTableCell/hasReorderHandle":!0})),c={height:a.height,width:a.width-m8},d;return S.isValidElement(i)?d=S.cloneElement(i,a):typeof i=="function"?d=i(a):d=S.createElement(xu,a,i),S.createElement("div",{className:l,style:c,ref:this.cellRef},this.renderReorderHandle(),d)}},{key:"renderReorderHandle",value:function(){var o={height:this.props.height};return S.createElement("div",{ref:this.setReorderHandle,className:se({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),style:o})}},{key:"renderDragProxy",value:function(o){var i=this,a={isDragProxy:!0,reorderStartEvent:o,onColumnReorderEnd:this.onColumnReorderEnd,contents:this.cellRef.current},s=S.createElement(u8,{value:this.context},S.createElement(Cu,Fe({},this.props,a)));if(this.props.__react19RootCreator){var l=xt.flushSync||function(c){return c()};l(function(){var c=i.props.__react19RootCreator(i.getDragContainer());i.dragContainer.root=c,c.render(s)}),this.setState({isReordering:!0});return}xt.render(s,this.getDragContainer(),function(){return i.setState({isReordering:!0})})}}]),r}(S.PureComponent);Io.contextType=Sn;Io.defaultProps={onColumnReorderStart:f8};Io.propTypes={height:M.number,width:M.number,columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number,left:M.number,touchEnabled:M.bool,minWidth:M.number,maxWidth:M.number,onColumnReorderStart:M.func,onColumnReorderEnd:M.func.isRequired,__react19RootCreator:M.func};var v8=!!(typeof window!="undefined"&&window.document&&window.document.createElement),y8=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function b8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w8(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function x8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ym=function(e){x8(t,e);function t(){return b8(this,t),w8(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y8(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return v8?(!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),xt.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(S.Component);ym.propTypes={children:M.node.isRequired,node:M.any};var C8=ym,E8=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function T8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S8(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var bm=function(e){R8(t,e);function t(){return T8(this,t),S8(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return E8(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(n){this.renderPortal()}},{key:"componentWillUnmount",value:function(){xt.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(n){!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var o=this.props.children;typeof this.props.children.type=="function"&&(o=S.cloneElement(this.props.children)),this.portal=xt.unstable_renderSubtreeIntoContainer(this,o,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(S.Component),_8=bm;bm.propTypes={children:M.node.isRequired,node:M.any};var rc=void 0;xt.createPortal?rc=C8:rc=_8;var M8=rc;function O8(e){var t=k8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var wm=function(e){Qe(r,e);var t=O8(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(!this.props.visible)return null;var o=this.getTableRef();if(!o)return null;var i={height:this.props.height,top:0,left:this.props.left};return S.createElement(M8,{node:o},S.createElement("div",{className:tt(se("fixedDataTableColumnResizerLineLayout/main"),se("public/fixedDataTableColumnResizerLine/main")),style:i},S.createElement("div",{className:se("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}})))}},{key:"getTableRef",value:function(){var o=this.props.parentRef;return o?o.closest(se(".fixedDataTableLayout/main")):null}}]),r}(S.PureComponent);Y(wm,"propTypes",{visible:M.bool.isRequired,height:M.number.isRequired,left:M.number.isRequired,parentRef:M.object});function Ap(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 A8(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ap(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ap(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function P8(e){var t=I8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function I8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var xm=function(e){Qe(r,e);var t=P8(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),Y(Z(o),"initialState",{isColumnResizing:!1,currentMouseXCoordinate:0,totalDisplacement:0}),Y(Z(o),"state",A8({},o.initialState)),Y(Z(o),"resizerKnobRef",null),Y(Z(o),"mouseMoveTracker",null),Y(Z(o),"setResizerKnobRef",function(i){o.resizerKnobRef=i}),Y(Z(o),"initializeDOMMouseMoveTracker",function(i){o.mouseMoveTracker=new pu(o.onMouseMove,o.onMouseUp,document.body,o.props.touchEnabled),o.mouseMoveTracker.captureMouseMoves(i)}),Y(Z(o),"onTouchStart",function(i){o.props.touchEnabled&&o.onMouseDown(i)}),Y(Z(o),"onMouseDown",function(i){o.initializeDOMMouseMoveTracker(i);var a=Gl.getCoordinatesFromEvent(i).x-i.currentTarget.closest(se(".fixedDataTableLayout/main")).getBoundingClientRect().left;o.setState({initialMouseXCoordinate:a,isColumnResizing:!0,totalDisplacement:0,currentMouseXCoordinate:a})}),Y(Z(o),"onMouseUp",function(){var i=o.getMinMaxWidth(),a=i.minWidth,s=i.maxWidth,l=Ga(o.props.width+o.state.totalDisplacement*(o.props.isRTL?-1:1),a,s);o.mouseMoveTracker.releaseMouseMoves(),o.setState({isColumnResizing:!1,totalDisplacement:0},function(){o.props.onColumnResizeEnd(l,o.props.columnKey)})}),Y(Z(o),"onMouseMove",function(i){var a=o.props,s=a.isRTL,l=a.width,c=o.state,d=c.initialMouseXCoordinate,f=c.totalDisplacement,p=f+i,g=d+p,m=o.getMinMaxWidth(),h=m.minWidth,y=m.maxWidth,b=l+p*(s?-1:1);(b<h||b>y)&&(g=o.state.currentMouseXCoordinate),o.setState({totalDisplacement:p,currentMouseXCoordinate:g})}),Y(Z(o),"getMinMaxWidth",function(){return{minWidth:o.props.minWidth||0,maxWidth:o.props.maxWidth||Number.MAX_SAFE_INTEGER}}),Y(Z(o),"suppressEventIfInTouchMode",function(i){o.props.touchEnabled&&(i.preventDefault(),i.stopPropagation())}),o}return Ie(r,[{key:"componentDidMount",value:function(){this.setupHandlers()}},{key:"componentWillUnmount",value:function(){this.cleanupHandlers()}},{key:"render",value:function(){var o={height:this.props.height},i=S.createElement(wm,{height:this.props.resizerLineHeight,visible:!!this.state.isColumnResizing,left:this.state.currentMouseXCoordinate,parentRef:this.resizerKnobRef});return S.createElement("div",{className:se("fixedDataTableCellLayout/columnResizerContainer"),ref:this.setResizerKnobRef,style:o},i)}},{key:"setupHandlers",value:function(){this.resizerKnobRef.addEventListener("mousedown",this.onMouseDown,{passive:!1}),this.resizerKnobRef.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.resizerKnobRef.addEventListener("touchmove",this.suppressEventIfInTouchMode,{passive:!1}),this.resizerKnobRef.addEventListener("touchend",this.suppressEventIfInTouchMode,{passive:!1})}},{key:"cleanupHandlers",value:function(){this.resizerKnobRef.removeEventListener("mousedown",this.onMouseDown,{passive:!1}),this.resizerKnobRef.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.resizerKnobRef.removeEventListener("touchmove",this.suppressEventIfInTouchMode,{passive:!1}),this.resizerKnobRef.removeEventListener("touchend",this.suppressEventIfInTouchMode,{passive:!1})}}]),r}(S.PureComponent);xm.propTypes={columnKey:M.oneOfType([M.string,M.number]).isRequired,minWidth:M.number,maxWidth:M.number,width:M.number.isRequired,resizerLineHeight:M.number.isRequired,touchEnabled:M.bool,isRTL:M.bool,onColumnResizeEnd:M.func.isRequired,height:M.number.isRequired};var D8=["children","minWidth","maxWidth","onColumnResizeEnd","onColumnReorderEnd","rowIndex","left","touchEnabled","cellGroupType","onColumnReorderStart"];function $8(e){var t=N8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ra=function(e){Qe(r,e);var t=$8(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.children,a=or(o,D8),s;return S.isValidElement(i)?s=S.cloneElement(i,a):typeof i=="function"?s=i(a):s=S.createElement(xu,a,i),S.createElement(S.Fragment,null,S.createElement(xm,{height:this.props.height,resizerLineHeight:this.context.tableHeight,onColumnResizeEnd:this.props.onColumnResizeEnd,width:this.props.width,minWidth:this.props.minWidth,maxWidth:this.props.maxWidth,columnKey:this.props.columnKey,touchEnabled:this.props.touchEnabled,isRTL:this.context.isRTL}),s)}}]),r}(S.PureComponent);ra.contextType=Sn;ra.propTypes={columnKey:M.oneOfType([M.string,M.number]),minWidth:M.number,maxWidth:M.number,width:M.number,touchEnabled:M.bool,isRTL:M.bool,onColumnResizeEnd:M.func.isRequired,height:M.number};var L8=["cell"],F8=["cell"],j8=["height","width","columnIndex","isVisible","columnKey","isHeaderOrFooter","touchEnabled"];function Pp(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 xi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Pp(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function B8(e){var t=H8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Eu=function(e){Qe(r,e);var t=B8(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){if(o.isScrolling&&this.props.rowIndex===o.rowIndex&&this.props.isVisible===o.isVisible)return!1;if(!o.pureRendering)return!0;var i=this.props,a=i.cell,s=or(i,L8),l=o.cell,c=or(o,F8);return!Mo(s,c)||!a||!l||a.type!==l.type||!Mo(a.props,l.props)}},{key:"render",value:function(){var o=this.props,i=o.height,a=o.width,s=o.isVisible,l=o.isHeaderOrFooter,c=o.touchEnabled,d=or(o,j8),f={height:i,width:a};this.props.isRTL?f.right=d.left:f.left=d.left;var p=tt(se({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":d.lastChild,"fixedDataTableCellLayout/alignRight":d.align==="right","fixedDataTableCellLayout/alignCenter":d.align==="center","public/fixedDataTableCell/alignRight":d.align==="right","public/fixedDataTableCell/highlighted":d.highlighted,"public/fixedDataTableCell/main":!0}),d.className),g={touchEnabled:c,isVisible:s,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,cellGroupType:this.props.cellGroupType,columnIndex:this.props.columnIndex,columnKey:this.props.columnKey,height:this.props.height,width:this.props.width,left:this.props.left};d.rowIndex>=0&&(g.rowIndex=d.rowIndex);var m;this.props.isHeader&&(this.props.onColumnResizeEnd||this.props.onColumnReorderEnd)?this.props.onColumnResizeEnd&&this.props.onColumnReorderEnd?(g=xi(xi({},g),{},{minWidth:this.props.minWidth,maxWidth:this.props.maxWidth}),m=S.createElement(Io,Fe({},g,{onColumnReorderEnd:this.props.onColumnReorderEnd}),S.createElement(ra,{onColumnResizeEnd:this.props.onColumnResizeEnd},d.cell))):this.props.onColumnReorderEnd?m=S.createElement(Io,Fe({},g,{onColumnReorderEnd:this.props.onColumnReorderEnd}),d.cell):(g=xi(xi({},g),{},{minWidth:this.props.minWidth,maxWidth:this.props.maxWidth}),m=S.createElement(ra,Fe({},g,{onColumnResizeEnd:this.props.onColumnResizeEnd}),d.cell)):S.isValidElement(d.cell)?m=S.cloneElement(d.cell,g):typeof d.cell=="function"?m=d.cell(g):m=S.createElement(ta,g,d.cell);var h=l?"columnheader":"gridcell";return S.createElement("div",{className:p,style:f,role:h},m)}}]),r}(S.Component);Y(Eu,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:M.bool,align:M.oneOf(["left","center","right"]),className:M.string,highlighted:M.bool,width:M.number.isRequired,minWidth:M.number,maxWidth:M.number,height:M.number.isRequired,cell:M.oneOfType([M.string,M.element,M.func]),columnKey:M.oneOfType([M.string,M.number]),rowIndex:M.number.isRequired,left:M.number,pureRendering:M.bool,touchEnabled:M.bool,isHeaderOrFooter:M.bool,isRTL:M.bool,isVisible:M.bool.isRequired,onColumnResizeEnd:M.func,onColumnReorderEnd:M.func,isHeader:M.bool,cellGroupType:M.oneOf([ce.FIXED,ce.FIXED_RIGHT,ce.SCROLLABLE])});Y(Eu,"defaultProps",{align:"left",highlighted:!1});var z8=vm(Eu),W8=["offsetLeft"];function Cm(e){var t=V8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function V8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Em=function(e){Qe(r,e);var t=Cm(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),Y(Z(o),"_renderCell",function(i,a,s,l,c,d,f){var p=s.cellClassName,g=s.pureRendering||!1,m=s.isReorderable?o.props.onColumnReorderEndCallback:null,h=s.isResizable?o.props.onColumnResizeEndCallback:null;return S.createElement(z8,{columnIndex:s.index,isScrolling:o.props.isScrolling,isHeaderOrFooter:o.props.isHeaderOrFooter,isHeader:o.props.isHeader,isGroupHeader:o.props.isGroupHeader,align:s.align,className:p,height:a,key:d,maxWidth:s.maxWidth,minWidth:s.minWidth,touchEnabled:o.props.touchEnabled,onColumnResizeEnd:h,onColumnReorderEnd:m,rowIndex:i,columnKey:s.columnKey,width:s.width,left:c,cell:l,pureRendering:g,isRTL:o.props.isRTL,cellGroupType:o.props.cellGroupType,isVisible:o.props.isVisible&&f})}),o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var o=this.props,i=o.columns,a=new Array(i.length),s=Pi(i),l=0,c=0,d=i.length;c<d;c++){var f=i[c].props,p=i[c].template,g=f.allowCellsRecycling,m=l-o.left<=o.width&&l-o.left+f.width>=0;if(!g||m){var h=f.columnKey||"cell_"+c;a[c]=this._renderCell(o.rowIndex,o.rowHeight,f,p,l,h,m)}l+=f.width}var y={height:o.height,position:"absolute",width:s,zIndex:o.zIndex};return En(y,-1*o.left,0,this._initialRender,this.props.isRTL),S.createElement("div",{className:se("fixedDataTableCellGroupLayout/cellGroup"),style:y},a)}}]),r}(S.Component);Y(Em,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:M.array.isRequired,isScrolling:M.bool,left:M.number,height:M.number.isRequired,cellGroupWrapperHeight:M.number,rowHeight:M.number.isRequired,rowIndex:M.number.isRequired,width:M.number.isRequired,zIndex:M.number.isRequired,touchEnabled:M.bool,isHeaderOrFooter:M.bool,isRTL:M.bool,onColumnResizeEndCallback:M.func,onColumnReorderEndCallback:M.func,isHeader:M.bool,isVisible:M.bool.isRequired});var mo=function(e){Qe(r,e);var t=Cm(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){return!(o.isScrolling&&this.props.rowIndex===o.rowIndex&&this.props.left===o.left&&this.props.offsetLeft===o.offsetLeft&&this.props.isVisible===o.isVisible)}},{key:"render",value:function(){var o=this.props,i=o.offsetLeft,a=or(o,W8),s={height:a.cellGroupWrapperHeight||a.height,width:a.width};return this.props.isRTL?s.right=i:s.left=i,S.createElement("div",{style:s,className:se("fixedDataTableCellGroupLayout/cellGroupWrapper")},S.createElement(Em,a))}}]),r}(S.Component);Y(mo,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:M.bool,height:M.number.isRequired,offsetLeft:M.number,left:M.number,zIndex:M.number.isRequired});Y(mo,"defaultProps",{left:0,offsetLeft:0});var U8=["offsetTop","zIndex"];function Tm(e){var t=G8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function G8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Y8=1,Sm=function(e){Qe(r,e);var t=Tm(r);function r(){var n;Pe(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),Y(Z(n),"mouseLeaveIndex",null),Y(Z(n),"_getRowExpanded",function(s){if(n.props.rowExpanded){var l={rowIndex:n.props.index,height:s,width:n.props.width},c;return S.isValidElement(n.props.rowExpanded)?c=S.cloneElement(n.props.rowExpanded,l):typeof n.props.rowExpanded=="function"&&(c=n.props.rowExpanded(l)),c}}),Y(Z(n),"_renderColumnsLeftShadow",function(s){var l=se({"fixedDataTableRowLayout/fixedColumnsDivider":s>0,"fixedDataTableRowLayout/columnsShadow":n.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":s>0,"public/fixedDataTableRow/columnsShadow":n.props.scrollLeft>0}),c=n.props.cellGroupWrapperHeight?n.props.cellGroupWrapperHeight-Y8:n.props.height,d={left:s,height:c};return n.props.isRTL&&(d.right=s,d.left="auto"),S.createElement("div",{className:l,style:d})}),Y(Z(n),"_renderFixedRightColumnsShadow",function(s){var l=se("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),c={height:n.props.height,left:s};return n.props.isRTL&&(c.right=s,c.left="auto"),S.createElement("div",{className:l,style:c})}),Y(Z(n),"_renderColumnsRightShadow",function(s){if(Math.ceil(n.props.scrollLeft+n.props.width)<Math.floor(s)){var l=se("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),c={height:n.props.height};return S.createElement("div",{className:l,style:c})}}),Y(Z(n),"_onClick",function(s){n.props.onClick(s,n.props.index)}),Y(Z(n),"_onContextMenu",function(s){n.props.onContextMenu(s,n.props.index)}),Y(Z(n),"_onDoubleClick",function(s){n.props.onDoubleClick(s,n.props.index)}),Y(Z(n),"_onMouseUp",function(s){n.props.onMouseUp(s,n.props.index)}),Y(Z(n),"_onMouseDown",function(s){n.props.onMouseDown(s,n.props.index)}),Y(Z(n),"_onMouseEnter",function(s){n.mouseLeaveIndex=n.props.index,n.props.onMouseEnter&&n.props.onMouseEnter(s,n.props.index)}),Y(Z(n),"_onMouseLeave",function(s){n.mouseLeaveIndex===null&&(n.mouseLeaveIndex=n.props.index),n.props.onMouseLeave(s,n.mouseLeaveIndex),n.mouseLeaveIndex=null}),Y(Z(n),"_onTouchStart",function(s){n.props.onTouchStart(s,n.props.index)}),Y(Z(n),"_onTouchEnd",function(s){n.props.onTouchEnd(s,n.props.index)}),Y(Z(n),"_onTouchMove",function(s){n.props.onTouchMove(s,n.props.index)}),n}return Ie(r,[{key:"shouldComponentUpdate",value:function(o){return o.isScrolling?o.visible?this.props.visible!==o.visible?!0:!(this.props.index===o.index&&this.props.scrollLeft===o.scrollLeft):!1:!0}},{key:"render",value:function(){var o=this.props.subRowHeight||0,i={width:this.props.width,height:this.props.height+o},a=se({"fixedDataTableRowLayout/main":!0,"public/fixedDataTableRow/main":!0,"public/fixedDataTableRow/highlighted":this.props.index%2===1,"public/fixedDataTableRow/odd":this.props.index%2===1,"public/fixedDataTableRow/even":this.props.index%2===0}),s=Pi(this.props.fixedColumns),l=S.createElement(mo,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:s,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:ce.FIXED,isVisible:this.props.visible}),c=this._renderColumnsLeftShadow(s),d=Pi(this.props.fixedRightColumns),f=this.props.showScrollbarY?this.props.scrollbarYWidth:0,p=S.createElement(mo,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-d-f,width:d,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:ce.FIXED_RIGHT,isVisible:this.props.visible}),g=d?this._renderFixedRightColumnsShadow(this.props.width-d-f-5):null,m=S.createElement(mo,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:s,width:this.props.width-s-d-f,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResizeEndCallback:this.props.onColumnResizeEndCallback,onColumnReorderEndCallback:this.props.onColumnReorderEndCallback,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isHeader:this.props.isHeader,isGroupHeader:this.props.isGroupHeader,isRTL:this.props.isRTL,cellGroupType:ce.SCROLLABLE,isVisible:this.props.visible}),h=Pi(this.props.scrollableColumns),y=this._renderColumnsRightShadow(s+h),b=this._getRowExpanded(o),T={height:o,top:this.props.height,width:this.props.width},E=null;if(this.props.showScrollbarY){var x={width:f,height:this.props.height,left:this.props.isRTL?2:this.props.width-f-2};E=S.createElement("div",{style:x,className:se("public/fixedDataTable/scrollbarSpacer")})}return S.createElement("div",Fe({className:tt(a,this.props.className),role:"row","aria-rowindex":this.props.ariaRowIndex},this.props.attributes,{onClick:this.props.onClick?this._onClick:null,onContextMenu:this.props.onContextMenu?this._onContextMenu:null,onDoubleClick:this.props.onDoubleClick?this._onDoubleClick:null,onMouseDown:this.props.onMouseDown?this._onMouseDown:null,onMouseUp:this.props.onMouseUp?this._onMouseUp:null,onMouseEnter:this.props.onMouseEnter||this.props.onMouseLeave?this._onMouseEnter:null,onMouseLeave:this.props.onMouseLeave?this._onMouseLeave:null,onTouchStart:this.props.onTouchStart?this._onTouchStart:null,onTouchEnd:this.props.onTouchEnd?this._onTouchEnd:null,onTouchMove:this.props.onTouchMove?this._onTouchMove:null,style:i}),S.createElement("div",{className:se("fixedDataTableRowLayout/body")},l,m,c,p,g,E),b&&S.createElement("div",{className:se("fixedDataTableRowLayout/rowExpanded"),style:T},b),y)}}]),r}(S.Component);Y(Sm,"propTypes",{isScrolling:M.bool,fixedColumns:M.array.isRequired,fixedRightColumns:M.array.isRequired,height:M.number.isRequired,cellGroupWrapperHeight:M.number,subRowHeight:M.number,rowExpanded:M.oneOfType([M.element,M.func]),index:M.number.isRequired,scrollableColumns:M.array.isRequired,scrollLeft:M.number.isRequired,width:M.number.isRequired,onClick:M.func,onContextMenu:M.func,onDoubleClick:M.func,onColumnReorderEndCallback:M.func,touchEnabled:M.bool,isHeaderOrFooter:M.bool,ariaRowIndex:M.number,isRTL:M.bool,attributes:M.object,onColumnResizeEndCallback:M.func,isHeader:M.bool,isGroupHeader:M.bool,scrollToX:M.func});var vo=function(e){Qe(r,e);var t=Tm(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(o){return!o.isScrolling||this.props.visible!==o.visible?!0:o.visible?!(o.isScrolling&&this.props.index===o.index&&this.props.offsetTop===o.offsetTop&&this.props.scrollLeft===o.scrollLeft):!1}},{key:"render",value:function(){var o=this.props,i=o.offsetTop,a=o.zIndex,s=or(o,U8),l={width:this.props.width,height:this.props.height,zIndex:a||0,visibility:s.visible?"visible":"hidden"};return En(l,0,i,this._initialRender,this.props.isRTL),S.createElement("div",{style:l,className:se("fixedDataTableRowLayout/rowWrapper")},S.createElement(Sm,s))}}]),r}(S.Component);Y(vo,"propTypes",{isScrolling:M.bool,height:M.number.isRequired,zIndex:M.number,offsetTop:M.number.isRequired,visible:M.bool.isRequired,width:M.number.isRequired});function q8(e){var t=X8();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function X8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Rm=function(e){Qe(r,e);var t=q8(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),o._staticRowArray=[],o._initialRender=!0,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this._staticRowArray.length=0}},{key:"render",value:function(){var o=this.props,i=o.offsetTop,a=o.rowOffsets,s=o.scrollTop,l=o.isScrolling,c=o.rowsToRender;c=c||[],l?this._staticRowArray.length=Math.max(this._staticRowArray.length,c.length):this._staticRowArray.length=c.length;for(var d=1e6,f=i-s%d,p=0;p<this._staticRowArray.length;p++){var g,m=jD(c[p],(g=this._staticRowArray[p])===null||g===void 0?void 0:g.props.index);if(go(m)||!Hr(m,0,this.props.rowSettings.rowsCount)){this._staticRowArray[p]=null;continue}var h=a[m]-Math.floor(s/d)*d;this._staticRowArray[p]=this.renderRow({rowIndex:m,key:p,rowOffsetTop:h})}var y={position:"relative"};En(y,0,f,!1);var b=this._staticRowArray.slice().sort(this.rowSortComparator);return S.createElement("div",{style:y},b)}},{key:"renderRow",value:function(o){var i=o.rowIndex,a=o.key,s=o.rowOffsetTop,l=this.props,c=l.rowClassNameGetter||nt,d={};d.height=this.props.rowSettings.rowHeightGetter(i),d.subRowHeight=this.props.rowSettings.subRowHeightGetter(i),d.offsetTop=s,d.key=l.rowKeyGetter?l.rowKeyGetter(i):a,d.attributes=l.rowSettings.rowAttributesGetter&&l.rowSettings.rowAttributesGetter(i);var f=i===l.rowSettings.rowsCount-1&&l.showLastRowBorder;d.className=tt(c(i),se("public/fixedDataTable/bodyRow"),se({"fixedDataTableLayout/hasBottomBorder":f,"public/fixedDataTable/hasBottomBorder":f}));var p=Hr(i,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return S.createElement(vo,Fe({key:a,index:i,ariaRowIndex:i+l.ariaRowIndexOffset,isScrolling:l.isScrolling,width:l.width,rowExpanded:l.rowExpanded,scrollLeft:Math.round(l.scrollLeft),fixedColumns:l.fixedColumns,fixedRightColumns:l.fixedRightColumns,scrollableColumns:l.scrollableColumns,onClick:l.onRowClick,onContextMenu:l.onRowContextMenu,onDoubleClick:l.onRowDoubleClick,onMouseDown:l.onRowMouseDown,onMouseUp:l.onRowMouseUp,onMouseEnter:l.onRowMouseEnter,onMouseLeave:l.onRowMouseLeave,onTouchStart:l.onRowTouchStart,onTouchEnd:l.onRowTouchEnd,onTouchMove:l.onRowTouchMove,showScrollbarY:l.showScrollbarY,scrollbarYWidth:l.scrollbarYWidth,isRTL:l.isRTL,visible:p},d))}},{key:"rowSortComparator",value:function(o,i){var a,s;return((a=o==null?void 0:o.props.ariaRowIndex)!==null&&a!==void 0?a:-1)-((s=i==null?void 0:i.props.ariaRowIndex)!==null&&s!==void 0?s:-1)}}]),r}(S.Component);Y(Rm,"propTypes",{ariaRowIndexOffset:M.number,isScrolling:M.bool,firstViewportRowIndex:M.number.isRequired,endViewportRowIndex:M.number.isRequired,fixedColumns:M.array.isRequired,fixedRightColumns:M.array.isRequired,height:M.number.isRequired,offsetTop:M.number.isRequired,onRowClick:M.func,onRowContextMenu:M.func,onRowDoubleClick:M.func,onRowMouseDown:M.func,onRowMouseUp:M.func,onRowMouseEnter:M.func,onRowMouseLeave:M.func,onRowTouchStart:M.func,onRowTouchEnd:M.func,onRowTouchMove:M.func,rowClassNameGetter:M.func,rowExpanded:M.oneOfType([M.element,M.func]),rowOffsets:M.object.isRequired,rowKeyGetter:M.func,rowSettings:M.shape({rowAttributesGetter:M.func,rowHeightGetter:M.func,rowsCount:M.number.isRequired,subRowHeightGetter:M.func}),rowsToRender:M.array.isRequired,scrollLeft:M.number.isRequired,scrollTop:M.number.isRequired,scrollableColumns:M.array.isRequired,showLastRowBorder:M.bool,showScrollbarY:M.bool,width:M.number.isRequired,isRTL:M.bool});var Ip=1.6,K8=1.6,Q8=325,Zn=100,Z8=function(){function e(t,r,n,o,i){Pe(this,e),this._dragAnimationId=null,this._trackerId=null,this._deltaX=0,this._deltaY=0,this._lastTouchX=0,this._lastTouchY=0,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),this._autoScrollTimestamp=Date.now(),typeof r!="function"&&(r=r?nt.thatReturnsTrue:nt.thatReturnsFalse),typeof n!="function"&&(n=n?nt.thatReturnsTrue:nt.thatReturnsFalse),this._handleScrollX=r,this._handleScrollY=n,this._preventDefault=o,this._stopPropagation=i,this._onTouchScrollCallback=t,this._didTouchMove=this._didTouchMove.bind(this),this._track=this._track.bind(this),this._autoScroll=this._autoScroll.bind(this),this._startAutoScroll=this._startAutoScroll.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchCancel=this.onTouchCancel.bind(this)}return Ie(e,[{key:"onTouchStart",value:function(r){this._lastTouchX=r.touches[0].pageX,this._lastTouchY=r.touches[0].pageY,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),clearInterval(this._trackerId),this._trackerId=setInterval(this._track,Zn),this._stopPropagation&&r.stopPropagation()}},{key:"onTouchEnd",value:function(r){clearInterval(this._trackerId),this._trackerId=null,yr(this._startAutoScroll),this._stopPropagation&&r.stopPropagation()}},{key:"onTouchCancel",value:function(r){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&r.stopPropagation()}},{key:"onTouchMove",value:function(r){this._preventDefault&&r.preventDefault();var n=r.touches[0].pageX,o=r.touches[0].pageY;this._deltaX=Ip*(this._lastTouchX-n),this._deltaY=Ip*(this._lastTouchY-o);var i=this._handleScrollX(this._deltaX,this._deltaY),a=this._handleScrollY(this._deltaY,this._deltaX);if(!(!i&&!a)){i?this._lastTouchX=n:this._deltaX=0,a?this._lastTouchY=o:this._deltaY=0,r.defaultPrevented||r.preventDefault();var s=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&r.stopPropagation(),s=!0),s===!0&&this._dragAnimationId===null&&(this._dragAnimationId=yr(this._didTouchMove))}}},{key:"_didTouchMove",value:function(){this._dragAnimationId=null,this._onTouchScrollCallback(this._deltaX,this._deltaY),this._accumulatedDeltaX+=this._deltaX,this._accumulatedDeltaY+=this._deltaY,this._deltaX=0,this._deltaY=0}},{key:"_track",value:function(){var r=Date.now(),n=r-this._lastFrameTimestamp,o=this._velocityX,i=this._velocityY,a=.8;n<Zn&&(a*=n/Zn),o===0&&i===0&&(a=1),this._velocityX=a*(Zn*this._accumulatedDeltaX/(1+n)),a<1&&(this._velocityX+=(1-a)*o),this._velocityY=a*(Zn*this._accumulatedDeltaY/(1+n)),a<1&&(this._velocityY+=(1-a)*i),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=r}},{key:"_startAutoScroll",value:function(){this._autoScrollTimestamp=Date.now(),(this._deltaX>0||this.deltaY>0)&&this._didTouchMove(),this._track(),this._autoScroll()}},{key:"_autoScroll",value:function(){var r=Date.now()-this._autoScrollTimestamp,n=K8*Math.exp(-r/Q8),o=n*this._velocityX,i=n*this._velocityY;(Math.abs(o)<=5||!this._handleScrollX(o,i))&&(o=0),(Math.abs(i)<=5||!this._handleScrollY(i,o))&&(i=0),(o!==0||i!==0)&&(this._onTouchScrollCallback(o,i),yr(this._autoScroll))}}]),e}();function J8(e){var t=e$();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function e$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Ci=25,Tu=function(e){Qe(r,e);var t=J8(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),Y(Z(o),"_shouldHandleTouchX",function(i){return o.props.touchScrollEnabled&&o._shouldHandleWheelX(i)}),Y(Z(o),"_shouldHandleTouchY",function(i){return o.props.touchScrollEnabled&&o._shouldHandleWheelY(i)}),Y(Z(o),"_shouldHandleWheelX",function(i){var a=o.props,s=a.maxScrollX,l=a.scrollFlags,c=a.scrollX,d=l.overflowX;return d==="hidden"||(i=Math.round(i),i===0)?!1:i<0&&c>0||i>=0&&c<s}),Y(Z(o),"_shouldHandleWheelY",function(i){var a=o.props,s=a.maxScrollY,l=a.scrollFlags,c=a.scrollY,d=l.overflowY;return d==="hidden"||i===0||(i=Math.round(i),i===0)?!1:i<0&&c>0||i>=0&&c<s}),Y(Z(o),"_reportContentHeight",function(){var i=gn(o.props),a=i.contentHeight,s=o.props.onContentHeightChange;a!==o._contentHeight&&s&&s(a),o._contentHeight=a}),Y(Z(o),"_renderRows",function(i,a,s,l,c,d){var f=Vr(o.props),p=f.scrollEnabledY,g=o.props;return S.createElement(Rm,{ariaRowIndexOffset:d,isScrolling:g.scrolling,fixedColumns:a,fixedRightColumns:s,firstViewportRowIndex:g.firstRowIndex,endViewportRowIndex:g.endRowIndex,height:c,offsetTop:i,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:l,showLastRowBorder:!0,width:g.tableSize.width,rowsToRender:g.rows,rowOffsets:g.rowOffsets,showScrollbarY:p,scrollbarYWidth:g.scrollbarYWidth,isRTL:g.isRTL})}),Y(Z(o),"_onRef",function(i){o._divRef=i,o._wheelHandler&&(o.props.stopReactWheelPropagation?o._wheelHandler.setRoot(i):o._wheelHandler.setRoot(null))}),Y(Z(o),"_onScroll",function(i,a){var s=o.props,l=s.maxScrollX,c=s.maxScrollY,d=s.onHorizontalScroll,f=s.onVerticalScroll,p=s.scrollActions,g=s.scrollFlags,m=s.scrollX,h=s.scrollY,y=g.overflowX,b=g.overflowY,T=m,E=h;if(Math.abs(a)>Math.abs(i)&&b!=="hidden")E+=a,E=E<0?0:E,E=E>c?c:E,(!f||f(E))&&p.scrollToY(E);else if(i&&y!=="hidden"){T+=i,T=T<0?0:T,T=T>l?l:T;var x=Math.round(T);(!d||d(x))&&p.scrollToX(x)}}),Y(Z(o),"_scrollTo",function(i,a){o.props.scrollActions.scrollToX(i),o.props.scrollActions.scrollToY(a)}),Y(Z(o),"_didScroll",function(i){var a=o.props,s=a.onScrollStart,l=a.scrollX,c=a.scrollY,d=a.onHorizontalScroll,f=a.onVerticalScroll,p=a.tableSize.ownerHeight,g=a.scrolling,m=i.endRowIndex,h=i.firstRowIndex,y=i.scrollX,b=i.scrollY,T=i.tableSize.ownerHeight,E=i.scrolling,x=p!==T&&!(Ep(p)&&Ep(T)),C=l!==y,_=c!==b;!x&&!C&&!_||(!E&&g&&s&&s(y,b,h,m),C&&d&&d(l),_&&f&&f(c),o._didScrollStop())}),Y(Z(o),"_didScrollStopSync",function(){var i=o.props,a=i.endRowIndex,s=i.firstRowIndex,l=i.onScrollEnd,c=i.scrollActions,d=i.scrollX,f=i.scrollY,p=i.scrolling;p&&(c.stopScroll(),l&&l(d,f,s,a))}),o._didScrollStop=cD(o._didScrollStopSync,200,Z(o)),o._onKeyDown=o._onKeyDown.bind(Z(o)),o._setupHandlers(),o}return Ie(r,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new Kg(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new Z8(this._onScroll,this._shouldHandleTouchX,this._shouldHandleTouchY,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._divRef&&this._divRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this.props.touchScrollEnabled&&this._divRef&&this._divRef.addEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1})}},{key:"_cleanupHandlers",value:function(){this._wheelHandler&&(this._divRef&&this._divRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._wheelHandler=null),this._touchHandler&&(this._divRef&&this._divRef.removeEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1}),this._touchHandler=null)}},{key:"_onKeyDown",value:function(o){var i=gn(this.props),a=i.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(o.key){case"PageDown":this._onScroll(0,a),o.preventDefault();break;case"PageUp":this._onScroll(0,a*-1),o.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(o.key){case"ArrowDown":this._onScroll(0,Ci),o.preventDefault();break;case"ArrowUp":this._onScroll(0,Ci*-1),o.preventDefault();break;case"ArrowRight":this._onScroll(Ci,0),o.preventDefault();break;case"ArrowLeft":this._onScroll(Ci*-1,0),o.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(o){return!Mo(this.props,o)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(o){this._didScroll(o),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var o=gn(this.props),i=o.bodyOffsetTop,a=o.scrollbarXOffsetTop,s=o.visibleRowsHeight,l=this.props,c=l.tableSize.width,d=l.scrollContentHeight,f=l.scrollY,p=l.scrollX,g={viewportHeight:s,contentHeight:d,scrollbarYOffsetTop:i,scrollY:f,viewportWidth:c,contentWidth:c+this.props.maxScrollX,scrollbarXOffsetTop:a,scrollX:p,scrollTo:this._scrollTo,scrollToX:this.props.scrollActions.scrollToX,scrollToY:this.props.scrollActions.scrollToY};Mo(this.previousScrollState,g)||(this.props.onScrollBarsUpdate(g),this.previousScrollState=g)}},{key:"render",value:function(){var o=dD(this.props),i=o.ariaGroupHeaderIndex,a=o.ariaHeaderIndex,s=o.ariaFooterIndex,l=o.ariaRowCount,c=o.ariaRowIndexOffset,d=LD(this.props),f=d.fixedColumnGroups,p=d.fixedColumns,g=d.fixedRightColumnGroups,m=d.fixedRightColumns,h=d.scrollableColumnGroups,y=d.scrollableColumns,b=gn(this.props),T=b.bodyHeight,E=b.bodyOffsetTop,x=b.componentHeight,C=b.footOffsetTop,_=b.scrollbarXOffsetTop,O=b.visibleRowsHeight,k=this.props,D=k.className,j=k.elementHeights,V=k.gridAttributesGetter,R=k.maxScrollY,A=k.onColumnReorderEndCallback,H=k.onColumnResizeEndCallback,B=k.scrollContentHeight,L=k.scrollX,P=k.scrollY,z=k.scrolling,q=k.tableSize,I=k.touchScrollEnabled,U=k.scrollbarYWidth,Q=q.ownerHeight,X=q.width,K=j.cellGroupWrapperHeight,ee=j.footerHeight,te=j.groupHeaderHeight,ie=j.headerHeight,oe=Vr(this.props),de=oe.scrollEnabledX,ae=oe.scrollEnabledY,ye=V&&V(),W;te>0&&(W=S.createElement(vo,{key:"group_header",ariaRowIndex:i,isHeaderOrFooter:!0,isScrolling:z,className:tt(se("fixedDataTableLayout/header"),se("public/fixedDataTable/header")),width:X,height:te,cellGroupWrapperHeight:K,index:0,zIndex:1,offsetTop:0,scrollLeft:L,fixedColumns:f,fixedRightColumns:g,scrollableColumns:h,visible:!0,touchEnabled:I,onColumnResizeEndCallback:H,onColumnReorderEndCallback:A,showScrollbarY:ae,scrollbarYWidth:U,isRTL:this.props.isRTL,isHeader:!0,isGroupHeader:!0}));var ne;ae&&(ne=this.props.scrollbarY);var ue;de&&(ue=this.props.scrollbarX);var me=null;ee&&(me=S.createElement(vo,{key:"footer",ariaRowIndex:s,isHeaderOrFooter:!0,isScrolling:z,className:tt(se("fixedDataTableLayout/footer"),se("public/fixedDataTable/footer")),width:X,height:ee,index:-1,zIndex:1,offsetTop:C,visible:!0,fixedColumns:p.footer,fixedRightColumns:m.footer,scrollableColumns:y.footer,scrollLeft:L,showScrollbarY:ae,scrollbarYWidth:U,isRTL:this.props.isRTL}));var Ke=this._renderRows(E,p.cell,m.cell,y.cell,T,c),Ge=S.createElement(vo,{key:"header",ariaRowIndex:a,isHeaderOrFooter:!0,isScrolling:z,className:tt(se("fixedDataTableLayout/header"),se("public/fixedDataTable/header")),width:X,height:ie,cellGroupWrapperHeight:K,index:-1,zIndex:1,offsetTop:te,scrollLeft:L,visible:!0,fixedColumns:p.header,fixedRightColumns:m.header,scrollableColumns:y.header,touchEnabled:I,onColumnResizeEndCallback:H,onColumnReorderEndCallback:A,showScrollbarY:ae,scrollbarYWidth:U,isRTL:this.props.isRTL,isHeader:!0}),ze;P&&(ze=S.createElement("div",{className:tt(se("fixedDataTableLayout/topShadow"),se("public/fixedDataTable/topShadow")),style:{top:E}}));var _t=Q&&Q<x&&B>O,Ze;(_t||P<R)&&(Ze=S.createElement("div",{className:tt(se("fixedDataTableLayout/bottomShadow"),se("public/fixedDataTable/bottomShadow")),style:{top:C}}));var lt=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(lt=0);var et=D;return this.props.isRTL&&(et=tt(et,"fixedDataTable_isRTL")),S.createElement("div",Fe({className:tt(et,se("fixedDataTableLayout/main"),se("public/fixedDataTable/main")),role:"grid","aria-rowcount":l},ye,{tabIndex:lt,onKeyDown:this._onKeyDown,onTouchStart:I?this._touchHandler.onTouchStart:null,onTouchEnd:I?this._touchHandler.onTouchEnd:null,onTouchCancel:I?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:x,width:X}}),S.createElement("div",{className:se("fixedDataTableLayout/rowsContainer"),style:{height:_,width:X}},W,Ge,Ke,me,ze,Ze),ne,ue)}}]),r}(S.Component);Y(Tu,"propTypes",{width:M.number.isRequired,height:M.number,className:M.string,maxHeight:M.number,ownerHeight:M.number,overflowX:M.oneOf(["hidden","auto"]),overflowY:M.oneOf(["hidden","auto"]),touchScrollEnabled:M.bool,keyboardScrollEnabled:M.bool,keyboardPageEnabled:M.bool,scrollbarX:M.node,scrollbarXHeight:M.number,scrollbarY:M.node,scrollbarYWidth:M.number,onScrollBarsUpdate:M.func,defaultScrollbars:M.bool,showScrollbarX:M.bool,showScrollbarY:M.bool,onHorizontalScroll:M.func,onVerticalScroll:M.func,rowsCount:M.number.isRequired,rowHeight:M.number.isRequired,rowHeightGetter:M.func,subRowHeight:M.number,subRowHeightGetter:M.func,rowExpanded:M.oneOfType([M.element,M.func]),rowClassNameGetter:M.func,rowKeyGetter:M.func,groupHeaderHeight:M.number,headerHeight:M.number.isRequired,cellGroupWrapperHeight:M.number,footerHeight:M.number,scrollLeft:M.number,scrollToColumn:M.number,scrollTop:M.number,isVerticalScrollExact:M.bool,scrollToRow:M.number,onScrollStart:M.func,onScrollEnd:M.func,stopReactWheelPropagation:M.bool,stopScrollDefaultHandling:M.bool,stopScrollPropagation:M.bool,onContentHeightChange:M.func,onRowClick:M.func,onRowContextMenu:M.func,onRowDoubleClick:M.func,onRowMouseDown:M.func,onRowMouseUp:M.func,onRowMouseEnter:M.func,onRowMouseLeave:M.func,onRowTouchStart:M.func,onRowTouchEnd:M.func,onRowTouchMove:M.func,onColumnResizeEndCallback:M.func,onColumnReorderEndCallback:M.func,isRTL:M.bool,bufferRowCount:M.number,elementHeights:M.shape({cellGroupWrapperHeight:M.number,footerHeight:M.number,groupHeaderHeight:M.number,headerHeight:M.number}),gridAttributesGetter:M.func,rowAttributesGetter:M.func});Y(Tu,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var t$={get:function(){return H6({reducer:q6,devTools:process.env.NODE_ENV!=="production",middleware:function(r){return r({immutableCheck:!1,serializableCheck:!1})}})}},r$=tu,n$=Ko,o$=Ha,i$=Ft,a$=Xo,s$=Ro.exports,l$=Va,c$=Tg,u$="[object Map]",d$="[object Set]",f$=Object.prototype,p$=f$.hasOwnProperty;function h$(e){if(e==null)return!0;if(a$(e)&&(i$(e)||typeof e=="string"||typeof e.splice=="function"||s$(e)||c$(e)||o$(e)))return!e.length;var t=n$(e);if(t==u$||t==d$)return!e.size;if(l$(e))return!r$(e).length;for(var r in e)if(p$.call(e,r))return!1;return!0}var Dp=h$;function _m(e){var t=g$();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function g$(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var m$=function(e){Qe(r,e);var t=_m(r);function r(){var n;Pe(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=t.call.apply(t,[this].concat(i)),Y(Z(n),"state",{}),Y(Z(n),"_onScrollBarsUpdate",function(s){n.setState(s)}),Y(Z(n),"_onVerticalScroll",function(s){n.state.scrollToY!==void 0&&n.state.scrollToY(s)}),Y(Z(n),"_onHorizontalScroll",function(s){n.state.scrollToX!==void 0&&n.state.scrollToX(s)}),n}return Ie(r,[{key:"render",value:function(){var o=!Dp(this.state)&&S.createElement(Ct,{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=!Dp(this.state)&&S.createElement(Mm,{contentSize:this.state.contentWidth,offset:this.state.scrollbarXOffsetTop,onScroll:this._onHorizontalScroll,position:this.state.scrollX,size:this.state.viewportWidth,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL});return S.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:i,scrollbarY:o})}}]),r}(S.Component),Mm=function(e){Qe(r,e);var t=_m(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){var o=this.props,i=o.offset,a=o.size,s={height:Ct.SIZE,width:a},l={height:Ct.SIZE,overflow:"hidden",width:a,top:i};return S.createElement("div",{className:tt(se("public/fixedDataTable/horizontalScrollbar")),style:s},S.createElement("div",{style:l},S.createElement(Ct,Fe({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),r}(S.PureComponent);Y(Mm,"propTypes",{contentSize:M.number.isRequired,offset:M.number.isRequired,onScroll:M.func.isRequired,position:M.number.isRequired,size:M.number.isRequired,isRTL:M.bool});var v$=function(){return ur([function(t){return gn(t).componentHeight},function(t){return t.elementHeights.groupHeaderHeight},function(t){return t.scrollX},function(t){return t.maxScrollX},function(t){return Qo(t).availableScrollWidth},function(t){return t.isRTL}],function(t,r,n,o,i,a){return{tableHeight:t,groupHeaderHeight:r,scrollX:n,maxScrollX:o,availableScrollWidth:i,isRTL:a}})},y$=Xr,b$=Ft,w$=Rr,x$="[object String]";function C$(e){return typeof e=="string"||!b$(e)&&w$(e)&&y$(e)==x$}var E$=C$;function T$(e){return function(t){return t==null?void 0:t[e]}}var S$=T$,R$=S$,_$=R$("length"),M$=_$,O$="\\ud800-\\udfff",k$="\\u0300-\\u036f",A$="\\ufe20-\\ufe2f",P$="\\u20d0-\\u20ff",I$=k$+A$+P$,D$="\\ufe0e\\ufe0f",$$="\\u200d",N$=RegExp("["+$$+O$+I$+D$+"]");function L$(e){return N$.test(e)}var F$=L$,Om="\\ud800-\\udfff",j$="\\u0300-\\u036f",B$="\\ufe20-\\ufe2f",H$="\\u20d0-\\u20ff",z$=j$+B$+H$,W$="\\ufe0e\\ufe0f",V$="["+Om+"]",nc="["+z$+"]",oc="\\ud83c[\\udffb-\\udfff]",U$="(?:"+nc+"|"+oc+")",km="[^"+Om+"]",Am="(?:\\ud83c[\\udde6-\\uddff]){2}",Pm="[\\ud800-\\udbff][\\udc00-\\udfff]",G$="\\u200d",Im=U$+"?",Dm="["+W$+"]?",Y$="(?:"+G$+"(?:"+[km,Am,Pm].join("|")+")"+Dm+Im+")*",q$=Dm+Im+Y$,X$="(?:"+[km+nc+"?",nc,Am,Pm,V$].join("|")+")",$p=RegExp(oc+"(?="+oc+")|"+X$+q$,"g");function K$(e){for(var t=$p.lastIndex=0;$p.test(e);)++t;return t}var Q$=K$,Z$=M$,J$=F$,e7=Q$;function t7(e){return J$(e)?e7(e):Z$(e)}var r7=t7,n7=tu,o7=Ko,i7=Xo,a7=E$,s7=r7,l7="[object Map]",c7="[object Set]";function u7(e){if(e==null)return 0;if(i7(e))return a7(e)?s7(e):e.length;var t=o7(e);return t==l7||t==c7?e.size:n7(e).length}var Xs=u7,d7=function(t){return{offset:t.offset,width:t.width,index:t.index,columnKey:t.columnKey}},Ei=function(t){return{offset:t.offset,width:t.width,index:t.index,columnKey:t.columnKey}},f7=function(){return ur([function(t){return Qo(t)},function(t,r){return r}],function(t,r){var n=t.fixedColumns,o=t.fixedRightColumns,i=t.scrollableColumns,a=t.fixedColumnGroups,s=t.fixedRightColumnGroups,l=t.scrollableColumnGroups,c=function(P){var z=n.length+i.length+o.length;if(P<0||P>=z||!Number.isInteger(P))throw"columnIndex must be an integer between 0 and ".concat(z-1," inclusive")},d=function(P){var z=a.length+l.length+s.length;if(P<0||P>=z||!Number.isInteger(P))throw"columnGroupIndex must be an integer between 0 and ".concat(z-1," inclusive")},f=function(P){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(z&&go(P))&&P!==ce.FIXED&&P!==ce.FIXED_RIGHT&&P!==ce.SCROLLABLE)throw"Invalid CellGroupType"},p=function(P){return P<n.length?ce.FIXED:P<n.length+i.length?ce.SCROLLABLE:ce.FIXED_RIGHT},g=function(P){return P<a.length?ce.FIXED:P<a.length+l.length?ce.SCROLLABLE:ce.FIXED_RIGHT},m=function(P,z){if(z===ce.FIXED)return P;if(z===ce.SCROLLABLE)return P-n.length;if(z===ce.FIXED_RIGHT)return P-n.length-i.length},h=function(P,z){if(z===ce.FIXED)return P;if(z===ce.SCROLLABLE)return P-a.length;if(z===ce.FIXED_RIGHT)return P-a.length-l.length},y=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ce.SCROLLABLE;f(P);var z=k(P);return z.reduce(function(q,I){return q+I.width},0)},b=function(P,z){var q=k(z),I=m(P,z);return q[I]},T=function(P){c(P);var z=p(P),q=b(P,z);return d7(q)},E=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(f(P,!0),go(P))return n.length+i.length+o.length;var z=k(P);return z.length},x=function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(f(P,!0),go(P))return a.length+l.length+s.length;var z=D(P);return z.length},C=function(P,z){var q=D(z),I=h(P,z);return Ei(q[I])},_=function(P){d(P);var z=g(P);return C(P,z)},O=function(P){c(P);var z=p(P),q=b(P,z).groupIdx,I=j(q);return Ei(I)},k=function(P){if(P===ce.FIXED)return n;if(P===ce.FIXED_RIGHT)return o;if(P===ce.SCROLLABLE)return i;throw"Invalid cell group type"},D=function(P){if(P===ce.FIXED)return a;if(P===ce.FIXED_RIGHT)return s;if(P===ce.SCROLLABLE)return l;throw"Invalid cell group type"},j=function(P){var z=Xs(a),q=Xs(l),I=Xs(s);if(Hr(P,0,z))return a[P];if(Hr(P,z,z+q))return l[P-z];if(Hr(P,z+q,z+q+I))return s[P-z-q];throw"Invalid absolute column group index"},V=function(P,z){if(P.length===0)return{element:null,distanceFromOffset:null};for(var q=0,I=0;I!==P.length&&!(q>z);)q+=P[I].width,I++;return I=qa(I-1,0,P.length-1),{element:P[I],distanceFromOffset:P[I].width-(q-z)}},R=function(P){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce.SCROLLABLE;f(z);var q=k(z),I=V(q,P),U=I.element,Q=I.distanceFromOffset;return U&&(U=Ei(U)),{column:U,distanceFromOffset:Q}},A=function(P){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce.SCROLLABLE;f(z);var q=D(z),I=V(q,P),U=I.element,Q=I.distanceFromOffset;return U&&(U=Ei(U)),{columnGroup:U,distanceFromOffset:Q}},H=r.scrollToX,B=r.updateRowHeights;return{getColumn:T,getColumnGroup:_,getColumnGroupByChild:O,getColumnAtOffset:R,getColumnGroupAtOffset:A,getCellGroupWidth:y,getColumnCount:E,getColumnGroupCount:x,scrollToX:H,updateRowHeights:B}})};function Np(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ks(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Np(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Np(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var p7=function(){var t=[],r=null,n=function(s){return t=t.concat(s),function(){var l=t.indexOf(s);t.splice(l,1)}},o=v$(),i=f7();return{getValue:ur([function(a){return o(a)},function(a,s){return i(a,s)}],function(a,s){return r=Ks(Ks(Ks({},a),s),{},{subscribe:n}),r}),notify:function(){t.forEach(function(s){return s(r)})}}};function Lp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ti(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lp(Object(r),!0).forEach(function(n){Y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function h7(e){var t=g7();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function g7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var $m=function(e){Qe(r,e);var t=h7(r);function r(n){var o;return Pe(this,r),o=t.call(this,n),o._initialize(n),o.fixedDataTableApi=p7(),o.previousApiValue=null,o}return Ie(r,[{key:"componentDidMount",value:function(){this._initialize(this.props)}},{key:"componentWillUnmount",value:function(){this._cleanup()}},{key:"componentDidUpdate",value:function(){this.notifyApiValueChanges()}},{key:"_initialize",value:function(o){var i=this;if(!this.reduxStore){this.reduxStore=t$.get(),this.reduxStore.dispatch(X6(o)),this.scrollActions=tD(this.reduxStore,function(){return i.props}),this.unsubscribe=this.reduxStore.subscribe(this.onStoreUpdate.bind(this));var a={boundState:r.getBoundState(this.reduxStore),reduxStore:this.reduxStore,props:o};this.state?this.setState(a):this.state=a}}},{key:"_cleanup",value:function(){this.reduxStore&&(this.unsubscribe(),this.unsubscribe=null,this.reduxStore=null)}},{key:"getApi",value:function(){var o=this;return this.fixedDataTableApi.getValue(Ti(Ti({},this.props),this.reduxStore.getState()),Ti(Ti({},this.scrollActions),{},{updateRowHeights:function(a){return Cg({updateRowHeights:eD},o.reduxStore.dispatch).updateRowHeights(a)}}))}},{key:"notifyApiValueChanges",value:function(){var o=this.getApi();this.previousApiValue!==o&&(this.fixedDataTableApi.notify(),this.previousApiValue=o)}},{key:"render",value:function(){var o=this.getApi(),i=S.createElement(Tu,Fe({},this.props,this.state.boundState,{scrollActions:this.scrollActions}));return this.props.defaultScrollbars?S.createElement(Sn.Provider,{value:o},S.createElement(m$,this.props,i)):S.createElement(Sn.Provider,{value:o},i)}},{key:"onStoreUpdate",value:function(){var o=r.getBoundState(this.reduxStore);this.state.boundState.propsRevision===o.propsRevision&&this.setState({boundState:o})}}],[{key:"getDerivedStateFromProps",value:function(o,i){return Yt(o.height!==void 0||o.maxHeight!==void 0,"You must set either a height or a maxHeight"),o===i.props?null:(i.reduxStore.dispatch(K6({newProps:o,oldProps:i.props})),{boundState:r.getBoundState(i.reduxStore),props:o})}},{key:"getBoundState",value:function(o){var i=o.getState(),a=lo(i,["columnGroupElements","columnElements","elementHeights","elementTemplates","firstRowIndex","endRowIndex","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return a}}]),r}(S.Component);Y($m,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:Ct.SIZE,scrollbarYWidth:Ct.SIZE});var m7=vm($m);function v7(e){var t=y7();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var ss=function(e){Qe(r,e);var t=v7(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),r}(S.Component);Y(ss,"__TableColumn__",!0);Y(ss,"propTypes",{align:M.oneOf(["left","center","right"]),fixed:M.bool,fixedRight:M.bool,header:M.oneOfType([M.node,M.func]),cell:M.oneOfType([M.node,M.func]),footer:M.oneOfType([M.node,M.func]),columnKey:M.oneOfType([M.string,M.number]),width:M.number.isRequired,minWidth:M.number,maxWidth:M.number,flexGrow:M.number,isResizable:M.bool,isReorderable:M.bool,allowCellsRecycling:M.bool,pureRendering:M.bool,cellClassName:M.string});Y(ss,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});function b7(e){var t=w7();return function(){var n=ve(e),o;if(t){var i=ve(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return st(this,o)}}function w7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var Su=function(e){Qe(r,e);var t=b7(r);function r(){return Pe(this,r),t.apply(this,arguments)}return Ie(r,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),r}(S.Component);Y(Su,"__TableColumnGroup__",!0);Y(Su,"propTypes",{align:M.oneOf(["left","center","right"]),fixed:M.bool,header:M.oneOfType([M.node,M.func])});Y(Su,"defaultProps",{fixed:!1});const x7="#f4f4f8",C7="#edeef1",E7="#e3e5ea",T7="#f9f9fb",S7="#ffcb05",R7="#1faff3",_7="#e5e5e5",M7="#5b6372",O7="#3a4356",k7="#3c3c42",A7="#a3a3a3",P7="#d0d3db",I7="_tableWrapper_1ode4_16",D7="_table_1ode4_16",$7="_tableHeader_1ode4_78",N7="_tableCell_1ode4_88",L7="_tableCellContent_1ode4_99",F7="_headerColor_1ode4_105",j7="_rowColor_1ode4_109",uo={athensGray:x7,athensGrayDark:C7,athensGrayDark2:E7,athensGrayLight:T7,defaultBrandColor:S7,dodgerBlue:R7,mercury:_7,shuttleGrayDark:M7,oxfordBlue:O7,darkModeDefaultBackground:k7,indicatorGrey:A7,secondaryButtonHover:P7,tableWrapper:I7,table:D7,tableHeader:$7,tableCell:N7,tableCellContent:L7,headerColor:F7,rowColor:j7},B7="#f4f4f8",H7="#edeef1",z7="#e3e5ea",W7="#f9f9fb",V7="#ffcb05",U7="#1faff3",G7="#e5e5e5",Y7="#5b6372",q7="#3a4356",X7="#3c3c42",K7="#a3a3a3",Q7="#d0d3db",Z7="_headerCell_2qf2w_16",J7="_noSort_2qf2w_29",eN="_standard_2qf2w_29",tN="_caret_2qf2w_33",rN="_headerLabel_2qf2w_38",nN="_icon_2qf2w_43",oN="_numberIcon_2qf2w_50",iN="_dateIcon_2qf2w_54",aN="_textIcon_2qf2w_58",sN="_booleanIcon_2qf2w_62",lN="_sortIcon_2qf2w_66",cN="_sortAscending_2qf2w_74",uN="_sortDescending_2qf2w_78",dr={athensGray:B7,athensGrayDark:H7,athensGrayDark2:z7,athensGrayLight:W7,defaultBrandColor:V7,dodgerBlue:U7,mercury:G7,shuttleGrayDark:Y7,oxfordBlue:q7,darkModeDefaultBackground:X7,indicatorGrey:K7,secondaryButtonHover:Q7,headerCell:Z7,noSort:J7,standard:eN,caret:tN,headerLabel:rN,icon:nN,numberIcon:oN,dateIcon:iN,textIcon:aN,booleanIcon:sN,sortIcon:lN,sortAscending:cN,sortDescending:uN};var Nm={exports:{}};/*!
|
|
295
|
-
Copyright (c) 2018 Jed Watson.
|
|
296
|
-
Licensed under the MIT License (MIT), see
|
|
297
|
-
http://jedwatson.github.io/classnames
|
|
298
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Nm);var dN=Nm.exports;const Do=v.getDefaultExportFromCjs(dN),fN="_icon_t30x8_1",pN="_numberIcon_t30x8_11",hN="_dateIcon_t30x8_15",gN="_textIcon_t30x8_19",mN="_booleanIcon_t30x8_23",Jn={icon:fN,numberIcon:pN,dateIcon:hN,textIcon:gN,booleanIcon:mN},vN=({columnType:e})=>v.jsx("div",{className:Do(Jn.icon,{[Jn.numberIcon]:F.isNumber(e),[Jn.dateIcon]:F.isDatetime(e),[Jn.textIcon]:F.isText(e),[Jn.booleanIcon]:F.isBoolean(e)})}),yN=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>v.jsxs("div",{className:dr.headerCell,onClick:()=>{t(e)},children:[o&&v.jsx(vN,{columnType:e.type}),v.jsx("div",{className:dr.headerLabel,children:n}),v.jsx("div",{className:Do(dr.sortIcon,{[dr.caret]:i==="caret",[dr.standard]:i==="standard",[dr.noSort]:!r||e.direction===0,[dr.sortAscending]:r&&e.direction===1,[dr.sortDescending]:r&&e.direction===-1})})]}),bN=26,wN=26,Fp=20,Lm=36,Fm=29,jm=24,ic=350,xN=126,CN=38,EN=55,TN=(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(f=>i.measureText(f.name).width+Lm+(t?Fm:0)),s=i.measureText("0").width,l=e.columns.map(f=>({type:F.simpleColumnType(f.type),index:f.index})),{rows:c}=e,d=l.map(f=>{const p=c.reduce((g,m)=>{var T;const h=m[f.index].displayValue,y=(T=r[f.index])!=null&&T.isHtml?SN(h):h,b=f.type==="number"?m[f.index].displayValue.length*s:i.measureText(y).width;return Math.max(g,b)},0);return jm+p});return a.map((f,p)=>{var g;return(g=r[p])!=null&&g.width?r[p].width:Math.ceil(Math.max(xN,Math.min(ic,Math.max(f,d[p]))))})};function SN(e){const t=document.createElement("div");return t.innerHTML=e,Bm(t)}function Bm(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=Bm(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const jp=e=>e%2===1,Bp=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var c,d,f,p,g,m,h,y,b,T,E,x,C,_,O,k,D,j;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const l=v.getSlightlyDifferentColor(s);return o?(d=(c=n==null?void 0:n.header)==null?void 0:c.color)!=null&&d.enabled&&(s=((p=(f=n==null?void 0:n.header)==null?void 0:f.color)==null?void 0:p.backgroundColor)||l,i=((m=(g=n==null?void 0:n.header)==null?void 0:g.color)==null?void 0:m.textColor)||i):((y=(h=n==null?void 0:n.columns)==null?void 0:h.alternatingColor)!=null&&y.enabled&&jp(e)&&(s=((T=(b=n==null?void 0:n.columns)==null?void 0:b.alternatingColor)==null?void 0:T.backgroundColor)||l,i=((x=(E=n==null?void 0:n.columns)==null?void 0:E.alternatingColor)==null?void 0:x.textColor)||i),(_=(C=n==null?void 0:n.rows)==null?void 0:C.alternatingColor)!=null&&_.enabled&&jp(t)&&(s=((k=(O=n==null?void 0:n.rows)==null?void 0:O.alternatingColor)==null?void 0:k.backgroundColor)||l,i=((j=(D=n==null?void 0:n.rows)==null?void 0:D.alternatingColor)==null?void 0:j.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var mt="top",$t="bottom",Nt="right",vt="left",Ru="auto",Zo=[mt,$t,Nt,vt],Rn="start",$o="end",RN="clippingParents",Hm="viewport",eo="popper",_N="reference",Hp=Zo.reduce(function(e,t){return e.concat([t+"-"+Rn,t+"-"+$o])},[]),zm=[].concat(Zo,[Ru]).reduce(function(e,t){return e.concat([t,t+"-"+Rn,t+"-"+$o])},[]),MN="beforeRead",ON="read",kN="afterRead",AN="beforeMain",PN="main",IN="afterMain",DN="beforeWrite",$N="write",NN="afterWrite",LN=[MN,ON,kN,AN,PN,IN,DN,$N,NN];function Zt(e){return e?(e.nodeName||"").toLowerCase():null}function St(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Gr(e){var t=St(e).Element;return e instanceof t||e instanceof Element}function It(e){var t=St(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _u(e){if(typeof ShadowRoot=="undefined")return!1;var t=St(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function FN(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!It(i)||!Zt(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 jN(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!It(o)||!Zt(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const BN={name:"applyStyles",enabled:!0,phase:"write",fn:FN,effect:jN,requires:["computeStyles"]};function Kt(e){return e.split("-")[0]}var zr=Math.max,na=Math.min,_n=Math.round;function ac(){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 Wm(){return!/^((?!chrome|android).)*safari/i.test(ac())}function Mn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&It(e)&&(o=e.offsetWidth>0&&_n(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&_n(n.height)/e.offsetHeight||1);var a=Gr(e)?St(e):window,s=a.visualViewport,l=!Wm()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,d=(n.top+(l&&s?s.offsetTop:0))/i,f=n.width/o,p=n.height/i;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function Mu(e){var t=Mn(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 Vm(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&_u(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function lr(e){return St(e).getComputedStyle(e)}function HN(e){return["table","td","th"].indexOf(Zt(e))>=0}function _r(e){return((Gr(e)?e.ownerDocument:e.document)||window.document).documentElement}function ls(e){return Zt(e)==="html"?e:e.assignedSlot||e.parentNode||(_u(e)?e.host:null)||_r(e)}function zp(e){return!It(e)||lr(e).position==="fixed"?null:e.offsetParent}function zN(e){var t=/firefox/i.test(ac()),r=/Trident/i.test(ac());if(r&&It(e)){var n=lr(e);if(n.position==="fixed")return null}var o=ls(e);for(_u(o)&&(o=o.host);It(o)&&["html","body"].indexOf(Zt(o))<0;){var i=lr(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 Jo(e){for(var t=St(e),r=zp(e);r&&HN(r)&&lr(r).position==="static";)r=zp(r);return r&&(Zt(r)==="html"||Zt(r)==="body"&&lr(r).position==="static")?t:r||zN(e)||t}function Ou(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yo(e,t,r){return zr(e,na(t,r))}function WN(e,t,r){var n=yo(e,t,r);return n>r?r:n}function Um(){return{top:0,right:0,bottom:0,left:0}}function Gm(e){return Object.assign({},Um(),e)}function Ym(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var VN=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Gm(typeof t!="number"?t:Ym(t,Zo))};function UN(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Kt(r.placement),l=Ou(s),c=[vt,Nt].indexOf(s)>=0,d=c?"height":"width";if(!(!i||!a)){var f=VN(o.padding,r),p=Mu(i),g=l==="y"?mt:vt,m=l==="y"?$t:Nt,h=r.rects.reference[d]+r.rects.reference[l]-a[l]-r.rects.popper[d],y=a[l]-r.rects.reference[l],b=Jo(i),T=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,E=h/2-y/2,x=f[g],C=T-p[d]-f[m],_=T/2-p[d]/2+E,O=yo(x,_,C),k=l;r.modifiersData[n]=(t={},t[k]=O,t.centerOffset=O-_,t)}}function GN(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)||Vm(t.elements.popper,o)&&(t.elements.arrow=o))}const YN={name:"arrow",enabled:!0,phase:"main",fn:UN,effect:GN,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function On(e){return e.split("-")[1]}var qN={top:"auto",right:"auto",bottom:"auto",left:"auto"};function XN(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:_n(r*o)/o||0,y:_n(n*o)/o||0}}function Wp(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=a.x,g=p===void 0?0:p,m=a.y,h=m===void 0?0:m,y=typeof d=="function"?d({x:g,y:h}):{x:g,y:h};g=y.x,h=y.y;var b=a.hasOwnProperty("x"),T=a.hasOwnProperty("y"),E=vt,x=mt,C=window;if(c){var _=Jo(r),O="clientHeight",k="clientWidth";if(_===St(r)&&(_=_r(r),lr(_).position!=="static"&&s==="absolute"&&(O="scrollHeight",k="scrollWidth")),_=_,o===mt||(o===vt||o===Nt)&&i===$o){x=$t;var D=f&&_===C&&C.visualViewport?C.visualViewport.height:_[O];h-=D-n.height,h*=l?1:-1}if(o===vt||(o===mt||o===$t)&&i===$o){E=Nt;var j=f&&_===C&&C.visualViewport?C.visualViewport.width:_[k];g-=j-n.width,g*=l?1:-1}}var V=Object.assign({position:s},c&&qN),R=d===!0?XN({x:g,y:h},St(r)):{x:g,y:h};if(g=R.x,h=R.y,l){var A;return Object.assign({},V,(A={},A[x]=T?"0":"",A[E]=b?"0":"",A.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+h+"px)":"translate3d("+g+"px, "+h+"px, 0)",A))}return Object.assign({},V,(t={},t[x]=T?h+"px":"",t[E]=b?g+"px":"",t.transform="",t))}function KN(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Kt(t.placement),variation:On(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,Wp(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wp(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const QN={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:KN,data:{}};var Si={passive:!0};function ZN(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=St(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",r.update,Si)}),s&&l.addEventListener("resize",r.update,Si),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Si)}),s&&l.removeEventListener("resize",r.update,Si)}}const JN={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ZN,data:{}};var eL={left:"right",right:"left",bottom:"top",top:"bottom"};function Li(e){return e.replace(/left|right|bottom|top/g,function(t){return eL[t]})}var tL={start:"end",end:"start"};function Vp(e){return e.replace(/start|end/g,function(t){return tL[t]})}function ku(e){var t=St(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Au(e){return Mn(_r(e)).left+ku(e).scrollLeft}function rL(e,t){var r=St(e),n=_r(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=Wm();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Au(e),y:l}}function nL(e){var t,r=_r(e),n=ku(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=zr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=zr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Au(e),l=-n.scrollTop;return lr(o||r).direction==="rtl"&&(s+=zr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function Pu(e){var t=lr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function qm(e){return["html","body","#document"].indexOf(Zt(e))>=0?e.ownerDocument.body:It(e)&&Pu(e)?e:qm(ls(e))}function bo(e,t){var r;t===void 0&&(t=[]);var n=qm(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=St(n),a=o?[i].concat(i.visualViewport||[],Pu(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(bo(ls(a)))}function sc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oL(e,t){var r=Mn(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 Up(e,t,r){return t===Hm?sc(rL(e,r)):Gr(t)?oL(t,r):sc(nL(_r(e)))}function iL(e){var t=bo(ls(e)),r=["absolute","fixed"].indexOf(lr(e).position)>=0,n=r&&It(e)?Jo(e):e;return Gr(n)?t.filter(function(o){return Gr(o)&&Vm(o,n)&&Zt(o)!=="body"}):[]}function aL(e,t,r,n){var o=t==="clippingParents"?iL(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var d=Up(e,c,n);return l.top=zr(d.top,l.top),l.right=na(d.right,l.right),l.bottom=na(d.bottom,l.bottom),l.left=zr(d.left,l.left),l},Up(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 Xm(e){var t=e.reference,r=e.element,n=e.placement,o=n?Kt(n):null,i=n?On(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case mt:l={x:a,y:t.y-r.height};break;case $t:l={x:a,y:t.y+t.height};break;case Nt:l={x:t.x+t.width,y:s};break;case vt:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?Ou(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Rn:l[c]=l[c]-(t[d]/2-r[d]/2);break;case $o:l[c]=l[c]+(t[d]/2-r[d]/2);break}}return l}function No(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,l=s===void 0?RN:s,c=r.rootBoundary,d=c===void 0?Hm:c,f=r.elementContext,p=f===void 0?eo:f,g=r.altBoundary,m=g===void 0?!1:g,h=r.padding,y=h===void 0?0:h,b=Gm(typeof y!="number"?y:Ym(y,Zo)),T=p===eo?_N:eo,E=e.rects.popper,x=e.elements[m?T:p],C=aL(Gr(x)?x:x.contextElement||_r(e.elements.popper),l,d,a),_=Mn(e.elements.reference),O=Xm({reference:_,element:E,strategy:"absolute",placement:o}),k=sc(Object.assign({},E,O)),D=p===eo?k:_,j={top:C.top-D.top+b.top,bottom:D.bottom-C.bottom+b.bottom,left:C.left-D.left+b.left,right:D.right-C.right+b.right},V=e.modifiersData.offset;if(p===eo&&V){var R=V[o];Object.keys(j).forEach(function(A){var H=[Nt,$t].indexOf(A)>=0?1:-1,B=[mt,$t].indexOf(A)>=0?"y":"x";j[A]+=R[B]*H})}return j}function sL(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?zm:l,d=On(n),f=d?s?Hp:Hp.filter(function(m){return On(m)===d}):Zo,p=f.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=f);var g=p.reduce(function(m,h){return m[h]=No(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[Kt(h)],m},{});return Object.keys(g).sort(function(m,h){return g[m]-g[h]})}function lL(e){if(Kt(e)===Ru)return[];var t=Li(e);return[Vp(e),t,Vp(t)]}function cL(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,d=r.boundary,f=r.rootBoundary,p=r.altBoundary,g=r.flipVariations,m=g===void 0?!0:g,h=r.allowedAutoPlacements,y=t.options.placement,b=Kt(y),T=b===y,E=l||(T||!m?[Li(y)]:lL(y)),x=[y].concat(E).reduce(function(K,ee){return K.concat(Kt(ee)===Ru?sL(t,{placement:ee,boundary:d,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:h}):ee)},[]),C=t.rects.reference,_=t.rects.popper,O=new Map,k=!0,D=x[0],j=0;j<x.length;j++){var V=x[j],R=Kt(V),A=On(V)===Rn,H=[mt,$t].indexOf(R)>=0,B=H?"width":"height",L=No(t,{placement:V,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),P=H?A?Nt:vt:A?$t:mt;C[B]>_[B]&&(P=Li(P));var z=Li(P),q=[];if(i&&q.push(L[R]<=0),s&&q.push(L[P]<=0,L[z]<=0),q.every(function(K){return K})){D=V,k=!1;break}O.set(V,q)}if(k)for(var I=m?3:1,U=function(ee){var te=x.find(function(ie){var oe=O.get(ie);if(oe)return oe.slice(0,ee).every(function(de){return de})});if(te)return D=te,"break"},Q=I;Q>0;Q--){var X=U(Q);if(X==="break")break}t.placement!==D&&(t.modifiersData[n]._skip=!0,t.placement=D,t.reset=!0)}}const uL={name:"flip",enabled:!0,phase:"main",fn:cL,requiresIfExists:["offset"],data:{_skip:!1}};function Gp(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 Yp(e){return[mt,Nt,$t,vt].some(function(t){return e[t]>=0})}function dL(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=No(t,{elementContext:"reference"}),s=No(t,{altBoundary:!0}),l=Gp(a,n),c=Gp(s,o,i),d=Yp(l),f=Yp(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const fL={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:dL};function pL(e,t,r){var n=Kt(e),o=[vt,mt].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,[vt,Nt].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function hL(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=zm.reduce(function(d,f){return d[f]=pL(f,t.rects,i),d},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const gL={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hL};function mL(e){var t=e.state,r=e.name;t.modifiersData[r]=Xm({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vL={name:"popperOffsets",enabled:!0,phase:"read",fn:mL,data:{}};function yL(e){return e==="x"?"y":"x"}function bL(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,d=r.altBoundary,f=r.padding,p=r.tether,g=p===void 0?!0:p,m=r.tetherOffset,h=m===void 0?0:m,y=No(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:d}),b=Kt(t.placement),T=On(t.placement),E=!T,x=Ou(b),C=yL(x),_=t.modifiersData.popperOffsets,O=t.rects.reference,k=t.rects.popper,D=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,j=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(_){if(i){var A,H=x==="y"?mt:vt,B=x==="y"?$t:Nt,L=x==="y"?"height":"width",P=_[x],z=P+y[H],q=P-y[B],I=g?-k[L]/2:0,U=T===Rn?O[L]:k[L],Q=T===Rn?-k[L]:-O[L],X=t.elements.arrow,K=g&&X?Mu(X):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Um(),te=ee[H],ie=ee[B],oe=yo(0,O[L],K[L]),de=E?O[L]/2-I-oe-te-j.mainAxis:U-oe-te-j.mainAxis,ae=E?-O[L]/2+I+oe+ie+j.mainAxis:Q+oe+ie+j.mainAxis,ye=t.elements.arrow&&Jo(t.elements.arrow),W=ye?x==="y"?ye.clientTop||0:ye.clientLeft||0:0,ne=(A=V==null?void 0:V[x])!=null?A:0,ue=P+de-ne-W,me=P+ae-ne,Ke=yo(g?na(z,ue):z,P,g?zr(q,me):q);_[x]=Ke,R[x]=Ke-P}if(s){var Ge,ze=x==="x"?mt:vt,_t=x==="x"?$t:Nt,Ze=_[C],lt=C==="y"?"height":"width",et=Ze+y[ze],le=Ze-y[_t],it=[mt,vt].indexOf(b)!==-1,ni=(Ge=V==null?void 0:V[C])!=null?Ge:0,oi=it?et:Ze-O[lt]-k[lt]-ni+j.altAxis,Zr=it?Ze+O[lt]+k[lt]-ni-j.altAxis:le,ii=g&&it?WN(oi,Ze,Zr):yo(g?oi:et,Ze,g?Zr:le);_[C]=ii,R[C]=ii-Ze}t.modifiersData[n]=R}}const wL={name:"preventOverflow",enabled:!0,phase:"main",fn:bL,requiresIfExists:["offset"]};function xL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function CL(e){return e===St(e)||!It(e)?ku(e):xL(e)}function EL(e){var t=e.getBoundingClientRect(),r=_n(t.width)/e.offsetWidth||1,n=_n(t.height)/e.offsetHeight||1;return r!==1||n!==1}function TL(e,t,r){r===void 0&&(r=!1);var n=It(t),o=It(t)&&EL(t),i=_r(t),a=Mn(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Zt(t)!=="body"||Pu(i))&&(s=CL(t)),It(t)?(l=Mn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Au(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function SL(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function RL(e){var t=SL(e);return LN.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function _L(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function ML(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 qp={placement:"bottom",modifiers:[],strategy:"absolute"};function Xp(){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 OL(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?qp:o;return function(s,l,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},qp,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},f=[],p=!1,g={state:d,setOptions:function(b){var T=typeof b=="function"?b(d.options):b;h(),d.options=Object.assign({},i,d.options,T),d.scrollParents={reference:Gr(s)?bo(s):s.contextElement?bo(s.contextElement):[],popper:bo(l)};var E=RL(ML([].concat(n,d.options.modifiers)));return d.orderedModifiers=E.filter(function(x){return x.enabled}),m(),g.update()},forceUpdate:function(){if(!p){var b=d.elements,T=b.reference,E=b.popper;if(Xp(T,E)){d.rects={reference:TL(T,Jo(E),d.options.strategy==="fixed"),popper:Mu(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(j){return d.modifiersData[j.name]=Object.assign({},j.data)});for(var x=0;x<d.orderedModifiers.length;x++){if(d.reset===!0){d.reset=!1,x=-1;continue}var C=d.orderedModifiers[x],_=C.fn,O=C.options,k=O===void 0?{}:O,D=C.name;typeof _=="function"&&(d=_({state:d,options:k,name:D,instance:g})||d)}}}},update:_L(function(){return new Promise(function(y){g.forceUpdate(),y(d)})}),destroy:function(){h(),p=!0}};if(!Xp(s,l))return g;g.setOptions(c).then(function(y){!p&&c.onFirstUpdate&&c.onFirstUpdate(y)});function m(){d.orderedModifiers.forEach(function(y){var b=y.name,T=y.options,E=T===void 0?{}:T,x=y.effect;if(typeof x=="function"){var C=x({state:d,name:b,instance:g,options:E}),_=function(){};f.push(C||_)}})}function h(){f.forEach(function(y){return y()}),f=[]}return g}}var kL=[JN,vL,QN,BN,gL,uL,wL,YN,fL],AL=OL({defaultModifiers:kL});function PL(e){return ke("MuiPopper",e)}Ae("MuiPopper",["root"]);function IL(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 oa(e){return typeof e=="function"?e():e}function cs(e){return e.nodeType!==void 0}function DL(e){return!cs(e)}const $L=e=>{const{classes:t}=e;return He({root:["root"]},PL,t)},NL={},LL=$.forwardRef(function(t,r){var L;const B=t,{anchorEl:n,children:o,direction:i,disablePortal:a,modifiers:s,open:l,placement:c,popperOptions:d,popperRef:f,slotProps:p={},slots:g={},TransitionProps:m,ownerState:h}=B,y=re(B,["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"]),b=$.useRef(null),T=pt(b,r),E=$.useRef(null),x=pt(E,f),C=$.useRef(x);xr(()=>{C.current=x},[x]),$.useImperativeHandle(f,()=>E.current,[]);const _=IL(c,i),[O,k]=$.useState(_),[D,j]=$.useState(oa(n));$.useEffect(()=>{E.current&&E.current.forceUpdate()}),$.useEffect(()=>{n&&j(oa(n))},[n]),xr(()=>{if(!D||!l)return;const P=I=>{k(I.placement)};if(process.env.NODE_ENV!=="production"&&D&&cs(D)&&D.nodeType===1){const I=D.getBoundingClientRect();process.env.NODE_ENV!=="test"&&I.top===0&&I.left===0&&I.right===0&&I.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
299
|
-
`))}let z=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:I})=>{P(I)}}];s!=null&&(z=z.concat(s)),d&&d.modifiers!=null&&(z=z.concat(d.modifiers));const q=AL(D,b.current,N(w({placement:_},d),{modifiers:z}));return C.current(q),()=>{q.destroy(),C.current(null)}},[D,a,s,l,d,_]);const V={placement:O};m!==null&&(V.TransitionProps=m);const R=$L(t),A=(L=g.root)!=null?L:"div",H=_c({elementType:A,externalSlotProps:p.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:R.root});return J.jsx(A,N(w({},H),{children:typeof o=="function"?o(V):o}))}),Km=$.forwardRef(function(t,r){const j=t,{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:d,placement:f="bottom",popperOptions:p=NL,popperRef:g,style:m,transition:h=!1,slotProps:y={},slots:b={}}=j,T=re(j,["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"]),[E,x]=$.useState(!0),C=()=>{x(!1)},_=()=>{x(!0)};if(!l&&!d&&(!h||E))return null;let O;if(i)O=i;else if(n){const V=oa(n);O=V&&cs(V)?Et(V).body:Et(null).body}const k=!d&&l&&(!h||E)?"none":void 0,D=h?{in:d,onEnter:C,onExited:_}:void 0;return J.jsx(So,{disablePortal:s,container:O,children:J.jsx(LL,N(w({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:h?!E:d,placement:f,popperOptions:p,popperRef:g,slotProps:y,slots:b},T),{style:w({position:"fixed",top:0,left:0,display:k},m),TransitionProps:D,children:o}))})});process.env.NODE_ENV!=="production"&&(Km.propTypes={anchorEl:cr(u.oneOfType([ir,u.object,u.func]),e=>{if(e.open){const t=oa(e.anchorEl);if(t&&cs(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
300
|
-
`))}else if(!t||typeof t.getBoundingClientRect!="function"||DL(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
301
|
-
`))}return null}),children:u.oneOfType([u.node,u.func]),container:u.oneOfType([ir,u.func]),direction:u.oneOf(["ltr","rtl"]),disablePortal:u.bool,keepMounted:u.bool,modifiers:u.arrayOf(u.shape({data:u.object,effect:u.func,enabled:u.bool,fn:u.func,name:u.any,options:u.object,phase:u.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:u.arrayOf(u.string),requiresIfExists:u.arrayOf(u.string)})),open:u.bool.isRequired,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:u.shape({modifiers:u.array,onFirstUpdate:u.func,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:u.oneOf(["absolute","fixed"])}),popperRef:Wo,slotProps:u.shape({root:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType}),transition:u.bool});const FL=fe(Km,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ei=$.forwardRef(function(t,r){var k;const n=fa(),O=je({props:t,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:d,keepMounted:f,modifiers:p,open:g,placement:m,popperOptions:h,popperRef:y,transition:b,slots:T,slotProps:E}=O,x=re(O,["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"]),C=(k=T==null?void 0:T.root)!=null?k:s==null?void 0:s.Root,_=w({anchorEl:i,container:c,disablePortal:d,keepMounted:f,modifiers:p,open:g,placement:m,popperOptions:h,popperRef:y,transition:b},x);return J.jsx(FL,N(w({as:a,direction:n?"rtl":"ltr",slots:{root:C},slotProps:E!=null?E:l},_),{ref:r}))});process.env.NODE_ENV!=="production"&&(ei.propTypes={anchorEl:u.oneOfType([ir,u.object,u.func]),children:u.oneOfType([u.node,u.func]),component:u.elementType,components:u.shape({Root:u.elementType}),componentsProps:u.shape({root:u.oneOfType([u.func,u.object])}),container:u.oneOfType([ir,u.func]),disablePortal:u.bool,keepMounted:u.bool,modifiers:u.arrayOf(u.shape({data:u.object,effect:u.func,enabled:u.bool,fn:u.func,name:u.any,options:u.object,phase:u.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:u.arrayOf(u.string),requiresIfExists:u.arrayOf(u.string)})),open:u.bool.isRequired,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:u.shape({modifiers:u.array,onFirstUpdate:u.func,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:u.oneOf(["absolute","fixed"])}),popperRef:Wo,slotProps:u.shape({root:u.oneOfType([u.func,u.object])}),slots:u.shape({root:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),transition:u.bool});function jL(e){return ke("MuiTooltip",e)}const Ue=Ae("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function BL(e){return Math.round(e*1e5)/1e5}const HL=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${pe(i.split("-")[0])}`],arrow:["arrow"]};return He(a,jL,t)},zL=fe(ei,{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]}})(qe(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ue.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ue.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ue.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ue.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ue.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ue.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ue.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ue.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),WL=fe("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${pe(r.placement.split("-")[0])}`]]}})(qe(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Le(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,[`.${Ue.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ue.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ue.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ue.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${BL(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ue.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ue.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ue.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ue.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ue.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ue.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ue.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ue.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ue.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ue.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),VL=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(qe(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Le(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Ri=!1;const Kp=new Ma;let to={x:0,y:0};function _i(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const us=$.forwardRef(function(t,r){var Vu,Uu,Gu;const n=je({props:t,name:"MuiTooltip"}),Wu=n,{arrow:o=!1,children:i,classes:a,components:s={},componentsProps:l={},describeChild:c=!1,disableFocusListener:d=!1,disableHoverListener:f=!1,disableInteractive:p=!1,disableTouchListener:g=!1,enterDelay:m=100,enterNextDelay:h=0,enterTouchDelay:y=700,followCursor:b=!1,id:T,leaveDelay:E=0,leaveTouchDelay:x=1500,onClose:C,onOpen:_,open:O,placement:k="bottom",PopperComponent:D,PopperProps:j={},slotProps:V={},slots:R={},title:A,TransitionComponent:H,TransitionProps:B}=Wu,L=re(Wu,["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"]),P=$.isValidElement(i)?i:J.jsx("span",{children:i}),z=Vo(),q=fa(),[I,U]=$.useState(),[Q,X]=$.useState(null),K=$.useRef(!1),ee=p||b,te=$r(),ie=$r(),oe=$r(),de=$r(),[ae,ye]=Pc({controlled:O,default:!1,name:"Tooltip",state:"open"});let W=ae;if(process.env.NODE_ENV!=="production"){const{current:he}=$.useRef(O!==void 0);$.useEffect(()=>{I&&I.disabled&&!he&&A!==""&&I.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
302
|
-
`))},[A,I,he])}const ne=_a(T),ue=$.useRef(),me=nr(()=>{ue.current!==void 0&&(document.body.style.WebkitUserSelect=ue.current,ue.current=void 0),de.clear()});$.useEffect(()=>me,[me]);const Ke=he=>{Kp.clear(),Ri=!0,ye(!0),_&&!W&&_(he)},Ge=nr(he=>{Kp.start(800+E,()=>{Ri=!1}),ye(!1),C&&W&&C(he),te.start(z.transitions.duration.shortest,()=>{K.current=!1})}),ze=he=>{K.current&&he.type!=="touchstart"||(I&&I.removeAttribute("title"),ie.clear(),oe.clear(),m||Ri&&h?ie.start(Ri?h:m,()=>{Ke(he)}):Ke(he))},_t=he=>{ie.clear(),oe.start(E,()=>{Ge(he)})},[,Ze]=$.useState(!1),lt=he=>{zi(he.target)||(Ze(!1),_t(he))},et=he=>{I||U(he.currentTarget),zi(he.target)&&(Ze(!0),ze(he))},le=he=>{K.current=!0;const jt=P.props;jt.onTouchStart&&jt.onTouchStart(he)},it=he=>{le(he),oe.clear(),te.clear(),me(),ue.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",de.start(y,()=>{document.body.style.WebkitUserSelect=ue.current,ze(he)})},ni=he=>{P.props.onTouchEnd&&P.props.onTouchEnd(he),me(),oe.start(x,()=>{Ge(he)})};$.useEffect(()=>{if(!W)return;function he(jt){jt.key==="Escape"&&Ge(jt)}return document.addEventListener("keydown",he),()=>{document.removeEventListener("keydown",he)}},[Ge,W]);const oi=pt(Pn(P),U,r);!A&&A!==0&&(W=!1);const Zr=$.useRef(),ii=he=>{const jt=P.props;jt.onMouseMove&&jt.onMouseMove(he),to={x:he.clientX,y:he.clientY},Zr.current&&Zr.current.update()},Wn={},hs=typeof A=="string";c?(Wn.title=!W&&hs&&!f?A:null,Wn["aria-describedby"]=W?ne:null):(Wn["aria-label"]=hs?A:null,Wn["aria-labelledby"]=W&&!hs?ne:null);const Mt=w(N(w(w(w({},Wn),L),P.props),{className:ge(L.className,P.props.className),onTouchStart:le,ref:oi}),b?{onMouseMove:ii}:{});process.env.NODE_ENV!=="production"&&(Mt["data-mui-internal-clone-element"]=!0,$.useEffect(()=>{I&&!I.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
303
|
-
`))},[I]));const Vn={};g||(Mt.onTouchStart=it,Mt.onTouchEnd=ni),f||(Mt.onMouseOver=_i(ze,Mt.onMouseOver),Mt.onMouseLeave=_i(_t,Mt.onMouseLeave),ee||(Vn.onMouseOver=ze,Vn.onMouseLeave=_t)),d||(Mt.onFocus=_i(et,Mt.onFocus),Mt.onBlur=_i(lt,Mt.onBlur),ee||(Vn.onFocus=et,Vn.onBlur=lt)),process.env.NODE_ENV!=="production"&&P.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${P.props.title}\` or the Tooltip component.`].join(`
|
|
304
|
-
`));const Mr=N(w({},n),{isRtl:q,arrow:o,disableInteractive:ee,placement:k,PopperComponentProp:D,touch:K.current}),yt=typeof V.popper=="function"?V.popper(Mr):V.popper,d1=$.useMemo(()=>{var jt,Yu;let he=[{name:"arrow",enabled:!!Q,options:{element:Q,padding:4}}];return(jt=j.popperOptions)!=null&&jt.modifiers&&(he=he.concat(j.popperOptions.modifiers)),(Yu=yt==null?void 0:yt.popperOptions)!=null&&Yu.modifiers&&(he=he.concat(yt.popperOptions.modifiers)),N(w(w({},j.popperOptions),yt==null?void 0:yt.popperOptions),{modifiers:he})},[Q,j.popperOptions,yt==null?void 0:yt.popperOptions]),gs=HL(Mr),ms=typeof V.transition=="function"?V.transition(Mr):V.transition,ai={slots:w({popper:s.Popper,transition:(Vu=s.Transition)!=null?Vu:H,tooltip:s.Tooltip,arrow:s.Arrow},R),slotProps:{arrow:(Uu=V.arrow)!=null?Uu:l.arrow,popper:w(w({},j),yt!=null?yt:l.popper),tooltip:(Gu=V.tooltip)!=null?Gu:l.tooltip,transition:w(w({},B),ms!=null?ms:l.transition)}},[f1,p1]=rt("popper",{elementType:zL,externalForwardedProps:ai,ownerState:Mr,className:ge(gs.popper,j==null?void 0:j.className)}),[h1,g1]=rt("transition",{elementType:To,externalForwardedProps:ai,ownerState:Mr}),[m1,v1]=rt("tooltip",{elementType:WL,className:gs.tooltip,externalForwardedProps:ai,ownerState:Mr}),[y1,b1]=rt("arrow",{elementType:VL,className:gs.arrow,externalForwardedProps:ai,ownerState:Mr,ref:X});return J.jsxs($.Fragment,{children:[$.cloneElement(P,Mt),J.jsx(f1,N(w(w({as:D!=null?D:ei,placement:k,anchorEl:b?{getBoundingClientRect:()=>({top:to.y,left:to.x,right:to.x,bottom:to.y,width:0,height:0})}:I,popperRef:Zr,open:I?W:!1,id:ne,transition:!0},Vn),p1),{popperOptions:d1,children:({TransitionProps:he})=>J.jsx(h1,N(w(w({timeout:z.transitions.duration.shorter},he),g1),{children:J.jsxs(m1,N(w({},v1),{children:[A,o?J.jsx(y1,w({},b1)):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(us.propTypes={arrow:u.bool,children:Yr.isRequired,classes:u.object,className:u.string,components:u.shape({Arrow:u.elementType,Popper:u.elementType,Tooltip:u.elementType,Transition:u.elementType}),componentsProps:u.shape({arrow:u.object,popper:u.object,tooltip:u.object,transition:u.object}),describeChild:u.bool,disableFocusListener:u.bool,disableHoverListener:u.bool,disableInteractive:u.bool,disableTouchListener:u.bool,enterDelay:u.number,enterNextDelay:u.number,enterTouchDelay:u.number,followCursor:u.bool,id:u.string,leaveDelay:u.number,leaveTouchDelay:u.number,onClose:u.func,onOpen:u.func,open:u.bool,placement:u.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:u.elementType,PopperProps:u.object,slotProps:u.shape({arrow:u.oneOfType([u.func,u.object]),popper:u.oneOfType([u.func,u.object]),tooltip:u.oneOfType([u.func,u.object]),transition:u.oneOfType([u.func,u.object])}),slots:u.shape({arrow:u.elementType,popper:u.elementType,tooltip:u.elementType,transition:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),title:u.node,TransitionComponent:u.elementType,TransitionProps:u.object});const UL=()=>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),GL=e=>F.isNumber(e)?"right":"left",Qp=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return v.jsx("div",{className:uo.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?v.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?v.jsx(us,{title:e,children:v.jsx("div",{children:e})}):v.jsx("div",{children:e})})},YL=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var T,E,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,l=Lm+(s?Fm:0),c=(o==null?void 0:o.paddingVertical)||Fp,d=(o==null?void 0:o.paddingHorizontal)||Fp,f=((T=o==null?void 0:o.columns)==null?void 0:T.width)==="auto"?(n-d*2-UL())/t.columns.length:void 0,p=S.useMemo(()=>t.columns.map(C=>({isHtml:"isHtml"in C&&!!C.isHtml,width:f})),[t.columns,f]),[g,m]=S.useState(((E=document.fonts)==null?void 0:E.status)==="loaded"),h=(x=i.typography)==null?void 0:x.fontFamily,y=S.useMemo(()=>TN(e,s,p,h),[e,s,p,h,g]);S.useEffect(()=>{var C;(C=document.fonts)==null||C.ready.then(()=>{m(!0)}).catch(_=>{console.warn("Failed to observe font loading",_)})},[]);const b=S.useMemo(()=>e.columns.map((C,_)=>{const O=y[_],k=t.columns[_],D=Bp({isHeaderCell:!0,themeSettings:i,customStyles:o});return O?v.jsx(ss,{maxWidth:ic,minWidth:ic,allowCellsRecycling:!0,width:O,header:v.jsx(ta,{className:Do(uo.tableHeader),style:D,children:v.jsx(yN,{column:C,onClick:a,isSelected:!!Math.abs(C.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:Qp({displayValue:v.getDataOptionTitle(k),width:O,padding:l,ellipsizedLength:CN})})}),cell:R=>{var A=R,{rowIndex:j}=A,V=re(A,["rowIndex"]);return v.jsx(ta,N(w({className:Do(uo.tableCell),style:Bp({colIndex:_,rowIndex:j,themeSettings:i,customStyles:o})},V),{children:Qp({displayValue:e.rows[j][_].displayValue,width:O,padding:jm,ellipsizedLength:EN,isHtml:"isHtml"in k&&k.isHtml})}))},align:GL(C.type)},`col${_}`):null}),[e,y,i,o,a,s,t,l]);return S.useMemo(()=>v.jsx("div",{className:uo.tableWrapper,style:{padding:`${c}px ${d}px`},children:v.jsx(m7,{className:uo.table,rowHeight:(o==null?void 0:o.rowHeight)||wN,rowsCount:e.rows.length,width:n-d*2,height:r-c*2,headerHeight:(o==null?void 0:o.headerHeight)||bN,children:b})}),[b,o,e,r,d,c,n])},qL="_component_1rw9b_1",XL={component:qL},KL=(e,t)=>{if(!e.columns.some(a=>F.isNumber(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,l)=>{const c=r[l].type,d=v.getCompleteNumberFormatConfig(t.columns[l].numberFormatConfig);if(F.isNumber(c)){const f=v.createCompareValue(s.displayValue,c);return{displayValue:v.applyFormatPlainText(d,f.value),compareValue:f}}else return s}));return{columns:r,rows:o}},QL=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=S.useRef(null),l=S.useRef(e),c=S.useMemo(()=>KL(e,t),[e,t]);S.useLayoutEffect(()=>{l.current=e},[e]);const d=S.useMemo(()=>w({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return v.jsx("div",{className:XL.component,ref:s,children:v.jsx(YL,{dataTable:c,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:d,themeSettings:o})})},ZL=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}}),JL=e=>({paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:e.header,rows:e.rows,columns:e.columns}),Qm=25,Zm=10,Jm=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=Qm,width:a,height:s}=r,{themeSettings:l}=v.useThemeContext(),[c,d]=S.useState(0),{filters:f,relations:p}=F.getFilterListAndRelationsJaql(n),[g,m]=S.useState(1),h=S.useRef(null),y=S.useMemo(()=>Y0(t),[t]),b=S.useMemo(()=>Uc(y.columns.filter(v.isMeasureColumn).map(v.translateColumnToMeasure)),[y]),T=S.useMemo(()=>JL(r),[r]),[E,x]=S.useState(y),[C,_]=S.useState(e),[O,k]=ZE({dataSet:C,dataOptions:E,filters:f,filterRelations:p,count:i*Zm,offset:c}),D=S.useMemo(()=>{if(O&&o){const B=o(O);if(!Z0(B))throw new F.TranslatableError("errors.incorrectOnDataReadyHandler");return B}return O},[O]),j=JE({data:D,innerDataOptions:k,dataColumnNamesMapping:b,needToAggregate:!br(C)});S.useEffect(()=>{x(y),_(e),m(1),d(0)},[e,y]);const V=S.useCallback(B=>{if(!O)return;Math.floor(O.rows.length/i)===B&&d(O.rows.length),m(B)},[O,i]),R=S.useCallback(B=>{m(1),d(0),E&&x(Q3(E,B))},[E]),A=S.useMemo(()=>{if(!j||br(C))return j;const B=j.columns.find(L=>L.direction!==0);return B?v.orderBy(j,[B]):j},[j,C]),H=S.useMemo(()=>A?{columns:A.columns,rows:A.rows.slice((g-1)*i,g*i)}:void 0,[A,g,i]);return k?v.jsx(Ia,{defaultSize:Da("table"),size:{width:a,height:s},children:B=>{if(!j||!H)return v.jsx(ua,{themeSettings:l});if(v.isDataTableEmpty(j))return v.jsx(Vc,{iconType:"table"});const L=Math.ceil(j.rows.length/i);return v.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:l.chart.backgroundColor},"aria-label":"table-root",children:[v.jsx(QL,{dataTable:H,dataOptions:k,designOptions:T,themeSettings:l,width:B.width,height:B.height-32,onSortUpdate:R}),v.jsx(tg,{ref:h,page:g,count:L,onChange:(z,q)=>V(q),sx:ZL(l)})]})}}):null},ev=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},eF=S.createContext(null),Qs={didCatch:!1,error:null};class lc extends S.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Qs}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(Qs)}}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&&tF(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(Qs)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const l={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(l);else if(n)s=S.createElement(n,l);else if(o===null||S.isValidElement(o))s=o;else throw a}return S.createElement(eF.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function tF(){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 tv=S.createContext(void 0),rF=({children:e})=>{const[t,r]=S.useState([]),[n,o]=S.useState([]),i=()=>r([]),a=()=>o([]);return v.jsx(tv.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},rv=()=>{const e=S.useContext(tv);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 Iu(e,t,r){const n=v.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!F.isEqual(n[i],e[i])):!F.isEqual(n,e))?!0:r?r(e,n):!1}const nF="BE#081586",oF="BE#733473",iF=e=>{const[t,r]=S.useState(0),{setErrors:n,errors:o}=rv(),i=Iu(e,["dataOptions","filters"]);if(S.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!br(e.dataSet))throw new F.TranslatableError("errors.undefinedDataSource");const a=F.cloneDeep(e.dataOptions),s=v.extractTrendMeasures(a);a.value.push(...s);const l=v.extractForecastMeasures(a);a.value.push(...l);const c=S.useCallback(({error:p})=>{console.debug("Unexpected error occurred when rendering advanced chart:",p);const g=F.cloneDeep(a),m=f(p.toString());return g.value=g.value.filter(h=>{const y="column"in h?h.column.name:h.name;return!("column"in h&&"type"in h.column&&h.column.type==="calculatedmeasure"&&m.some(b=>b.includes(y)))}),v.jsx(lc,{fallbackRender:d,onError:h=>{const y=f(h.toString());n(b=>[...new Set([...b,...y])])},children:v.jsx(ki,N(w({},e),{dataOptions:g}))},`errorboundary_${t}`)},[e,o]),d=S.useCallback(({error:p})=>(console.debug("Error occurred when rendering fallback chart:",p),p.toString().includes(nF)?v.jsx(ki,w({},e)):v.jsx(Cc,{error:o[0]})),[e,o]),f=p=>{if(p.includes(oF)){const g=/Error: BE#733473 More than 1 Function failed, aggregated failures:\s*/;if(g.test(p))return p.replace(g,"").split(";").map(h=>h.trim()).filter(Boolean)}return[p.trim()]};return v.jsx(lc,{fallbackRender:c,onError:p=>{const g=f(p.toString());n(m=>[...new Set([...m,...g])])},children:v.jsx(ki,N(w({},e),{dataOptions:a}))},`errorboundary_${t}`)},nv=Go({componentName:"Chart",shouldSkipSisenseContextWaiting:ev,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(aF(e))return v.jsx(Jm,w({},e));if(sF(e))return v.jsx(iF,w({},e));if(ov(e))return v.jsx(ki,w({},e));throw new F.TranslatableError("errors.chartInvalidProps")});function aF(e){return e.chartType==="table"&&"columns"in e.dataOptions}function ov(e){return e.chartType!=="table"}function sF(e){return!ov(e)||!v.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 lF=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),cc=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(cc||{}),uc=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(uc||{}),iv=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const cF=(e,t)=>{const r=F.get(e,"shadow",t.widget.shadow),n=F.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in cc&&n in uc){const o=cc[`${r}`];return`0px ${uc[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function uF(e){return ke("MuiCard",e)}Ae("MuiCard",["root"]);const dF=e=>{const{classes:t}=e;return He({root:["root"]},uF,t)},fF=fe(Oa,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),av=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiCard"}),c=n,{className:o,raised:i=!1}=c,a=re(c,["className","raised"]),s=N(w({},n),{raised:i}),l=dF(s);return J.jsx(fF,w({className:ge(l.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(av.propTypes={children:u.node,classes:u.object,className:u.string,raised:cr(u.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function pF(e){return ke("MuiCardContent",e)}Ae("MuiCardContent",["root"]);const hF=e=>{const{classes:t}=e;return He({root:["root"]},pF,t)},gF=fe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),sv=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiCardContent"}),c=n,{className:o,component:i="div"}=c,a=re(c,["className","component"]),s=N(w({},n),{component:i}),l=hF(s);return J.jsx(gF,w({as:i,className:ge(l.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(sv.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function mF(e){return ke("MuiCircularProgress",e)}Ae("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fr=44,dc=Bo`
|
|
305
|
-
0% {
|
|
306
|
-
transform: rotate(0deg);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
100% {
|
|
310
|
-
transform: rotate(360deg);
|
|
311
|
-
}
|
|
312
|
-
`,fc=Bo`
|
|
313
|
-
0% {
|
|
314
|
-
stroke-dasharray: 1px, 200px;
|
|
315
|
-
stroke-dashoffset: 0;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
50% {
|
|
319
|
-
stroke-dasharray: 100px, 200px;
|
|
320
|
-
stroke-dashoffset: -15px;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
100% {
|
|
324
|
-
stroke-dasharray: 1px, 200px;
|
|
325
|
-
stroke-dashoffset: -126px;
|
|
326
|
-
}
|
|
327
|
-
`,vF=typeof dc!="string"?ca`
|
|
328
|
-
animation: ${dc} 1.4s linear infinite;
|
|
329
|
-
`:null,yF=typeof fc!="string"?ca`
|
|
330
|
-
animation: ${fc} 1.4s ease-in-out infinite;
|
|
331
|
-
`:null,bF=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${pe(n)}`],svg:["svg"],circle:["circle",`circle${pe(r)}`,o&&"circleDisableShrink"]};return He(i,mF,t)},wF=fe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${pe(r.color)}`]]}})(qe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:vF||{animation:`${dc} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Er()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),xF=fe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),CF=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${pe(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(qe(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:yF||{animation:`${fc} 1.4s ease-in-out infinite`}}]}))),Du=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiCircularProgress"}),T=n,{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:d=0,variant:f="indeterminate"}=T,p=re(T,["className","color","disableShrink","size","style","thickness","value","variant"]),g=N(w({},n),{color:i,disableShrink:a,size:s,thickness:c,value:d,variant:f}),m=bF(g),h={},y={},b={};if(f==="determinate"){const E=2*Math.PI*((fr-c)/2);h.strokeDasharray=E.toFixed(3),b["aria-valuenow"]=Math.round(d),h.strokeDashoffset=`${((100-d)/100*E).toFixed(3)}px`,y.transform="rotate(-90deg)"}return J.jsx(wF,N(w(w({className:ge(m.root,o),style:w(w({width:s,height:s},y),l),ownerState:g,ref:r,role:"progressbar"},b),p),{children:J.jsx(xF,{className:m.svg,ownerState:g,viewBox:`${fr/2} ${fr/2} ${fr} ${fr}`,children:J.jsx(CF,{className:m.circle,style:h,ownerState:g,cx:fr,cy:fr,r:(fr-c)/2,fill:"none",strokeWidth:c})})}))});process.env.NODE_ENV!=="production"&&(Du.propTypes={classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","primary","secondary","error","info","success","warning"]),u.string]),disableShrink:cr(u.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:u.oneOfType([u.number,u.string]),style:u.object,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),thickness:u.number,value:u.number,variant:u.oneOf(["determinate","indeterminate"])});function EF(e){return ke("MuiIconButton",e)}const Zp=Ae("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),TF=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${pe(n)}`,o&&`edge${pe(o)}`,`size${pe(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return He(s,EF,t)},SF=fe(qr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${pe(r.color)}`],r.edge&&t[`edge${pe(r.edge)}`],t[`size${pe(r.size)}`]]}})(qe(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Le(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),qe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Er()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Er()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Le((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Zp.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Zp.loading}`]:{color:"transparent"}}))),RF=fe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),kn=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiIconButton"}),E=n,{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:d="medium",id:f,loading:p=null,loadingIndicator:g}=E,m=re(E,["edge","children","className","color","disabled","disableFocusRipple","size","id","loading","loadingIndicator"]),h=_a(f),y=g!=null?g:J.jsx(Du,{"aria-labelledby":h,color:"inherit",size:16}),b=N(w({},n),{edge:o,color:s,disabled:l,disableFocusRipple:c,loading:p,loadingIndicator:y,size:d}),T=TF(b);return J.jsxs(SF,N(w({id:p?h:f,className:ge(T.root,a),centerRipple:!0,focusRipple:!c,disabled:l||p,ref:r},m),{ownerState:b,children:[typeof p=="boolean"&&J.jsx("span",{className:T.loadingWrapper,style:{display:"contents"},children:J.jsx(RF,{className:T.loadingIndicator,ownerState:b,children:p&&y})}),i]}))});process.env.NODE_ENV!=="production"&&(kn.propTypes={children:cr(u.node,e=>$.Children.toArray(e.children).some(r=>$.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
332
|
-
`)):null),classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),u.string]),disabled:u.bool,disableFocusRipple:u.bool,disableRipple:u.bool,edge:u.oneOf(["end","start",!1]),id:u.string,loading:u.bool,loadingIndicator:u.node,size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function _F({fill:e="rgba(38, 46, 61, 0.67)"}){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:v.jsx("path",{fill:e,d:"M11.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zM13 8.878c0-1.27-.499-1.896-1.496-1.878C10.501 7.03 10 7.68 10 8.95c0 .737.17 1.647.51 2.731l.318.98c.081.245.14.413.175.503.197.533.376.811.537.835.15.018.314-.248.493-.8.083-.257.161-.512.233-.763.071-.252.146-.503.224-.755.34-1.12.51-2.054.51-2.803zM11.5 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})})}function MF({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var b,T,E;const[i,a]=S.useState(null),{themeSettings:s}=v.useThemeContext(),{typography:{primaryTextColor:l,secondaryTextColor:c,fontFamily:d}}=s,{t:f}=v.useTranslation(),p=x=>{a(x.currentTarget)},g=()=>{a(null)},m=S.useMemo(()=>e?v.jsx(bt,{variant:"body2",style:{color:l,fontFamily:d,fontSize:13},children:e}):null,[e,l,d]),h=S.useMemo(()=>r.length===0?null:r.map(x=>v.jsxs(v.Fragment,{children:[v.jsx(jr,{sx:{my:1,borderColor:c,opacity:.3,marginY:"8px"}}),v.jsxs("div",{className:"csdk-flex",children:[v.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:v.jsx(_F,{fill:"#fa5656"})}),v.jsx(bt,{variant:"body2",className:"csdk-grow-1",style:{color:c,fontFamily:d,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,c,d]),y=S.useMemo(()=>t?v.jsxs(v.Fragment,{children:[v.jsx(jr,{sx:{my:"8px",borderColor:c,opacity:.3}}),v.jsx(bt,{variant:"body2",style:{color:c,fontFamily:d,fontSize:13},children:t})]}):null,[t,c,d]);return v.jsxs(v.Fragment,{children:[v.jsx(us,{title:f("widgetHeader.info.tooltip"),style:{color:(b=s.chart)==null?void 0:b.textColor,fontFamily:(T=s.typography)==null?void 0:T.fontFamily},children:v.jsx(kn,{onClick:p,sx:{p:0},children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:v.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"})})})}),v.jsx(Wc,{open:!!i,position:i?{anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"center"},contentOrigin:{vertical:"top",horizontal:"center"}}:void 0,onClose:g,children:v.jsxs(av,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[v.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:v.getSlightlyDifferentColor(s.general.backgroundColor)},children:[v.jsx(bt,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:f("widgetHeader.info.details")}),v.jsx(kn,{onClick:o,sx:{p:0},children:v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:v.jsx("path",{fill:(E=s.chart)==null?void 0:E.textColor,d:"M20 12a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm0 0a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm-8-7a7 7 0 0 1 6.267 3.877l1.003-.22A8.001 8.001 0 0 0 4 12l1.003-.22A7 7 0 0 1 12 5zm6.998 3.12A8 8 0 0 0 4 12l1.003-.22a7 7 0 0 1 13.264-2.903l.73-.16v.28l-2.98.016-.017.971h3.985V6h-.987v2.12zm-14.01 9.864H4V14h3.985l-.016.971-2.981.017v2.996z"})})})]}),v.jsx(jr,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),v.jsxs(sv,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[m,h,y]})]})})]})}const OF=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var c,d,f;const{themeSettings:s}=v.useThemeContext(),l=()=>{var g;const p=v.jsx(v.Fragment,{children:v.jsx(MF,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(g=i==null?void 0:i.renderToolbar)==null?void 0:g.call(i,a,p):p};return v.jsxs(v.Fragment,{children:[v.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:[v.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:kF((i==null?void 0:i.titleAlignment)||s.widget.header.titleAlignment),color:(i==null?void 0:i.titleTextColor)||s.widget.header.titleTextColor,fontFamily:(c=s.typography)==null?void 0:c.fontFamily,fontSize:s.widget.header.titleFontSize},children:(f=(d=i==null?void 0:i.renderTitle)==null?void 0:d.call(i,e))!=null?f:e}),v.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:l()})]}),F.get(i,"dividerLine",s.widget.header.dividerLine)&&v.jsx(jr,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function kF(e){return e.toLowerCase()}const lv=e=>v.jsx(rF,{children:v.jsx(AF,w({},e))}),AF=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var f,p,g;const{errors:l,warnings:c}=rv(),{themeSettings:d}=v.useThemeContext();return v.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden csdk-accessible",children:v.jsx("div",{className:"csdk-h-full",style:{padding:iv[F.get(t,"spaceAround",d.widget.spaceAround)]||"0px"},children:v.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:F.get(t,"border",d.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||d.widget.borderColor,borderRadius:lF[(t==null?void 0:t.cornerRadius)||d.widget.cornerRadius]||0,boxShadow:cF(t,d),display:"flex",flexDirection:"column"},children:[!((f=t==null?void 0:t.header)!=null&&f.hidden)&&v.jsx(OF,{title:r,description:n,dataSetName:e,errorMessages:l,warningMessages:c,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,v.jsx(R0,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((p=d.chart)==null?void 0:p.backgroundColor)}},children:v.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((g=d.chart)==null?void 0:g.backgroundColor)},children:a})}),i]})})})},PF=e=>{const t=IF(e);return t.config.disabled=!e.config.disabled,t},IF=e=>{const t=F.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function DF(e,t,r){const n=w({guid:t},r?{backgroundFilter:r}:{});return F.members(e,[],n)}function ds(e){if(!F.isMembersFilter(e))throw new F.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return DF(t,r,n)}function $u(e){return"members"in e&&e.members.length===0}function Dt(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function cv(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)=>!v.isEqualWith(r,t[n],uv))}function Nu(e,t){return Dt(e.attribute,t.attribute)}function uv(e,t){const r=v.flow($F,NF);return F.isEqual(r(e),r(t))}function $F(e){return N(w({},e),{name:""})}function NF(e){return N(w({},e),{config:N(w({},e.config),{guid:""})})}function LF(e,t,r,n){if(r===void 0&&n===void 0)return!1;if([r,n].some(i=>i===void 0))return!0;function o(i,a){const s=i,l=i,c=a,d=a;return i===void 0&&a===void 0?!0:[i,a].some(f=>f===void 0)||s.operator!==c.operator?!1:l.instanceid&&d.instanceid?!cv(e==null?void 0:e.filter(f=>f.config.guid===l.instanceid),t==null?void 0:t.filter(f=>f.config.guid===d.instanceid)):o(s.left,c.left)&&o(s.right,c.right)||o(s.left,c.right)&&o(s.right,c.left)}return!o(r,n)}const dv="sdkHookInit",FF=(e,t,r,n)=>{if(!r)return;_h(dv,{packageName:t,packageVersion:"2.9.0",hookName:e},r.httpClient).finally(n)};function jF(e){const{tracking:t,app:r}=v.useSisenseContext(),{trackEvent:n}=xc(),o=S.useRef(!1);S.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"2.9.0",hookName:e};n(dv,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const fv=e=>t=>(...r)=>(jF(e),t(...r));function pc(e,t){switch(t.type){case"loading":return BF(e);case"success":return HF(t.data);case"error":return zF(t.error)}}function BF(e){return e.status==="loading"?e:N(w({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function HF(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function zF(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function pv({enabled:e},t){const r=S.useRef(!1);return S.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var Zs=function(){return F.root.Date.now()},WF="Expected a function",VF=Math.max,UF=Math.min;function GF(e,t,r){var n,o,i,a,s,l,c=0,d=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(WF);t=v.toNumber(t)||0,F.isObject(r)&&(d=!!r.leading,f="maxWait"in r,i=f?VF(v.toNumber(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p);function g(_){var O=n,k=o;return n=o=void 0,c=_,a=e.apply(k,O),a}function m(_){return c=_,s=setTimeout(b,t),d?g(_):a}function h(_){var O=_-l,k=_-c,D=t-O;return f?UF(D,i-k):D}function y(_){var O=_-l,k=_-c;return l===void 0||O>=t||O<0||f&&k>=i}function b(){var _=Zs();if(y(_))return T(_);s=setTimeout(b,h(_))}function T(_){return s=void 0,p&&n?g(_):(n=o=void 0,a)}function E(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:T(Zs())}function C(){var _=Zs(),O=y(_);if(n=arguments,o=this,l=_,O){if(s===void 0)return m(l);if(f)return clearTimeout(s),s=setTimeout(b,t),g(l)}return s===void 0&&(s=setTimeout(b,t)),a}return C.cancel=E,C.flush=x,C}function Lu(e,{onLocalStateChange:t,syncCompareFn:r=F.isEqual}={}){const[n,o]=S.useState(e),i=S.useRef(e);S.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=S.useCallback(s=>{o(l=>{const c=F.isFunction(s)?s(l):s;return t==null||t(c),c})},[t]);return[n,a]}function YF({chartType:e,dataOptions:t,enabled:r}){const[n,o]=S.useState([]),i=S.useMemo(()=>{var p;const f=v.isCartesian(e)&&((p=t.category)==null?void 0:p.length)===1||v.isScatter(e);return r&&f},[r,e,t]),a=S.useMemo(()=>{if(n.length===0)return f=>N(w({},f),{series:f.series.map(p=>N(w({},p),{data:p.data.map(g=>N(w({},g),{selected:!1}))}))});if(v.isScatter(e))return f=>N(w({},f),{series:f.series.map(p=>N(w({},p),{data:p.data.map(g=>N(w({},g),{selected:!n.some(m=>{var h,y;return m.x===g.x&&m.y===g.y&&m.size===g.z&&m.breakByPoint===((h=g.custom)==null?void 0:h.maskedBreakByPoint)&&m.breakByColor===((y=g.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const f=n.reduce((p,{categoryValue:g})=>(g&&(p[`${g}`]=!0),p),{});return p=>N(w({},p),{series:p.series.map(g=>N(w({},g),{data:g.data.map(m=>{var h,y;return f[(y=(h=m.custom)==null?void 0:h.xValue)==null?void 0:y[0]]?m:N(w({},m),{selected:!0})})}))})}},[n,e]),s=S.useMemo(()=>f=>{var p;return N(w({},f),{chart:N(w({},f.chart),{events:N(w({},(p=f.chart)==null?void 0:p.events),{click:()=>{o([])}})})})},[]),l=S.useCallback(f=>(i&&(f=a(f),f=s(f)),f),[a,s,i]),c=S.useCallback(f=>{i&&o(f)},[i]),d=S.useCallback(f=>{i&&o([f])},[i]);return{onBeforeRender:l,onDataPointsSelected:c,onDataPointClick:d}}const hv=()=>{const e=da();if(!e)throw new F.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function hc(e){return e&&e.length?Yc(e):[]}function qF(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 XF(e,t){return function(r,n){if(r==null)return r;if(!F.isArrayLike(r))return e(r,n);for(var o=r.length,i=-1,a=Object(r);++i<o&&n(a[i],i,a)!==!1;);return r}}var KF=XF(F.baseForOwn);function QF(e,t,r,n){return KF(e,function(o,i,a){t(n,o,r(o),a)}),n}function gv(e,t){return function(r,n){var o=F.isArray(r)?qF:QF,i=t?t():{};return o(r,e,F.baseIteratee(n),i)}}var ti=gv(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const ZF=In(J.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"),JF=fe(qr)(qe(({theme:e})=>N(w({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]}),{borderRadius:2,"&:hover, &:focus":w({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":w({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:cl(e.palette.grey[200],.12)}:{backgroundColor:cl(e.palette.grey[600],.12)})}))),e9=fe(ZF)({width:24,height:16});function mv(e){const i=e,{slots:t={},slotProps:r={}}=i,n=re(i,["slots","slotProps"]),o=e;return J.jsx("li",{children:J.jsx(JF,N(w({focusRipple:!0},n),{ownerState:o,children:J.jsx(e9,w({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(mv.propTypes={slotProps:u.shape({collapsedIcon:u.oneOfType([u.func,u.object])}),slots:u.shape({CollapsedIcon:u.elementType}),sx:u.object});function t9(e){return ke("MuiBreadcrumbs",e)}const r9=Ae("MuiBreadcrumbs",["root","ol","li","separator"]),n9=e=>{const{classes:t}=e;return He({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},t9,t)},o9=fe(bt,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${r9.li}`]:t.li},t.root]})({}),i9=fe("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),a9=fe("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function s9(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,J.jsx(a9,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const vv=$.forwardRef(function(t,r){const n=je({props:t,name:"MuiBreadcrumbs"}),O=n,{children:o,className:i,component:a="nav",slots:s={},slotProps:l={},expandText:c="Show path",itemsAfterCollapse:d=1,itemsBeforeCollapse:f=1,maxItems:p=8,separator:g="/"}=O,m=re(O,["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),[h,y]=$.useState(!1),b=N(w({},n),{component:a,expanded:h,expandText:c,itemsAfterCollapse:d,itemsBeforeCollapse:f,maxItems:p,separator:g}),T=n9(b),E=_c({elementType:s.CollapsedIcon,externalSlotProps:l.collapsedIcon,ownerState:b}),x=$.useRef(null),C=k=>{const D=()=>{y(!0);const j=x.current.querySelector("a[href],button,[tabindex]");j&&j.focus()};return f+d>=k.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${d}} + itemsBeforeCollapse={${f}} >= maxItems={${p}}`].join(`
|
|
333
|
-
`)),k):[...k.slice(0,f),J.jsx(mv,{"aria-label":c,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:E},onClick:D},"ellipsis"),...k.slice(k.length-d,k.length)]},_=$.Children.toArray(o).filter(k=>(process.env.NODE_ENV!=="production"&&Sc.isFragment(k)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
334
|
-
`)),$.isValidElement(k))).map((k,D)=>J.jsx("li",{className:T.li,children:k},`child-${D}`));return J.jsx(o9,N(w({ref:r,component:a,color:"textSecondary",className:ge(T.root,i),ownerState:b},m),{children:J.jsx(i9,{className:T.ol,ref:x,ownerState:b,children:s9(h||p&&_.length<=p?_:C(_),T.separator,g,b)})}))});process.env.NODE_ENV!=="production"&&(vv.propTypes={children:u.node,classes:u.object,className:u.string,component:u.elementType,expandText:u.string,itemsAfterCollapse:Gt,itemsBeforeCollapse:Gt,maxItems:Gt,separator:u.node,slotProps:u.shape({collapsedIcon:u.oneOfType([u.func,u.object])}),slots:u.shape({CollapsedIcon:u.elementType}),sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object])});function l9(e){return ke("MuiButton",e)}const kr=Ae("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),yv=$.createContext({});process.env.NODE_ENV!=="production"&&(yv.displayName="ButtonGroupContext");const bv=$.createContext(void 0);process.env.NODE_ENV!=="production"&&(bv.displayName="ButtonGroupButtonContext");const c9=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,loading:a,loadingPosition:s,classes:l}=e,c={root:["root",a&&"loading",i,`${i}${pe(t)}`,`size${pe(o)}`,`${i}Size${pe(o)}`,`color${pe(t)}`,r&&"disableElevation",n&&"fullWidth",a&&`loadingPosition${pe(s)}`],startIcon:["icon","startIcon",`iconSize${pe(o)}`],endIcon:["icon","endIcon",`iconSize${pe(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=He(c,l9,l);return w(w({},l),d)},wv=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],u9=fe(qr,{shouldForwardProp:e=>Uo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${pe(r.color)}`],t[`size${pe(r.size)}`],t[`${r.variant}Size${pe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(qe(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return N(w({},e.typography.button),{minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${kr.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${kr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${kr.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${kr.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Er()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(e.vars||e).palette[n].main,"--variant-outlinedColor":(e.vars||e).palette[n].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.5)`:Le(e.palette[n].main,.5),"--variant-containedColor":(e.vars||e).palette[n].contrastText,"--variant-containedBg":(e.vars||e).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[n].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Le(e.palette[n].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[n].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Le(e.palette[n].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Le(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Le(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${kr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${kr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${kr.loading}`]:{color:"transparent"}}}]})})),d9=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${pe(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...wv]})),f9=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${pe(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...wv]})),p9=fe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Jp=fe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Lo=$.forwardRef(function(t,r){const n=$.useContext(yv),o=$.useContext(bv),i=wo(n,t),a=je({props:i,name:"MuiButton"}),z=a,{children:s,color:l="primary",component:c="button",className:d,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:g=!1,endIcon:m,focusVisibleClassName:h,fullWidth:y=!1,id:b,loading:T=null,loadingIndicator:E,loadingPosition:x="center",size:C="medium",startIcon:_,type:O,variant:k="text"}=z,D=re(z,["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","id","loading","loadingIndicator","loadingPosition","size","startIcon","type","variant"]),j=_a(b),V=E!=null?E:J.jsx(Du,{"aria-labelledby":j,color:"inherit",size:16}),R=N(w({},a),{color:l,component:c,disabled:f,disableElevation:p,disableFocusRipple:g,fullWidth:y,loading:T,loadingIndicator:V,loadingPosition:x,size:C,type:O,variant:k}),A=c9(R),H=(_||T&&x==="start")&&J.jsx(d9,{className:A.startIcon,ownerState:R,children:_||J.jsx(Jp,{className:A.loadingIconPlaceholder,ownerState:R})}),B=(m||T&&x==="end")&&J.jsx(f9,{className:A.endIcon,ownerState:R,children:m||J.jsx(Jp,{className:A.loadingIconPlaceholder,ownerState:R})}),L=o||"",P=typeof T=="boolean"?J.jsx("span",{className:A.loadingWrapper,style:{display:"contents"},children:T&&J.jsx(p9,{className:A.loadingIndicator,ownerState:R,children:V})}):null;return J.jsxs(u9,N(w({ownerState:R,className:ge(n.className,A.root,d,L),component:c,disabled:f||T,focusRipple:!g,focusVisibleClassName:ge(A.focusVisible,h),ref:r,type:O,id:T?j:b},D),{classes:A,children:[H,x!=="end"&&P,s,x==="end"&&P,B]}))});process.env.NODE_ENV!=="production"&&(Lo.propTypes={children:u.node,classes:u.object,className:u.string,color:u.oneOfType([u.oneOf(["inherit","primary","secondary","success","error","info","warning"]),u.string]),component:u.elementType,disabled:u.bool,disableElevation:u.bool,disableFocusRipple:u.bool,disableRipple:u.bool,endIcon:u.node,focusVisibleClassName:u.string,fullWidth:u.bool,href:u.string,id:u.string,loading:u.bool,loadingIndicator:u.node,loadingPosition:u.oneOf(["center","end","start"]),size:u.oneOfType([u.oneOf(["small","medium","large"]),u.string]),startIcon:u.node,sx:u.oneOfType([u.arrayOf(u.oneOfType([u.func,u.object,u.bool])),u.func,u.object]),type:u.oneOfType([u.oneOf(["button","reset","submit"]),u.string]),variant:u.oneOfType([u.oneOf(["contained","outlined","text"]),u.string])});const h9=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=v.useTranslation(),i=t.name,a=gt(Lo,{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=gt("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),l=()=>v.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:v.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:v.jsx("path",{fill:"#9EA2AB",d:"M12 12.293L6.854 7.146a.5.5 0 1 0-.708.708L11.293 13l-5.147 5.146a.5.5 0 0 0 .708.708L12 13.707l5.146 5.147a.5.5 0 0 0 .708-.708L12.707 13l5.147-5.146a.5.5 0 0 0-.708-.708L12 12.293z"})})}),c=gt(Lo,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",f=>f.theme.fontFamily,";border-radius:0;border:1px solid ",qt,";background-color:",f=>f.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",f=>f.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:",f=>f.theme.chartBackgroundColor,";border:1px solid ",qt,";border-right:none;border-left:none;}}");return{CancelButton:l,CurrentDrillButton:()=>v.jsxs(c,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",v.jsx("span",{className:"flex items-center justify-between",children:v.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 ${qt}`,borderRight:`1px solid ${qt}`}})})]})}},g9={modifiers:[{name:"offset",options:{offset:[0,12]}}]},m9=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=v.useTranslation();return v.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:[v.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[v.jsx(bt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),v.jsx(bt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),v.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[v.jsx(bt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),v.jsx(bt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),v.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[v.jsx(bt,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),v.jsx(bt,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},v9=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return v.jsx(ei,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:g9,children:e&&v.jsx(m9,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},y9=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=v.useThemeContext(),s=v.scaleBrightness(a,-.02),l=v.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:l}},b9=gt(kn,{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;}}}"),w9=gt(kn,{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;}}}"),x9=({currentDimension:e,children:t})=>{const{t:r}=v.useTranslation(),n=S.useRef(null),[o,i]=S.useState(0),[a,s]=S.useState(0),[l,c]=S.useState(0),d=()=>{var m;return(m=n.current)==null?void 0:m.querySelector("ol")};S.useEffect(()=>{const m=d();if(m){const h=m.clientWidth,y=m.scrollWidth,b=m.scrollLeft;i(h),s(y),c(b)}},[e]),S.useEffect(()=>{const m=d();function h(){if(m){const T=m.clientWidth;i(T)}}function y(){if(m){const T=m.scrollLeft;c(T)}}const b=new ResizeObserver(h);return m?(b.observe(m),m.addEventListener("scroll",y),()=>{b.disconnect(),m.removeEventListener("scroll",y)}):()=>{}},[]);const f=m=>{const y="smooth",b=d();b&&b.scrollBy({left:m==="right"?200:-200,behavior:y})},p=l!=0,g=Math.floor(a-l)>o;return v.jsxs("div",{style:{position:"relative"},children:[p&&v.jsx(b9,{onClick:()=>f("left"),children:v.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),g&&v.jsx(w9,{onClick:()=>f("right"),children:v.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),v.jsx("div",{ref:n,children:t})]})},qt="#F2F2F2",C9=gt(Lo,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",qt,";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 ",qt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),E9=gt(vv,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),T9=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>v.jsx(C9,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:v.jsxs("span",{className:"flex items-center justify-between",children:[v.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?v.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 ${qt}`,borderRight:`1px solid ${qt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,v.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 ${qt}`,borderRight:`1px solid ${qt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),xv=Go({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=S.useState(null),[a,s]=S.useState(!1),l=y9(),{CancelButton:c,CurrentDrillButton:d}=h9({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:l}),f=h=>y=>{s(!0),i({filterDisplayValues:h,anchorEl:y.currentTarget})},p=()=>{s(!1),i(null)},g=h=>h<e.length-1,m=h=>h===e.length-2;return e.length?v.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:v.jsx(x9,{currentDimension:t,children:v.jsxs(E9,{separator:null,sx:{backgroundColor:l.chartBackgroundColor,padding:"4px"},children:[v.jsx(c,{}),e.map((h,y)=>{const b=g(y),T=m(y);return v.jsx("div",{children:v.jsx(T9,{isActive:b,isLastActive:T,filterDisplayValue:h,handleMouseEnter:f(h),handleMouseLeave:p,handleClick:()=>n(y+1),themeProps:l,popperParams:o,index:y})},y)}),v.jsx(d,{}),v.jsx(v9,{popperParams:o,currentDimension:t,themeProps:l})]})})}):null}),Cv=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=S.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=S.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=v.useTranslation();if(!t)throw new F.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=Lu(o,{onLocalStateChange:r}),l=S.useMemo(()=>[v.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),c=S.useMemo(()=>n.filter(y=>{if(F.MetadataTypes.isAttribute(y)){const E=y;return l.every(x=>!Dt(x,E))}const T=y;return l.every((E,x)=>Dt(E,T.levels[x]))}),[n,l]),d=S.useCallback((y,b,T)=>{s(E=>Ev(E,y,b,T))},[s]),f=S.useCallback(y=>{s(b=>b.slice(0,y))},[s]),p=S.useCallback(()=>{s([])},[s]),{drilldownFilters:g,drilldownFiltersDisplayValues:m,drilldownDimension:h}=S.useMemo(()=>Tv(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:c,drilldownFilters:g,drilldownFiltersDisplayValues:m,drilldownDimension:h,selectDrilldown:d,sliceDrilldownSelections:f,clearDrilldownSelections:p}},Ev=(e,t,r,n)=>{var p,g;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(Dt(n.levels[0],r))return[];const i=(p=e==null?void 0:e.findIndex(m=>Dt(m.nextDimension,r)))!=null?p:-1;if(i!==-1)return e.slice(0,i+1);const s=(g=F.last(e))==null?void 0:g.nextDimension,l=e.length?n.levels.findIndex(m=>s&&Dt(m,s)):0,c=n.levels.indexOf(r),f=n.levels.slice(l+1,c+1).map((m,h)=>({points:h===0?t:[],nextDimension:m}));return[...e,...f]},Tv=(e,t,r)=>{let n=t&&v.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(F.members(n,a.map(S9)));const l=a.length?a.map(Sv):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(l),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function Sv(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function S9(e){return"categoryValue"in e?`${e.categoryValue}`:""}var R9=Object.prototype,_9=R9.hasOwnProperty,M9=gv(function(e,t,r){_9.call(e,r)?e[r].push(t):F.baseAssignValue(e,r,[t])});function O9(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function Rv(e,t){return e.find(r=>Dt(r.attribute,t))}function _v(e,t,r){const n=Rv(r,e);return F.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function Mv(e,t){return Nu(e,t)&&"members"in e&&"members"in t&&F.isEqual(e.members,t.members)}var ia=function(e){return e.WIDGET_POINTS_DRILLDOWN="widget-points-drilldown",e.WIDGET_POINTS_CROSSFILTERING="widget-points-crossfiltering",e}({}),Fo=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 Ov=2;function Hn(e,t){const r=e.flatMap(({entries:o={}})=>t.flatMap(i=>{const a=o[i];return a?(Array.isArray(a)?a:[a]).filter(({attribute:l})=>!!l):[]})),n=M9(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:hc(o.map(({value:i})=>i)),displayValues:hc(o.map(({displayValue:i})=>i))}))}function k9(e){return Hn(e,["category"])}function A9(e){return Hn(e,["category"])}function P9(e,t){const r=Hn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:v.translateColumnToAttribute(o),values:[],displayValues:[]})}function I9(e){return Hn(e,["x","y","breakByPoint","breakByColor"])}function D9(e){return Hn(e,["geo"])}function $9(e){return Hn(e,["geo"])}function Fi(e,t,r){return e==="custom"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?P9(r,t):v.isCartesian(e)||e==="pie"||e==="funnel"?k9(r):v.isBoxplot(e)?A9(r):v.isScatter(e)?I9(r):v.isScattermap(e)?D9(r):v.isAreamap(e)?$9(r):[]}function Fu(e,t){let r=[];return e==="custom"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:v.isCartesian(e)||v.isCategorical(e)||v.isBoxplot(e)||v.isRange(e)?r=[...t.category]:v.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!v.isMeasureColumn(n))):(v.isScattermap(e)||v.isAreamap(e))&&(r=[...t.geo]),r.map(v.translateColumnToAttribute)}function N9(e,t,r){const n=Rv(t,e.attribute);if(!n||$u(n))return null;if(Mv(e,n))return ds(e);if(F.isMembersFilter(n)&&r){const[o,i]=ti(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return _v(e.attribute,i,[n])}return null}function L9(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>N9(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function Js(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>_v(i,a,t)),o=F9(t,n);return L9(o,t,r)}function F9(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>Nu(o,n))):t}function j9(e,t,r){const n=Fi(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>Ov;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function eh(e,t,r){const n=j9(e,t,r);return n?{id:Fo.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function th(e,t){return{items:[{caption:e,onClick:t}]}}const B9=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=v.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:l,drilldownDimension:c,selectDrilldown:d,sliceDrilldownSelections:f,clearDrilldownSelections:p}=Cv({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),g=S.useCallback((h,y)=>{const b=[kv(y,c),Av(a,c,(T,E)=>{d(y,T,E)},i)];n({id:ia.WIDGET_POINTS_DRILLDOWN,position:h,itemSections:b})},[c,a,i,d,n]),m=S.useMemo(()=>c&&v.jsx(xv,{filtersDisplayValues:l,currentDimension:c,clearDrilldownSelections:p,sliceDrilldownSelections:f}),[p,c,l,f]);return{drilldownDimension:c,drilldownFilters:s,breadcrumbs:m,openDrilldownMenu:g}};function kv(e,t){const r=hc(e.map(Sv).filter(n=>!!n));return r.length>Ov?{id:Fo.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:Fo.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function H9(e){return 30+12*e}function Av(e,t,r,n){const[o,i]=ti(e,F.MetadataTypes.isAttribute.bind(F.MetadataTypes)),a=o.map(l=>({caption:l.name,onClick:()=>r(l)})),s=i.map(l=>({caption:l.title,subItems:[{items:l.levels.map((c,d)=>({caption:c.name,class:d===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${H9(d)}px`},disabled:Dt(c,t),onClick:()=>r(c,l)}))}]}));return{id:Fo.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var fs=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Pv(e){return function(t){t=F.toString(t);var r=k0(t)?xl(t):void 0,n=r?r[0]:t.charAt(0),o=r?O0(r,1).join(""):t.slice(1);return n[e]()+o}}var Iv=Pv("toUpperCase");function z9(e){return Iv(F.toString(e).toLowerCase())}function W9(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 V9(e){return function(t){return e==null?void 0:e[t]}}var U9={À:"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"},G9=V9(U9),Y9=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,q9="\\u0300-\\u036f",X9="\\ufe20-\\ufe2f",K9="\\u20d0-\\u20ff",Q9=q9+X9+K9,Z9="["+Q9+"]",J9=RegExp(Z9,"g");function ej(e){return e=F.toString(e),e&&e.replace(Y9,G9).replace(J9,"")}var tj=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function rj(e){return e.match(tj)||[]}var nj=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function oj(e){return nj.test(e)}var Dv="\\ud800-\\udfff",ij="\\u0300-\\u036f",aj="\\ufe20-\\ufe2f",sj="\\u20d0-\\u20ff",lj=ij+aj+sj,$v="\\u2700-\\u27bf",Nv="a-z\\xdf-\\xf6\\xf8-\\xff",cj="\\xac\\xb1\\xd7\\xf7",uj="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dj="\\u2000-\\u206f",fj=" \\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",Lv="A-Z\\xc0-\\xd6\\xd8-\\xde",pj="\\ufe0e\\ufe0f",Fv=cj+uj+dj+fj,jv="['’]",rh="["+Fv+"]",hj="["+lj+"]",Bv="\\d+",gj="["+$v+"]",Hv="["+Nv+"]",zv="[^"+Dv+Fv+Bv+$v+Nv+Lv+"]",mj="\\ud83c[\\udffb-\\udfff]",vj="(?:"+hj+"|"+mj+")",yj="[^"+Dv+"]",Wv="(?:\\ud83c[\\udde6-\\uddff]){2}",Vv="[\\ud800-\\udbff][\\udc00-\\udfff]",hn="["+Lv+"]",bj="\\u200d",nh="(?:"+Hv+"|"+zv+")",wj="(?:"+hn+"|"+zv+")",oh="(?:"+jv+"(?:d|ll|m|re|s|t|ve))?",ih="(?:"+jv+"(?:D|LL|M|RE|S|T|VE))?",Uv=vj+"?",Gv="["+pj+"]?",xj="(?:"+bj+"(?:"+[yj,Wv,Vv].join("|")+")"+Gv+Uv+")*",Cj="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ej="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Tj=Gv+Uv+xj,Sj="(?:"+[gj,Wv,Vv].join("|")+")"+Tj,Rj=RegExp([hn+"?"+Hv+"+"+oh+"(?="+[rh,hn,"$"].join("|")+")",wj+"+"+ih+"(?="+[rh,hn+nh,"$"].join("|")+")",hn+"?"+nh+"+"+oh,hn+"+"+ih,Ej,Cj,Bv,Sj].join("|"),"g");function _j(e){return e.match(Rj)||[]}function Mj(e,t,r){return e=F.toString(e),t=t,t===void 0?oj(e)?_j(e):rj(e):e.match(t)||[]}var Oj="['’]",kj=RegExp(Oj,"g");function Aj(e){return function(t){return W9(Mj(ej(t).replace(kj,"")),e,"")}}var Yv=Aj(function(e,t,r){return t=t.toLowerCase(),e+(r?z9(t):t)});function Pj(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>F.createDimensionalElementFromJaql(o))}}function qv(e,t,r){return Ot(this,null,function*(){const o=yield new v.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>Pj(i))})}const Ij=fv("useGetHierarchyModels")(Xv);function Xv(e){const t=Iu(e,["dataSource","dimension","ids","alwaysIncluded"]),r=pv(e,t),[n,o]=S.useReducer(pc,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=v.useSisenseContext();return S.useEffect(()=>{i||o({type:"error",error:new F.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),qv(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?ah(pc(n,{type:"loading"})):ah(n)}function ah(e){const n=e,{data:t}=n,r=re(n,["data"]);return N(w({},r),{hierarchies:t})}function Dj({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=S.useMemo(()=>ti(r,v.isString),[r]),{hierarchies:a=[]}=Xv({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return S.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function $j(e,t){return Fu(e,t)[0]}function Nj(e){return[...v.CARTESIAN_CHART_TYPES,...v.CATEGORICAL_CHART_TYPES,...v.SCATTER_CHART_TYPES,...v.BOXPLOT_CHART_TYPES,...v.RANGE_CHART_TYPES].includes(e)}function Lj(e,t){return Fu(e,t).length===1}function Fj(e,t){return Lj(e,t)&&Nj(e)}function Kv(e,t,r){const n=o=>!!o&&!Dt(r,v.translateColumnToAttribute(o));if(v.isCartesian(e)||v.isCategorical(e)||v.isBoxplot(e)||v.isRange(e)){const o=t.category[0];if(n(o))return N(w({},t),{category:[r]})}else if(v.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!v.isMeasureColumn(s)&&n(s))return N(w({},o),{[a]:r})}}return t}function sh(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]&&!v.isMeasureColumn(r[s]));if(i){const s=t,l=s.type==="mouseup";l&&console.warn("No drilldown support for multi-selection in scatter chart");const c=l?n[a]:s.point.options.custom[Yv(`{masked ${a}`)];return{categoryValue:c,categoryDisplayValue:c}}return n})}const jj=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=hv(),l=S.useMemo(()=>Fj(r,n),[r,n]),c=S.useMemo(()=>(i==null?void 0:i.drilldownPaths)||[],[i==null?void 0:i.drilldownPaths]),d=S.useMemo(()=>{const k=F.createAttribute({name:"dummy drilldown initial attribute"});return $j(r,n)||k},[r,n]),f=Dj({attribute:d,dataSource:o,drilldownPaths:c,enabled:l}),p=S.useMemo(()=>{var D;return(((D=i==null?void 0:i.drilldownSelections)==null?void 0:D.length)||(f==null?void 0:f.length))&&l},[i,l,f]),{drilldownDimension:g,drilldownFilters:m,breadcrumbs:h,openDrilldownMenu:y}=B9({initialDimension:d,drilldownSelections:a,drilldownPaths:f,openMenu:s,onDrilldownSelectionsChange:t}),b=S.useCallback((k,D)=>{const j=sh(k,D,n);y({left:D.clientX,top:D.clientY},j)},[n,y]),T=S.useCallback((k,D)=>{const j=sh([k],D,n);y({left:D.clientX,top:D.clientY},j)},[n,y]),E=S.useMemo(()=>Kv(r,n,g),[r,n,g]),x=S.useMemo(()=>m.length?F.mergeFiltersOrFilterRelations(e.filters||[],m):e.filters,[e.filters,m]),C=S.useMemo(()=>v.combineHandlers([b,e.onDataPointsSelected]),[b,e.onDataPointsSelected]),_=S.useMemo(()=>v.combineHandlers([T,e.onDataPointContextMenu]),[T,e.onDataPointContextMenu]);return{propsWithDrilldown:w(w({},e),p&&{dataOptions:E,filters:x,onDataPointsSelected:C,onDataPointContextMenu:_}),isDrilldownEnabled:p,breadcrumbs:h}},Bj=Go({componentName:"ChartWidget"})(e=>{var k,D;const{app:t}=v.useSisenseContext(),{chartType:r,dataSource:n=t==null?void 0:t.defaultDataSource,dataOptions:o,styleOptions:i,highlightSelectionDisabled:a=!1,highlights:s,description:l,onChange:c}=e,{width:d,height:f}=i||{},p=W0(r,{hasHeader:!((k=i==null?void 0:i.header)!=null&&k.hidden)}),[g,m]=S.useState(0),h=S.useMemo(()=>F.omit(i,["width","height"]),[i]),y=S.useCallback(j=>{c==null||c({drilldownOptions:{drilldownSelections:j}})},[c]),{propsWithDrilldown:b,isDrilldownEnabled:T,breadcrumbs:E}=jj({propsToExtend:e,onDrilldownSelectionsChange:y}),x=YF({chartType:r,dataOptions:o,enabled:!a&&!T&&!(s!=null&&s.length)}),C=(D=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:D.enabled,_=S.useCallback(j=>{var V;return C?N(w({},j),{accessibility:N(w({},j.accessibility),{description:l!=null?l:(V=j.accessibility)==null?void 0:V.description})}):j},[l,C]);if(!r||!o)return null;const O=N(w({},b),{dataSet:n,styleOptions:h,refreshCounter:g,onDataPointClick:S.useMemo(()=>v.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:b.onDataPointContextMenu,onDataPointsSelected:S.useMemo(()=>v.combineHandlers([x.onDataPointsSelected,b.onDataPointsSelected]),[x.onDataPointsSelected,b.onDataPointsSelected]),onBeforeRender:S.useMemo(()=>v.combineHandlers([_,x.onBeforeRender,e.onBeforeRender],!0),[_,x.onBeforeRender,e.onBeforeRender])});return v.jsx(Ia,{defaultSize:p,size:{width:d,height:f},children:v.jsx(lv,N(w({},e),{topSlot:v.jsxs(v.Fragment,{children:[e.topSlot,E]}),dataSetName:n&&F.getDataSourceName(n),onRefresh:()=>m(g+1),children:v.jsx(nv,w({},O))}))})});class zn{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 jo=typeof window=="undefined"||"Deno"in window;function kt(){}function Hj(e,t){return typeof e=="function"?e(t):e}function gc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Qv(e,t){return Math.max(e+(t||0)-Date.now(),0)}function fo(e,t,r){return ri(e)?typeof t=="function"?N(w({},r),{queryKey:e,queryFn:t}):N(w({},t),{queryKey:e}):e}function zj(e,t,r){return ri(e)?N(w({},t),{mutationKey:e}):typeof e=="function"?N(w({},t),{mutationFn:e}):w({},e)}function gr(e,t,r){return ri(e)?[N(w({},t),{queryKey:e}),r]:[e||{},t]}function lh(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(ri(a)){if(n){if(t.queryHash!==ju(a,t.options))return!1}else if(!vn(t.queryKey,a))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function ch(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(ri(i)){if(!t.options.mutationKey)return!1;if(r){if(Fr(t.options.mutationKey)!==Fr(i))return!1}else if(!vn(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function ju(e,t){return((t==null?void 0:t.queryKeyHashFn)||Fr)(e)}function Fr(e){return JSON.stringify(e,(t,r)=>mc(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function vn(e,t){return Zv(e,t)}function Zv(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!Zv(e[r],t[r])):!1}function Jv(e,t){if(e===t)return e;const r=uh(e)&&uh(t);if(r||mc(e)&&mc(t)){const n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{};let s=0;for(let l=0;l<i;l++){const c=r?l:o[l];a[c]=Jv(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function aa(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function uh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function mc(e){if(!dh(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!dh(r)||!r.hasOwnProperty("isPrototypeOf"))}function dh(e){return Object.prototype.toString.call(e)==="[object Object]"}function ri(e){return Array.isArray(e)}function e1(e){return new Promise(t=>{setTimeout(t,e)})}function fh(e){e1(0).then(e)}function Wj(){if(typeof AbortController=="function")return new AbortController}function vc(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Jv(e,t):t}class Vj extends zn{constructor(){super(),this.setup=t=>{if(!jo&&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 sa=new Vj,ph=["online","offline"];class Uj extends zn{constructor(){super(),this.setup=t=>{if(!jo&&window.addEventListener){const r=()=>t();return ph.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{ph.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 la=new Uj;function Gj(e){return Math.min(1e3*Ht(2,e),3e4)}function ps(e){return(e!=null?e:"online")==="online"?la.isOnline():!0}class t1{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function ji(e){return e instanceof t1}function r1(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,b)=>{i=y,a=b}),l=y=>{n||(g(new t1(y)),e.abort==null||e.abort())},c=()=>{t=!0},d=()=>{t=!1},f=()=>!sa.isFocused()||e.networkMode!=="always"&&!la.isOnline(),p=y=>{n||(n=!0,e.onSuccess==null||e.onSuccess(y),o==null||o(),i(y))},g=y=>{n||(n=!0,e.onError==null||e.onError(y),o==null||o(),a(y))},m=()=>new Promise(y=>{o=b=>{const T=n||!f();return T&&y(b),T},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),h=()=>{if(n)return;let y;try{y=e.fn()}catch(b){y=Promise.reject(b)}Promise.resolve(y).then(p).catch(b=>{var T,E;if(n)return;const x=(T=e.retry)!=null?T:3,C=(E=e.retryDelay)!=null?E:Gj,_=typeof C=="function"?C(r,b):C,O=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,b);if(t||!O){g(b);return}r++,e.onFail==null||e.onFail(r,b),e1(_).then(()=>{if(f())return m()}).then(()=>{t?g(b):h()})})};return ps(e.networkMode)?h():m().then(h),{promise:s,cancel:l,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:c,continueRetry:d}}const Bu=console;function Yj(){let e=[],t=0,r=d=>{d()},n=d=>{d()};const o=d=>{let f;t++;try{f=d()}finally{t--,t||s()}return f},i=d=>{t?e.push(d):fh(()=>{r(d)})},a=d=>(...f)=>{i(()=>{d(...f)})},s=()=>{const d=e;e=[],d.length&&fh(()=>{n(()=>{d.forEach(f=>{r(f)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{n=d}}}const Ye=Yj();class n1{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),gc(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:jo?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class qj extends n1{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Bu,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||Xj(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=w(w({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=vc(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(kt).catch(kt):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||!Qv(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 g=this.observers.find(m=>m.options.queryFn);g&&this.setOptions(g.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=Wj(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),d={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(d),(n=this.options.behavior)==null||n.onFetch(d),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=d.fetchOptions)==null?void 0:o.meta)){var f;this.dispatch({type:"fetch",meta:(f=d.fetchOptions)==null?void 0:f.meta})}const p=g=>{if(ji(g)&&g.silent||this.dispatch({type:"error",error:g}),!ji(g)){var m,h,y,b;(m=(h=this.cache.config).onError)==null||m.call(h,g,this),(y=(b=this.cache.config).onSettled)==null||y.call(b,this.state.data,g,this),process.env.NODE_ENV!=="production"&&this.logger.error(g)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=r1({fn:d.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:g=>{var m,h,y,b;if(typeof g=="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),p(new Error(this.queryHash+" data is undefined"));return}this.setData(g),(m=(h=this.cache.config).onSuccess)==null||m.call(h,g,this),(y=(b=this.cache.config).onSettled)==null||y.call(b,g,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:(g,m)=>{this.dispatch({type:"failed",failureCount:g,error:m})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return N(w({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return N(w({},n),{fetchStatus:"paused"});case"continue":return N(w({},n),{fetchStatus:"fetching"});case"fetch":return w(N(w({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:ps(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return w(N(w({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const a=t.error;return ji(a)&&a.revert&&this.revertState?N(w({},this.revertState),{fetchStatus:"idle"}):N(w({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return N(w({},n),{isInvalidated:!0});case"setState":return w(w({},n),t.state)}};this.state=r(this.state),Ye.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function Xj(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 Kj extends zn{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:ju(i,r);let s=this.get(a);return s||(s=new qj({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(){Ye.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=gr(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>lh(n,o))}findAll(t,r){const[n]=gr(t,r);return Object.keys(n).length>0?this.queries.filter(o=>lh(n,o)):this.queries}notify(t){Ye.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){Ye.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ye.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class Qj extends n1{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Bu,this.observers=[],this.state=t.state||o1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=w(w({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,r;return(t=(r=this.retryer)==null?void 0:r.continue())!=null?t:this.execute()}execute(){return Ot(this,null,function*(){const t=()=>{var O;return this.retryer=r1({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(k,D)=>{this.dispatch({type:"failed",failureCount:k,error:D})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(O=this.options.retry)!=null?O:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,l,c,d;if(!r){var f,p,g,m;this.dispatch({type:"loading",variables:this.options.variables}),yield(f=(p=this.mutationCache.config).onMutate)==null?void 0:f.call(p,this.state.variables,this);const k=yield(g=(m=this.options).onMutate)==null?void 0:g.call(m,this.state.variables);k!==this.state.context&&this.dispatch({type:"loading",context:k,variables:this.state.variables})}const O=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,O,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,O,this.state.variables,this.state.context),yield(s=(l=this.mutationCache.config).onSettled)==null?void 0:s.call(l,O,null,this.state.variables,this.state.context,this),yield(c=(d=this.options).onSettled)==null?void 0:c.call(d,O,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:O}),O}catch(O){try{var h,y,b,T,E,x,C,_;throw yield(h=(y=this.mutationCache.config).onError)==null?void 0:h.call(y,O,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(O),yield(b=(T=this.options).onError)==null?void 0:b.call(T,O,this.state.variables,this.state.context),yield(E=(x=this.mutationCache.config).onSettled)==null?void 0:E.call(x,void 0,O,this.state.variables,this.state.context,this),yield(C=(_=this.options).onSettled)==null?void 0:C.call(_,void 0,O,this.state.variables,this.state.context),O}finally{this.dispatch({type:"error",error:O})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return N(w({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return N(w({},n),{isPaused:!0});case"continue":return N(w({},n),{isPaused:!1});case"loading":return N(w({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ps(this.options.networkMode),status:"loading",variables:t.variables});case"success":return N(w({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return N(w({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return w(w({},n),t.state)}};this.state=r(this.state),Ye.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function o1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class Zj extends zn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new Qj({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(){Ye.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=>ch(t,r))}findAll(t){return this.mutations.filter(r=>ch(t,r))}notify(t){Ye.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 Ye.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(kt)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function Jj(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,i,a;const s=(t=e.fetchOptions)==null||(r=t.meta)==null?void 0:r.refetchPage,l=(n=e.fetchOptions)==null||(o=n.meta)==null?void 0:o.fetchMore,c=l==null?void 0:l.pageParam,d=(l==null?void 0:l.direction)==="forward",f=(l==null?void 0:l.direction)==="backward",p=((i=e.state.data)==null?void 0:i.pages)||[],g=((a=e.state.data)==null?void 0:a.pageParams)||[];let m=g,h=!1;const y=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>{var O;if((O=e.signal)!=null&&O.aborted)h=!0;else{var k;(k=e.signal)==null||k.addEventListener("abort",()=>{h=!0})}return e.signal}})},b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),T=(_,O,k,D)=>(m=D?[O,...m]:[...m,O],D?[k,..._]:[..._,k]),E=(_,O,k,D)=>{if(h)return Promise.reject("Cancelled");if(typeof k=="undefined"&&!O&&_.length)return Promise.resolve(_);const j={queryKey:e.queryKey,pageParam:k,meta:e.options.meta};y(j);const V=b(j);return Promise.resolve(V).then(A=>T(_,k,A,D))};let x;if(!p.length)x=E([]);else if(d){const _=typeof c!="undefined",O=_?c:hh(e.options,p);x=E(p,_,O)}else if(f){const _=typeof c!="undefined",O=_?c:eB(e.options,p);x=E(p,_,O,!0)}else{m=[];const _=typeof e.options.getNextPageParam=="undefined";x=(s&&p[0]?s(p[0],0,p):!0)?E([],_,g[0]):Promise.resolve(T([],g[0],p[0]));for(let k=1;k<p.length;k++)x=x.then(D=>{if(s&&p[k]?s(p[k],k,p):!0){const V=_?g[k]:hh(e.options,D);return E(D,_,V)}return Promise.resolve(T(D,g[k],p[k]))})}return x.then(_=>({pages:_,pageParams:m}))}}}}function hh(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function eB(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class tB{constructor(t={}){this.queryCache=t.queryCache||new Kj,this.mutationCache=t.mutationCache||new Zj,this.logger=t.logger||Bu,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=sa.subscribe(()=>{sa.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=la.subscribe(()=>{la.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]=gr(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll(N(w({},t),{fetching:!0})).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}ensureQueryData(t,r,n){const o=fo(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=Hj(r,i);if(typeof a=="undefined")return;const s=fo(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,N(w({},n),{manual:!0}))}setQueriesData(t,r,n){return Ye.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]=gr(t,r),o=this.queryCache;Ye.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=gr(t,r,n),a=this.queryCache,s=w({type:"active"},o);return Ye.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=gr(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=Ye.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(kt).catch(kt)}invalidateQueries(t,r,n){const[o,i]=gr(t,r,n);return Ye.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(c=>{c.invalidate()}),o.refetchType==="none")return Promise.resolve();const l=N(w({},o),{type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"});return this.refetchQueries(l,i)})}refetchQueries(t,r,n){const[o,i]=gr(t,r,n),a=Ye.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,N(w({},i),{cancelRefetch:(c=i==null?void 0:i.cancelRefetch)!=null?c:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(kt);return i!=null&&i.throwOnError||(s=s.catch(kt)),s}fetchQuery(t,r,n){const o=fo(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(kt).catch(kt)}fetchInfiniteQuery(t,r,n){const o=fo(t,r,n);return o.behavior=Jj(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(kt).catch(kt)}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=>Fr(t)===Fr(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>vn(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>vn(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=>Fr(t)===Fr(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>vn(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>vn(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=N(w(w(w({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=ju(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:N(w(w(w({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class rB extends zn{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),gh(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yc(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yc(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"),aa(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&&mh(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 oB(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=re(o,["refetchPage"]);return this.fetch(N(w({},r),{meta:{refetchPage:t}}))}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch(N(w({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(kt)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),jo||this.currentResult.isStale||!gc(this.options.staleTime))return;const r=Qv(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,!(jo||this.options.enabled===!1||!gc(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||sa.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,r){const n=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=t!==n,c=l?t.state:this.currentQueryInitialState,d=l?this.currentResult:this.previousQueryResult,{state:f}=t;let{dataUpdatedAt:p,error:g,errorUpdatedAt:m,fetchStatus:h,status:y}=f,b=!1,T=!1,E;if(r._optimisticResults){const k=this.hasListeners(),D=!k&&gh(t,r),j=k&&mh(t,n,r,o);(D||j)&&(h=ps(t.options.networkMode)?"fetching":"paused",p||(y="loading")),r._optimisticResults==="isRestoring"&&(h="idle")}if(r.keepPreviousData&&!f.dataUpdatedAt&&d!=null&&d.isSuccess&&y!=="error")E=d.data,p=d.dataUpdatedAt,y=d.status,b=!0;else if(r.select&&typeof f.data!="undefined")if(i&&f.data===(a==null?void 0:a.data)&&r.select===this.selectFn)E=this.selectResult;else try{this.selectFn=r.select,E=r.select(f.data),E=vc(i==null?void 0:i.data,E,r),this.selectResult=E,this.selectError=null}catch(k){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(k),this.selectError=k}else E=f.data;if(typeof r.placeholderData!="undefined"&&typeof E=="undefined"&&y==="loading"){let k;if(i!=null&&i.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))k=i.data;else if(k=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof k!="undefined")try{k=r.select(k),this.selectError=null}catch(D){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(D),this.selectError=D}typeof k!="undefined"&&(y="success",E=vc(i==null?void 0:i.data,k,r),T=!0)}this.selectError&&(g=this.selectError,E=this.selectResult,m=Date.now(),y="error");const x=h==="fetching",C=y==="loading",_=y==="error";return{status:y,fetchStatus:h,isLoading:C,isSuccess:y==="success",isError:_,isInitialLoading:C&&x,data:E,dataUpdatedAt:p,error:g,errorUpdatedAt:m,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!C,isLoadingError:_&&f.dataUpdatedAt===0,isPaused:h==="paused",isPlaceholderData:T,isPreviousData:b,isRefetchError:_&&f.dataUpdatedAt!==0,isStale:Hu(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,aa(n,r))return;this.currentResult=n;const o={cache:!0},i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,s=typeof a=="function"?a():a;if(s==="all"||!s&&!this.trackedProps.size)return!0;const l=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&l.add("error"),Object.keys(this.currentResult).some(c=>{const d=c;return this.currentResult[d]!==r[d]&&l.has(d)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(w(w({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!ji(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){Ye.batch(()=>{if(t.onSuccess){var r,n,o,i;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,l,c;(a=(s=this.options).onError)==null||a.call(s,this.currentResult.error),(l=(c=this.options).onSettled)==null||l.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(({listener:d})=>{d(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function nB(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function gh(e,t){return nB(e,t)||e.state.dataUpdatedAt>0&&yc(e,t,t.refetchOnMount)}function yc(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Hu(e,t)}return!1}function mh(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Hu(e,r)}function Hu(e,t){return e.isStaleByTime(t.staleTime)}function oB(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!aa(e.getCurrentResult(),t)}var bc={exports:{}},el={};/**
|
|
335
|
-
* @license React
|
|
336
|
-
* use-sync-external-store-shim.production.js
|
|
337
|
-
*
|
|
338
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
339
|
-
*
|
|
340
|
-
* This source code is licensed under the MIT license found in the
|
|
341
|
-
* LICENSE file in the root directory of this source tree.
|
|
342
|
-
*/var vh;function iB(){if(vh)return el;vh=1;var e=S;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(f,p){var g=p(),m=n({inst:{value:g,getSnapshot:p}}),h=m[0].inst,y=m[1];return i(function(){h.value=g,h.getSnapshot=p,l(h)&&y({inst:h})},[f,g,p]),o(function(){return l(h)&&y({inst:h}),f(function(){l(h)&&y({inst:h})})},[f]),a(g),g}function l(f){var p=f.getSnapshot;f=f.value;try{var g=p();return!r(f,g)}catch(m){return!0}}function c(f,p){return p()}var d=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?c:s;return el.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,el}var tl={};/**
|
|
343
|
-
* @license React
|
|
344
|
-
* use-sync-external-store-shim.development.js
|
|
345
|
-
*
|
|
346
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
347
|
-
*
|
|
348
|
-
* This source code is licensed under the MIT license found in the
|
|
349
|
-
* LICENSE file in the root directory of this source tree.
|
|
350
|
-
*/var yh;function aB(){return yh||(yh=1,process.env.NODE_ENV!=="production"&&function(){function e(g,m){return g===m&&(g!==0||1/g===1/m)||g!==g&&m!==m}function t(g,m){d||o.startTransition===void 0||(d=!0,console.error("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 h=m();if(!f){var y=m();i(h,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}y=a({inst:{value:h,getSnapshot:m}});var b=y[0].inst,T=y[1];return l(function(){b.value=h,b.getSnapshot=m,r(b)&&T({inst:b})},[g,h,m]),s(function(){return r(b)&&T({inst:b}),g(function(){r(b)&&T({inst:b})})},[g]),c(h),h}function r(g){var m=g.getSnapshot;g=g.value;try{var h=m();return!i(g,h)}catch(y){return!0}}function n(g,m){return m()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=S,i=typeof Object.is=="function"?Object.is:e,a=o.useState,s=o.useEffect,l=o.useLayoutEffect,c=o.useDebugValue,d=!1,f=!1,p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?n:t;tl.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),tl}process.env.NODE_ENV==="production"?bc.exports=iB():bc.exports=aB();var sB=bc.exports;const i1=sB.useSyncExternalStore,bh=$.createContext(void 0),a1=$.createContext(!1);function s1(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=bh),window.ReactQueryClientContext):bh)}const l1=({context:e}={})=>{const t=$.useContext(s1(e,$.useContext(a1)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},lB=({client:e,children:t,context:r,contextSharing:n=!1})=>{$.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=s1(r,n);return $.createElement(a1.Provider,{value:!r&&n},$.createElement(o.Provider,{value:e},t))},cB=$.createContext(!1),uB=()=>$.useContext(cB);function dB(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const fB=$.createContext(dB()),pB=()=>$.useContext(fB);function c1(e,t){return typeof e=="function"?e(...t):!!e}const hB=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},gB=e=>{$.useEffect(()=>{e.clearReset()},[e])},mB=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&c1(r,[e.error,n]),vB=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},yB=(e,t)=>e.isLoading&&e.isFetching&&!t,bB=(e,t,r)=>(e==null?void 0:e.suspense)&&yB(t,r),wB=(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 xB(e,t){const r=l1({context:e.context}),n=uB(),o=pB(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=Ye.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=Ye.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=Ye.batchCalls(i.onSettled)),vB(i),hB(i,o),gB(o);const[a]=$.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(i1($.useCallback(l=>{const c=n?()=>{}:a.subscribe(Ye.batchCalls(l));return a.updateResult(),c},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),$.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),bB(i,s,n))throw wB(i,a,o);if(mB({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function CB(e,t,r){const n=fo(e,t,r);return xB(n,rB)}function EB({fill:e="rgba(38, 46, 61, 0.67)"}){return v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:v.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 TB=gt("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);}"),SB=gt("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;"),RB=({onClick:e})=>{var n;const{themeSettings:t}=v.useThemeContext(),{t:r}=v.useTranslation();return v.jsxs(TB,{onClick:e,theme:t,children:[v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:v.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"})}),v.jsx(SB,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function _B(e){const t={};return{flatFilters:e.reduce((n,o)=>(F.isCascadingFilter(o)?(t[o.config.guid]||(t[o.config.guid]=[]),o.filters.forEach(i=>{t[o.config.guid].push(i),n.push(i)})):n.push(o),n),[]),cascadingToPureFiltersMap:t}}function u1(e,t,r){const n=t.filter(F.isCascadingFilter);return OB(e,n).map(i=>{if(MB(i)){const a=n.find(l=>l.config.guid===i.groupId);if(!a)throw new F.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return kB(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function MB(e){return"groupId"in e}function OB(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>F.getFilterCompareId(a)===F.getFilterCompareId(n)));if(o){const i=o.config.guid,a=r.find(s=>"groupId"in s&&s.groupId===i);a?a.filters.push(n):r.push({groupId:i,filters:[n],previousFilters:o.filters})}else r.push(n)}),r}function kB(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?IB(e.filters,e.previousFilters):e.filters,o=AB(n,t.config.disabled);return F.cascading(n,{guid:t.config.guid,disabled:o})}function AB(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function PB(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=_B(e);return{pureFilters:n,updateFilters:a=>{const s=u1(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:DB(r,o)}}function IB(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>Nu(s,o));return a&&!Mv(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?ds(n):n)}function DB(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 wh={applyMode:fs.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function $B(e,t){return e==="table"?{applyMode:fs.FILTER,shouldAffectFilters:!1,ignoreFilters:F.merge(wh.ignoreFilters,t.ignoreFilters||{})}:F.merge(wh,t)}function NB(e,t,r,n,o,i,a){const s={},l=$B(r,o),{pureFilters:c,updateFilters:d,pureFiltersIgnoringRules:f}=PB(e,t,l.ignoreFilters||{}),p=c.filter(E=>!E.config.disabled),g=O9(p,f),m=Fu(r,n),h=l.shouldAffectFilters&&m.length,[y,b]=FB(g,m,l.applyMode),T=l.forceApplyBackgroundFilters?F.mergeFilters(LB(c),y):y;if(s.filters=T,s.highlights=b,s.onDataPointsSelected=(E,x)=>{const C=[];if(h){const _=eh(r,n,E);_&&C.push(_);const O=Fi(r,n,E),{filters:k,isSelection:D}=Js(O,c,!0),j=i(D?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),V=th(j,()=>{d(F.mergeFilters(c,k))});C.push(V)}C.length&&(a==null||a({id:ia.WIDGET_POINTS_CROSSFILTERING,position:{left:x.clientX,top:x.clientY},itemSections:C}))},s.onDataPointContextMenu=(E,x)=>{const C=[];if(h){const _=eh(r,n,[E]);_&&C.push(_);const O=Fi(r,n,[E]),{filters:k,isSelection:D}=Js(O,c,!0),j=i(D?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),V=th(j,()=>{d(F.mergeFilters(c,k))});C.push(V)}C.length&&(a==null||a({id:ia.WIDGET_POINTS_CROSSFILTERING,position:{left:x.clientX,top:x.clientY},itemSections:C}))},h){s.onDataPointClick=_=>{const O=Fi(r,n,[_]),{filters:k}=Js(O,c);d(F.mergeFilters(c,k))};const E=p.filter(_=>m==null?void 0:m.some(O=>F.isMembersFilter(_)&&Dt(_.attribute,O)&&!$u(_)&&!_.config.locked)),x=!!E.length,C=()=>{const _=E.map(ds);d(F.mergeFilters(c,_))};x&&(s.renderToolbar=(_,O)=>{const k=m.map(({expression:D})=>D).join(";");return v.jsxs("div",{style:{display:"flex"},children:[v.jsx(RB,{onClick:C}),O]},k)})}return s}function LB(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function FB(e,t,r){if(r===fs.HIGHLIGHT){const[n,o]=ti(e,a=>t.every(s=>!Dt(s,a.attribute))),i=o.filter(a=>!$u(a));return[n,i]}return[e,[]]}function jB(e,t){const[r,n]=Lu(S.useMemo(()=>F.splitFiltersAndRelations(e),[e]),{onLocalStateChange:S.useCallback(p=>{const{filters:g,relations:m}=p;t&&t(F.combineFiltersAndRelations(g,m))},[t])}),{filters:o,relations:i}=r,a=S.useMemo(()=>F.combineFiltersAndRelations(o,i),[o,i]),s=S.useCallback(p=>{if(F.isFilterRelations(p)){const{filters:g,relations:m}=F.splitFiltersAndRelations(p);n({filters:g||[],relations:m||null})}else n({filters:p,relations:null})},[n]),l=S.useCallback(p=>{const g=F.mergeFilters(o,[p]);n({filters:g,relations:F.calculateNewRelations(o,i,g)})},[o,i,n]),c=S.useCallback(p=>{n({filters:p,relations:F.calculateNewRelations(o,i,p)})},[o,i,n]),d=S.useMemo(()=>o.some(p=>F.isCascadingFilter(p)),[o]),f=S.useCallback(p=>{if(!i)return p;const g=d?u1(p,o):p,m=F.calculateNewRelations(o,i,g);return F.combineFiltersAndRelations(g,m)},[d,o,i]);return{regularFilters:o,addFilter:l,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:c,applyRelationsToOtherFilters:f}}const BB=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=v.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:l,setFilters:c,applyRelationsToOtherFilters:d}=jB(e,n),f=S.useCallback((p,g={})=>{var x,C;if(v.isTextWidgetProps(p))return p;const m=v.getInternalWidgetType(p),h=p,y=F.cloneDeep(p),T="drilldownOptions"in p&&((C=(x=p.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:C.length)?Kv(p.chartType,p.dataOptions,F.last(p.drilldownOptions.drilldownSelections).nextDimension):p.dataOptions,E=NB(a,c,m,T,g,o,t);return y.highlights=F.mergeFilters(E.highlights,h.highlights),y.onBeforeMenuOpen=r,E.onDataPointClick&&v.registerDataPointClickHandler(y,E.onDataPointClick),y.filters=d(F.mergeFilters(E.filters,F.getFiltersArray(h.filters))),E.onDataPointClick&&v.registerDataPointClickHandler(y,E.onDataPointClick),E.onDataPointsSelected&&v.registerDataPointsSelectedHandler(y,E.onDataPointsSelected),E.onDataPointContextMenu&&v.registerDataPointContextMenuHandler(y,E.onDataPointContextMenu),E.renderToolbar&&v.registerRenderToolbarHandler(y,E.renderToolbar),y},[a,c,o,t,r,d]);return{filters:i,setFilters:l,addFilter:s,connectToWidgetProps:f}};exports.Backdrop=jc;exports.Button=Lo;exports.ButtonBase=qr;exports.Chart=nv;exports.ChartWidget=Bj;exports.CommonFiltersApplyMode=fs;exports.ContextMenu=w0;exports.DEFAULT_PIVOT_TABLE_SIZE=z0;exports.DEFAULT_TABLE_ROWS_PER_PAGE=Qm;exports.DEFAULT_WIDGET_HEADER_HEIGHT=H0;exports.DrilldownBreadcrumbs=xv;exports.DynamicSizeContainer=Ia;exports.ElementStates=Kx;exports.ErrorBoundary=lc;exports.ErrorBoundary$1=Ph;exports.ErrorBoundaryBox=Cc;exports.ExclamationMarkIcon=Ah;exports.Fade=Fc;exports.I18nProvider=$h;exports.IconButton=kn;exports.LEGACY_DESIGN_TYPES=ro;exports.List=Dc;exports.ListContext=Co;exports.LoadingDots=Ec;exports.LoadingIndicator=ua;exports.LoadingOverlay=so;exports.Menu=ka;exports.MenuIds=ia;exports.MenuItem=Aa;exports.MenuList=$c;exports.MenuProvider=x0;exports.MenuSectionIds=Fo;exports.Modal=Bc;exports.ModalProvider=C0;exports.NoResultsOverlay=Vc;exports.PAGES_BATCH_SIZE=Zm;exports.Paper=Oa;exports.Popover=Wc;exports.Popper=ei;exports.PropTypes=u;exports.QueryClient=tB;exports.QueryClientProvider=lB;exports.SizeMeasurement=Xx;exports.Subscribable=zn;exports.TableComponent=Jm;exports.ThemeProvider=R0;exports.ThreeDotsIcon=EB;exports.Tooltip=us;exports.Transition=Bt;exports.Typography=bt;exports.WidgetContainer=lv;exports.WidgetSpaceAround=iv;exports.alpha=Le;exports.areFiltersEqual=uv;exports.asSisenseComponent=Go;exports.baseUniq=Yc;exports.boxWhiskerProcessResult=pE;exports.camelCase=Yv;exports.capitalize=pe;exports.classNames=Do;exports.clearMembersFilter=ds;exports.cloneFilterAndToggleDisabled=PF;exports.clsx=ge;exports.composeClasses=He;exports.convertToThemeSettings=Eh;exports.createCaseFirst=Pv;exports.createChainedFunction=ul;exports.createSimplePaletteValueFilter=Er;exports.createStyled=Zh;exports.createSvgIcon=In;exports.createTheme=Ea;exports.createUnarySpacing=va;exports.css=ca;exports.darken=Sa;exports.dataLoadStateReducer=pc;exports.debounce=GF;exports.deepmerge=ft;exports.duration=l0;exports.elementAcceptingRef=Yr;exports.elementTypeAcceptingRef=kc;exports.exactProp=Ac;exports.extendSxProp=Gh;exports.generateUtilityClass=ke;exports.generateUtilityClasses=Ae;exports.getChartDefaultSize=Da;exports.getDefaultState=o1;exports.getDrilldownMenuItems=Av;exports.getHierarchyModels=qv;exports.getLegacyPalette=Rh;exports.getListItemTextUtilityClass=Qw;exports.getNonceFromMetaTag=Dh;exports.getPaletteName=Th;exports.getReactElementRef=Pn;exports.getSelectionTitleMenuItem=kv;exports.getTableAttributesAndMeasures=rg;exports.getThemeSettingsByOid=Sh;exports.getTransitionProps=Eo;exports.getTranslatedDataOptions=q0;exports.getValue=An;exports.getWidgetDefaultSize=W0;exports.handleBreakpoints=Qt;exports.isFiltersChanged=cv;exports.isRelationsChanged=LF;exports.isSameAttribute=Dt;exports.isThemeOid=Oi;exports.lighten=Ra;exports.listItemTextClasses=vl;exports.memoTheme=qe;exports.mergeBreakpointsInOrder=fy;exports.newStyled=gt;exports.notifyManager=Ye;exports.ownerDocument=Et;exports.parseMutationArgs=zj;exports.partition=ti;exports.processDrilldownSelections=Tv;exports.refType=Wo;exports.resolveBreakpointValues=hy;exports.resolveProps=wo;exports.rootShouldForwardProp=Uo;exports.shallowEqualObjects=aa;exports.shouldSkipSisenseContextWaiting=ev;exports.shouldThrowError=c1;exports.styled=fe;exports.trackHook=FF;exports.translatePivotTableDataOptions=iE;exports.translateTableDataOptions=Y0;exports.typographyClasses=Gw;exports.updateDrilldownSelections=Ev;exports.upperFirst=Iv;exports.useCommonFilters=BB;exports.useControlled=Pc;exports.useDefaultProps=je;exports.useDrilldownCore=Cv;exports.useEnhancedEffect=xr;exports.useEventCallback=nr;exports.useForkRef=pt;exports.useGetHierarchyModels=Ij;exports.useHasChanged=Iu;exports.useId=_a;exports.useMenu=hv;exports.useModalContext=Pa;exports.useQuery=CB;exports.useQueryClient=l1;exports.useSetError=Gc;exports.useShouldLoad=pv;exports.useSlot=rt;exports.useSyncExternalStore=i1;exports.useSyncedState=Lu;exports.useTheme=Vo;exports.useTheme$1=qh;exports.useTimeout=$r;exports.withErrorBoundary=Ih;exports.withTracking=fv;exports.withTracking$1=kh;
|