@sisense/sdk-ui 1.34.0 → 2.0.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 +9 -9
- package/dist/ai.js +553 -578
- package/dist/analytics-composer.cjs +120 -119
- package/dist/analytics-composer.js +3235 -2506
- package/dist/{derive-chart-family-5CbFzbpu.js → derive-chart-family-BLaI9-3r.js} +23488 -23351
- package/dist/{derive-chart-family-C3FH49ux.cjs → derive-chart-family-CxqjTyNt.cjs} +196 -196
- package/dist/dimensions-C-VKss5V.cjs +1 -0
- package/dist/dimensions-Cfq9FexH.js +200 -0
- package/dist/index.cjs +24 -20
- package/dist/index.js +5909 -6105
- package/dist/packages/sdk-ui/src/ai/ai-context-provider.d.ts +13 -6
- package/dist/packages/sdk-ui/src/ai/chat-config.d.ts +4 -2
- package/dist/packages/sdk-ui/src/ai/chatbot.d.ts +17 -7
- package/dist/packages/sdk-ui/src/ai/get-nlg-insights.d.ts +0 -21
- package/dist/packages/sdk-ui/src/ai/index.d.ts +4 -3
- package/dist/packages/sdk-ui/src/ai/use-get-nlg-insights.d.ts +0 -12
- package/dist/packages/sdk-ui/src/ai/use-get-nlq-result.d.ts +0 -4
- package/dist/packages/sdk-ui/src/ai/use-get-query-recommendations.d.ts +0 -4
- package/dist/packages/sdk-ui/src/analytics-composer/{common → code}/stringify-props.d.ts +10 -2
- package/dist/packages/sdk-ui/src/analytics-composer/common/custom-superjson.d.ts +16 -0
- package/dist/packages/sdk-ui/src/analytics-composer/dashboard/dashboard-composer.d.ts +8 -0
- package/dist/packages/sdk-ui/src/analytics-composer/dashboard/stringify-widgets.d.ts +3 -0
- package/dist/packages/sdk-ui/src/analytics-composer/dashboard/to-dashboard-code.d.ts +3 -0
- package/dist/packages/sdk-ui/src/analytics-composer/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/analytics-composer/query/index.d.ts +1 -0
- package/dist/packages/sdk-ui/src/analytics-composer/query/query-translator.d.ts +1 -0
- package/dist/packages/sdk-ui/src/analytics-composer/query/simplify-metadata-item.d.ts +9 -0
- package/dist/packages/sdk-ui/src/analytics-composer/types.d.ts +78 -4
- package/dist/packages/sdk-ui/src/analytics-composer/widget/chart-options/get-widget-options.d.ts +1 -1
- package/dist/packages/sdk-ui/src/analytics-composer/widget/to-widget-code.d.ts +3 -1
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +3 -55
- package/dist/packages/sdk-ui/src/area-range-chart.d.ts +0 -1
- package/dist/packages/sdk-ui/src/common/components/menu/types.d.ts +1 -0
- package/dist/packages/sdk-ui/src/dashboard/dashboard-helpers.d.ts +0 -11
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +7 -3
- package/dist/packages/sdk-ui/src/dashboard/use-composed-dashboard.d.ts +1 -4
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/index.d.ts +0 -1
- package/dist/packages/sdk-ui/src/filters/components/filter-tile.d.ts +0 -1
- package/dist/packages/sdk-ui/src/index-typedoc.d.ts +4 -1
- package/dist/packages/sdk-ui/src/index.d.ts +4 -3
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dashboard-model-reducer.d.ts +15 -1
- package/dist/packages/sdk-ui/src/models/widget/types.d.ts +1 -1
- package/dist/packages/sdk-ui/src/models/widget/widget-model-translator.d.ts +2 -12
- package/dist/packages/sdk-ui/src/models/widget/widget-model.d.ts +1 -125
- package/dist/packages/sdk-ui/src/props.d.ts +25 -45
- package/dist/packages/sdk-ui/src/query-execution/types.d.ts +1 -3
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +2 -1
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +4 -2
- package/dist/packages/sdk-ui/src/types.d.ts +48 -41
- package/dist/packages/sdk-ui/src/utils/{utility-types.d.ts → utility-types/basic-utility-types.d.ts} +0 -34
- package/dist/packages/sdk-ui/src/utils/utility-types/distributive-omit.d.ts +24 -0
- package/dist/packages/sdk-ui/src/utils/utility-types/index.d.ts +4 -0
- package/dist/packages/sdk-ui/src/utils/utility-types/rest-api-hook-state.d.ts +35 -0
- package/dist/packages/sdk-ui/src/utils/utility-types/soft-union.d.ts +35 -0
- package/dist/packages/sdk-ui/src/widget-by-id/translate-dashboard-filters.d.ts +0 -7
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-data-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-drilldown-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/translate-widget-style-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/widget-by-id/utils.d.ts +23 -16
- package/dist/packages/sdk-ui/src/widgets/widget.d.ts +0 -1
- package/dist/{use-common-filters-CqGo6jp3.cjs → use-common-filters-BGGGgJJ5.cjs} +13 -13
- package/dist/{use-common-filters-Bw15BNGn.js → use-common-filters-Cmyb86sc.js} +4618 -4637
- package/dist/widget-composer-BJURHrVD.cjs +428 -0
- package/dist/widget-composer-C4rwNt4P.js +959 -0
- package/package.json +12 -9
- package/dist/packages/sdk-ui/src/ai/common/beta-label.d.ts +0 -1
- package/dist/packages/sdk-ui/src/analytics-composer/widget/stringify-props.d.ts +0 -8
- package/dist/packages/sdk-ui/src/filters/components/criteria-filter-tile/types.d.ts +0 -8
- package/dist/packages/sdk-ui/src/utils/check-and-notify-about-deprecated-prop.d.ts +0 -1
- package/dist/packages/sdk-ui/src/widget-by-id/dashboard-widget.d.ts +0 -27
- package/dist/widget-composer-C5_iIuZN.js +0 -742
- package/dist/widget-composer-D5_iKTui.cjs +0 -316
- /package/dist/packages/sdk-ui/src/analytics-composer/{widget → code}/stringify-filters.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var lm=Object.defineProperty,um=Object.defineProperties;var cm=Object.getOwnPropertyDescriptors;var Co=Object.getOwnPropertySymbols;var $l=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable;var Qe=Math.pow,Nl=(e,t,r)=>t in e?lm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))$l.call(t,r)&&Nl(e,r,t[r]);if(Co)for(var r of Co(t))Ll.call(t,r)&&Nl(e,r,t[r]);return e},J=(e,t)=>um(e,cm(t));var br=(e,t)=>{var r={};for(var n in e)$l.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Co)for(var n of Co(e))t.indexOf(n)<0&&Ll.call(e,n)&&(r[n]=e[n]);return r};var rt=(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 u=require("./derive-chart-family-C3FH49ux.cjs"),F=require("react"),te=require("react/jsx-runtime"),kr=require("react-dom");function yd(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 z=yd(F),dm=yd(kr);function fm(e){let{i18n:t,defaultNS:r,children:n}=e;const o=F.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return F.createElement(u.I18nContext.Provider,{value:o},n)}function Wt(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const ze={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function fs(e){return[u.customFormula(ze.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),u.customFormula(ze.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),u.customFormula(ze.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function pm(e){return[...fs(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),u.customFormula(ze.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function hm(e){return[...fs(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function mm(e){return[...fs(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),u.customFormula(ze.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const gm=e=>{const t=u.cloneDeep(e),r=u.customFormula(ze.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=u.customFormula(ze.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},vm=e=>{const t=u.cloneDeep(e),r=u.customFormula(ze.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=u.customFormula(ze.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};function kn(e){return!!e&&"operator"in e&&(e.operator==="AND"||e.operator==="OR")&&!!e.right&&!!e.left}function bd(e=[],t=[]){if(!kn(e)&&!kn(t))return lt(e,t);const{filters:r,relations:n}=In(e),o=ps(t),i=lt(r,o),a=Rn(r,n,i);return Sn(i,a)}function In(e){if(!e)return{filters:[],relations:null};if(u.isArray(e))return{filters:e,relations:null};const t=new Set;function r(o){if(_d(o))return t.add(o),{instanceid:o.config.guid};if(kn(o)){const i=r(o.left),a=r(o.right);return{left:i,right:a,operator:o.operator}}throw new ai}const n=r(e);return{filters:Array.from(t),relations:n}}function ps(e){return e?In(e).filters:[]}function Sn(e,t){if(!t||hs(t))return e;const r=n(t);return _d(r)?[r]:r;function n(o){if(oi(o))return e.find(i=>i.config.guid===o.instanceid);if(ii(o))return{left:n(o.left),right:n(o.right),operator:o.operator};throw new ai}}function hs(e){return!!e&&"instanceid"in e}function Rn(e,t,r){if(t===null)return null;const n=bm(e,r);return n.length===0?t:n.reduce((o,i)=>{switch(i.type){case"add":return _m(i.payload,o);case"remove":return Ta(i.payload,o)}},t)}function Fl(e,t){return e.config.guid===t.config.guid}function ym(e,t,r){if(!e)return null;return o(e);function o(i){if(oi(i))return i.instanceid===t.config.guid?{instanceid:r.config.guid}:i;if(ii(i))return{left:o(i.left),right:o(i.right),operator:i.operator};throw new ai}}function bm(e,t){const r=[],n=[...e],o=[...t];return n.forEach(i=>{o.some(s=>Fl(i,s))||r.push({type:"remove",payload:i})}),o.forEach(i=>{n.some(s=>Fl(i,s))||r.push({type:"add",payload:i})}),r}function _m(e,t){return t?{left:t,right:{instanceid:e.config.guid},operator:"AND"}:{instanceid:e.config.guid}}function Ta(e,t){if(!t)return null;if(hs(t))return t.instanceid===e.config.guid?null:t;const r=Ta(e,t.left),n=Ta(e,t.right);return r===null&&n?n:n===null&&r?r:r===null&&n===null?null:{left:r,right:n,operator:t.operator}}function xm(e,t){if(!e)return null;function r(n){if(wm(n))return{instanceid:n.instanceId};if(Cm(n))return r(n.value);if(Tm(n))return{operator:n.operator,left:r(n.left),right:r(n.right)};if(Em(n)){const o=t.find(i=>{if(!u.isCascadingFilter(i))return!1;const a=i.filters.map(s=>s.config.guid);return n.levels.every(s=>a.includes(s.instanceId))});if(o)return{instanceid:o.config.guid};throw new Error("Broken filter relations model. Cascading filter not found.")}throw new Error("Broken filter relations model. Unknown node type.")}return r(e)}function wm(e){return"instanceId"in e}function Cm(e){return"value"in e}function Tm(e){return"operator"in e}function Em(e){return"levels"in e&&u.isArray(e.levels)}function oi(e){return"instanceid"in e}function ii(e){return"operator"in e}function _d(e){return"config"in e&&"guid"in e.config}function Sm(e,t){if(!e)return;function r(n){if(oi(n)){const o=t.find(i=>i.config.guid===n.instanceid);return o&&u.isCascadingFilter(o)?{type:"CascadingIdentifier",levels:o.filters.map(a=>({type:"Identifier",instanceId:a.config.guid}))}:{type:"Identifier",instanceId:n.instanceid}}else{if(ii(n))return{type:"LogicalExpression",operator:n.operator,left:r(n.left),right:r(n.right)};throw new Error("Unknown node type in filter relations rules.")}}return r(e)}function Rm(e,t){return e.find(r=>r.config.guid===t)}class ai extends Error{constructor(){super("Broken filter relations. Unknown node type.")}}function Om(e){return e.nodeType==="openBracket"}function Mm(e){return e.nodeType==="closeBracket"}function Pm(e){return e.nodeType==="attribute"}function Dm(e){return e.nodeType==="operator"}function An(e){if(u.isCascadingFilter(e))return e.filters.map(An).join("-");const{attribute:t}=e,r=e.jaql().jaql,n=t.expression||r.dim,o=t.granularity||((r==null?void 0:r.datatype)==="datetime"?u.DimensionalLevelAttribute.translateJaqlToGranularity(r):"");return`${n}${o}`}function lt(e=[],t=[]){const r=[...e];return t.forEach(n=>{const o=r.findIndex(a=>An(n)===An(a));o!==-1?r[o]=n:r.push(n)}),r}function km(e){if(!e)return e;const t=u.cloneDeep(e);function r(n){if("instanceId"in n)return{instanceid:n.instanceId};if("value"in n)return r(n.value);if("operator"in n){const o={operator:n.operator};return"left"in n&&(o.left=r(n.left)),"right"in n&&(o.right=r(n.right)),o}return n}return r(t)}function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return Ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ea(e,t)}function Am(e,t){if(u._typeof(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(u._typeof(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nm(e){var t=Am(e,"string");return u._typeof(t)=="symbol"?t:t+""}function $m(e,t,r){return t=Nm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const xn={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function xd(e,t,r){const n={chart:{textColor:e.dashboards.widgetTextColor,backgroundColor:e.dashboards.widgetBackgroundColor,secondaryTextColor:e.dashboards.widgetSecondaryTextColor,panelBackgroundColor:e.dashboards.widgetBackgroundColor,animation:{init:{duration:"auto"},redraw:{duration:"auto"}}},typography:{fontFamily:e.typography.fontFamily,primaryTextColor:e.typography.primaryTextColor,secondaryTextColor:e.typography.secondaryTextColor,fontsLoader:{fonts:Lm(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:u.getDefaultThemeSettings().general.popover,buttons:{cancel:{backgroundColor:{default:e.general.secondaryButtonBaseColor,hover:e.general.secondaryButtonHoverColor,focus:e.general.secondaryButtonHoverColor},textColor:e.general.secondaryButtonTextColor}}},widget:{spaceAround:xn[e.dashboards.widgetSpacing],cornerRadius:xn[e.dashboards.widgetCornerRadius],shadow:xn[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:xn[e.dashboards.widgetTitleAlignment],dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:u.DEFAULT_DIVIDER_WIDTH,dividerLineColor:u.DEFAULT_DIVIDER_COLOR},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor}}};return u.merge.withOptions({mergeArrays:!1},u.getDefaultThemeSettings(),n)}function wd(e){return e.dashboards.colorPaletteName}function Lm(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 Cd(e,t){return rt(this,null,function*(){const r=yield Fm(e,t);if(!r)throw new u.TranslatableError("errors.themeNotFound",{themeOid:e});const n=wd(r),o=yield Td(n,t);return xd(r,o,t.url)})}function Fm(e,t){return rt(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new u.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function Td(e,t){return rt(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new u.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const Hm={sdkComponentInit:{internal:!0,external:!0},sdkHookInit:{internal:!0,external:!0},sdkError:{internal:!0,external:!1},sdkCliExec:{internal:!0,external:!1},sdkAngularServiceMethodExecuted:{internal:!0,external:!0}},Hl="composesdk",Ed=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:Hl,eventType:"product",direct:!0},t);return n&&(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="test")?(console.debug("DEBUG: event payload to send",o),Promise.resolve()):r.post("api/activities/",[o],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(i=>{console.error(`unable to log action=${e}, category=${Hl}`,i)})},Bl=(e,t,r,n,o)=>{const i=Hm[`${e}`];return i.internal&&Ed(e,t,r,o),i.external&&n&&n(q({action:e},t)),Promise.resolve()},ms=()=>{const{tracking:e,app:t}=u.useSisenseContext(),r=F.useCallback((o,i={},a=!1)=>t?Bl(o,i,t.httpClient,e.onTrackingEvent,a):Promise.resolve(),[e,t]),n=F.useCallback((o,i=!1)=>{if(!t)return Promise.resolve();const{packageName:a,packageVersion:s,component:l,error:c}=o;let p="";return typeof c=="string"?p=c:c instanceof Error&&(p=c.message||c.toString()),Bl("sdkError",{packageName:a,packageVersion:s,component:l,error:p},t.httpClient,e.onTrackingEvent,i)},[e,t]);return{trackEvent:r,trackError:n}},Bm="sdkComponentInit",Sd=F.createContext(!1),jm=({skipNested:e=!0,children:t})=>u.jsx(Sd.Provider,{value:e,children:t}),zm=(e,t)=>{const{tracking:r,app:n}=u.useSisenseContext(),{trackEvent:o}=ms(),i=F.useContext(Sd),a=F.useRef(!1);F.useEffect(()=>{if(!r||!n)return;if(!a.current&&!i){const l={packageName:r.packageName,packageVersion:"1.34.0",componentName:e,attributesUsed:Object.entries(t).filter(([,c])=>!!c).map(([c])=>c).join(", ")};o(Bm,l,!r.enabled).finally(()=>a.current=!0)}},[e,t,r,i,o,n])};var Wm="[object Boolean]";function Rd(e){return e===!0||e===!1||u.isObjectLike(e)&&u.baseGetTag(e)==Wm}const Al=class Al extends F.Component{constructor(t){super(t),this.postponedErrors=[],this.handler=t.handler,this.componentName=t.componentName}componentDidMount(){var t;this.context.isInitialized&&(this.httpClient=(t=this.context.app)==null?void 0:t.httpClient)}componentDidCatch(t){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(t):this.postponedErrors.push(t)),t}sendErrorTracking(t){try{this.handler({packageName:"sdk-ui",packageVersion:"1.34.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}};Al.contextType=u.SisenseContext;let Sa=Al;const Vm=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=ms();return Rd(r)&&r||u.isFunction(r)&&r(a)?u.jsx(o,q({},a)):(zm(e,a),u.jsx(jm,{skipNested:!n,children:u.jsx(Sa,{componentName:e,handler:s,children:u.jsx(o,q({},a))})}))}},Um="_container_1wquj_1",qm="_card_1wquj_11",Gm="_text_1wquj_19",Qi={container:Um,card:qm,text:Gm};function Od({color:e="#FFCB05"}){return u.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:u.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:u.jsxs("g",{children:[u.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),u.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 Md=({error:e=new u.TranslatableError("errors.componentRenderError")})=>{var d,m,g,v,y,w;const{themeSettings:t}=u.useThemeContext(),{app:r}=u.useSisenseContext(),{t:n}=u.useTranslation(),[o,i]=F.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},l=u.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:u.jsx(Od,{color:(d=t==null?void 0:t.general)==null?void 0:d.brandColor})}),c=e instanceof u.AbstractTranslatableError?n(e.key,q({},e.interpolationOptions)):n(e instanceof Error?e.message:e),p=n("errorBoxText",{errorMessage:c,interpolation:{escapeValue:!1}}),h=(g=(m=r==null?void 0:r.settings)==null?void 0:m.errorBoundaryConfig)==null?void 0:g.alwaysShowErrorText;return u.jsx("div",{onMouseEnter:h?void 0:a,onMouseLeave:h?void 0:s,className:Qi.container,"aria-label":"error-box",children:u.jsxs("div",{className:Qi.card,style:{backgroundColor:((v=t==null?void 0:t.general)==null?void 0:v.backgroundColor)||"rgba(255,255,255,0.5)"},children:[l,(h||o)&&u.jsx("div",{className:Qi.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||u.DEFAULT_TEXT_COLOR,fontFamily:((w=t==null?void 0:t.typography)==null?void 0:w.fontFamily)||"inherit"},children:p})]})})};let Pd=class extends F.Component{constructor(t){var r;super(t),this.showErrorBox=!0,this.showErrorBox=(r=t.showErrorBox)!=null?r:!0,this.onError=t.onError,this.isContainerComponent=t.isContainerComponent||!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t){var r;this.setState({error:t}),(r=this.onError)==null||r.call(this,t instanceof Error?t:new Error(t))}componentDidUpdate(t,r){r.error!==null&&Ym(t.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const t=this.state.error||this.props.error;return!t||this.isContainerComponent&&!this.showErrorBox?this.props.children:this.showErrorBox?u.jsx(Md,{error:t}):null}};function Ym(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!u.isEqual(r,t[n]))}const Dd=({componentName:e})=>t=>function(n){const o=u.useSisenseContext(),i=a=>{var s,l;return(l=(s=o.errorBoundary).onError)==null?void 0:l.call(s,a,{componentName:e,componentProps:n})};return u.jsx(Pd,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:u.jsx(t,q({},n))})},gs=({color:e})=>{const t={backgroundColor:e||"#333333",float:"left",width:"10px",height:"10px",marginRight:"7px",WebkitAnimation:"loading-dots-animation 1.8s infinite ease-in-out",animation:"loading-dots-animation 1.8s infinite ease-in-out",borderRadius:"50%",opacity:.75},r=J(q({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=J(q({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=J(q({},t),{marginRight:"unset"}),i={"0%, 80%, 100%":{WebkitTransform:"scale(0) rotate(0deg)",transform:"scale(0) rotate(0deg)"},"40%":{WebkitTransform:"scale(1) rotate(0.02deg)",transform:"scale(1) rotate(0.02deg)"}};return u.jsxs("div",{children:[u.jsx("style",{children:`
|
|
1
|
+
"use strict";var lm=Object.defineProperty,um=Object.defineProperties;var cm=Object.getOwnPropertyDescriptors;var Co=Object.getOwnPropertySymbols;var $l=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable;var Qe=Math.pow,Nl=(e,t,r)=>t in e?lm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,q=(e,t)=>{for(var r in t||(t={}))$l.call(t,r)&&Nl(e,r,t[r]);if(Co)for(var r of Co(t))Ll.call(t,r)&&Nl(e,r,t[r]);return e},J=(e,t)=>um(e,cm(t));var br=(e,t)=>{var r={};for(var n in e)$l.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Co)for(var n of Co(e))t.indexOf(n)<0&&Ll.call(e,n)&&(r[n]=e[n]);return r};var rt=(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 u=require("./derive-chart-family-CxqjTyNt.cjs"),F=require("react"),te=require("react/jsx-runtime"),kr=require("react-dom");function yd(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 z=yd(F),dm=yd(kr);function fm(e){let{i18n:t,defaultNS:r,children:n}=e;const o=F.useMemo(()=>({i18n:t,defaultNS:r}),[t,r]);return F.createElement(u.I18nContext.Provider,{value:o},n)}function Wt(e){return e===void 0||typeof e=="string"||"title"in e&&"type"in e}const ze={BOX_MIN_VALUE_NAME:"Box Min",BOX_MEDIAN_VALUE_NAME:"Box Median",BOX_MAX_VALUE_NAME:"Box Max",WHISKER_MIN_VALUE_NAME:"Whisker Min",WHISKER_MAX_VALUE_NAME:"Whisker Max",OUTLIER_COUNT_VALUE_NAME:"Outlier Count",OUTLIER_MIN_VALUE_NAME:"Outlier Min",OUTLIER_MAX_VALUE_NAME:"Outlier Max"};function fs(e){return[u.customFormula(ze.BOX_MIN_VALUE_NAME,"QUARTILE([Attr], 1)",{Attr:e}),u.customFormula(ze.BOX_MEDIAN_VALUE_NAME,"MEDIAN([Attr])",{Attr:e}),u.customFormula(ze.BOX_MAX_VALUE_NAME,"QUARTILE([Attr], 3)",{Attr:e})]}function pm(e){return[...fs(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_IQR([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_IQR([Attr])",{Attr:e}),u.customFormula(ze.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_IQR([Attr])",{Attr:e})]}function hm(e){return[...fs(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"MIN([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"MAX([Attr])",{Attr:e})]}function mm(e){return[...fs(e),u.customFormula(ze.WHISKER_MIN_VALUE_NAME,"LOWERWHISKERMAX_STDEVP([Attr])",{Attr:e}),u.customFormula(ze.WHISKER_MAX_VALUE_NAME,"UPPERWHISKERMIN_STDEVP([Attr])",{Attr:e}),u.customFormula(ze.OUTLIER_COUNT_VALUE_NAME,"OUTLIERSCOUNT_STDEVP([Attr])",{Attr:e})]}const gm=u.withComposeCodeForAnalytics(e=>{const t=u.cloneDeep(e),r=u.customFormula(ze.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_IQR([Attr]), all([Attr]))",{Attr:e}),n=u.customFormula(ze.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"),vm=u.withComposeCodeForAnalytics(e=>{const t=u.cloneDeep(e),r=u.customFormula(ze.OUTLIER_MAX_VALUE_NAME,"(UPPERWHISKERMIN_STDEVP([Attr]), all([Attr]))",{Attr:e}),n=u.customFormula(ze.OUTLIER_MIN_VALUE_NAME,"(LOWERWHISKERMAX_STDEVP([Attr]), all([Attr]))",{Attr:e});return t.jaql=o=>{const i=Object.assign(Object.assign({},e.jaql(!0)),{filter:{or:[{fromNotEqual:r.jaql(!0)},{toNotEqual:n.jaql(!0)}]}});return o?i:{jaql:i}},t},"boxWhiskerStdDevOutliers");function kn(e){return!!e&&"operator"in e&&(e.operator==="AND"||e.operator==="OR")&&!!e.right&&!!e.left}function bd(e=[],t=[]){if(!kn(e)&&!kn(t))return lt(e,t);const{filters:r,relations:n}=In(e),o=ps(t),i=lt(r,o),a=Rn(r,n,i);return Sn(i,a)}function In(e){if(!e)return{filters:[],relations:null};if(u.isArray(e))return{filters:e,relations:null};const t=new Set;function r(o){if(_d(o))return t.add(o),{instanceid:o.config.guid};if(kn(o)){const i=r(o.left),a=r(o.right);return{left:i,right:a,operator:o.operator}}throw new ai}const n=r(e);return{filters:Array.from(t),relations:n}}function ps(e){return e?In(e).filters:[]}function Sn(e,t){if(!t||hs(t))return e;const r=n(t);return _d(r)?[r]:r;function n(o){if(oi(o))return e.find(i=>i.config.guid===o.instanceid);if(ii(o))return(o.operator==="AND"?u.logic.and:u.logic.or)(n(o.left),n(o.right));throw new ai}}function hs(e){return!!e&&"instanceid"in e}function Rn(e,t,r){if(t===null)return null;const n=bm(e,r);return n.length===0?t:n.reduce((o,i)=>{switch(i.type){case"add":return _m(i.payload,o);case"remove":return Ta(i.payload,o)}},t)}function Fl(e,t){return e.config.guid===t.config.guid}function ym(e,t,r){if(!e)return null;return o(e);function o(i){if(oi(i))return i.instanceid===t.config.guid?{instanceid:r.config.guid}:i;if(ii(i))return{left:o(i.left),right:o(i.right),operator:i.operator};throw new ai}}function bm(e,t){const r=[],n=[...e],o=[...t];return n.forEach(i=>{o.some(s=>Fl(i,s))||r.push({type:"remove",payload:i})}),o.forEach(i=>{n.some(s=>Fl(i,s))||r.push({type:"add",payload:i})}),r}function _m(e,t){return t?{left:t,right:{instanceid:e.config.guid},operator:"AND"}:{instanceid:e.config.guid}}function Ta(e,t){if(!t)return null;if(hs(t))return t.instanceid===e.config.guid?null:t;const r=Ta(e,t.left),n=Ta(e,t.right);return r===null&&n?n:n===null&&r?r:r===null&&n===null?null:{left:r,right:n,operator:t.operator}}function xm(e,t){if(!e)return null;function r(n){if(wm(n))return{instanceid:n.instanceId};if(Cm(n))return r(n.value);if(Tm(n))return{operator:n.operator,left:r(n.left),right:r(n.right)};if(Em(n)){const o=t.find(i=>{if(!u.isCascadingFilter(i))return!1;const a=i.filters.map(s=>s.config.guid);return n.levels.every(s=>a.includes(s.instanceId))});if(o)return{instanceid:o.config.guid};throw new Error("Broken filter relations model. Cascading filter not found.")}throw new Error("Broken filter relations model. Unknown node type.")}return r(e)}function wm(e){return"instanceId"in e}function Cm(e){return"value"in e}function Tm(e){return"operator"in e}function Em(e){return"levels"in e&&u.isArray(e.levels)}function oi(e){return"instanceid"in e}function ii(e){return"operator"in e}function _d(e){return"config"in e&&"guid"in e.config}function Sm(e,t){if(!e)return;function r(n){if(oi(n)){const o=t.find(i=>i.config.guid===n.instanceid);return o&&u.isCascadingFilter(o)?{type:"CascadingIdentifier",levels:o.filters.map(a=>({type:"Identifier",instanceId:a.config.guid}))}:{type:"Identifier",instanceId:n.instanceid}}else{if(ii(n))return{type:"LogicalExpression",operator:n.operator,left:r(n.left),right:r(n.right)};throw new Error("Unknown node type in filter relations rules.")}}return r(e)}function Rm(e,t){return e.find(r=>r.config.guid===t)}class ai extends Error{constructor(){super("Broken filter relations. Unknown node type.")}}function Om(e){return e.nodeType==="openBracket"}function Mm(e){return e.nodeType==="closeBracket"}function Pm(e){return e.nodeType==="attribute"}function Dm(e){return e.nodeType==="operator"}function An(e){if(u.isCascadingFilter(e))return e.filters.map(An).join("-");const{attribute:t}=e,r=e.jaql().jaql,n=t.expression||r.dim,o=t.granularity||((r==null?void 0:r.datatype)==="datetime"?u.DimensionalLevelAttribute.translateJaqlToGranularity(r):"");return`${n}${o}`}function lt(e=[],t=[]){const r=[...e];return t.forEach(n=>{const o=r.findIndex(a=>An(n)===An(a));o!==-1?r[o]=n:r.push(n)}),r}function km(e){if(!e)return e;const t=u.cloneDeep(e);function r(n){if("instanceId"in n)return{instanceid:n.instanceId};if("value"in n)return r(n.value);if("operator"in n){const o={operator:n.operator};return"left"in n&&(o.left=r(n.left)),"right"in n&&(o.right=r(n.right)),o}return n}return r(t)}function Im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ea(e,t){return Ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Ea(e,t)}function Am(e,t){if(u._typeof(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(u._typeof(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nm(e){var t=Am(e,"string");return u._typeof(t)=="symbol"?t:t+""}function $m(e,t,r){return t=Nm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const xn={none:"None",small:"Small",medium:"Medium",large:"Large",left:"Left",center:"Center",right:"Right",light:"Light",dark:"Dark"};function xd(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:Lm(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:u.getDefaultThemeSettings().general.popover,buttons:{cancel:{backgroundColor:{default:e.general.secondaryButtonBaseColor,hover:e.general.secondaryButtonHoverColor,focus:e.general.secondaryButtonHoverColor},textColor:e.general.secondaryButtonTextColor}}},widget:{spaceAround:xn[e.dashboards.widgetSpacing],cornerRadius:xn[e.dashboards.widgetCornerRadius],shadow:xn[e.dashboards.widgetShadow],border:e.dashboards.widgetBorderEnabled,borderColor:e.dashboards.widgetBorderColor,header:{titleTextColor:e.dashboards.widgetTitleColor,titleAlignment:xn[e.dashboards.widgetTitleAlignment],dividerLine:e.dashboards.widgetTitleDividerEnabled,dividerLineColor:e.dashboards.widgetTitleDividerColor,backgroundColor:e.dashboards.widgetTitleBackgroundColor}},dashboard:{backgroundColor:e.dashboards.layoutBackgroundColor,dividerLineWidth:u.DEFAULT_DIVIDER_WIDTH,dividerLineColor:u.DEFAULT_DIVIDER_COLOR},filter:{panel:{titleColor:e.dashboards.panelTitleTextColor,backgroundColor:e.dashboards.panelBackgroundColor}}};return u.merge.withOptions({mergeArrays:!1},u.getDefaultThemeSettings(),n)}function wd(e){return e.dashboards.colorPaletteName}function Lm(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 Cd(e,t){return rt(this,null,function*(){const r=yield Fm(e,t);if(!r)throw new u.TranslatableError("errors.themeNotFound",{themeOid:e});const n=wd(r),o=yield Td(n,t);return xd(r,o,t.url)})}function Fm(e,t){return rt(this,null,function*(){return t.get(`api/v1/themes/${e}`).catch(()=>{throw new u.TranslatableError("errors.themeNotFound",{themeOid:e})})})}function Td(e,t){return rt(this,null,function*(){const r=yield t.get(`api/palettes/${e}`);if(r&&"status"in r&&r.status==="error")throw new u.TranslatableError("errors.paletteNotFound",{paletteName:e});return r})}const Hm={sdkComponentInit:{internal:!0,external:!0},sdkHookInit:{internal:!0,external:!0},sdkError:{internal:!0,external:!1},sdkCliExec:{internal:!0,external:!1},sdkAngularServiceMethodExecuted:{internal:!0,external:!0}},Hl="composesdk",Ed=(e,t,r,n=!1)=>{const o=Object.assign({action:e,cat:Hl,eventType:"product",direct:!0},t);return n&&(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="test")?(console.debug("DEBUG: event payload to send",o),Promise.resolve()):r.post("api/activities/",[o],{cache:"no-store",redirect:"error",referrerPolicy:"same-origin",priority:"low"}).catch(i=>{console.error(`unable to log action=${e}, category=${Hl}`,i)})},Bl=(e,t,r,n,o)=>{const i=Hm[`${e}`];return i.internal&&Ed(e,t,r,o),i.external&&n&&n(q({action:e},t)),Promise.resolve()},ms=()=>{var i,a;const{tracking:e,app:t}=u.useSisenseContext(),r=(a=(i=t==null?void 0:t.httpClient)==null?void 0:i.auth)==null?void 0:a.type,n=F.useCallback((s,l={},c=!1)=>t?Bl(s,J(q({},l),{authType:r}),t.httpClient,e.onTrackingEvent,c):Promise.resolve(),[e,t,r]),o=F.useCallback((s,l=!1)=>{if(!t)return Promise.resolve();const{packageName:c,packageVersion:p,component:h,error:d}=s;let m="";return typeof d=="string"?m=d:d instanceof Error&&(m=d.message||d.toString()),Bl("sdkError",J(q({},{packageName:c,packageVersion:p,component:h,error:m}),{authType:r}),t.httpClient,e.onTrackingEvent,l)},[e,t,r]);return{trackEvent:n,trackError:o}},Bm="sdkComponentInit",Sd=F.createContext(!1),jm=({skipNested:e=!0,children:t})=>u.jsx(Sd.Provider,{value:e,children:t}),zm=(e,t)=>{const{tracking:r,app:n}=u.useSisenseContext(),{trackEvent:o}=ms(),i=F.useContext(Sd),a=F.useRef(!1);F.useEffect(()=>{if(!r||!n)return;if(!a.current&&!i){const l={packageName:r.packageName,packageVersion:"2.0.0",componentName:e,attributesUsed:Object.entries(t).filter(([,c])=>!!c).map(([c])=>c).join(", ")};o(Bm,l,!r.enabled).finally(()=>a.current=!0)}},[e,t,r,i,o,n])};var Wm="[object Boolean]";function Rd(e){return e===!0||e===!1||u.isObjectLike(e)&&u.baseGetTag(e)==Wm}const Al=class Al extends F.Component{constructor(t){super(t),this.postponedErrors=[],this.handler=t.handler,this.componentName=t.componentName}componentDidMount(){var t;this.context.isInitialized&&(this.httpClient=(t=this.context.app)==null?void 0:t.httpClient)}componentDidCatch(t){throw this.context.tracking.enabled&&(this.httpClient?this.sendErrorTracking(t):this.postponedErrors.push(t)),t}sendErrorTracking(t){try{this.handler({packageName:"sdk-ui",packageVersion:"2.0.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}};Al.contextType=u.SisenseContext;let Sa=Al;const Vm=({componentName:e,config:t})=>{const{skip:r,transparent:n}=t||{};return o=>function(a){const{trackError:s}=ms();return Rd(r)&&r||u.isFunction(r)&&r(a)?u.jsx(o,q({},a)):(zm(e,a),u.jsx(jm,{skipNested:!n,children:u.jsx(Sa,{componentName:e,handler:s,children:u.jsx(o,q({},a))})}))}},Um="_container_1wquj_1",qm="_card_1wquj_11",Gm="_text_1wquj_19",Qi={container:Um,card:qm,text:Gm};function Od({color:e="#FFCB05"}){return u.jsx("svg",{width:"53px",height:"53px",viewBox:"0 0 53 53",children:u.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:u.jsxs("g",{children:[u.jsx("polygon",{points:"26.4996 -0.000100000005 -0.000400000001 26.5009 26.4996 52.9999 53.0006 26.5009",fill:e}),u.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 Md=({error:e=new u.TranslatableError("errors.componentRenderError")})=>{var d,m,g,v,y,w;const{themeSettings:t}=u.useThemeContext(),{app:r}=u.useSisenseContext(),{t:n}=u.useTranslation(),[o,i]=F.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},l=u.jsx("div",{className:"csdk-flex csdk-justify-center csdk-mb-[10px]",children:u.jsx(Od,{color:(d=t==null?void 0:t.general)==null?void 0:d.brandColor})}),c=e instanceof u.AbstractTranslatableError?n(e.key,q({},e.interpolationOptions)):n(e instanceof Error?e.message:e),p=n("errorBoxText",{errorMessage:c,interpolation:{escapeValue:!1}}),h=(g=(m=r==null?void 0:r.settings)==null?void 0:m.errorBoundaryConfig)==null?void 0:g.alwaysShowErrorText;return u.jsx("div",{onMouseEnter:h?void 0:a,onMouseLeave:h?void 0:s,className:Qi.container,"aria-label":"error-box",children:u.jsxs("div",{className:Qi.card,style:{backgroundColor:((v=t==null?void 0:t.general)==null?void 0:v.backgroundColor)||"rgba(255,255,255,0.5)"},children:[l,(h||o)&&u.jsx("div",{className:Qi.text,style:{color:((y=t==null?void 0:t.typography)==null?void 0:y.primaryTextColor)||u.DEFAULT_TEXT_COLOR,fontFamily:((w=t==null?void 0:t.typography)==null?void 0:w.fontFamily)||"inherit"},children:p})]})})};let Pd=class extends F.Component{constructor(t){var r;super(t),this.showErrorBox=!0,this.showErrorBox=(r=t.showErrorBox)!=null?r:!0,this.onError=t.onError,this.isContainerComponent=t.isContainerComponent||!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t){var r;this.setState({error:t}),(r=this.onError)==null||r.call(this,t instanceof Error?t:new Error(t))}componentDidUpdate(t,r){r.error!==null&&Ym(t.resetKeys,this.props.resetKeys)&&this.setState({error:null})}render(){const t=this.state.error||this.props.error;return!t||this.isContainerComponent&&!this.showErrorBox?this.props.children:this.showErrorBox?u.jsx(Md,{error:t}):null}};function Ym(e=[],t=[]){return e.length!==t.length||e.some((r,n)=>!u.isEqual(r,t[n]))}const Dd=({componentName:e})=>t=>function(n){const o=u.useSisenseContext(),i=a=>{var s,l;return(l=(s=o.errorBoundary).onError)==null?void 0:l.call(s,a,{componentName:e,componentProps:n})};return u.jsx(Pd,{resetKeys:Object.values(n),showErrorBox:o.errorBoundary.showErrorBox,onError:i,isContainerComponent:!!(n!=null&&n.children),children:u.jsx(t,q({},n))})},gs=({color:e})=>{const t={backgroundColor:e||"#333333",float:"left",width:"10px",height:"10px",marginRight:"7px",WebkitAnimation:"loading-dots-animation 1.8s infinite ease-in-out",animation:"loading-dots-animation 1.8s infinite ease-in-out",borderRadius:"50%",opacity:.75},r=J(q({},t),{WebkitAnimationDelay:"-0.32s",animationDelay:"-0.32s"}),n=J(q({},t),{WebkitAnimationDelay:"-0.16s",animationDelay:"-0.16s"}),o=J(q({},t),{marginRight:"unset"}),i={"0%, 80%, 100%":{WebkitTransform:"scale(0) rotate(0deg)",transform:"scale(0) rotate(0deg)"},"40%":{WebkitTransform:"scale(1) rotate(0.02deg)",transform:"scale(1) rotate(0.02deg)"}};return u.jsxs("div",{children:[u.jsx("style",{children:`
|
|
2
2
|
@keyframes loading-dots-animation {
|
|
3
3
|
${Object.entries(i).map(([a,s])=>`${a} { ${Object.entries(s).map(([l,c])=>`${l}: ${c};`).join("")} }`).join("")}
|
|
4
4
|
}
|
|
@@ -218,7 +218,7 @@ const theme2 = createTheme({ palette: {
|
|
|
218
218
|
${r===0&&t.details&&!u.isMeasureColumn(t.details)?M_(e.details):""}
|
|
219
219
|
</div>
|
|
220
220
|
</div>
|
|
221
|
-
`)},D_=600,k_=11,I_=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=u.useSisenseContext(),o=F.useCallback(a=>rt(exports,null,function*(){if(!n||!e.details||u.isMeasureColumn(e.details))return[];const s=e.locations.map((p,h)=>{const d=u.translateColumnToAttribute(p),m=a_(a)[h];return u.members(d,[m])}),l={dataSource:t,dimensions:[u.translateColumnToAttribute(e.details)],filters:lt(r,s),count:k_};return(yield u.executeQuery(l,n)).rows.map(([p])=>p.text)}),[n,e,t,r]);return F.useCallback(a=>{if(!e.details||e.details&&!u.isMeasureColumn(e.details)&&!t)return{content:Oo(a,e)};if(u.isMeasureColumn(e.details))return{content:Oo(a,e,ca.YES)};const s=new Promise(c=>S_(c,D_)),l=Promise.all([o(a.name),s]).then(([c])=>Oo(J(q({},a),{details:c}),e,ca.YES));return{content:Oo(a,e,ca.LOADING),postponedContent:l}},[e,t,o])},A_=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=m_(),{themeSettings:l}=u.useThemeContext(),c=f_(a,t.locationLevel),{filters:p}=u.getFilterListAndRelationsJaql(n),h=I_({dataOptions:t,dataSource:r,filters:p}),d=F.useRef(null),m=F.useRef(null),g=F.useMemo(()=>h_(c,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[c,t,o]),v=F.useMemo(()=>{var x;return y_(c,(x=t.colorBy)==null?void 0:x.color)},[c,t]),y=F.useRef([]),w=F.useRef(u.Leaflet.layerGroup([])),E=F.useRef(null),_=F.useRef(null);return F.useEffect(()=>{d.current&&!m.current&&(m.current=u.Leaflet.map(d.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),w.current.addTo(m.current),m.current.fitWorld())},[]),F.useEffect(()=>{y.current&&(w_(y.current),y.current=[]),c&&(c.forEach((x,b)=>{if(!x.coordinates)return;const C=b_({coordinates:x.coordinates,style:{color:v[b],size:g[b],fill:o.markers.fill,blur:!!x.blur}});y.current.push(C),C.addTo(w.current),i&&C.on("click",S=>{i(l_(x,t),S.originalEvent)}),C.bindTooltip(()=>{const{content:S,postponedContent:O}=h(x);return O==null||O.then(M=>C.setTooltipContent(M)),S})}),u.fitMapToBounds(m.current,y.current,u.prepareFitBoundsAnimationOptions(l)))},[c,v,g,o,l,t,h,i]),F.useEffect(()=>{var x;s&&(E.current&&E.current.remove(),E.current=u.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),m.current&&(E.current.addTo(m.current),(x=_.current)==null||x.remove(),_.current=C_(m.current,s.maps_api_provider)))},[s]),u.jsx("div",{className:"csdk-map-container",ref:d,style:{width:"100%",height:"100%"}})},Uf=e=>e.type==="scattermap"&&"locations"in e,N_=e=>"locations"in e,$_=e=>"markers"in e,L_=e=>!!e.chartData&&Uf(e.chartData)&&N_(e.dataOptions)&&$_(e.designOptions),F_="_wrapper_g0ngm_1",H_="_title_g0ngm_7",B_="_image_g0ngm_18",pa={wrapper:F_,title:H_,image:B_},j_="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",z_="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",W_="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",V_="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",U_="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",q_="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",G_="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",Y_="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",X_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%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",K_="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",Q_="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",Hu="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",Z_="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",J_="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",Bu={area:j_,line:z_,bar:W_,column:V_,polar:U_,funnel:q_,pie:G_,scatter:Y_,indicator:X_,table:K_,treemap:Q_,areamap:Hu,scattermap:Hu,boxplot:Z_,sunburst:J_};function ex(e){var r;return(r=Bu[e])!=null?r:Bu["bar"]}const Hs=({iconType:e})=>{var s;const{themeSettings:t}=u.useThemeContext(),r=F.useRef(null),[n,o]=F.useState({width:null,height:null});F.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=ex(e),{t:a}=u.useTranslation();return u.jsxs("div",{ref:r,className:pa.wrapper,children:[u.jsx("div",{className:pa.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:tx(n.width,n.height)},children:a("chartNoData")}),i?u.jsx("img",{className:pa.image,src:i}):null]})};function tx(e,t){return!e||!t?"18px":e<300?`${Math.max(Math.sqrt(e*e+t*t)*.045,18)}px`:`${Math.min(Math.max(t*.09,18),60)}px`}const rx=(e,t,r)=>({width:(t==null?void 0:t.width)||(e==null?void 0:e.width)||r.width,height:(t==null?void 0:t.height)||(e==null?void 0:e.height)||r.height}),Ei=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i})=>{const a=F.useRef(null),[s,l]=F.useState(),c=F.useCallback(()=>{var _,x;const E={width:(_=a.current)==null?void 0:_.offsetWidth,height:(x=a.current)==null?void 0:x.offsetHeight};l(b=>{const C=(b==null?void 0:b.width)===0&&E.width===t.width,S=(b==null?void 0:b.height)===0&&E.height===t.height,O={width:C?b.width:E.width,height:S?b.height:E.height};return u.isEqual(b,O)?b:O})},[a,t]);F.useLayoutEffect(()=>{c()},[c]),F.useEffect(()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)),[c]);const p=F.useMemo(()=>rx(s,r,t),[s,t,r]),h=!!s;F.useEffect(()=>{h&&i&&i(p)},[p,h,i]);const d={width:r!=null&&r.width&&!(o!=null&&o.width)?`${r.width}px`:"100%",height:r!=null&&r.height&&!(o!=null&&o.height)?`${r.height}px`:"100%"},m=(s==null?void 0:s.width)||(s==null?void 0:s.width)===void 0,g=(s==null?void 0:s.height)||(s==null?void 0:s.width)===void 0,v={width:m||o!=null&&o.width?"100%":`${p.width}px`,height:g||o!=null&&o.height?"100%":`${p.height}px`,position:"relative"},y=o!=null&&o.width||o!=null&&o.height?{position:"static",width:"100%",height:"100%"}:{position:"absolute",top:0,right:0,bottom:0,left:0},w=n?`${p==null?void 0:p.width}${p==null?void 0:p.height}`:"";return u.jsx("div",{style:d,ref:a,children:u.jsx("div",{style:v,children:u.jsx("div",{style:y,children:p&&(typeof e=="function"?e(p):e)})},w)})},qf={width:400,height:500},Bs=e=>u.isTable(e)?{width:400,height:500}:u.isIndicator(e)?{width:200,height:200}:{width:400,height:400},nx=25,Gf=(e,{hasHeader:t}={})=>{const r=e==="pivot"?qf:Bs(e);return t&&(r.height=r.height+nx),r},Bo=({isVisible:e,themeSettings:t,children:r})=>u.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&u.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:u.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:u.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:u.jsx("div",{style:{backgroundColor:t.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:u.jsx(gs,{color:t==null?void 0:t.chart.textColor})})})})}),r]});function Wa(e,t,r=u.getBaseDateFnsLocale(),n=u.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(u.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(c){return c.name===a.column.name&&u.isDatetime(a.column.type)&&u.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 p=o.get(c);if(!p)return l;let h,d;if(u.isCell(l))h=q({},l);else{const g=u.createCompareValue(`${l}`,"datetime");d=new Date(g.value),h={data:d.toISOString(),text:`${l}`}}if(!h.data)return l;let m=h.text;try{m=u.applyDateFormat(u.parseISO(h.data),p,r,n)}catch(g){console.error(g)}return h.text=m,h})})),e}function ox(e,t){return ax(e,t)}const ix={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function ax(e,t){const r=ix[e];t.category.length>r.category&&console.warn(`Maximum 'category' length is limited to ${r.category} for '${e}' chart. Taken first ${r.category} categories`);const n=t.category.slice(0,r.category);let o=t.value;return(e!=="pie"||t.category.length>0)&&(t.value.length>r.value&&console.warn(`Maximum 'value' length is limited to ${r.value} for '${e}' chart. Taken first ${r.value} values`),o=t.value.slice(0,r.value)),J(q({},t),{category:n,value:o})}const js=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},sx=(e,t)=>{if(t==="funnel"){const r=u.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},Yf=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new u.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name)===-1)throw new u.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 u.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 u.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 u.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function lx(e,t){switch(e){case"pie":case"funnel":case"treemap":return ox(e,t);default:return t}}const zs=()=>{const[e,t]=F.useState();if(e)throw e;return t},ux=e=>e==="funnel"?e:u.deriveChartFamily(e),cx=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:l,setIsLoading:c,enabled:p=!0,loadData:h})=>{const d=zs(),m=F.useMemo(()=>ux(r),[r]),g=F.useMemo(()=>[void 0,t],[t]),[v,y]=F.useState({}),{app:w}=u.useSisenseContext();return F.useEffect(()=>{if(!p)return;let E=!1;const{filters:_,relations:x}=u.getFilterListAndRelationsJaql(a);if(Wt(e)){if(!w)return;const b=h({app:w,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:_,filterRelations:x,highlights:s,count:w.settings.queryLimit}}),C=w==null?void 0:w.settings.loadingIndicatorConfig,S=setTimeout(()=>{C!=null&&C.enabled&&(c==null||c(!0))},C==null?void 0:C.delay);b.then(O=>{const M=Wa(O,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);E||y({[m]:[M,t]})}).catch(O=>{d(O)}).finally(()=>{clearTimeout(S),C!=null&&C.enabled&&(c==null||c(!1))})}else{Yf(e,n,o,i,_,s);const b=Wa(e,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);y({[m]:[b,t]})}return()=>{E=!0}},[r,t,e,a,s,w,l,p]),v[m]||g},dx=(e,t)=>{switch(t){case"iqr":return pm(e);case"extremums":return hm(e);case"standardDeviation":return mm(e)}},fx=(e,t)=>{switch(t){case"iqr":return gm(e);case"standardDeviation":return vm(e)}},px=(e,t,r)=>{const{column:n,style:o}=u.splitColumn(e);let i=dx(n,t),a;return o&&(i=i.map(s=>q({column:s},o))),r&&(a=fx(n,t),a&&o&&(a=q({column:a},o))),{values:i,outliers:a}},hx=e=>e.value.length>1,Xf=e=>{var h;const{category:t}=e;let r,n,o;if(hx(e))r=e.value,o=e.valueTitle,n=(h=e.outliers)==null?void 0:h[0];else{const{outliersEnabled:d,boxType:m}=e,g=u.normalizeColumn(e.value[0]),{values:v,outliers:y}=px(g,m,!!d);r=v,n=y,o=u.getDataOptionTitle(g)}const[i,a,s,l,c,p]=r;return{category:t[0]&&u.normalizeColumn(t[0]),boxMin:i&&u.normalizeMeasureColumn(i),boxMedian:a&&u.normalizeMeasureColumn(a),boxMax:s&&u.normalizeMeasureColumn(s),whiskerMin:l&&u.normalizeMeasureColumn(l),whiskerMax:c&&u.normalizeMeasureColumn(c),outliersCount:p&&u.normalizeMeasureColumn(p),outliers:n&&u.normalizeColumn(n),valueTitle:o}},ju={city:4,state:3,country:2,auto:1};function mx(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>ju[n]>ju[r]?n:r,"auto")}function gx(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(u.normalizeColumn),size:r&&u.normalizeMeasureColumn(r),colorBy:n&&u.normalizeMeasureColumn(n),details:o&&u.normalizeAnyColumn(o),locationLevel:mx(t)}}function vx(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[u.normalizeMeasureColumn(a)];const h=a,{lowerBound:s,upperBound:l,title:c}=h,p=br(h,["lowerBound","upperBound","title"]);return[u.normalizeMeasureColumn(q({column:u.safeMerge(s,{title:c})},p)),u.normalizeMeasureColumn(q({column:u.safeMerge(l,{title:c})},p))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(u.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(u.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}const yx=(e,t)=>{if(u.emptyTable(t))return{rows:[],columns:[]};const r=u.getColumnsByName(t,e);return u.selectColumns(t,r)},Va=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case u.Sort.Ascending:return 1;case"sortDesc":case u.Sort.Descending:return-1;default:return 0}},bx=(e,t)=>{const r=e.columns.find(n=>Va(n)!==0);if(r){const n=u.getColumnByName(t,r.column.name);n&&(n.direction=Va(r))}return t},Kf=e=>{if(!("sortType"in e))return e;const t=e.sortType,r=u.convertSortDirectionToSort(t);return J(q({},e),{sortType:t,column:"sort"in e.column?e.column.sort(r):e.column})},_x=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=Va(r),i=n?o===1?"sortDesc":"sortAsc":"sortNone";return r.sortType=i,Kf(r)})}),xx=(e,t)=>{const r=yx(e.columns.map(({column:{name:n}})=>n),t);return bx(e,r)};function wx(e,t){if(u.isCartesian(e))return u.translateCartesianChartDataOptions(t);if(u.isCategorical(e))return Cx(t);if(u.isIndicator(e))return Tx(t);if(u.isScatter(e))return Ex(t);if(u.isBoxplot(e))return Xf(t);if(u.isScattermap(e))return gx(t);if(u.isRange(e))return vx(t);throw new u.TranslatableError("errors.unexpectedChartType",{chartType:e})}const Cx=e=>({y:e.value.map(u.normalizeMeasureColumn),breakBy:e.category.map(u.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),Tx=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(u.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(u.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(u.normalizeMeasureColumn))==null?void 0:o.map(zu("min")),max:(a=(i=e.max)==null?void 0:i.map(u.normalizeMeasureColumn))==null?void 0:a.map(zu("max"))}},zu=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return J(q({},t),{column:u.safeMerge(r,{aggregation:n})})},Ex=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&u.normalizeAnyColumn(t),y:r&&u.normalizeAnyColumn(r),breakByPoint:n&&u.normalizeColumn(n),breakByColor:o&&u.normalizeAnyColumn(o),size:i&&u.normalizeMeasureColumn(i),seriesToColorMap:a}};function Sx(e,t){let r=[];return u.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:u.isCartesian(t)||u.isCategorical(t)||u.isRange(t)?r=["x","breakBy"]:u.isBoxplot(t)?r=["category","outliers"]:u.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!u.isMeasureColumn(o)).map(({column:o})=>o)}function Rx(e,t){let r=[];return u.isIndicator(t)?r=["value","secondary","min","max"]:u.isScatter(t)?r=["x","y","breakByColor","size"]:u.isCartesian(t)||u.isCategorical(t)||u.isRange(t)?r=["y"]:u.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:u.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(u.isMeasureColumn).map(({column:o})=>o)}function Qf(e){return{columns:e.columns.map(u.normalizeAnyColumn).map(Kf)}}function Ox(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(u.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(u.normalizeColumn),values:(n=e.values)==null?void 0:n.map(u.normalizeMeasureColumn),grandTotals:e.grandTotals}}function Zf(e,t){{const r=lx(t,e),n=wx(t,r),o=sx(n,t),i=Sx(o,t),a=Rx(o,t);return{dataOptions:o,attributes:i,measures:a}}}const Mx=(e,t)=>F.useMemo(()=>{if(u.isRestructuredChartType(t)){const r=u.getChartBuilder(t);if(!r.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return Px(r,e)}else return Dx(e,t)},[e,t]);function Px(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=js(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function Dx(e,t){const{dataOptions:r,attributes:n,measures:o}=Zf(e,t),i=js(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function kx(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c,filters:p}=e;return!o||!i?null:{dataSource:Wt(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c,filters:p}}const Ix=(e,t)=>{const r=e.category&&u.getColumnByName(t,e.category.column.name);r&&(r.direction=u.sortDirection(e.category.sortType));const n=u.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?u.rownumColumnName:void 0),o=u.getIndexedRows(t.rows,r?[r]:[]),i=u.getColumnByName(t,e.boxMin.column.name),a=u.getColumnByName(t,e.boxMedian.column.name),s=u.getColumnByName(t,e.boxMax.column.name),l=u.getColumnByName(t,e.whiskerMin.column.name),c=u.getColumnByName(t,e.whiskerMax.column.name),p=e.outliers&&u.getColumnByName(t,e.outliers.column.name),h=[],d=[];n.forEach((g,v)=>{const y=o[g.key],w=y?y[0]:[],E=r&&!!u.isBlurred(w,r);h.push({q1:i?u.getValue(w,i):0,median:a?u.getValue(w,a):0,q3:s?u.getValue(w,s):0,low:l?u.getValue(w,l):0,high:c?u.getValue(w,c):0,blur:E});const _=p?w[p.index].rawValue.split(",").map(x=>parseFloat(x)):[];d.push(..._.map(x=>({x:v,y:x,blur:E})))});const m=[{name:e.valueTitle,title:e.valueTitle,data:h}];return d.length>0&&m.push({name:e.valueTitle,title:e.valueTitle,data:d}),{type:"boxplot",xValues:n,series:m}};function Ax(e){return e.type==="boxplot"}const Nx=2e4;function gn(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 Jf=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=gn(e.columns,r.category),o=gn(e.columns,r.whiskerMin),i=gn(e.columns,r.whiskerMax),a=gn(t.columns,r.category),s=gn(t.columns,r.outliers)),u.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(c=>{const p=u.isNull(n)?null:c[n].data,h=c[i].data,d=c[o].data,m=t.rows.filter(g=>{const v=u.isNull(a)?null:g[a].data,y=g[s].data;return v===p&&(y<d||y>h)}).map(g=>g[s].data).join(",");return[...c,{data:m}]})}};function $x(e,t,r){const n=r&&Xf(r);return Jf(e,t,n)}const Lx=(c,p)=>rt(exports,[c,p],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},l){var v;const h={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},d=yield l(h,e);let m=d;const g=t.outliersCount?Fx(d,t.outliersCount.column.name):0;if(t.outliers&&g<Nx){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const w=yield l(y,e);m=Jf(d,w,t)}catch(w){if((v=w==null?void 0:w.message)!=null&&v.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw w}}return m}),Fx=(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 Hx(e){return u.isRestructuredChartType(e)?u.getChartBuilder(e).data.loadData:e==="boxplot"?jx:Bx}const Bx=n=>rt(exports,[n],function*({app:e,queryDescription:t,executionConfig:r}){var a,s;return(((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?u.executeQueryWithCache:u.executeQuery)(t,e,r)}),jx=n=>rt(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)?u.executeQueryWithCache:u.executeQuery;return Lx({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)}),zx=(e,t)=>{const r=J(q({},e),{x:e.breakBy,breakBy:[]});let n=u.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>u.isNumber$1(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:l},numberFormatConfig:c},p)=>{const h=u.getCompleteNumberFormatConfig(c),d=a.xValues[p];u.isNumber$1(l)?s.push(u.applyFormatPlainText(h,parseFloat(d))):s.push(a.xValues[p])}),J(q({},a),{xValues:s})});n=J(q({},n),{xValues:i})}return J(q({},n),{type:"categorical"})},Mo=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=u.getColumnByName(e,t[0].column.name);return r?[u.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},Wx=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=Mo(t,e.value);if(n===void 0)return r;const[o]=Mo(t,e.secondary),[i]=Mo(t,e.min),[a]=Mo(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},Vx="N\\A",Ux=1,qx=(e,t)=>{const r=Gx(e),n=e.locations&&u.getColumnsByName(t,e.locations.map(({column:{name:l}})=>l)),o=e.size&&u.getColumnByName(t,e.size.column.name),i=e.colorBy&&u.getColumnByName(t,e.colorBy.column.name),a=e.details&&u.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(l=>n.some(c=>u.getValue(l,c)!==Vx)).map(l=>{const c=n.map(m=>u.getValue(l,m)),p=i_(c);let h;r&&(h={lat:u.getValue(l,n[0]),lng:u.getValue(l,n[1])});const d=n[0]&&!!u.isBlurred(l,n[0]);return q(J(q(q({name:p,rawName:c,value:o?u.getValue(l,o):Ux},i&&{colorValue:u.getValue(l,i)}),a&&{details:u.getValue(l,a)}),{blur:d}),h?{coordinates:h}:null)})}};function Gx(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>u.isNumber$1(t)).length===2}const Yx=(e,t,r)=>{if(u.isCartesian(e))return u.isForecastChart(t)?u.advancedAnalyticsData(t,r):u.cartesianData(t,r);if(u.isCategorical(e))return zx(t,r);if(u.isScatter(e))return u.scatterData(t,r);if(u.isScattermap(e))return qx(t,r);if(u.isIndicator(e))return Wx(t,r);if(u.isBoxplot(e))return Ix(t,r);if(u.isRange(e))return u.rangeData(t,r);throw new u.TranslatableError("errors.unexpectedChartType",{chartType:e})};var Xx=1/0,Kx=u.Set&&1/u.setToArray(new u.Set([,-0]))[1]==Xx?function(e){return new u.Set(e)}:u.noop,Qx=200;function Ws(e,t,r){var n=-1,o=u.arrayIncludes,i=e.length,a=!0,s=[],l=s;if(i>=Qx){var c=t?null:Kx(e);if(c)return u.setToArray(c);a=!1,o=u.cacheHas,l=new u.SetCache}else l=t?[]:s;e:for(;++n<i;){var p=e[n],h=t?t(p):p;if(p=p!==0?p:0,a&&h===h){for(var d=l.length;d--;)if(l[d]===h)continue e;t&&l.push(h),s.push(p)}else o(l,h,r)||(l!==s&&l.push(h),s.push(p))}return s}var Zx=u.baseRest(function(e){return Ws(u.baseFlatten(e,1,u.isArrayLikeObject,!0))});const ep=(e,t,r,n={})=>{if(u.emptyTable(e))return{rows:[],columns:[]};const o=Zx(u.getColumnsByName(e,t.map(p=>p.name))),i=e,s=[...r.map(p=>{var h,d;return{column:(h=n[p.name])!=null?h:p.name,title:p.name,agg:(d=p.aggregation)!=null?d:"sum"}}),{column:u.rownumColumnName,title:u.rownumColumnName,agg:"min"}],l=u.groupBy(i,o,s),c=u.getColumnByName(l,u.rownumColumnName);if(!c)throw new u.TranslatableError("errors.noRowNumColumn");return u.orderBy(l,[c])};function Jx({dataSet:e,data:t,chartDataOptions:r,chartType:n,attributes:o,measures:i,dataColumnNamesMapping:a,onDataReady:s}){return F.useMemo(()=>{if(!t||!r)return null;let l;if(s&&(l=s(t),!tp(l)))throw new u.TranslatableError("errors.incorrectOnDataReadyHandler");const c=l||t;let p=u.createDataTableFromData(c);return Wt(e)||(p=ep(p,o,i,a)),e3(n,r,p)},[t,n])}function e3(e,t,r){if(u.isRestructuredChartType(e)){const n=u.getChartBuilder(e);if(n.dataOptions.isCorrectDataOptionsInternal(t))return n.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return Yx(e,t,r)}const t3=e=>e==="indicator",r3=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&u.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&Uf(t)?t.locations.length===0:e==="boxplot"&&Ax(t)?t.xValues.length===0:"series"in t&&t.series.length===0,Ua=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:p,onBeforeRender:h,onDataReady:d}=e,[m,g]=F.useState(!1),v=Bs(t),{themeSettings:y}=u.useThemeContext(),{dataOptions:w,attributes:E,measures:_,dataColumnNamesMapping:x}=Mx(n,t),b=E.length===0&&_.length===0,C=F.useMemo(()=>Hx(t),[t]),[S,O]=cx({dataSet:r,chartDataOptions:w,chartType:t,attributes:E,measures:_,dataColumnNamesMapping:x,filters:o,highlights:i,refreshCounter:s,setIsLoading:g,enabled:!b,loadData:C}),M=F.useMemo(()=>n?u.prepareChartDesignOptions(t,O,a):null,[n,t,O,a]),D=Jx({dataSet:r,data:S,chartDataOptions:w,chartType:t,attributes:E,measures:_,dataColumnNamesMapping:x,onDataReady:d}),R=kx({dataSet:r,chartType:t,chartData:D,internalDataOptions:O,designOptions:M,onBeforeRender:h,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:p,filters:o});return R?u.jsx(Ei,{defaultSize:v,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:t3(t),children:()=>{if(!D&&m)return u.jsx(si,{themeSettings:y});if(D&&r3(t,D)||b)return u.jsx(Hs,{iconType:t});if(u.isRestructuredChartType(t)){const T=u.getChartBuilder(t);if(T.renderer.isCorrectRendererProps(R))return u.jsx(T.renderer.ChartRendererComponent,q({},R))}return t==="scattermap"&&L_(R)?u.jsx(Bo,{themeSettings:y,isVisible:m,children:u.jsx(A_,q({},R))}):t==="indicator"&&I2(R)?u.jsx(Bo,{themeSettings:y,isVisible:m,children:u.jsx(M2,q({},R))}):u.isSisenseChartType(t)&&u.isSisenseChartProps(R)?u.jsx(Bo,{themeSettings:y,isVisible:m,children:u.jsx(u.SisenseChart,J(q({},R),{designOptions:q({},R.designOptions)}))}):null}}):null};function tp(e){return e&&typeof e=="object"&&"columns"in e&&u.isArray(e.columns)&&"rows"in e&&u.isArray(e.rows)}function n3(e){return we("MuiPagination",e)}Ce("MuiPagination",["root","ul","outlined","text"]);const o3=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function i3(e={}){const{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:p=!1,showLastButton:h=!1,siblingCount:d=1}=e,m=ae(e,o3),[g,v]=As({controlled:c,default:o,name:r,state:"page"}),y=(M,D)=>{c||v(D),l&&l(M,D)},w=(M,D)=>{const R=D-M+1;return Array.from({length:R},(T,I)=>M+I)},E=w(1,Math.min(t,n)),_=w(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(g-d,n-t-d*2-1),t+2),b=Math.min(Math.max(g+d,t+d*2+2),_.length>0?_[0]-2:n-1),C=[...p?["first"]:[],...s?[]:["previous"],...E,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...w(x,b),...b<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],..._,...a?[]:["next"],...h?["last"]:[]],S=M=>{switch(M){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return n;default:return null}},O=C.map(M=>typeof M=="number"?{onClick:D=>{y(D,M)},type:"page",page:M,selected:M===g,disabled:i,"aria-current":M===g?"true":void 0}:{onClick:D=>{y(D,S(M))},type:M,page:S(M),selected:!1,disabled:i||M.indexOf("ellipsis")===-1&&(M==="next"||M==="last"?g>=n:g<=1)});return u._extends({items:O},m)}function a3(e){return we("MuiPaginationItem",e)}const nt=Ce("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);function s3(e){return we("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const l3=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],u3=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return De(o,s3,n)},c3=le("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${fe(r.color)}`],t[`fontSize${fe(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,p,h,d,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(p=c.pxToRem)==null?void 0:p.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?h:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),Ko=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:p=!1,titleAccess:h,viewBox:d="0 0 24 24"}=n,m=ae(n,l3),g=z.isValidElement(o)&&o.type==="svg",v=u._extends({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:g}),y={};p||(y.viewBox=d);const w=u3(v);return te.jsxs(c3,u._extends({as:s,className:se(w.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},y,m,g&&o.props,{ownerState:v,children:[g?o.props.children:o,h?te.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(Ko.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});Ko.muiName="SvgIcon";function Ur(e,t){function r(n,o){return te.jsx(Ko,u._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ko.muiName,z.memo(z.forwardRef(r))}const Wu=Ur(te.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Vu=Ur(te.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Uu=Ur(te.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),qu=Ur(te.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),d3=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],rp=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.variant==="text"&&t[`text${fe(r.color)}`],r.variant==="outlined"&&t[`outlined${fe(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},f3=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${fe(i)}`,l,a,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${l}${fe(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return De(c,a3,t)},p3=le("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:rp})(({theme:e,ownerState:t})=>u._extends({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${nt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),h3=le(hr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:rp})(({theme:e,ownerState:t})=>u._extends({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${nt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${nt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${nt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>u._extends({},t.variant==="text"&&{[`&.${nt.selected}`]:u._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${nt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${nt.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${nt.selected}`]:u._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Pe(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${nt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),m3=le("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>u._extends({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),np=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaginationItem"}),{className:o,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:p=!1,shape:h="circular",size:d="medium",slots:m={},type:g="page",variant:v="text"}=n,y=ae(n,d3),w=u._extends({},n,{color:i,disabled:l,selected:p,shape:h,size:d,type:g,variant:v}),E=bs(),_=f3(w),b=(E?{previous:m.next||s.next||qu,next:m.previous||s.previous||Uu,last:m.first||s.first||Wu,first:m.last||s.last||Vu}:{previous:m.previous||s.previous||Uu,next:m.next||s.next||qu,first:m.first||s.first||Wu,last:m.last||s.last||Vu})[g];return g==="start-ellipsis"||g==="end-ellipsis"?te.jsx(p3,{ref:r,ownerState:w,className:se(_.root,o),children:"…"}):te.jsxs(h3,u._extends({ref:r,ownerState:w,component:a,disabled:l,className:se(_.root,o)},y,{children:[g==="page"&&c,b?te.jsx(m3,{as:b,ownerState:w,className:_.icon}):null]}))});process.env.NODE_ENV!=="production"&&(np.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),component:f.elementType,components:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),disabled:f.bool,page:f.node,selected:f.bool,shape:f.oneOf(["circular","rounded"]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),slots:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const g3=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],v3=e=>{const{classes:t,variant:r}=e;return De({root:["root",r],ul:["ul"]},n3,t)},y3=le("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),b3=le("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function _3(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const op=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:p=_3,hideNextButton:h=!1,hidePrevButton:d=!1,renderItem:m=O=>te.jsx(np,u._extends({},O)),shape:g="circular",showFirstButton:v=!1,showLastButton:y=!1,siblingCount:w=1,size:E="medium",variant:_="text"}=n,x=ae(n,g3),{items:b}=i3(u._extends({},n,{componentName:"Pagination"})),C=u._extends({},n,{boundaryCount:o,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:p,hideNextButton:h,hidePrevButton:d,renderItem:m,shape:g,showFirstButton:v,showLastButton:y,siblingCount:w,size:E,variant:_}),S=v3(C);return te.jsx(y3,u._extends({"aria-label":"pagination navigation",className:se(S.root,i),ownerState:C,ref:r},x,{children:te.jsx(b3,{className:S.ul,ownerState:C,children:b.map((O,M)=>te.jsx("li",{children:m(u._extends({},O,{color:a,"aria-label":p(O.type,O.page,O.selected),shape:g,size:E,variant:_}))},M))})}))});process.env.NODE_ENV!=="production"&&(op.propTypes={boundaryCount:bt,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),count:bt,defaultPage:bt,disabled:f.bool,getItemAriaLabel:f.func,hideNextButton:f.bool,hidePrevButton:f.bool,onChange:f.func,page:bt,renderItem:f.func,shape:f.oneOf(["circular","rounded"]),showFirstButton:f.bool,showLastButton:f.bool,siblingCount:bt,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const ip=e=>{const t=[],r=[];for(const n of e.columns)u.isMeasureColumn(n)?r.push(u.translateColumnToMeasure(n)):t.push(u.translateColumnToAttribute(n));return{attributes:t,measures:r}},x3=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=zs(),[s,l]=F.useState(Wt(e)?null:e),[c,p]=F.useState(!1),h=F.useRef(!0),{isInitialized:d,app:m}=u.useSisenseContext(),[g,v]=F.useState(t);return F.useEffect(()=>{var _;let y=!1;if(!t)return;const{attributes:w,measures:E}=ip(t);if(Wt(e)){if(!d){a(new u.TranslatableError("errors.chartNoSisenseContext"));return}if(!m||!h.current&&i>0)return;p(!0),((_=m.settings.queryCacheConfig)!=null&&_.enabled?u.executeQueryWithCache:u.executeQuery)({dataSource:e,dimensions:w,measures:E,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},m).then(b=>{if(y)return;h.current=b.rows.length>o;const C=h.current?b.rows.slice(0,o):b.rows;i>0?l(S=>{const O=S==null?void 0:S.rows.length,M=O?O>i?S.rows.slice(0,i):S.rows:null;return{columns:b.columns,rows:M?[...M,...C]:C}}):l({columns:b.columns,rows:C}),v(t)}).finally(()=>{p(!1)}).catch(b=>{y||a(b)})}else l(e),v(t);return()=>{y=!0}},[m,e,t,r,n,i,o,d,a]),[c?null:s,g]},w3=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=u.useSisenseContext();return F.useMemo(()=>{if(!e||!t)return null;let i=u.createDataTableFromData(Wa(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(l=>!u.isMeasureColumn(l)).map(u.translateColumnToAttribute),s=t.columns.filter(l=>u.isMeasureColumn(l)).map(u.translateColumnToMeasure);return Yf(i,a,s,r),n&&(i=ep(i,a,s,r)),xx(t,i)},[e,t,n,r,o])};var ap={},sp={};function Gu(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 Yu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gu(Object(r),!0).forEach(function(n){$m(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Xu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},zt={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function lp(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 C3(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(S3(e))return"date";if(E3(e))return"error";var r=T3(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 T3(e){return typeof e.constructor=="function"?e.constructor.name:null}function E3(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function S3(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Ht(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=C3(e)),t}function Vs(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Fe(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(1):"Expected the enhancer to be a function. Instead, received: '"+Ht(r)+"'");return r(Vs)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(2):"Expected the root reducer to be a function. Instead, received: '"+Ht(e)+"'");var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function p(){if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function h(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(4):"Expected the listener to be a function. Instead, received: '"+Ht(v)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return c(),s.push(v),function(){if(y){if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c();var E=s.indexOf(v);s.splice(E,1),a=null}}}function d(v){if(!lp(v))throw new Error(process.env.NODE_ENV==="production"?Fe(7):"Actions must be plain objects. Instead, the actual type was: '"+Ht(v)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof v.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(9):"Reducers may not dispatch actions.");try{l=!0,i=o(i,v)}finally{l=!1}for(var y=a=s,w=0;w<y.length;w++){var E=y[w];E()}return v}function m(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(10):"Expected the nextReducer to be a function. Instead, received: '"+Ht(v));o=v,d({type:zt.REPLACE})}function g(){var v,y=h;return v={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(process.env.NODE_ENV==="production"?Fe(11):"Expected the observer to be an object. Instead, received: '"+Ht(E)+"'");function _(){E.next&&E.next(p())}_();var x=y(_);return{unsubscribe:x}}},v[Xu]=function(){return this},v}return d({type:zt.INIT}),n={dispatch:d,subscribe:h,getState:p,replaceReducer:m},n[Xu]=g,n}var R3=Vs;function Ku(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function O3(e,t,r,n){var o=Object.keys(t),i=r&&r.type===zt.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!lp(e))return"The "+i+' has unexpected type of "'+Ht(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===zt.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function M3(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:zt.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:zt.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+zt.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function P3(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"&&Ku('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{M3(r)}catch(l){s=l}return function(c,p){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var h=O3(c,r,p,a);h&&Ku(h)}for(var d=!1,m={},g=0;g<i.length;g++){var v=i[g],y=r[v],w=c[v],E=y(w,p);if(typeof E=="undefined"){var _=p&&p.type;throw new Error(process.env.NODE_ENV==="production"?Fe(14):"When called with an action of type "+(_?'"'+String(_)+'"':"(unknown type)")+', the slice reducer for key "'+v+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}m[v]=E,d=d||E!==w}return d=d||i.length!==Object.keys(c).length,d?m:c}}function Qu(e,t){return function(){return t(e.apply(this,arguments))}}function D3(e,t){if(typeof e=="function")return Qu(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?Fe(16):"bindActionCreators expected an object or a function, but instead received: '"+Ht(e)+`'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);var r={};for(var n in e){var o=e[n];typeof o=="function"&&(r[n]=Qu(o,t))}return r}function up(){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 k3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?Fe(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=up.apply(void 0,s)(o.dispatch),Yu(Yu({},o),{},{dispatch:i})}}}const I3=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:zt,applyMiddleware:k3,bindActionCreators:D3,combineReducers:P3,compose:up,createStore:Vs,legacy_createStore:R3},Symbol.toStringTag,{value:"Module"})),cp=u.getAugmentedNamespace(I3);var qr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(o,i,a,s,l,c,p,h){if(process.env.NODE_ENV!=="production"&&i===void 0)throw new Error("invariant requires an error message argument");if(!o){var d;if(i===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[a,s,l,c,p,h],g=0;d=new Error("Invariant Violation: "+i.replace(/%s/g,function(){return m[g++]}))}throw d.framesToPop=1,d}},r=t;e.default=r})(qr);var A3=Array.isArray,tt=A3,N3=typeof u.commonjsGlobal=="object"&&u.commonjsGlobal&&u.commonjsGlobal.Object===Object&&u.commonjsGlobal,dp=N3,$3=dp,L3=typeof self=="object"&&self&&self.Object===Object&&self,F3=$3||L3||Function("return this")(),Dt=F3,H3=Dt,B3=H3.Symbol,oo=B3,Zu=oo,fp=Object.prototype,j3=fp.hasOwnProperty,z3=fp.toString,vn=Zu?Zu.toStringTag:void 0;function W3(e){var t=j3.call(e,vn),r=e[vn];try{e[vn]=void 0;var n=!0}catch(i){}var o=z3.call(e);return n&&(t?e[vn]=r:delete e[vn]),o}var V3=W3,U3=Object.prototype,q3=U3.toString;function G3(e){return q3.call(e)}var Y3=G3,Ju=oo,X3=V3,K3=Y3,Q3="[object Null]",Z3="[object Undefined]",ec=Ju?Ju.toStringTag:void 0;function J3(e){return e==null?e===void 0?Z3:Q3:ec&&ec in Object(e)?X3(e):K3(e)}var Gr=J3;function ew(e){return e!=null&&typeof e=="object"}var Yr=ew,tw=Gr,rw=Yr,nw="[object Symbol]";function ow(e){return typeof e=="symbol"||rw(e)&&tw(e)==nw}var Si=ow,iw=tt,aw=Si,sw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lw=/^\w*$/;function uw(e,t){if(iw(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||aw(e)?!0:lw.test(e)||!sw.test(e)||t!=null&&e in Object(t)}var Us=uw;function cw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var io=cw,dw=Gr,fw=io,pw="[object AsyncFunction]",hw="[object Function]",mw="[object GeneratorFunction]",gw="[object Proxy]";function vw(e){if(!fw(e))return!1;var t=dw(e);return t==hw||t==mw||t==pw||t==gw}var pp=vw,yw=Dt,bw=yw["__core-js_shared__"],_w=bw,ma=_w,tc=function(){var e=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function xw(e){return!!tc&&tc in e}var ww=xw,Cw=Function.prototype,Tw=Cw.toString;function Ew(e){if(e!=null){try{return Tw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var hp=Ew,Sw=pp,Rw=ww,Ow=io,Mw=hp,Pw=/[\\^$.*+?()[\]{}|]/g,Dw=/^\[object .+?Constructor\]$/,kw=Function.prototype,Iw=Object.prototype,Aw=kw.toString,Nw=Iw.hasOwnProperty,$w=RegExp("^"+Aw.call(Nw).replace(Pw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Lw(e){if(!Ow(e)||Rw(e))return!1;var t=Sw(e)?$w:Dw;return t.test(Mw(e))}var Fw=Lw;function Hw(e,t){return e==null?void 0:e[t]}var Bw=Hw,jw=Fw,zw=Bw;function Ww(e,t){var r=zw(e,t);return jw(r)?r:void 0}var mr=Ww,Vw=mr,Uw=Vw(Object,"create"),Ri=Uw,rc=Ri;function qw(){this.__data__=rc?rc(null):{},this.size=0}var Gw=qw;function Yw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Xw=Yw,Kw=Ri,Qw="__lodash_hash_undefined__",Zw=Object.prototype,Jw=Zw.hasOwnProperty;function eC(e){var t=this.__data__;if(Kw){var r=t[e];return r===Qw?void 0:r}return Jw.call(t,e)?t[e]:void 0}var tC=eC,rC=Ri,nC=Object.prototype,oC=nC.hasOwnProperty;function iC(e){var t=this.__data__;return rC?t[e]!==void 0:oC.call(t,e)}var aC=iC,sC=Ri,lC="__lodash_hash_undefined__";function uC(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=sC&&t===void 0?lC:t,this}var cC=uC,dC=Gw,fC=Xw,pC=tC,hC=aC,mC=cC;function Xr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xr.prototype.clear=dC;Xr.prototype.delete=fC;Xr.prototype.get=pC;Xr.prototype.has=hC;Xr.prototype.set=mC;var gC=Xr;function vC(){this.__data__=[],this.size=0}var yC=vC;function bC(e,t){return e===t||e!==e&&t!==t}var qs=bC,_C=qs;function xC(e,t){for(var r=e.length;r--;)if(_C(e[r][0],t))return r;return-1}var Oi=xC,wC=Oi,CC=Array.prototype,TC=CC.splice;function EC(e){var t=this.__data__,r=wC(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():TC.call(t,r,1),--this.size,!0}var SC=EC,RC=Oi;function OC(e){var t=this.__data__,r=RC(t,e);return r<0?void 0:t[r][1]}var MC=OC,PC=Oi;function DC(e){return PC(this.__data__,e)>-1}var kC=DC,IC=Oi;function AC(e,t){var r=this.__data__,n=IC(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var NC=AC,$C=yC,LC=SC,FC=MC,HC=kC,BC=NC;function Kr(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])}}Kr.prototype.clear=$C;Kr.prototype.delete=LC;Kr.prototype.get=FC;Kr.prototype.has=HC;Kr.prototype.set=BC;var Mi=Kr,jC=mr,zC=Dt,WC=jC(zC,"Map"),Gs=WC,nc=gC,VC=Mi,UC=Gs;function qC(){this.size=0,this.__data__={hash:new nc,map:new(UC||VC),string:new nc}}var GC=qC;function YC(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var XC=YC,KC=XC;function QC(e,t){var r=e.__data__;return KC(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Pi=QC,ZC=Pi;function JC(e){var t=ZC(this,e).delete(e);return this.size-=t?1:0,t}var eT=JC,tT=Pi;function rT(e){return tT(this,e).get(e)}var nT=rT,oT=Pi;function iT(e){return oT(this,e).has(e)}var aT=iT,sT=Pi;function lT(e,t){var r=sT(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var uT=lT,cT=GC,dT=eT,fT=nT,pT=aT,hT=uT;function Qr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Qr.prototype.clear=cT;Qr.prototype.delete=dT;Qr.prototype.get=fT;Qr.prototype.has=pT;Qr.prototype.set=hT;var Ys=Qr,mp=Ys,mT="Expected a function";function Xs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(mT);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Xs.Cache||mp),r}Xs.Cache=mp;var gT=Xs,vT=gT,yT=500;function bT(e){var t=vT(e,function(n){return r.size===yT&&r.clear(),n}),r=t.cache;return t}var _T=bT,xT=_T,wT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,CT=/\\(\\)?/g,TT=xT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(wT,function(r,n,o,i){t.push(o?i.replace(CT,"$1"):n||r)}),t}),ET=TT;function ST(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 gp=ST,oc=oo,RT=gp,OT=tt,MT=Si,PT=1/0,ic=oc?oc.prototype:void 0,ac=ic?ic.toString:void 0;function vp(e){if(typeof e=="string")return e;if(OT(e))return RT(e,vp)+"";if(MT(e))return ac?ac.call(e):"";var t=e+"";return t=="0"&&1/e==-PT?"-0":t}var DT=vp,kT=DT;function IT(e){return e==null?"":kT(e)}var AT=IT,NT=tt,$T=Us,LT=ET,FT=AT;function HT(e,t){return NT(e)?e:$T(e,t)?[e]:LT(FT(e))}var Di=HT,BT=Si,jT=1/0;function zT(e){if(typeof e=="string"||BT(e))return e;var t=e+"";return t=="0"&&1/e==-jT?"-0":t}var ao=zT,WT=Di,VT=ao;function UT(e,t){t=WT(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[VT(t[r++])];return r&&r==n?e:void 0}var Ks=UT,qT=mr,GT=function(){try{var e=qT(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),yp=GT,sc=yp;function YT(e,t,r){t=="__proto__"&&sc?sc(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var XT=YT,KT=XT,QT=qs,ZT=Object.prototype,JT=ZT.hasOwnProperty;function eE(e,t,r){var n=e[t];(!(JT.call(e,t)&&QT(n,r))||r===void 0&&!(t in e))&&KT(e,t,r)}var tE=eE,rE=9007199254740991,nE=/^(?:0|[1-9]\d*)$/;function oE(e,t){var r=typeof e;return t=t==null?rE:t,!!t&&(r=="number"||r!="symbol"&&nE.test(e))&&e>-1&&e%1==0&&e<t}var Qs=oE,iE=tE,aE=Di,sE=Qs,lc=io,lE=ao;function uE(e,t,r,n){if(!lc(e))return e;t=aE(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var l=lE(t[o]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=a){var p=s[l];c=n?n(p,l,s):void 0,c===void 0&&(c=lc(p)?p:sE(t[o+1])?[]:{})}iE(s,l,c),s=s[l]}return e}var cE=uE,dE=Ks,fE=cE,pE=Di;function hE(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=dE(e,a);r(s,a)&&fE(i,pE(a,e),s)}return i}var mE=hE;function gE(e,t){return e!=null&&t in Object(e)}var vE=gE,yE=Gr,bE=Yr,_E="[object Arguments]";function xE(e){return bE(e)&&yE(e)==_E}var wE=xE,uc=wE,CE=Yr,bp=Object.prototype,TE=bp.hasOwnProperty,EE=bp.propertyIsEnumerable,SE=uc(function(){return arguments}())?uc:function(e){return CE(e)&&TE.call(e,"callee")&&!EE.call(e,"callee")},ki=SE,RE=9007199254740991;function OE(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=RE}var Zs=OE,ME=Di,PE=ki,DE=tt,kE=Qs,IE=Zs,AE=ao;function NE(e,t,r){t=ME(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=AE(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&&IE(o)&&kE(a,o)&&(DE(e)||PE(e)))}var $E=NE,LE=vE,FE=$E;function HE(e,t){return e!=null&&FE(e,t,LE)}var _p=HE,BE=mE,jE=_p;function zE(e,t){return BE(e,t,function(r,n){return jE(e,n)})}var WE=zE;function VE(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var xp=VE,cc=oo,UE=ki,qE=tt,dc=cc?cc.isConcatSpreadable:void 0;function GE(e){return qE(e)||UE(e)||!!(dc&&e&&e[dc])}var YE=GE,XE=xp,KE=YE;function wp(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=KE),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?wp(s,t-1,r,n,o):XE(o,s):n||(o[o.length]=s)}return o}var QE=wp,ZE=QE;function JE(e){var t=e==null?0:e.length;return t?ZE(e,1):[]}var eS=JE;function tS(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 rS=tS,nS=rS,fc=Math.max;function oS(e,t,r){return t=fc(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=fc(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),nS(e,this,s)}}var iS=oS;function aS(e){return function(){return e}}var sS=aS;function lS(e){return e}var Js=lS,uS=sS,pc=yp,cS=Js,dS=pc?function(e,t){return pc(e,"toString",{configurable:!0,enumerable:!1,value:uS(t),writable:!0})}:cS,fS=dS,pS=800,hS=16,mS=Date.now;function gS(e){var t=0,r=0;return function(){var n=mS(),o=hS-(n-r);if(r=n,o>0){if(++t>=pS)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var vS=gS,yS=fS,bS=vS,_S=bS(yS),xS=_S,wS=eS,CS=iS,TS=xS;function ES(e){return TS(CS(e,void 0,wS),e+"")}var SS=ES,RS=WE,OS=SS,MS=OS(function(e,t){return e==null?{}:RS(e,t)}),el=MS,xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.SCROLL_TO_Y=xe.SCROLL_TO_X=xe.SCROLL_END=xe.SCROLL_START=xe.PROP_CHANGE=xe.INITIALIZE=xe.COLUMN_RESIZE=xe.COLUMN_REORDER_MOVE=xe.COLUMN_REORDER_END=xe.COLUMN_REORDER_START=void 0;var PS="COLUMN_REORDER_START";xe.COLUMN_REORDER_START=PS;var DS="COLUMN_REORDER_END";xe.COLUMN_REORDER_END=DS;var kS="COLUMN_REORDER_MOVE";xe.COLUMN_REORDER_MOVE=kS;var IS="COLUMN_RESIZE";xe.COLUMN_RESIZE=IS;var AS="INITIALIZE";xe.INITIALIZE=AS;var NS="PROP_CHANGE";xe.PROP_CHANGE=NS;var $S="SCROLL_START";xe.SCROLL_START=$S;var LS="SCROLL_END";xe.SCROLL_END=LS;var FS="SCROLL_TO_X";xe.SCROLL_TO_X=FS;var HS="SCROLL_TO_Y";xe.SCROLL_TO_Y=HS;var _t={};Object.defineProperty(_t,"__esModule",{value:!0});_t.resizeColumn=_t.moveColumnReorder=_t.stopColumnReorder=_t.startColumnReorder=void 0;var Ii=xe,BS=function(t){return{type:Ii.COLUMN_REORDER_START,reorderData:t}};_t.startColumnReorder=BS;var jS=function(){return{type:Ii.COLUMN_REORDER_END}};_t.stopColumnReorder=jS;var zS=function(t){return{type:Ii.COLUMN_REORDER_MOVE,deltaX:t}};_t.moveColumnReorder=zS;var WS=function(t){return{type:Ii.COLUMN_RESIZE,resizeData:t}};_t.resizeColumn=WS;var xt={};Object.defineProperty(xt,"__esModule",{value:!0});xt.stopScroll=xt.startScroll=xt.scrollToY=xt.scrollToX=void 0;var Ai=xe,VS=function(t){return{type:Ai.SCROLL_TO_X,scrollX:t}};xt.scrollToX=VS;var US=function(t){return{type:Ai.SCROLL_TO_Y,scrollY:t}};xt.scrollToY=US;var qS=function(){return{type:Ai.SCROLL_START}};xt.startScroll=qS;var GS=function(){return{type:Ai.SCROLL_END}};xt.stopScroll=GS;var Cp={},YS=Gr,XS=Yr,KS="[object Number]";function QS(e){return typeof e=="number"||XS(e)&&YS(e)==KS}var ZS=QS,JS=ZS;function eR(e){return JS(e)&&e!=+e}var tR=eR,mt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(c){return typeof c}:t=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},t(s)}var r=/\//g,n={};function o(s){return n[s]||(n[s]=s.replace(r,"_")),n[s]}function i(s){var l;return t(s)=="object"?l=Object.keys(s).filter(function(c){return s[c]}):l=Array.prototype.slice.call(arguments),l.map(o).join(" ")}var a=i;e.default=a})(mt);var Tp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i,a,s){a=a||setTimeout,s=s||clearTimeout;var l;function c(){for(var p=arguments.length,h=new Array(p),d=0;d<p;d++)h[d]=arguments[d];c.reset();var m=function(){n.apply(i,h)};m.__SMmeta=n.__SMmeta,l=a(m,o)}return c.reset=function(){s(l)},c}var r=t;e.default=r})(Tp);var Gt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n){n||(n="");var o,i=arguments.length;if(i>1)for(var a=1;a<i;a++)o=arguments[a],o&&(n=(n?n+" ":"")+o);return n}var r=t;e.default=r})(Gt);var so={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(o)}function r(o,i){if(o===i)return!0;if(t(o)!=="object"||o===null||t(i)!=="object"||i===null)return!1;var a=Object.keys(o),s=Object.keys(i);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(i),c=0;c<a.length;c++)if(!l(a[c])||o[a[c]]!==i[a[c]])return!1;return!0}var n=r;e.default=n})(so);var tl={},Yt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){return function(){return o}}function r(){}r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(o){return o};var n=r;e.default=n})(Yt);var Ep={},Sp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!1,r,n,o,i,a,s,l,c,p,h,d,m,g,v,y;function w(){if(!t){t=!0;var x=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(x),C=/(Mac OS X)|(Windows)|(Linux)/.exec(x);if(m=/\b(iPhone|iP[ao]d)/.exec(x),g=/\b(iP[ao]d)/.exec(x),h=/Android/i.exec(x),v=/FBAN\/\w+;/i.exec(x),y=/Mobile/i.exec(x),d=!!/Win64/.exec(x),b){r=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var S=/(?:Trident\/(\d+.\d+))/.exec(x);s=S?parseFloat(S[1])+4:r,n=b[2]?parseFloat(b[2]):NaN,o=b[3]?parseFloat(b[3]):NaN,i=b[4]?parseFloat(b[4]):NaN,i?(b=/(?:Chrome\/(\d+\.\d+))/.exec(x),a=b&&b[1]?parseFloat(b[1]):NaN):a=NaN}else r=n=o=a=i=NaN;if(C){if(C[1]){var O=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(x);l=O?parseFloat(O[1].replace("_",".")):!0}else l=!1;c=!!C[2],p=!!C[3]}else l=c=p=!1}}var E={ie:function(){return w()||r},ieCompatibilityMode:function(){return w()||s>r},ie64:function(){return E.ie()&&d},firefox:function(){return w()||n},opera:function(){return w()||o},webkit:function(){return w()||i},safari:function(){return E.webkit()},chrome:function(){return w()||a},windows:function(){return w()||c},osx:function(){return w()||l},linux:function(){return w()||p},iphone:function(){return w()||m},mobile:function(){return w()||m||g||h||y},nativeApp:function(){return w()||v},android:function(){return w()||h},ipad:function(){return w()||g}},_=E;e.default=_})(Sp);var Rp={},rl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!!(typeof window!="undefined"&&window.document&&window.document.createElement),r={canUseDOM:t,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t},n=r;e.default=n})(rl);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(rl);function r(a){return a&&a.__esModule?a:{default:a}}var n;t.default.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
221
|
+
`)},D_=600,k_=11,I_=({dataOptions:e,dataSource:t,filters:r=[]})=>{const{app:n}=u.useSisenseContext(),o=F.useCallback(a=>rt(exports,null,function*(){if(!n||!e.details||u.isMeasureColumn(e.details))return[];const s=e.locations.map((p,h)=>{const d=u.translateColumnToAttribute(p),m=a_(a)[h];return u.members(d,[m])}),l={dataSource:t,dimensions:[u.translateColumnToAttribute(e.details)],filters:lt(r,s),count:k_};return(yield u.executeQuery(l,n)).rows.map(([p])=>p.text)}),[n,e,t,r]);return F.useCallback(a=>{if(!e.details||e.details&&!u.isMeasureColumn(e.details)&&!t)return{content:Oo(a,e)};if(u.isMeasureColumn(e.details))return{content:Oo(a,e,ca.YES)};const s=new Promise(c=>S_(c,D_)),l=Promise.all([o(a.name),s]).then(([c])=>Oo(J(q({},a),{details:c}),e,ca.YES));return{content:Oo(a,e,ca.LOADING),postponedContent:l}},[e,t,o])},A_=({chartData:e,dataOptions:t,dataSource:r,filters:n=[],designOptions:o,onDataPointClick:i})=>{const{locations:a}=e,s=m_(),{themeSettings:l}=u.useThemeContext(),c=f_(a,t.locationLevel),{filters:p}=u.getFilterListAndRelationsJaql(n),h=I_({dataOptions:t,dataSource:r,filters:p}),d=F.useRef(null),m=F.useRef(null),g=F.useMemo(()=>h_(c,t.size?o.markers.size.minSize:o.markers.size.defaultSize,t.size?o.markers.size.maxSize:o.markers.size.defaultSize),[c,t,o]),v=F.useMemo(()=>{var x;return y_(c,(x=t.colorBy)==null?void 0:x.color)},[c,t]),y=F.useRef([]),w=F.useRef(u.Leaflet.layerGroup([])),E=F.useRef(null),_=F.useRef(null);return F.useEffect(()=>{d.current&&!m.current&&(m.current=u.Leaflet.map(d.current,{attributionControl:!1,scrollWheelZoom:!0,minZoom:1,worldCopyJump:!0}),w.current.addTo(m.current),m.current.fitWorld())},[]),F.useEffect(()=>{y.current&&(w_(y.current),y.current=[]),c&&(c.forEach((x,b)=>{if(!x.coordinates)return;const C=b_({coordinates:x.coordinates,style:{color:v[b],size:g[b],fill:o.markers.fill,blur:!!x.blur}});y.current.push(C),C.addTo(w.current),i&&C.on("click",S=>{i(l_(x,t),S.originalEvent)}),C.bindTooltip(()=>{const{content:S,postponedContent:O}=h(x);return O==null||O.then(M=>C.setTooltipContent(M)),S})}),u.fitMapToBounds(m.current,y.current,u.prepareFitBoundsAnimationOptions(l)))},[c,v,g,o,l,t,h,i]),F.useEffect(()=>{var x;s&&(E.current&&E.current.remove(),E.current=u.Leaflet.tileLayer(s.maps_api_provider,{zoomOffset:-1,tileSize:512}),m.current&&(E.current.addTo(m.current),(x=_.current)==null||x.remove(),_.current=C_(m.current,s.maps_api_provider)))},[s]),u.jsx("div",{className:"csdk-map-container",ref:d,style:{width:"100%",height:"100%"}})},Uf=e=>e.type==="scattermap"&&"locations"in e,N_=e=>"locations"in e,$_=e=>"markers"in e,L_=e=>!!e.chartData&&Uf(e.chartData)&&N_(e.dataOptions)&&$_(e.designOptions),F_="_wrapper_g0ngm_1",H_="_title_g0ngm_7",B_="_image_g0ngm_18",pa={wrapper:F_,title:H_,image:B_},j_="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",z_="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",W_="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",V_="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",U_="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",q_="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",G_="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",Y_="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",X_="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2017.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20566%20700'%20enable-background='new%200%200%20566%20700'%20xml:space='preserve'%3e%3cg%20id='Layer_1'%3e%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",K_="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",Q_="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",Hu="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",Z_="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",J_="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",Bu={area:j_,line:z_,bar:W_,column:V_,polar:U_,funnel:q_,pie:G_,scatter:Y_,indicator:X_,table:K_,treemap:Q_,areamap:Hu,scattermap:Hu,boxplot:Z_,sunburst:J_};function ex(e){var r;return(r=Bu[e])!=null?r:Bu["bar"]}const Hs=({iconType:e})=>{var s;const{themeSettings:t}=u.useThemeContext(),r=F.useRef(null),[n,o]=F.useState({width:null,height:null});F.useEffect(()=>{r.current&&o({width:r.current.offsetWidth,height:r.current.offsetHeight})},[]);const i=ex(e),{t:a}=u.useTranslation();return u.jsxs("div",{ref:r,className:pa.wrapper,children:[u.jsx("div",{className:pa.title,style:{fontFamily:(s=t.typography)==null?void 0:s.fontFamily,fontSize:tx(n.width,n.height)},children:a("chartNoData")}),i?u.jsx("img",{className:pa.image,src:i}):null]})};function tx(e,t){return!e||!t?"18px":e<300?`${Math.max(Math.sqrt(e*e+t*t)*.045,18)}px`:`${Math.min(Math.max(t*.09,18),60)}px`}const rx=(e,t,r)=>({width:(t==null?void 0:t.width)||(e==null?void 0:e.width)||r.width,height:(t==null?void 0:t.height)||(e==null?void 0:e.height)||r.height}),Ei=({children:e,defaultSize:t,size:r,rerenderOnResize:n=!1,useContentSize:o,onSizeChange:i})=>{const a=F.useRef(null),[s,l]=F.useState(),c=F.useCallback(()=>{var _,x;const E={width:(_=a.current)==null?void 0:_.offsetWidth,height:(x=a.current)==null?void 0:x.offsetHeight};l(b=>{const C=(b==null?void 0:b.width)===0&&E.width===t.width,S=(b==null?void 0:b.height)===0&&E.height===t.height,O={width:C?b.width:E.width,height:S?b.height:E.height};return u.isEqual(b,O)?b:O})},[a,t]);F.useLayoutEffect(()=>{c()},[c]),F.useEffect(()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)),[c]);const p=F.useMemo(()=>rx(s,r,t),[s,t,r]),h=!!s;F.useEffect(()=>{h&&i&&i(p)},[p,h,i]);const d={width:r!=null&&r.width&&!(o!=null&&o.width)?`${r.width}px`:"100%",height:r!=null&&r.height&&!(o!=null&&o.height)?`${r.height}px`:"100%"},m=(s==null?void 0:s.width)||(s==null?void 0:s.width)===void 0,g=(s==null?void 0:s.height)||(s==null?void 0:s.width)===void 0,v={width:m||o!=null&&o.width?"100%":`${p.width}px`,height:g||o!=null&&o.height?"100%":`${p.height}px`,position:"relative"},y=o!=null&&o.width||o!=null&&o.height?{position:"static",width:"100%",height:"100%"}:{position:"absolute",top:0,right:0,bottom:0,left:0},w=n?`${p==null?void 0:p.width}${p==null?void 0:p.height}`:"";return u.jsx("div",{style:d,ref:a,children:u.jsx("div",{style:v,children:u.jsx("div",{style:y,children:p&&(typeof e=="function"?e(p):e)})},w)})},qf={width:400,height:500},Bs=e=>u.isTable(e)?{width:400,height:500}:u.isIndicator(e)?{width:200,height:200}:{width:400,height:400},nx=25,Gf=(e,{hasHeader:t}={})=>{const r=e==="pivot"?qf:Bs(e);return t&&(r.height=r.height+nx),r},Bo=({isVisible:e,themeSettings:t,children:r})=>u.jsxs("div",{id:"overlay",className:"csdk-relative csdk-h-full",children:[e&&u.jsx("div",{className:"csdk-absolute csdk-h-full csdk-w-full csdk-z-[401] csdk-opacity-80","aria-label":"csdk-loading-overlay",children:u.jsx("div",{className:"csdk-h-full csdk-bg-transparent",children:u.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:u.jsx("div",{style:{backgroundColor:t.general.backgroundColor},className:"csdk-p-1.5 csdk-bg-background-priority csdk-rounded-full",children:u.jsx(gs,{color:t==null?void 0:t.chart.textColor})})})})}),r]});function Wa(e,t,r=u.getBaseDateFnsLocale(),n=u.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(u.isMeasureColumn(a)||!a.dateFormat||!(e!=null&&e.columns))return;const s=e.columns.findIndex(function(c){return c.name===a.column.name&&u.isDatetime(a.column.type)&&u.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 p=o.get(c);if(!p)return l;let h,d;if(u.isCell(l))h=q({},l);else{const g=u.createCompareValue(`${l}`,"datetime");d=new Date(g.value),h={data:d.toISOString(),text:`${l}`}}if(!h.data)return l;let m=h.text;try{m=u.applyDateFormat(u.parseISO(h.data),p,r,n)}catch(g){console.error(g)}return h.text=m,h})})),e}function ox(e,t){return ax(e,t)}const ix={pie:{category:3,value:1},funnel:{category:1,value:1},treemap:{category:3,value:1},sunburst:{category:6,value:1}};function ax(e,t){const r=ix[e];t.category.length>r.category&&console.warn(`Maximum 'category' length is limited to ${r.category} for '${e}' chart. Taken first ${r.category} categories`);const n=t.category.slice(0,r.category);let o=t.value;return(e!=="pie"||t.category.length>0)&&(t.value.length>r.value&&console.warn(`Maximum 'value' length is limited to ${r.value} for '${e}' chart. Taken first ${r.value} values`),o=t.value.slice(0,r.value)),J(q({},t),{category:n,value:o})}const js=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},sx=(e,t)=>{if(t==="funnel"){const r=u.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},Yf=(e,t,r,n,o,i)=>{if(!e)return!0;if(t.length+r.length===0)throw new u.TranslatableError("errors.dataOptions.noDimensionsAndMeasures");return t.forEach(a=>{if(e.columns.findIndex(l=>l.name===a.name)===-1)throw new u.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 u.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 u.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 u.TranslatableError("errors.dataOptions.highlightAttributeNotFound",{attributeName:a.attribute.name})}),!0};function lx(e,t){switch(e){case"pie":case"funnel":case"treemap":return ox(e,t);default:return t}}const zs=()=>{const[e,t]=F.useState();if(e)throw e;return t},ux=e=>e==="funnel"?e:u.deriveChartFamily(e),cx=({dataSet:e,chartDataOptions:t,chartType:r,attributes:n,measures:o,dataColumnNamesMapping:i,filters:a,highlights:s,refreshCounter:l,setIsLoading:c,enabled:p=!0,loadData:h})=>{const d=zs(),m=F.useMemo(()=>ux(r),[r]),g=F.useMemo(()=>[void 0,t],[t]),[v,y]=F.useState({}),{app:w}=u.useSisenseContext();return F.useEffect(()=>{if(!p)return;let E=!1;const{filters:_,relations:x}=u.getFilterListAndRelationsJaql(a);if(Wt(e)){if(!w)return;const b=h({app:w,chartDataOptionsInternal:t,queryDescription:{dataSource:e,dimensions:n,measures:o,filters:_,filterRelations:x,highlights:s,count:w.settings.queryLimit}}),C=w==null?void 0:w.settings.loadingIndicatorConfig,S=setTimeout(()=>{C!=null&&C.enabled&&(c==null||c(!0))},C==null?void 0:C.delay);b.then(O=>{const M=Wa(O,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);E||y({[m]:[M,t]})}).catch(O=>{d(O)}).finally(()=>{clearTimeout(S),C!=null&&C.enabled&&(c==null||c(!1))})}else{Yf(e,n,o,i,_,s);const b=Wa(e,t,w==null?void 0:w.settings.locale,w==null?void 0:w.settings.dateConfig);y({[m]:[b,t]})}return()=>{E=!0}},[r,t,e,a,s,w,l,p]),v[m]||g},dx=(e,t)=>{switch(t){case"iqr":return pm(e);case"extremums":return hm(e);case"standardDeviation":return mm(e)}},fx=(e,t)=>{switch(t){case"iqr":return gm(e);case"standardDeviation":return vm(e)}},px=(e,t,r)=>{const{column:n,style:o}=u.splitColumn(e);let i=dx(n,t),a;return o&&(i=i.map(s=>q({column:s},o))),r&&(a=fx(n,t),a&&o&&(a=q({column:a},o))),{values:i,outliers:a}},hx=e=>e.value.length>1,Xf=e=>{var h;const{category:t}=e;let r,n,o;if(hx(e))r=e.value,o=e.valueTitle,n=(h=e.outliers)==null?void 0:h[0];else{const{outliersEnabled:d,boxType:m}=e,g=u.normalizeColumn(e.value[0]),{values:v,outliers:y}=px(g,m,!!d);r=v,n=y,o=u.getDataOptionTitle(g)}const[i,a,s,l,c,p]=r;return{category:t[0]&&u.normalizeColumn(t[0]),boxMin:i&&u.normalizeMeasureColumn(i),boxMedian:a&&u.normalizeMeasureColumn(a),boxMax:s&&u.normalizeMeasureColumn(s),whiskerMin:l&&u.normalizeMeasureColumn(l),whiskerMax:c&&u.normalizeMeasureColumn(c),outliersCount:p&&u.normalizeMeasureColumn(p),outliers:n&&u.normalizeColumn(n),valueTitle:o}},ju={city:4,state:3,country:2,auto:1};function mx(e){return e.filter(r=>"geoLevel"in r&&r.geoLevel).map(r=>r.geoLevel).reduce((r,n)=>ju[n]>ju[r]?n:r,"auto")}function gx(e){const{geo:t,size:r,colorBy:n,details:o}=e;return{locations:t.map(u.normalizeColumn),size:r&&u.normalizeMeasureColumn(r),colorBy:n&&u.normalizeMeasureColumn(n),details:o&&u.normalizeAnyColumn(o),locationLevel:mx(t)}}function vx(e){var i;const t=e.value.map(a=>{if(a!=null&&a.chartType)return[u.normalizeMeasureColumn(a)];const h=a,{lowerBound:s,upperBound:l,title:c}=h,p=br(h,["lowerBound","upperBound","title"]);return[u.normalizeMeasureColumn(q({column:u.safeMerge(s,{title:c})},p)),u.normalizeMeasureColumn(q({column:u.safeMerge(l,{title:c})},p))]}),r=t.flat(),n=t.filter(a=>a.length===2),o=t.filter(a=>a.length===1).flat();return{x:e.category.map(u.normalizeColumn),breakBy:((i=e.breakBy)==null?void 0:i.map(u.normalizeColumn))||[],y:r,rangeValues:n,seriesValues:o,seriesToColorMap:e.seriesToColorMap}}const yx=(e,t)=>{if(u.emptyTable(t))return{rows:[],columns:[]};const r=u.getColumnsByName(t,e);return u.selectColumns(t,r)},Va=({column:e,sortType:t})=>{switch("getSort"in e?e.getSort():t){case"sortAsc":case u.Sort.Ascending:return 1;case"sortDesc":case u.Sort.Descending:return-1;default:return 0}},bx=(e,t)=>{const r=e.columns.find(n=>Va(n)!==0);if(r){const n=u.getColumnByName(t,r.column.name);n&&(n.direction=Va(r))}return t},Kf=e=>{if(!("sortType"in e))return e;const t=e.sortType,r=u.convertSortDirectionToSort(t);return J(q({},e),{sortType:t,column:_x(e.column,r)})};function _x(e,t){return wx(e)?xx(e,t):e}function xx(e,t){const r=e.sort(t);return u.isMeasureColumn(r)&&u.isMeasureColumn(e)&&(r.title=e.title),r}function wx(e){return"sort"in e&&typeof e.sort=="function"}const Cx=(e,t)=>({columns:e.columns.map(r=>{const n=r.column.name===t.name,o=Va(r),i=n?o===1?"sortDesc":"sortAsc":"sortNone";return r.sortType=i,Kf(r)})}),Tx=(e,t)=>{const r=yx(e.columns.map(({column:{name:n}})=>n),t);return bx(e,r)};function Ex(e,t){if(u.isCartesian(e))return u.translateCartesianChartDataOptions(t);if(u.isCategorical(e))return Sx(t);if(u.isIndicator(e))return Rx(t);if(u.isScatter(e))return Ox(t);if(u.isBoxplot(e))return Xf(t);if(u.isScattermap(e))return gx(t);if(u.isRange(e))return vx(t);throw new u.TranslatableError("errors.unexpectedChartType",{chartType:e})}const Sx=e=>({y:e.value.map(u.normalizeMeasureColumn),breakBy:e.category.map(u.normalizeColumn),seriesToColorMap:e.seriesToColorMap}),Rx=e=>{var t,r,n,o,i,a;return{value:(t=e.value)==null?void 0:t.map(u.normalizeMeasureColumn),secondary:(r=e.secondary)==null?void 0:r.map(u.normalizeMeasureColumn),min:(o=(n=e.min)==null?void 0:n.map(u.normalizeMeasureColumn))==null?void 0:o.map(zu("min")),max:(a=(i=e.max)==null?void 0:i.map(u.normalizeMeasureColumn))==null?void 0:a.map(zu("max"))}},zu=e=>t=>{const{column:r}=t,n="aggregation"in r&&r.aggregation||e;return J(q({},t),{column:u.safeMerge(r,{aggregation:n})})},Ox=e=>{const{x:t,y:r,breakByPoint:n,breakByColor:o,size:i,seriesToColorMap:a}=e;return{x:t&&u.normalizeAnyColumn(t),y:r&&u.normalizeAnyColumn(r),breakByPoint:n&&u.normalizeColumn(n),breakByColor:o&&u.normalizeAnyColumn(o),size:i&&u.normalizeMeasureColumn(i),seriesToColorMap:a}};function Mx(e,t){let r=[];return u.isScatter(t)?r=["x","y","breakByPoint","breakByColor"]:u.isCartesian(t)||u.isCategorical(t)||u.isRange(t)?r=["x","breakBy"]:u.isBoxplot(t)?r=["category","outliers"]:u.isScattermap(t)&&(r=["locations"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(o=>!u.isMeasureColumn(o)).map(({column:o})=>o)}function Px(e,t){let r=[];return u.isIndicator(t)?r=["value","secondary","min","max"]:u.isScatter(t)?r=["x","y","breakByColor","size"]:u.isCartesian(t)||u.isCategorical(t)||u.isRange(t)?r=["y"]:u.isBoxplot(t)?r=["boxMin","boxMedian","boxMax","whiskerMin","whiskerMax","outliersCount"]:u.isScattermap(t)&&(r=["size","colorBy","details"]),r.flatMap(o=>{var i;return(i=e[o])!=null?i:[]}).filter(u.isMeasureColumn).map(({column:o})=>o)}function Qf(e){return{columns:e.columns.map(u.normalizeAnyColumn).map(Kf)}}function Dx(e){var t,r,n;return{rows:(t=e.rows)==null?void 0:t.map(u.normalizeColumn),columns:(r=e.columns)==null?void 0:r.map(u.normalizeColumn),values:(n=e.values)==null?void 0:n.map(u.normalizeMeasureColumn),grandTotals:e.grandTotals}}function Zf(e,t){{const r=lx(t,e),n=Ex(t,r),o=sx(n,t),i=Mx(o,t),a=Px(o,t);return{dataOptions:o,attributes:i,measures:a}}}const kx=(e,t)=>F.useMemo(()=>{if(u.isRestructuredChartType(t)){const r=u.getChartBuilder(t);if(!r.dataOptions.isCorrectDataOptions(e))throw new Error("Incorrect data options");return Ix(r,e)}else return Ax(e,t)},[e,t]);function Ix(e,t){const r=e.dataOptions.translateDataOptionsToInternal(t),n=e.dataOptions.getAttributes(r),o=e.dataOptions.getMeasures(r),i=js(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function Ax(e,t){const{dataOptions:r,attributes:n,measures:o}=Zf(e,t),i=js(o);return{dataOptions:r,attributes:n,measures:o,dataColumnNamesMapping:i}}function Nx(e){const{dataSet:t,chartType:r,chartData:n,internalDataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c,filters:p}=e;return!o||!i?null:{dataSource:Wt(t)?t:null,chartType:r,chartData:n,dataOptions:o,designOptions:i,onBeforeRender:a,onDataPointClick:s,onDataPointContextMenu:l,onDataPointsSelected:c,filters:p}}const $x=(e,t)=>{const r=e.category&&u.getColumnByName(t,e.category.column.name);r&&(r.direction=u.sortDirection(e.category.sortType));const n=u.getOrderedXValues(t,[],r?[r]:[],(r==null?void 0:r.direction)===0?u.rownumColumnName:void 0),o=u.getIndexedRows(t.rows,r?[r]:[]),i=u.getColumnByName(t,e.boxMin.column.name),a=u.getColumnByName(t,e.boxMedian.column.name),s=u.getColumnByName(t,e.boxMax.column.name),l=u.getColumnByName(t,e.whiskerMin.column.name),c=u.getColumnByName(t,e.whiskerMax.column.name),p=e.outliers&&u.getColumnByName(t,e.outliers.column.name),h=[],d=[];n.forEach((g,v)=>{const y=o[g.key],w=y?y[0]:[],E=r&&!!u.isBlurred(w,r);h.push({q1:i?u.getValue(w,i):0,median:a?u.getValue(w,a):0,q3:s?u.getValue(w,s):0,low:l?u.getValue(w,l):0,high:c?u.getValue(w,c):0,blur:E});const _=p?w[p.index].rawValue.split(",").map(x=>parseFloat(x)):[];d.push(..._.map(x=>({x:v,y:x,blur:E})))});const m=[{name:e.valueTitle,title:e.valueTitle,data:h}];return d.length>0&&m.push({name:e.valueTitle,title:e.valueTitle,data:d}),{type:"boxplot",xValues:n,series:m}};function Lx(e){return e.type==="boxplot"}const Fx=2e4;function gn(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 Jf=(e,t,r)=>{if(!e)return{columns:[],rows:[]};let n=0,o=4,i=5,a=0,s=1;return r&&(n=gn(e.columns,r.category),o=gn(e.columns,r.whiskerMin),i=gn(e.columns,r.whiskerMax),a=gn(t.columns,r.category),s=gn(t.columns,r.outliers)),u.isNull(s)?e:{columns:[...e.columns,t.columns[s]],rows:e.rows.map(c=>{const p=u.isNull(n)?null:c[n].data,h=c[i].data,d=c[o].data,m=t.rows.filter(g=>{const v=u.isNull(a)?null:g[a].data,y=g[s].data;return v===p&&(y<d||y>h)}).map(g=>g[s].data).join(",");return[...c,{data:m}]})}};function Hx(e,t,r){const n=r&&Xf(r);return Jf(e,t,n)}const Bx=(c,p)=>rt(exports,[c,p],function*({app:e,chartDataOptions:t,dataSource:r,attributes:n,measures:o,filters:i,filterRelations:a,highlights:s},l){var v;const h={dataSource:r,dimensions:t.category?[n[0]]:[],measures:o,filters:i,filterRelations:a,highlights:s},d=yield l(h,e);let m=d;const g=t.outliersCount?jx(d,t.outliersCount.column.name):0;if(t.outliers&&g<Fx){const y={dataSource:r,dimensions:n,measures:[],filters:i,filterRelations:a,highlights:s};try{const w=yield l(y,e);m=Jf(d,w,t)}catch(w){if((v=w==null?void 0:w.message)!=null&&v.includes("UnsupportedFunctionalityException"))console.warn("Functionality not supported by platform: Boxplot outliers");else throw w}}return m}),jx=(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 zx(e){return u.isRestructuredChartType(e)?u.getChartBuilder(e).data.loadData:e==="boxplot"?Vx:Wx}const Wx=n=>rt(exports,[n],function*({app:e,queryDescription:t,executionConfig:r}){var a,s;return(((s=(a=e==null?void 0:e.settings.queryCacheConfig)==null?void 0:a.enabled)!=null?s:!1)?u.executeQueryWithCache:u.executeQuery)(t,e,r)}),Vx=n=>rt(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)?u.executeQueryWithCache:u.executeQuery;return Bx({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)}),Ux=(e,t)=>{const r=J(q({},e),{x:e.breakBy,breakBy:[]});let n=u.cartesianData(r,t);if(e.breakBy.some(({column:{type:i},numberFormatConfig:a})=>u.isNumber$1(i)&&a)){const i=n.xValues.map(a=>{const s=[];return e.breakBy.forEach(({column:{type:l},numberFormatConfig:c},p)=>{const h=u.getCompleteNumberFormatConfig(c),d=a.xValues[p];u.isNumber$1(l)?s.push(u.applyFormatPlainText(h,parseFloat(d))):s.push(a.xValues[p])}),J(q({},a),{xValues:s})});n=J(q({},n),{xValues:i})}return J(q({},n),{type:"categorical"})},Mo=(e,t)=>{if(!t||t.length!==1)return[void 0,void 0];const r=u.getColumnByName(e,t[0].column.name);return r?[u.getValue(e.rows[0],r),t[0].column.name]:[void 0,void 0]},qx=(e,t)=>{var s;const r={type:"indicator"};if(!((s=e.value)!=null&&s.length)||t.rows.length===0)return r;const[n]=Mo(t,e.value);if(n===void 0)return r;const[o]=Mo(t,e.secondary),[i]=Mo(t,e.min),[a]=Mo(t,e.max);return{type:"indicator",value:n,secondary:o,min:i,max:a}},Gx="N\\A",Yx=1,Xx=(e,t)=>{const r=Kx(e),n=e.locations&&u.getColumnsByName(t,e.locations.map(({column:{name:l}})=>l)),o=e.size&&u.getColumnByName(t,e.size.column.name),i=e.colorBy&&u.getColumnByName(t,e.colorBy.column.name),a=e.details&&u.getColumnByName(t,e.details.column.name);return{type:"scattermap",locations:t.rows.filter(l=>n.some(c=>u.getValue(l,c)!==Gx)).map(l=>{const c=n.map(m=>u.getValue(l,m)),p=i_(c);let h;r&&(h={lat:u.getValue(l,n[0]),lng:u.getValue(l,n[1])});const d=n[0]&&!!u.isBlurred(l,n[0]);return q(J(q(q({name:p,rawName:c,value:o?u.getValue(l,o):Yx},i&&{colorValue:u.getValue(l,i)}),a&&{details:u.getValue(l,a)}),{blur:d}),h?{coordinates:h}:null)})}};function Kx(e){return e.locations.length===2&&e.locations.filter(({column:{type:t}})=>u.isNumber$1(t)).length===2}const Qx=(e,t,r)=>{if(u.isCartesian(e))return u.isForecastChart(t)?u.advancedAnalyticsData(t,r):u.cartesianData(t,r);if(u.isCategorical(e))return Ux(t,r);if(u.isScatter(e))return u.scatterData(t,r);if(u.isScattermap(e))return Xx(t,r);if(u.isIndicator(e))return qx(t,r);if(u.isBoxplot(e))return $x(t,r);if(u.isRange(e))return u.rangeData(t,r);throw new u.TranslatableError("errors.unexpectedChartType",{chartType:e})};var Zx=1/0,Jx=u.Set&&1/u.setToArray(new u.Set([,-0]))[1]==Zx?function(e){return new u.Set(e)}:u.noop,e3=200;function Ws(e,t,r){var n=-1,o=u.arrayIncludes,i=e.length,a=!0,s=[],l=s;if(i>=e3){var c=t?null:Jx(e);if(c)return u.setToArray(c);a=!1,o=u.cacheHas,l=new u.SetCache}else l=t?[]:s;e:for(;++n<i;){var p=e[n],h=t?t(p):p;if(p=p!==0?p:0,a&&h===h){for(var d=l.length;d--;)if(l[d]===h)continue e;t&&l.push(h),s.push(p)}else o(l,h,r)||(l!==s&&l.push(h),s.push(p))}return s}var t3=u.baseRest(function(e){return Ws(u.baseFlatten(e,1,u.isArrayLikeObject,!0))});const ep=(e,t,r,n={})=>{if(u.emptyTable(e))return{rows:[],columns:[]};const o=t3(u.getColumnsByName(e,t.map(p=>p.name))),i=e,s=[...r.map(p=>{var h,d;return{column:(h=n[p.name])!=null?h:p.name,title:p.name,agg:(d=p.aggregation)!=null?d:"sum"}}),{column:u.rownumColumnName,title:u.rownumColumnName,agg:"min"}],l=u.groupBy(i,o,s),c=u.getColumnByName(l,u.rownumColumnName);if(!c)throw new u.TranslatableError("errors.noRowNumColumn");return u.orderBy(l,[c])};function r3({dataSet:e,data:t,chartDataOptions:r,chartType:n,attributes:o,measures:i,dataColumnNamesMapping:a,onDataReady:s}){return F.useMemo(()=>{if(!t||!r)return null;let l;if(s&&(l=s(t),!tp(l)))throw new u.TranslatableError("errors.incorrectOnDataReadyHandler");const c=l||t;let p=u.createDataTableFromData(c);return Wt(e)||(p=ep(p,o,i,a)),n3(n,r,p)},[t,n])}function n3(e,t,r){if(u.isRestructuredChartType(e)){const n=u.getChartBuilder(e);if(n.dataOptions.isCorrectDataOptionsInternal(t))return n.data.getChartData(t,r);throw new Error("Incorrect internal data options for restructured chart")}return Qx(e,t,r)}const o3=e=>e==="indicator",i3=(e,t)=>e==="scatter"&&"scatterDataTable"in t?t.scatterDataTable.length===0:e==="areamap"&&u.isAreamapData(t)?t.geoData.length===0:e==="scattermap"&&Uf(t)?t.locations.length===0:e==="boxplot"&&Lx(t)?t.xValues.length===0:"series"in t&&t.series.length===0,Ua=e=>{const{chartType:t,dataSet:r,dataOptions:n,filters:o,highlights:i,styleOptions:a,refreshCounter:s,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:p,onBeforeRender:h,onDataReady:d}=e,[m,g]=F.useState(!1),v=Bs(t),{themeSettings:y}=u.useThemeContext(),{dataOptions:w,attributes:E,measures:_,dataColumnNamesMapping:x}=kx(n,t),b=E.length===0&&_.length===0,C=F.useMemo(()=>zx(t),[t]),[S,O]=cx({dataSet:r,chartDataOptions:w,chartType:t,attributes:E,measures:_,dataColumnNamesMapping:x,filters:o,highlights:i,refreshCounter:s,setIsLoading:g,enabled:!b,loadData:C}),M=F.useMemo(()=>n?u.prepareChartDesignOptions(t,O,a):null,[n,t,O,a]),D=r3({dataSet:r,data:S,chartDataOptions:w,chartType:t,attributes:E,measures:_,dataColumnNamesMapping:x,onDataReady:d}),R=Nx({dataSet:r,chartType:t,chartData:D,internalDataOptions:O,designOptions:M,onBeforeRender:h,onDataPointClick:l,onDataPointContextMenu:c,onDataPointsSelected:p,filters:o});return R?u.jsx(Ei,{defaultSize:v,size:{width:a==null?void 0:a.width,height:a==null?void 0:a.height},rerenderOnResize:o3(t),children:()=>{if(!D&&m)return u.jsx(si,{themeSettings:y});if(D&&i3(t,D)||b)return u.jsx(Hs,{iconType:t});if(u.isRestructuredChartType(t)){const T=u.getChartBuilder(t);if(T.renderer.isCorrectRendererProps(R))return u.jsx(T.renderer.ChartRendererComponent,q({},R))}return t==="scattermap"&&L_(R)?u.jsx(Bo,{themeSettings:y,isVisible:m,children:u.jsx(A_,q({},R))}):t==="indicator"&&I2(R)?u.jsx(Bo,{themeSettings:y,isVisible:m,children:u.jsx(M2,q({},R))}):u.isSisenseChartType(t)&&u.isSisenseChartProps(R)?u.jsx(Bo,{themeSettings:y,isVisible:m,children:u.jsx(u.SisenseChart,J(q({},R),{designOptions:q({},R.designOptions)}))}):null}}):null};function tp(e){return e&&typeof e=="object"&&"columns"in e&&u.isArray(e.columns)&&"rows"in e&&u.isArray(e.rows)}function a3(e){return we("MuiPagination",e)}Ce("MuiPagination",["root","ul","outlined","text"]);const s3=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function l3(e={}){const{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:p=!1,showLastButton:h=!1,siblingCount:d=1}=e,m=ae(e,s3),[g,v]=As({controlled:c,default:o,name:r,state:"page"}),y=(M,D)=>{c||v(D),l&&l(M,D)},w=(M,D)=>{const R=D-M+1;return Array.from({length:R},(T,I)=>M+I)},E=w(1,Math.min(t,n)),_=w(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(g-d,n-t-d*2-1),t+2),b=Math.min(Math.max(g+d,t+d*2+2),_.length>0?_[0]-2:n-1),C=[...p?["first"]:[],...s?[]:["previous"],...E,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...w(x,b),...b<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],..._,...a?[]:["next"],...h?["last"]:[]],S=M=>{switch(M){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return n;default:return null}},O=C.map(M=>typeof M=="number"?{onClick:D=>{y(D,M)},type:"page",page:M,selected:M===g,disabled:i,"aria-current":M===g?"true":void 0}:{onClick:D=>{y(D,S(M))},type:M,page:S(M),selected:!1,disabled:i||M.indexOf("ellipsis")===-1&&(M==="next"||M==="last"?g>=n:g<=1)});return u._extends({items:O},m)}function u3(e){return we("MuiPaginationItem",e)}const nt=Ce("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);function c3(e){return we("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const d3=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],f3=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${fe(t)}`,`fontSize${fe(r)}`]};return De(o,c3,n)},p3=le("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${fe(r.color)}`],t[`fontSize${fe(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,p,h,d,m,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(p=c.pxToRem)==null?void 0:p.call(c,35))||"2.1875rem"}[t.fontSize],color:(h=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?h:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),Ko=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:p=!1,titleAccess:h,viewBox:d="0 0 24 24"}=n,m=ae(n,d3),g=z.isValidElement(o)&&o.type==="svg",v=u._extends({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:d,hasSvgAsChild:g}),y={};p||(y.viewBox=d);const w=f3(v);return te.jsxs(p3,u._extends({as:s,className:se(w.root,i),focusable:"false",color:c,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:r},y,m,g&&o.props,{ownerState:v,children:[g?o.props.children:o,h?te.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(Ko.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});Ko.muiName="SvgIcon";function Ur(e,t){function r(n,o){return te.jsx(Ko,u._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ko.muiName,z.memo(z.forwardRef(r))}const Wu=Ur(te.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),Vu=Ur(te.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Uu=Ur(te.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),qu=Ur(te.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),h3=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],rp=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${fe(r.size)}`],r.variant==="text"&&t[`text${fe(r.color)}`],r.variant==="outlined"&&t[`outlined${fe(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},m3=e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${fe(i)}`,l,a,r!=="standard"&&`color${fe(r)}`,r!=="standard"&&`${l}${fe(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return De(c,u3,t)},g3=le("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:rp})(({theme:e,ownerState:t})=>u._extends({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${nt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),v3=le(hr,{name:"MuiPaginationItem",slot:"Root",overridesResolver:rp})(({theme:e,ownerState:t})=>u._extends({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${nt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${nt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${nt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>u._extends({},t.variant==="text"&&{[`&.${nt.selected}`]:u._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${nt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${nt.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${nt.selected}`]:u._extends({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Pe(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pe(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${nt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),y3=le("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>u._extends({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),np=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaginationItem"}),{className:o,color:i="standard",component:a,components:s={},disabled:l=!1,page:c,selected:p=!1,shape:h="circular",size:d="medium",slots:m={},type:g="page",variant:v="text"}=n,y=ae(n,h3),w=u._extends({},n,{color:i,disabled:l,selected:p,shape:h,size:d,type:g,variant:v}),E=bs(),_=m3(w),b=(E?{previous:m.next||s.next||qu,next:m.previous||s.previous||Uu,last:m.first||s.first||Wu,first:m.last||s.last||Vu}:{previous:m.previous||s.previous||Uu,next:m.next||s.next||qu,first:m.first||s.first||Wu,last:m.last||s.last||Vu})[g];return g==="start-ellipsis"||g==="end-ellipsis"?te.jsx(g3,{ref:r,ownerState:w,className:se(_.root,o),children:"…"}):te.jsxs(v3,u._extends({ref:r,ownerState:w,component:a,disabled:l,className:se(_.root,o)},y,{children:[g==="page"&&c,b?te.jsx(y3,{as:b,ownerState:w,className:_.icon}):null]}))});process.env.NODE_ENV!=="production"&&(np.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),component:f.elementType,components:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),disabled:f.bool,page:f.node,selected:f.bool,shape:f.oneOf(["circular","rounded"]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),slots:f.shape({first:f.elementType,last:f.elementType,next:f.elementType,previous:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const b3=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],_3=e=>{const{classes:t,variant:r}=e;return De({root:["root",r],ul:["ul"]},a3,t)},x3=le("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),w3=le("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function C3(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const op=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:i,color:a="standard",count:s=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:p=C3,hideNextButton:h=!1,hidePrevButton:d=!1,renderItem:m=O=>te.jsx(np,u._extends({},O)),shape:g="circular",showFirstButton:v=!1,showLastButton:y=!1,siblingCount:w=1,size:E="medium",variant:_="text"}=n,x=ae(n,b3),{items:b}=l3(u._extends({},n,{componentName:"Pagination"})),C=u._extends({},n,{boundaryCount:o,color:a,count:s,defaultPage:l,disabled:c,getItemAriaLabel:p,hideNextButton:h,hidePrevButton:d,renderItem:m,shape:g,showFirstButton:v,showLastButton:y,siblingCount:w,size:E,variant:_}),S=_3(C);return te.jsx(x3,u._extends({"aria-label":"pagination navigation",className:se(S.root,i),ownerState:C,ref:r},x,{children:te.jsx(w3,{className:S.ul,ownerState:C,children:b.map((O,M)=>te.jsx("li",{children:m(u._extends({},O,{color:a,"aria-label":p(O.type,O.page,O.selected),shape:g,size:E,variant:_}))},M))})}))});process.env.NODE_ENV!=="production"&&(op.propTypes={boundaryCount:bt,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","standard"]),f.string]),count:bt,defaultPage:bt,disabled:f.bool,getItemAriaLabel:f.func,hideNextButton:f.bool,hidePrevButton:f.bool,onChange:f.func,page:bt,renderItem:f.func,shape:f.oneOf(["circular","rounded"]),showFirstButton:f.bool,showLastButton:f.bool,siblingCount:bt,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["outlined","text"]),f.string])});const ip=e=>{const t=[],r=[];for(const n of e.columns)u.isMeasureColumn(n)?r.push(u.translateColumnToMeasure(n)):t.push(u.translateColumnToAttribute(n));return{attributes:t,measures:r}},T3=({dataSet:e,dataOptions:t,filters:r,filterRelations:n,count:o,offset:i})=>{const a=zs(),[s,l]=F.useState(Wt(e)?null:e),[c,p]=F.useState(!1),h=F.useRef(!0),{isInitialized:d,app:m}=u.useSisenseContext(),[g,v]=F.useState(t);return F.useEffect(()=>{var _;let y=!1;if(!t)return;const{attributes:w,measures:E}=ip(t);if(Wt(e)){if(!d){a(new u.TranslatableError("errors.chartNoSisenseContext"));return}if(!m||!h.current&&i>0)return;p(!0),((_=m.settings.queryCacheConfig)!=null&&_.enabled?u.executeQueryWithCache:u.executeQuery)({dataSource:e,dimensions:w,measures:E,filters:r,filterRelations:n,count:o+1,offset:i,ungroup:!0},m).then(b=>{if(y)return;h.current=b.rows.length>o;const C=h.current?b.rows.slice(0,o):b.rows;i>0?l(S=>{const O=S==null?void 0:S.rows.length,M=O?O>i?S.rows.slice(0,i):S.rows:null;return{columns:b.columns,rows:M?[...M,...C]:C}}):l({columns:b.columns,rows:C}),v(t)}).finally(()=>{p(!1)}).catch(b=>{y||a(b)})}else l(e),v(t);return()=>{y=!0}},[m,e,t,r,n,i,o,d,a]),[c?null:s,g]},E3=({data:e,innerDataOptions:t,dataColumnNamesMapping:r,needToAggregate:n=!1})=>{const{app:o}=u.useSisenseContext();return F.useMemo(()=>{if(!e||!t)return null;let i=u.createDataTableFromData(Wa(e,t,o==null?void 0:o.settings.locale,o==null?void 0:o.settings.dateConfig));const a=t.columns.filter(l=>!u.isMeasureColumn(l)).map(u.translateColumnToAttribute),s=t.columns.filter(l=>u.isMeasureColumn(l)).map(u.translateColumnToMeasure);return Yf(i,a,s,r),n&&(i=ep(i,a,s,r)),Tx(t,i)},[e,t,n,r,o])};var ap={},sp={};function Gu(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 Yu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gu(Object(r),!0).forEach(function(n){$m(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Xu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},zt={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function lp(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 S3(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(M3(e))return"date";if(O3(e))return"error";var r=R3(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 R3(e){return typeof e.constructor=="function"?e.constructor.name:null}function O3(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function M3(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Ht(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=S3(e)),t}function Vs(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Fe(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(1):"Expected the enhancer to be a function. Instead, received: '"+Ht(r)+"'");return r(Vs)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(2):"Expected the root reducer to be a function. Instead, received: '"+Ht(e)+"'");var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function p(){if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function h(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(4):"Expected the listener to be a function. Instead, received: '"+Ht(v)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return c(),s.push(v),function(){if(y){if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,c();var E=s.indexOf(v);s.splice(E,1),a=null}}}function d(v){if(!lp(v))throw new Error(process.env.NODE_ENV==="production"?Fe(7):"Actions must be plain objects. Instead, the actual type was: '"+Ht(v)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof v.type=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?Fe(9):"Reducers may not dispatch actions.");try{l=!0,i=o(i,v)}finally{l=!1}for(var y=a=s,w=0;w<y.length;w++){var E=y[w];E()}return v}function m(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?Fe(10):"Expected the nextReducer to be a function. Instead, received: '"+Ht(v));o=v,d({type:zt.REPLACE})}function g(){var v,y=h;return v={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(process.env.NODE_ENV==="production"?Fe(11):"Expected the observer to be an object. Instead, received: '"+Ht(E)+"'");function _(){E.next&&E.next(p())}_();var x=y(_);return{unsubscribe:x}}},v[Xu]=function(){return this},v}return d({type:zt.INIT}),n={dispatch:d,subscribe:h,getState:p,replaceReducer:m},n[Xu]=g,n}var P3=Vs;function Ku(e){typeof console!="undefined"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch(t){}}function D3(e,t,r,n){var o=Object.keys(t),i=r&&r.type===zt.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!lp(e))return"The "+i+' has unexpected type of "'+Ht(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===zt.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function k3(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:zt.INIT});if(typeof n=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:zt.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(process.env.NODE_ENV==="production"?Fe(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+zt.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function I3(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"&&Ku('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{k3(r)}catch(l){s=l}return function(c,p){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var h=D3(c,r,p,a);h&&Ku(h)}for(var d=!1,m={},g=0;g<i.length;g++){var v=i[g],y=r[v],w=c[v],E=y(w,p);if(typeof E=="undefined"){var _=p&&p.type;throw new Error(process.env.NODE_ENV==="production"?Fe(14):"When called with an action of type "+(_?'"'+String(_)+'"':"(unknown type)")+', the slice reducer for key "'+v+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}m[v]=E,d=d||E!==w}return d=d||i.length!==Object.keys(c).length,d?m:c}}function Qu(e,t){return function(){return t(e.apply(this,arguments))}}function A3(e,t){if(typeof e=="function")return Qu(e,t);if(typeof e!="object"||e===null)throw new Error(process.env.NODE_ENV==="production"?Fe(16):"bindActionCreators expected an object or a function, but instead received: '"+Ht(e)+`'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);var r={};for(var n in e){var o=e[n];typeof o=="function"&&(r[n]=Qu(o,t))}return r}function up(){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 N3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?Fe(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=up.apply(void 0,s)(o.dispatch),Yu(Yu({},o),{},{dispatch:i})}}}const $3=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:zt,applyMiddleware:N3,bindActionCreators:A3,combineReducers:I3,compose:up,createStore:Vs,legacy_createStore:P3},Symbol.toStringTag,{value:"Module"})),cp=u.getAugmentedNamespace($3);var qr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(o,i,a,s,l,c,p,h){if(process.env.NODE_ENV!=="production"&&i===void 0)throw new Error("invariant requires an error message argument");if(!o){var d;if(i===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[a,s,l,c,p,h],g=0;d=new Error("Invariant Violation: "+i.replace(/%s/g,function(){return m[g++]}))}throw d.framesToPop=1,d}},r=t;e.default=r})(qr);var L3=Array.isArray,tt=L3,F3=typeof u.commonjsGlobal=="object"&&u.commonjsGlobal&&u.commonjsGlobal.Object===Object&&u.commonjsGlobal,dp=F3,H3=dp,B3=typeof self=="object"&&self&&self.Object===Object&&self,j3=H3||B3||Function("return this")(),Dt=j3,z3=Dt,W3=z3.Symbol,oo=W3,Zu=oo,fp=Object.prototype,V3=fp.hasOwnProperty,U3=fp.toString,vn=Zu?Zu.toStringTag:void 0;function q3(e){var t=V3.call(e,vn),r=e[vn];try{e[vn]=void 0;var n=!0}catch(i){}var o=U3.call(e);return n&&(t?e[vn]=r:delete e[vn]),o}var G3=q3,Y3=Object.prototype,X3=Y3.toString;function K3(e){return X3.call(e)}var Q3=K3,Ju=oo,Z3=G3,J3=Q3,ew="[object Null]",tw="[object Undefined]",ec=Ju?Ju.toStringTag:void 0;function rw(e){return e==null?e===void 0?tw:ew:ec&&ec in Object(e)?Z3(e):J3(e)}var Gr=rw;function nw(e){return e!=null&&typeof e=="object"}var Yr=nw,ow=Gr,iw=Yr,aw="[object Symbol]";function sw(e){return typeof e=="symbol"||iw(e)&&ow(e)==aw}var Si=sw,lw=tt,uw=Si,cw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dw=/^\w*$/;function fw(e,t){if(lw(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||uw(e)?!0:dw.test(e)||!cw.test(e)||t!=null&&e in Object(t)}var Us=fw;function pw(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var io=pw,hw=Gr,mw=io,gw="[object AsyncFunction]",vw="[object Function]",yw="[object GeneratorFunction]",bw="[object Proxy]";function _w(e){if(!mw(e))return!1;var t=hw(e);return t==vw||t==yw||t==gw||t==bw}var pp=_w,xw=Dt,ww=xw["__core-js_shared__"],Cw=ww,ma=Cw,tc=function(){var e=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Tw(e){return!!tc&&tc in e}var Ew=Tw,Sw=Function.prototype,Rw=Sw.toString;function Ow(e){if(e!=null){try{return Rw.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var hp=Ow,Mw=pp,Pw=Ew,Dw=io,kw=hp,Iw=/[\\^$.*+?()[\]{}|]/g,Aw=/^\[object .+?Constructor\]$/,Nw=Function.prototype,$w=Object.prototype,Lw=Nw.toString,Fw=$w.hasOwnProperty,Hw=RegExp("^"+Lw.call(Fw).replace(Iw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Bw(e){if(!Dw(e)||Pw(e))return!1;var t=Mw(e)?Hw:Aw;return t.test(kw(e))}var jw=Bw;function zw(e,t){return e==null?void 0:e[t]}var Ww=zw,Vw=jw,Uw=Ww;function qw(e,t){var r=Uw(e,t);return Vw(r)?r:void 0}var mr=qw,Gw=mr,Yw=Gw(Object,"create"),Ri=Yw,rc=Ri;function Xw(){this.__data__=rc?rc(null):{},this.size=0}var Kw=Xw;function Qw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Zw=Qw,Jw=Ri,eC="__lodash_hash_undefined__",tC=Object.prototype,rC=tC.hasOwnProperty;function nC(e){var t=this.__data__;if(Jw){var r=t[e];return r===eC?void 0:r}return rC.call(t,e)?t[e]:void 0}var oC=nC,iC=Ri,aC=Object.prototype,sC=aC.hasOwnProperty;function lC(e){var t=this.__data__;return iC?t[e]!==void 0:sC.call(t,e)}var uC=lC,cC=Ri,dC="__lodash_hash_undefined__";function fC(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=cC&&t===void 0?dC:t,this}var pC=fC,hC=Kw,mC=Zw,gC=oC,vC=uC,yC=pC;function Xr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xr.prototype.clear=hC;Xr.prototype.delete=mC;Xr.prototype.get=gC;Xr.prototype.has=vC;Xr.prototype.set=yC;var bC=Xr;function _C(){this.__data__=[],this.size=0}var xC=_C;function wC(e,t){return e===t||e!==e&&t!==t}var qs=wC,CC=qs;function TC(e,t){for(var r=e.length;r--;)if(CC(e[r][0],t))return r;return-1}var Oi=TC,EC=Oi,SC=Array.prototype,RC=SC.splice;function OC(e){var t=this.__data__,r=EC(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():RC.call(t,r,1),--this.size,!0}var MC=OC,PC=Oi;function DC(e){var t=this.__data__,r=PC(t,e);return r<0?void 0:t[r][1]}var kC=DC,IC=Oi;function AC(e){return IC(this.__data__,e)>-1}var NC=AC,$C=Oi;function LC(e,t){var r=this.__data__,n=$C(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var FC=LC,HC=xC,BC=MC,jC=kC,zC=NC,WC=FC;function Kr(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])}}Kr.prototype.clear=HC;Kr.prototype.delete=BC;Kr.prototype.get=jC;Kr.prototype.has=zC;Kr.prototype.set=WC;var Mi=Kr,VC=mr,UC=Dt,qC=VC(UC,"Map"),Gs=qC,nc=bC,GC=Mi,YC=Gs;function XC(){this.size=0,this.__data__={hash:new nc,map:new(YC||GC),string:new nc}}var KC=XC;function QC(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ZC=QC,JC=ZC;function eT(e,t){var r=e.__data__;return JC(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Pi=eT,tT=Pi;function rT(e){var t=tT(this,e).delete(e);return this.size-=t?1:0,t}var nT=rT,oT=Pi;function iT(e){return oT(this,e).get(e)}var aT=iT,sT=Pi;function lT(e){return sT(this,e).has(e)}var uT=lT,cT=Pi;function dT(e,t){var r=cT(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var fT=dT,pT=KC,hT=nT,mT=aT,gT=uT,vT=fT;function Qr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Qr.prototype.clear=pT;Qr.prototype.delete=hT;Qr.prototype.get=mT;Qr.prototype.has=gT;Qr.prototype.set=vT;var Ys=Qr,mp=Ys,yT="Expected a function";function Xs(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(yT);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Xs.Cache||mp),r}Xs.Cache=mp;var bT=Xs,_T=bT,xT=500;function wT(e){var t=_T(e,function(n){return r.size===xT&&r.clear(),n}),r=t.cache;return t}var CT=wT,TT=CT,ET=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ST=/\\(\\)?/g,RT=TT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ET,function(r,n,o,i){t.push(o?i.replace(ST,"$1"):n||r)}),t}),OT=RT;function MT(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 gp=MT,oc=oo,PT=gp,DT=tt,kT=Si,IT=1/0,ic=oc?oc.prototype:void 0,ac=ic?ic.toString:void 0;function vp(e){if(typeof e=="string")return e;if(DT(e))return PT(e,vp)+"";if(kT(e))return ac?ac.call(e):"";var t=e+"";return t=="0"&&1/e==-IT?"-0":t}var AT=vp,NT=AT;function $T(e){return e==null?"":NT(e)}var LT=$T,FT=tt,HT=Us,BT=OT,jT=LT;function zT(e,t){return FT(e)?e:HT(e,t)?[e]:BT(jT(e))}var Di=zT,WT=Si,VT=1/0;function UT(e){if(typeof e=="string"||WT(e))return e;var t=e+"";return t=="0"&&1/e==-VT?"-0":t}var ao=UT,qT=Di,GT=ao;function YT(e,t){t=qT(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[GT(t[r++])];return r&&r==n?e:void 0}var Ks=YT,XT=mr,KT=function(){try{var e=XT(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),yp=KT,sc=yp;function QT(e,t,r){t=="__proto__"&&sc?sc(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var ZT=QT,JT=ZT,eE=qs,tE=Object.prototype,rE=tE.hasOwnProperty;function nE(e,t,r){var n=e[t];(!(rE.call(e,t)&&eE(n,r))||r===void 0&&!(t in e))&&JT(e,t,r)}var oE=nE,iE=9007199254740991,aE=/^(?:0|[1-9]\d*)$/;function sE(e,t){var r=typeof e;return t=t==null?iE:t,!!t&&(r=="number"||r!="symbol"&&aE.test(e))&&e>-1&&e%1==0&&e<t}var Qs=sE,lE=oE,uE=Di,cE=Qs,lc=io,dE=ao;function fE(e,t,r,n){if(!lc(e))return e;t=uE(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o<i;){var l=dE(t[o]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=a){var p=s[l];c=n?n(p,l,s):void 0,c===void 0&&(c=lc(p)?p:cE(t[o+1])?[]:{})}lE(s,l,c),s=s[l]}return e}var pE=fE,hE=Ks,mE=pE,gE=Di;function vE(e,t,r){for(var n=-1,o=t.length,i={};++n<o;){var a=t[n],s=hE(e,a);r(s,a)&&mE(i,gE(a,e),s)}return i}var yE=vE;function bE(e,t){return e!=null&&t in Object(e)}var _E=bE,xE=Gr,wE=Yr,CE="[object Arguments]";function TE(e){return wE(e)&&xE(e)==CE}var EE=TE,uc=EE,SE=Yr,bp=Object.prototype,RE=bp.hasOwnProperty,OE=bp.propertyIsEnumerable,ME=uc(function(){return arguments}())?uc:function(e){return SE(e)&&RE.call(e,"callee")&&!OE.call(e,"callee")},ki=ME,PE=9007199254740991;function DE(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=PE}var Zs=DE,kE=Di,IE=ki,AE=tt,NE=Qs,$E=Zs,LE=ao;function FE(e,t,r){t=kE(t,e);for(var n=-1,o=t.length,i=!1;++n<o;){var a=LE(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&&$E(o)&&NE(a,o)&&(AE(e)||IE(e)))}var HE=FE,BE=_E,jE=HE;function zE(e,t){return e!=null&&jE(e,t,BE)}var _p=zE,WE=yE,VE=_p;function UE(e,t){return WE(e,t,function(r,n){return VE(e,n)})}var qE=UE;function GE(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var xp=GE,cc=oo,YE=ki,XE=tt,dc=cc?cc.isConcatSpreadable:void 0;function KE(e){return XE(e)||YE(e)||!!(dc&&e&&e[dc])}var QE=KE,ZE=xp,JE=QE;function wp(e,t,r,n,o){var i=-1,a=e.length;for(r||(r=JE),o||(o=[]);++i<a;){var s=e[i];t>0&&r(s)?t>1?wp(s,t-1,r,n,o):ZE(o,s):n||(o[o.length]=s)}return o}var eS=wp,tS=eS;function rS(e){var t=e==null?0:e.length;return t?tS(e,1):[]}var nS=rS;function oS(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 iS=oS,aS=iS,fc=Math.max;function sS(e,t,r){return t=fc(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=fc(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),aS(e,this,s)}}var lS=sS;function uS(e){return function(){return e}}var cS=uS;function dS(e){return e}var Js=dS,fS=cS,pc=yp,pS=Js,hS=pc?function(e,t){return pc(e,"toString",{configurable:!0,enumerable:!1,value:fS(t),writable:!0})}:pS,mS=hS,gS=800,vS=16,yS=Date.now;function bS(e){var t=0,r=0;return function(){var n=yS(),o=vS-(n-r);if(r=n,o>0){if(++t>=gS)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var _S=bS,xS=mS,wS=_S,CS=wS(xS),TS=CS,ES=nS,SS=lS,RS=TS;function OS(e){return RS(SS(e,void 0,ES),e+"")}var MS=OS,PS=qE,DS=MS,kS=DS(function(e,t){return e==null?{}:PS(e,t)}),el=kS,xe={};Object.defineProperty(xe,"__esModule",{value:!0});xe.SCROLL_TO_Y=xe.SCROLL_TO_X=xe.SCROLL_END=xe.SCROLL_START=xe.PROP_CHANGE=xe.INITIALIZE=xe.COLUMN_RESIZE=xe.COLUMN_REORDER_MOVE=xe.COLUMN_REORDER_END=xe.COLUMN_REORDER_START=void 0;var IS="COLUMN_REORDER_START";xe.COLUMN_REORDER_START=IS;var AS="COLUMN_REORDER_END";xe.COLUMN_REORDER_END=AS;var NS="COLUMN_REORDER_MOVE";xe.COLUMN_REORDER_MOVE=NS;var $S="COLUMN_RESIZE";xe.COLUMN_RESIZE=$S;var LS="INITIALIZE";xe.INITIALIZE=LS;var FS="PROP_CHANGE";xe.PROP_CHANGE=FS;var HS="SCROLL_START";xe.SCROLL_START=HS;var BS="SCROLL_END";xe.SCROLL_END=BS;var jS="SCROLL_TO_X";xe.SCROLL_TO_X=jS;var zS="SCROLL_TO_Y";xe.SCROLL_TO_Y=zS;var _t={};Object.defineProperty(_t,"__esModule",{value:!0});_t.resizeColumn=_t.moveColumnReorder=_t.stopColumnReorder=_t.startColumnReorder=void 0;var Ii=xe,WS=function(t){return{type:Ii.COLUMN_REORDER_START,reorderData:t}};_t.startColumnReorder=WS;var VS=function(){return{type:Ii.COLUMN_REORDER_END}};_t.stopColumnReorder=VS;var US=function(t){return{type:Ii.COLUMN_REORDER_MOVE,deltaX:t}};_t.moveColumnReorder=US;var qS=function(t){return{type:Ii.COLUMN_RESIZE,resizeData:t}};_t.resizeColumn=qS;var xt={};Object.defineProperty(xt,"__esModule",{value:!0});xt.stopScroll=xt.startScroll=xt.scrollToY=xt.scrollToX=void 0;var Ai=xe,GS=function(t){return{type:Ai.SCROLL_TO_X,scrollX:t}};xt.scrollToX=GS;var YS=function(t){return{type:Ai.SCROLL_TO_Y,scrollY:t}};xt.scrollToY=YS;var XS=function(){return{type:Ai.SCROLL_START}};xt.startScroll=XS;var KS=function(){return{type:Ai.SCROLL_END}};xt.stopScroll=KS;var Cp={},QS=Gr,ZS=Yr,JS="[object Number]";function eR(e){return typeof e=="number"||ZS(e)&&QS(e)==JS}var tR=eR,rR=tR;function nR(e){return rR(e)&&e!=+e}var oR=nR,mt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(c){return typeof c}:t=function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},t(s)}var r=/\//g,n={};function o(s){return n[s]||(n[s]=s.replace(r,"_")),n[s]}function i(s){var l;return t(s)=="object"?l=Object.keys(s).filter(function(c){return s[c]}):l=Array.prototype.slice.call(arguments),l.map(o).join(" ")}var a=i;e.default=a})(mt);var Tp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i,a,s){a=a||setTimeout,s=s||clearTimeout;var l;function c(){for(var p=arguments.length,h=new Array(p),d=0;d<p;d++)h[d]=arguments[d];c.reset();var m=function(){n.apply(i,h)};m.__SMmeta=n.__SMmeta,l=a(m,o)}return c.reset=function(){s(l)},c}var r=t;e.default=r})(Tp);var Gt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n){n||(n="");var o,i=arguments.length;if(i>1)for(var a=1;a<i;a++)o=arguments[a],o&&(n=(n?n+" ":"")+o);return n}var r=t;e.default=r})(Gt);var so={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(o)}function r(o,i){if(o===i)return!0;if(t(o)!=="object"||o===null||t(i)!=="object"||i===null)return!1;var a=Object.keys(o),s=Object.keys(i);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(i),c=0;c<a.length;c++)if(!l(a[c])||o[a[c]]!==i[a[c]])return!1;return!0}var n=r;e.default=n})(so);var tl={},Yt={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){return function(){return o}}function r(){}r.thatReturns=t,r.thatReturnsFalse=t(!1),r.thatReturnsTrue=t(!0),r.thatReturnsNull=t(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(o){return o};var n=r;e.default=n})(Yt);var Ep={},Sp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!1,r,n,o,i,a,s,l,c,p,h,d,m,g,v,y;function w(){if(!t){t=!0;var x=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(x),C=/(Mac OS X)|(Windows)|(Linux)/.exec(x);if(m=/\b(iPhone|iP[ao]d)/.exec(x),g=/\b(iP[ao]d)/.exec(x),h=/Android/i.exec(x),v=/FBAN\/\w+;/i.exec(x),y=/Mobile/i.exec(x),d=!!/Win64/.exec(x),b){r=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var S=/(?:Trident\/(\d+.\d+))/.exec(x);s=S?parseFloat(S[1])+4:r,n=b[2]?parseFloat(b[2]):NaN,o=b[3]?parseFloat(b[3]):NaN,i=b[4]?parseFloat(b[4]):NaN,i?(b=/(?:Chrome\/(\d+\.\d+))/.exec(x),a=b&&b[1]?parseFloat(b[1]):NaN):a=NaN}else r=n=o=a=i=NaN;if(C){if(C[1]){var O=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(x);l=O?parseFloat(O[1].replace("_",".")):!0}else l=!1;c=!!C[2],p=!!C[3]}else l=c=p=!1}}var E={ie:function(){return w()||r},ieCompatibilityMode:function(){return w()||s>r},ie64:function(){return E.ie()&&d},firefox:function(){return w()||n},opera:function(){return w()||o},webkit:function(){return w()||i},safari:function(){return E.webkit()},chrome:function(){return w()||a},windows:function(){return w()||c},osx:function(){return w()||l},linux:function(){return w()||p},iphone:function(){return w()||m},mobile:function(){return w()||m||g||h||y},nativeApp:function(){return w()||v},android:function(){return w()||h},ipad:function(){return w()||g}},_=E;e.default=_})(Sp);var Rp={},rl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=!!(typeof window!="undefined"&&window.document&&window.document.createElement),r={canUseDOM:t,canUseWorkers:typeof Worker!="undefined",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t},n=r;e.default=n})(rl);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(rl);function r(a){return a&&a.__esModule?a:{default:a}}var n;t.default.canUseDOM&&(n=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
|
|
222
222
|
* Checks if an event is supported in the current execution environment.
|
|
223
223
|
*
|
|
224
224
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -231,7 +231,7 @@ const theme2 = createTheme({ palette: {
|
|
|
231
231
|
* @return {boolean} True if the event is supported.
|
|
232
232
|
* @internal
|
|
233
233
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
234
|
-
*/function o(a,s){if(!t.default.canUseDOM||s&&!("addEventListener"in document))return!1;var l="on"+a,c=l in document;if(!c){var p=document.createElement("div");p.setAttribute(l,"return;"),c=typeof p[l]=="function"}return!c&&n&&a==="wheel"&&(c=document.implementation.hasFeature("Events.wheel","3.0")),c}var i=o;e.default=i})(Rp);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Sp),r=n(Rp);function n(c){return c&&c.__esModule?c:{default:c}}var o=10,i=40,a=800;function s(c){var p=0,h=0,d=0,m=0;return"detail"in c&&(h=c.detail),"wheelDelta"in c&&(h=-c.wheelDelta/120),"wheelDeltaY"in c&&(h=-c.wheelDeltaY/120),"wheelDeltaX"in c&&(p=-c.wheelDeltaX/120),"axis"in c&&c.axis===c.HORIZONTAL_AXIS&&(p=h,h=0),d=p*o,m=h*o,"deltaY"in c&&(m=c.deltaY),"deltaX"in c&&(d=c.deltaX),(d||m)&&c.deltaMode&&(c.deltaMode==1?(d*=i,m*=i):(d*=a,m*=a)),d&&!p&&(p=d<1?-1:1),m&&!h&&(h=m<1?-1:1),{spinX:p,spinY:h,pixelX:d,pixelY:m}}s.getEventType=function(){return t.default.firefox()?"DOMMouseScroll":(0,r.default)("wheel")?"wheel":"mousewheel"};var l=s;e.default=l})(Ep);var Ni={},Op={},Zr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof u.commonjsGlobal!="undefined"?u.commonjsGlobal:typeof self!="undefined"?self:{},r=t;e.default=r})(Zr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.requestAnimationFrame||t.default.webkitRequestAnimationFrame||t.default.mozRequestAnimationFrame||t.default.oRequestAnimationFrame||t.default.msRequestAnimationFrame,o=n;e.default=o})(Op);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Yt),r=o(Op),n=o(Zr);function o(l){return l&&l.__esModule?l:{default:l}}var i=0,a=r.default||function(l){var c=Date.now(),p=Math.max(0,16-(c-i));return i=c+p,n.default.setTimeout(function(){l(Date.now())},p)};a(t.default);var s=a;e.default=s})(Ni);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Yt),r=o(Ep),n=o(Ni);function o(p){return p&&p.__esModule?p:{default:p}}function i(p,h){if(!(p instanceof h))throw new TypeError("Cannot call a class as a function")}function a(p,h){for(var d=0;d<h.length;d++){var m=h[d];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(p,m.key,m)}}function s(p,h,d){return h&&a(p.prototype,h),d&&a(p,d),p}var l=function(){function p(h,d,m,g,v,y){i(this,p),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof d!="function"&&(d=d?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof m!="function"&&(m=m?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=d,this._handleScrollY=m,this._preventDefault=v,this._stopPropagation=y,this._onWheelCallback=h,this.onWheel=this.onWheel.bind(this),this._isRTL=g}return s(p,[{key:"onWheel",value:function(d){this._preventDefault&&d.preventDefault();var m=(0,r.default)(d);d.shiftKey&&p._allowInternalAxesSwap()?m=p._swapNormalizedWheelAxis(m):d.shiftKey||(m.pixelX*=this._isRTL?-1:1);var g=this._deltaX+m.pixelX,v=this._deltaY+m.pixelY,y=this._handleScrollX(g,v),w=this._handleScrollY(v,g);if(!(!y&&!w)&&!(this._rootRef&&!this._contains(d.target))){this._deltaX+=y?m.pixelX:0,this._deltaY+=w?m.pixelY:0,d.defaultPrevented||d.preventDefault();var E;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&d.stopPropagation(),E=!0),E===!0&&this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didWheel))}}},{key:"setRoot",value:function(d){this._rootRef=d}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(d){for(var m=d;m!=document.body;){if(m===this._rootRef)return!0;m=m.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(d){return{spinX:d.spinY,spinY:d.spinX,pixelX:d.pixelY,pixelY:d.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),p}(),c=l;e.default=c})(tl);var Mp={},gr={},Qo="NOT_FOUND";function rR(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Qo},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function nR(e,t){var r=[];function n(s){var l=r.findIndex(function(p){return t(s,p.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Qo}function o(s,l){n(s)===Qo&&(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 Pp=function(t,r){return t===r};function oR(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 Dp(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?Pp:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,l=oR(o),c=a===1?rR(l):nR(a,l);function p(){var h=c.get(arguments);if(h===Qo){if(h=e.apply(null,arguments),s){var d=c.getEntries(),m=d.find(function(g){return s(g.value,h)});m&&(h=m.value)}c.put(arguments,h)}return h}return p.clearCache=function(){return c.clear()},p}function iR(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 kp(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,p,h={memoizeOptions:void 0},d=s.pop();if(typeof d=="object"&&(h=d,d=s.pop()),typeof d!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof d+"]");var m=h,g=m.memoizeOptions,v=g===void 0?r:g,y=Array.isArray(v)?v:[v],w=iR(s),E=e.apply(void 0,[function(){return c++,d.apply(null,arguments)}].concat(y)),_=e(function(){for(var b=[],C=w.length,S=0;S<C;S++)b.push(w[S].apply(null,arguments));return p=E.apply(null,b),p});return Object.assign(_,{resultFunc:d,memoizedResultFunc:E,dependencies:w,lastResult:function(){return p},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),_};return o}var Ip=kp(Dp),aR=function(t,r){if(r===void 0&&(r=Ip),typeof t!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof t));var n=Object.keys(t),o=r(n.map(function(i){return t[i]}),function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return a.reduce(function(l,c,p){return l[n[p]]=c,l},{})});return o};const sR=Object.freeze(Object.defineProperty({__proto__:null,createSelector:Ip,createSelectorCreator:kp,createStructuredSelector:aR,defaultEqualityCheck:Pp,defaultMemoize:Dp},Symbol.toStringTag,{value:"Module"})),lR=u.getAugmentedNamespace(sR);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=lR,r=n(so);function n(i){return i&&i.__esModule?i:{default:i}}var o=(0,t.createSelectorCreator)(t.defaultMemoize,r.default);e.default=o})(gr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(gr);function r(i){return i&&i.__esModule?i:{default:i}}function n(i,a,s){var l=1,c=1,p=i+2,h=i+1,d=2;return a&&(c++,h++,p++,d++),s&&h++,{ariaGroupHeaderIndex:l,ariaHeaderIndex:c,ariaFooterIndex:p,ariaRowCount:h,ariaRowIndexOffset:d}}var o=(0,t.default)([function(i){return i.rowsCount},function(i){return i.groupHeaderHeight>0},function(i){return i.footerHeight>0}],n);e.default=o})(Mp);var Ap={};function uR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var cR=uR;function dR(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 fR=dR,pR=fR,hR=pR(),mR=hR;function gR(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var vR=gR,qa={exports:{}};function yR(){return!1}var bR=yR;(function(e,t){var r=Dt,n=bR,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})(qa,qa.exports);var nl=qa.exports,_R=Gr,xR=Zs,wR=Yr,CR="[object Arguments]",TR="[object Array]",ER="[object Boolean]",SR="[object Date]",RR="[object Error]",OR="[object Function]",MR="[object Map]",PR="[object Number]",DR="[object Object]",kR="[object RegExp]",IR="[object Set]",AR="[object String]",NR="[object WeakMap]",$R="[object ArrayBuffer]",LR="[object DataView]",FR="[object Float32Array]",HR="[object Float64Array]",BR="[object Int8Array]",jR="[object Int16Array]",zR="[object Int32Array]",WR="[object Uint8Array]",VR="[object Uint8ClampedArray]",UR="[object Uint16Array]",qR="[object Uint32Array]",_e={};_e[FR]=_e[HR]=_e[BR]=_e[jR]=_e[zR]=_e[WR]=_e[VR]=_e[UR]=_e[qR]=!0;_e[CR]=_e[TR]=_e[$R]=_e[ER]=_e[LR]=_e[SR]=_e[RR]=_e[OR]=_e[MR]=_e[PR]=_e[DR]=_e[kR]=_e[IR]=_e[AR]=_e[NR]=!1;function GR(e){return wR(e)&&xR(e.length)&&!!_e[_R(e)]}var YR=GR;function XR(e){return function(t){return e(t)}}var KR=XR,Ga={exports:{}};(function(e,t){var r=dp,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})(Ga,Ga.exports);var QR=Ga.exports,ZR=YR,JR=KR,hc=QR,mc=hc&&hc.isTypedArray,eO=mc?JR(mc):ZR,ol=eO,tO=vR,rO=ki,nO=tt,oO=nl,iO=Qs,aO=ol,sO=Object.prototype,lO=sO.hasOwnProperty;function uO(e,t){var r=nO(e),n=!r&&rO(e),o=!r&&!n&&oO(e),i=!r&&!n&&!o&&aO(e),a=r||n||o||i,s=a?tO(e.length,String):[],l=s.length;for(var c in e)(t||lO.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||iO(c,l)))&&s.push(c);return s}var cO=uO,dO=Object.prototype;function fO(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||dO;return e===r}var Np=fO;function pO(e,t){return function(r){return e(t(r))}}var hO=pO,mO=hO,gO=mO(Object.keys,Object),vO=gO,yO=Np,bO=vO,_O=Object.prototype,xO=_O.hasOwnProperty;function wO(e){if(!yO(e))return bO(e);var t=[];for(var r in Object(e))xO.call(e,r)&&r!="constructor"&&t.push(r);return t}var $p=wO,CO=pp,TO=Zs;function EO(e){return e!=null&&TO(e.length)&&!CO(e)}var $i=EO,SO=cO,RO=$p,OO=$i;function MO(e){return OO(e)?SO(e):RO(e)}var il=MO,PO=mR,DO=il;function kO(e,t){return e&&PO(e,t,DO)}var IO=kO,AO=$i;function NO(e,t){return function(r,n){if(r==null)return r;if(!AO(r))return e(r,n);for(var o=r.length,i=t?o:-1,a=Object(r);(t?i--:++i<o)&&n(a[i],i,a)!==!1;);return r}}var $O=NO,LO=IO,FO=$O,HO=FO(LO),al=HO,BO=Js;function jO(e){return typeof e=="function"?e:BO}var zO=jO,WO=cR,VO=al,UO=zO,qO=tt;function GO(e,t){var r=qO(e)?WO:VO;return r(e,UO(t))}var sl=GO,ll={},YO=Mi;function XO(){this.__data__=new YO,this.size=0}var KO=XO;function QO(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var ZO=QO;function JO(e){return this.__data__.get(e)}var eM=JO;function tM(e){return this.__data__.has(e)}var rM=tM,nM=Mi,oM=Gs,iM=Ys,aM=200;function sM(e,t){var r=this.__data__;if(r instanceof nM){var n=r.__data__;if(!oM||n.length<aM-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new iM(n)}return r.set(e,t),this.size=r.size,this}var lM=sM,uM=Mi,cM=KO,dM=ZO,fM=eM,pM=rM,hM=lM;function Jr(e){var t=this.__data__=new uM(e);this.size=t.size}Jr.prototype.clear=cM;Jr.prototype.delete=dM;Jr.prototype.get=fM;Jr.prototype.has=pM;Jr.prototype.set=hM;var Lp=Jr,mM="__lodash_hash_undefined__";function gM(e){return this.__data__.set(e,mM),this}var vM=gM;function yM(e){return this.__data__.has(e)}var bM=yM,_M=Ys,xM=vM,wM=bM;function Zo(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new _M;++t<r;)this.add(e[t])}Zo.prototype.add=Zo.prototype.push=xM;Zo.prototype.has=wM;var CM=Zo;function TM(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var EM=TM;function SM(e,t){return e.has(t)}var RM=SM,OM=CM,MM=EM,PM=RM,DM=1,kM=2;function IM(e,t,r,n,o,i){var a=r&DM,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),p=i.get(t);if(c&&p)return c==t&&p==e;var h=-1,d=!0,m=r&kM?new OM:void 0;for(i.set(e,t),i.set(t,e);++h<s;){var g=e[h],v=t[h];if(n)var y=a?n(v,g,h,t,e,i):n(g,v,h,e,t,i);if(y!==void 0){if(y)continue;d=!1;break}if(m){if(!MM(t,function(w,E){if(!PM(m,E)&&(g===w||o(g,w,r,n,i)))return m.push(E)})){d=!1;break}}else if(!(g===v||o(g,v,r,n,i))){d=!1;break}}return i.delete(e),i.delete(t),d}var Fp=IM,AM=Dt,NM=AM.Uint8Array,$M=NM;function LM(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}var FM=LM;function HM(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var BM=HM,gc=oo,vc=$M,jM=qs,zM=Fp,WM=FM,VM=BM,UM=1,qM=2,GM="[object Boolean]",YM="[object Date]",XM="[object Error]",KM="[object Map]",QM="[object Number]",ZM="[object RegExp]",JM="[object Set]",e4="[object String]",t4="[object Symbol]",r4="[object ArrayBuffer]",n4="[object DataView]",yc=gc?gc.prototype:void 0,ga=yc?yc.valueOf:void 0;function o4(e,t,r,n,o,i,a){switch(r){case n4:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case r4:return!(e.byteLength!=t.byteLength||!i(new vc(e),new vc(t)));case GM:case YM:case QM:return jM(+e,+t);case XM:return e.name==t.name&&e.message==t.message;case ZM:case e4:return e==t+"";case KM:var s=WM;case JM:var l=n&UM;if(s||(s=VM),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=qM,a.set(e,t);var p=zM(s(e),s(t),n,o,i,a);return a.delete(e),p;case t4:if(ga)return ga.call(e)==ga.call(t)}return!1}var i4=o4,a4=xp,s4=tt;function l4(e,t,r){var n=t(e);return s4(e)?n:a4(n,r(e))}var u4=l4;function c4(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 d4=c4;function f4(){return[]}var p4=f4,h4=d4,m4=p4,g4=Object.prototype,v4=g4.propertyIsEnumerable,bc=Object.getOwnPropertySymbols,y4=bc?function(e){return e==null?[]:(e=Object(e),h4(bc(e),function(t){return v4.call(e,t)}))}:m4,b4=y4,_4=u4,x4=b4,w4=il;function C4(e){return _4(e,w4,x4)}var T4=C4,_c=T4,E4=1,S4=Object.prototype,R4=S4.hasOwnProperty;function O4(e,t,r,n,o,i){var a=r&E4,s=_c(e),l=s.length,c=_c(t),p=c.length;if(l!=p&&!a)return!1;for(var h=l;h--;){var d=s[h];if(!(a?d in t:R4.call(t,d)))return!1}var m=i.get(e),g=i.get(t);if(m&&g)return m==t&&g==e;var v=!0;i.set(e,t),i.set(t,e);for(var y=a;++h<l;){d=s[h];var w=e[d],E=t[d];if(n)var _=a?n(E,w,d,t,e,i):n(w,E,d,e,t,i);if(!(_===void 0?w===E||o(w,E,r,n,i):_)){v=!1;break}y||(y=d=="constructor")}if(v&&!y){var x=e.constructor,b=t.constructor;x!=b&&"constructor"in e&&"constructor"in t&&!(typeof x=="function"&&x instanceof x&&typeof b=="function"&&b instanceof b)&&(v=!1)}return i.delete(e),i.delete(t),v}var M4=O4,P4=mr,D4=Dt,k4=P4(D4,"DataView"),I4=k4,A4=mr,N4=Dt,$4=A4(N4,"Promise"),L4=$4,F4=mr,H4=Dt,B4=F4(H4,"Set"),j4=B4,z4=mr,W4=Dt,V4=z4(W4,"WeakMap"),U4=V4,Ya=I4,Xa=Gs,Ka=L4,Qa=j4,Za=U4,Hp=Gr,en=hp,xc="[object Map]",q4="[object Object]",wc="[object Promise]",Cc="[object Set]",Tc="[object WeakMap]",Ec="[object DataView]",G4=en(Ya),Y4=en(Xa),X4=en(Ka),K4=en(Qa),Q4=en(Za),ar=Hp;(Ya&&ar(new Ya(new ArrayBuffer(1)))!=Ec||Xa&&ar(new Xa)!=xc||Ka&&ar(Ka.resolve())!=wc||Qa&&ar(new Qa)!=Cc||Za&&ar(new Za)!=Tc)&&(ar=function(e){var t=Hp(e),r=t==q4?e.constructor:void 0,n=r?en(r):"";if(n)switch(n){case G4:return Ec;case Y4:return xc;case X4:return wc;case K4:return Cc;case Q4:return Tc}return t});var Bp=ar,va=Lp,Z4=Fp,J4=i4,e5=M4,Sc=Bp,Rc=tt,Oc=nl,t5=ol,r5=1,Mc="[object Arguments]",Pc="[object Array]",Po="[object Object]",n5=Object.prototype,Dc=n5.hasOwnProperty;function o5(e,t,r,n,o,i){var a=Rc(e),s=Rc(t),l=a?Pc:Sc(e),c=s?Pc:Sc(t);l=l==Mc?Po:l,c=c==Mc?Po:c;var p=l==Po,h=c==Po,d=l==c;if(d&&Oc(e)){if(!Oc(t))return!1;a=!0,p=!1}if(d&&!p)return i||(i=new va),a||t5(e)?Z4(e,t,r,n,o,i):J4(e,t,l,r,n,o,i);if(!(r&r5)){var m=p&&Dc.call(e,"__wrapped__"),g=h&&Dc.call(t,"__wrapped__");if(m||g){var v=m?e.value():e,y=g?t.value():t;return i||(i=new va),o(v,y,r,n,i)}}return d?(i||(i=new va),e5(e,t,r,n,o,i)):!1}var i5=o5,a5=i5,kc=Yr;function jp(e,t,r,n,o){return e===t?!0:e==null||t==null||!kc(e)&&!kc(t)?e!==e&&t!==t:a5(e,t,r,n,jp,o)}var zp=jp,s5=Lp,l5=zp,u5=1,c5=2;function d5(e,t,r,n){var o=r.length,i=o,a=!n;if(e==null)return!i;for(e=Object(e);o--;){var s=r[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=r[o];var l=s[0],c=e[l],p=s[1];if(a&&s[2]){if(c===void 0&&!(l in e))return!1}else{var h=new s5;if(n)var d=n(c,p,l,e,t,h);if(!(d===void 0?l5(p,c,u5|c5,n,h):d))return!1}}return!0}var f5=d5,p5=io;function h5(e){return e===e&&!p5(e)}var Wp=h5,m5=Wp,g5=il;function v5(e){for(var t=g5(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,m5(o)]}return t}var y5=v5;function b5(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Vp=b5,_5=f5,x5=y5,w5=Vp;function C5(e){var t=x5(e);return t.length==1&&t[0][2]?w5(t[0][0],t[0][1]):function(r){return r===e||_5(r,e,t)}}var T5=C5,E5=Ks;function S5(e,t,r){var n=e==null?void 0:E5(e,t);return n===void 0?r:n}var R5=S5,O5=zp,M5=R5,P5=_p,D5=Us,k5=Wp,I5=Vp,A5=ao,N5=1,$5=2;function L5(e,t){return D5(e)&&k5(t)?I5(A5(e),t):function(r){var n=M5(r,e);return n===void 0&&n===t?P5(r,e):O5(t,n,N5|$5)}}var F5=L5;function H5(e){return function(t){return t==null?void 0:t[e]}}var B5=H5,j5=Ks;function z5(e){return function(t){return j5(t,e)}}var W5=z5,V5=B5,U5=W5,q5=Us,G5=ao;function Y5(e){return q5(e)?V5(G5(e)):U5(e)}var X5=Y5,K5=T5,Q5=F5,Z5=Js,J5=tt,eP=X5;function tP(e){return typeof e=="function"?e:e==null?Z5:typeof e=="object"?J5(e)?Q5(e[0],e[1]):K5(e):eP(e)}var Up=tP,rP=al,nP=$i;function oP(e,t){var r=-1,n=nP(e)?Array(e.length):[];return rP(e,function(o,i,a){n[++r]=t(o,i,a)}),n}var iP=oP,aP=gp,sP=Up,lP=iP,uP=tt;function cP(e,t){var r=uP(e)?aP:lP;return r(e,sP(t))}var qp=cP,Xt={};function dP(e,t,r,n){var o=-1,i=e==null?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}var fP=dP;function pP(e,t,r,n,o){return o(e,function(i,a,s){r=n?(n=!1,i):t(r,i,a,s)}),r}var hP=pP,mP=fP,gP=al,vP=Up,yP=hP,bP=tt;function _P(e,t,r){var n=bP(e)?mP:yP,o=arguments.length<3;return n(e,vP(t),r,o,gP)}var xP=_P;Object.defineProperty(Xt,"__esModule",{value:!0});Xt.sumPropWidths=CP;Xt.getTotalWidth=TP;Xt.getTotalFlexGrow=EP;var ul=wP(xP);function wP(e){return e&&e.__esModule?e:{default:e}}function CP(e){return(0,ul.default)(e,function(t,r){return t+r.props.width},0)}function TP(e){return(0,ul.default)(e,function(t,r){return t+r.width},0)}function EP(e){return(0,ul.default)(e,function(t,r){return t+(r.flexGrow||0)},0)}var tn={},Li={},Fi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i){return n<o?o:n>i?i:n}var r=t;e.default=r})(Fi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ScrollbarState=void 0;var t=o(Fi),r=o(gr),n=Xt;function o(m){return m&&m.__esModule?m:{default:m}}var i=1,a=3,s=6,l={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};e.ScrollbarState=l;function c(m,g,v,y,w,E,_){var x=g.cellGroupWrapperHeight,b=g.footerHeight,C=g.headerHeight,S=g.groupHeaderHeight,O=x?0:2*i,M=b+C+S+O,D=w.height,R=w.maxHeight,T=w.useMaxHeight,I=w.width,A=Math.round(T?R:D),P=A-M,N=p(m,y,I,_),H=P,B=P;switch(N){case l.VISIBLE:{H-=E,B-=E;break}case l.JOINT_SCROLLBARS:{H-=E;break}}return{bufferRowCount:h(B,v),minAvailableHeight:Math.max(H,0),maxAvailableHeight:Math.max(B,0),reservedHeight:M,scrollStateX:N}}function p(m,g,v,y){var w=g.overflowX,E=g.showScrollbarX,_=(0,n.getTotalWidth)(m);return w==="hidden"||E===!1?l.HIDDEN:_>v?l.VISIBLE:_>v-y?l.JOINT_SCROLLBARS:l.HIDDEN}function h(m,g){var v=g.bufferRowCount,y=g.rowHeight,w=g.subRowHeight;if(v!==void 0)return console.log("buffer set: "+v),v;var E=y+w,_=Math.ceil(m/E)+1;return(0,t.default)(Math.floor(_/2),a,s)}var d=(0,r.default)([function(m){return m.columnProps},function(m){return m.elementHeights},function(m){return m.rowSettings},function(m){return m.scrollFlags},function(m){return m.tableSize},function(m){return m.scrollbarXHeight},function(m){return m.scrollbarYWidth}],c);e.default=d})(Li);(function(e){function t(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(h){return typeof h}:t=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},t(c)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(gr),n=i(Li);function o(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(o=function(m){return m?h:p})(c)}function i(c,p){if(c&&c.__esModule)return c;if(c===null||t(c)!=="object"&&typeof c!="function")return{default:c};var h=o(p);if(h&&h.has(c))return h.get(c);var d={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var v=m?Object.getOwnPropertyDescriptor(c,g):null;v&&(v.get||v.set)?Object.defineProperty(d,g,v):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}function a(c){return c&&c.__esModule?c:{default:c}}function s(c,p,h){var d=h.overflowY,m=h.showScrollbarY,g=d!=="hidden"&&m!==!1,v=c.minAvailableHeight,y=c.maxAvailableHeight,w=c.scrollStateX,E=!1,_=!1;w===n.ScrollbarState.VISIBLE&&(_=!0),g&&p>y&&(E=!0),E&&w===n.ScrollbarState.JOINT_SCROLLBARS&&(_=!0);var x=y;return _&&(x=v),{availableHeight:x,scrollEnabledX:_,scrollEnabledY:E}}var l=(0,r.default)([n.default,function(c){return c.scrollContentHeight},function(c){return c.scrollFlags}],s);e.default=l})(tn);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(sl),r=a(qp),n=a(gr),o=Xt,i=a(tn);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function l(d,m,g,v,y){var w=g?y:0,E=v-w,_=c(d,m,E),x=_.newColumnGroupProps,b=_.newColumnProps,C=p(b),S=C.fixedColumns,O=C.fixedRightColumns,M=C.scrollableColumns,D=E-(0,o.getTotalWidth)(S)-(0,o.getTotalWidth)(O),R=Math.max(0,(0,o.getTotalWidth)(b)-E);return{columnGroupProps:x,columnProps:b,availableScrollWidth:D,fixedColumns:S,fixedRightColumns:O,scrollableColumns:M,maxScrollX:R}}function c(d,m,g){var v=m,y=(0,o.getTotalFlexGrow)(m);if(y!==0){var w=(0,o.getTotalWidth)(m),E=Math.max(g-w,0);v=(0,r.default)(m,function(b){var C=b.flexGrow;if(!C)return b;var S=Math.floor(C*E/y),O=b.width+S;return y-=C,E-=S,s({},b,{width:O})})}var _=(0,r.default)(d,function(){return 0});(0,t.default)(v,function(b){b.groupIdx!==void 0&&(_[b.groupIdx]+=b.width)});var x=(0,r.default)(d,function(b,C){return _[C]===b.width?b:s({},b,{width:_[C]})});return{newColumnGroupProps:x,newColumnProps:v}}function p(d){var m=[],g=[],v=[];return(0,t.default)(d,function(y){var w=v;y.fixed?w=m:y.fixedRight&&(w=g),w.push(y)}),{fixedColumns:m,fixedRightColumns:g,scrollableColumns:v}}var h=(0,n.default)([function(d){return d.columnGroupProps},function(d){return d.columnProps},function(d){return(0,i.default)(d).scrollEnabledY},function(d){return d.tableSize.width},function(d){return d.scrollbarYWidth}],l);e.default=h})(ll);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(sl),r=o(gr),n=o(ll);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,l){var c=s.columnGroupProps,p=s.columnProps,h=[],d=[],m=[];(0,t.default)(c,function(w,E){var _={props:w,template:l.groupHeader[E]};w.fixed?h.push(_):w.fixedRight?d.push(_):m.push(_)});var g={cell:[],header:[],footer:[]},v={cell:[],header:[],footer:[]},y={cell:[],header:[],footer:[]};return(0,t.default)(p,function(w,E){var _=y;w.fixed?_=g:w.fixedRight&&(_=v),_.cell.push({props:w,template:l.cell[E]}),_.header.push({props:w,template:l.header[E]}),_.footer.push({props:w,template:l.footer[E]})}),{fixedColumnGroups:h,fixedColumns:g,fixedRightColumnGroups:d,fixedRightColumns:v,scrollableColumnGroups:m,scrollableColumns:y}}var a=(0,r.default)([function(s){return(0,n.default)(s)},function(s){return s.elementTemplates}],i);e.default=a})(Ap);var cl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(gr),r=o(Li),n=o(tn);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,l,c,p,h,d,m){var g=h.availableHeight,v=h.scrollEnabledX,y=c;v&&(y+=m);var w=Math.min(g,p),E=d?w:g,_=E+y,x=E;l<_&&(x=l-y);var b=d?p:Math.max(p,g),C=b+y;l&&(C=Math.max(l,C));var S=s.footerHeight,O=s.groupHeaderHeight,M=s.headerHeight,D=O+M,R=D+x,T=R+S,I=Math.max(0,R-D);return{bodyHeight:w,bodyOffsetTop:D,componentHeight:_,contentHeight:C,footOffsetTop:R,scrollbarXOffsetTop:T,scrollbarYHeight:I,visibleRowsHeight:x}}var a=(0,t.default)([function(s){return s.elementHeights},function(s){return s.tableSize.ownerHeight},function(s){return(0,r.default)(s).reservedHeight},function(s){return s.scrollContentHeight},n.default,function(s){return s.tableSize.useMaxHeight},function(s){return s.scrollbarXHeight}],i);e.default=a})(cl);var Gp={},Hi={},Yp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Yt);function r(i){return i&&i.__esModule?i:{default:i}}var n={listen:function(a,s,l){if(a.addEventListener)return a.addEventListener(s,l,!1),{remove:function(){a.removeEventListener(s,l,!1)}};if(a.attachEvent)return a.attachEvent("on"+s,l),{remove:function(){a.detachEvent("on"+s,l)}}},capture:function(a,s,l){return a.addEventListener?(a.addEventListener(s,l,!0),{remove:function(){a.removeEventListener(s,l,!0)}}):(process.env.NODE_ENV!=="production"&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:t.default})},registerDefault:function(){}},o=n;e.default=o})(Yp);var Xp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.cancelAnimationFrame||t.default.webkitCancelAnimationFrame||t.default.mozCancelAnimationFrame||t.default.oCancelAnimationFrame||t.default.msCancelAnimationFrame||t.default.clearTimeout,o=n;e.default=o})(Xp);var Bi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){var i=0,a=0;if(!o.clientX||!o.clientY){if(o.touches&&o.touches.length>0){var s=o.touches[0];i=s.clientX,a=s.clientY}}else i=o.clientX,a=o.clientY;return{x:i,y:a}}var r={getCoordinatesFromEvent:t},n=r;e.default=n})(Bi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Yp),r=i(Xp),n=i(Ni),o=i(Bi);function i(h){return h&&h.__esModule?h:{default:h}}function a(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function s(h,d){for(var m=0;m<d.length;m++){var g=d[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function l(h,d,m){return d&&s(h.prototype,d),h}var c=function(){function h(d,m,g,v){a(this,h),this._isDragging=!1,this._isTouchEnabled=v,this._animationFrameID=null,this._domNode=g,this._onMove=d,this._onMoveEnd=m,this._onMouseEnd=this._onMouseEnd.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._didMouseMove=this._didMouseMove.bind(this)}return l(h,[{key:"captureMouseMoves",value:function(m){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=t.default.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=t.default.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=t.default.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=t.default.listen(this._domNode,"touchstart",this._onMouseMove),this._eventTouchMoveToken=t.default.listen(this._domNode,"touchmove",this._onMouseMove),this._eventTouchEndToken=t.default.listen(this._domNode,"touchend",this._onMouseUp)),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._x=v,this._y=y}m.preventDefault()}},{key:"releaseMouseMoves",value:function(){this._eventMoveToken&&this._eventUpToken&&this._eventLeaveToken&&(this._eventMoveToken.remove(),this._eventMoveToken=null,this._eventUpToken.remove(),this._eventUpToken=null,this._eventLeaveToken.remove(),this._eventLeaveToken=null),this._isTouchEnabled&&this._eventTouchStartToken&&this._eventTouchMoveToken&&this._eventTouchEndToken&&(this._eventTouchStartToken.remove(),this._eventTouchStartToken=null,this._eventTouchMoveToken.remove(),this._eventTouchMoveToken=null,this._eventTouchEndToken.remove(),this._eventTouchEndToken=null),this._animationFrameID!==null&&((0,r.default)(this._animationFrameID),this._animationFrameID=null),this._isDragging&&(this._isDragging=!1,this._x=null,this._y=null)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"_onMouseMove",value:function(m){var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._deltaX+=v-this._x,this._deltaY+=y-this._y,this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didMouseMove)),this._x=v,this._y=y,m.preventDefault()}},{key:"_didMouseMove",value:function(){this._animationFrameID=null,this._onMove(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_onMouseUp",value:function(){this._animationFrameID&&this._didMouseMove(),this._onMoveEnd(!1)}},{key:"_onMouseEnd",value:function(){this._onMoveEnd(!0)}}]),h}(),p=c;e.default=p})(Hi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(Fi),i=s(mt),a=s(Hi);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function c(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&c(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function E(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;l(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),E(v(O),"state",{width:0,cursorDelta:0}),E(v(O),"_onMove",function(T){O.props.isRTL&&(T=-T);var I=O.state.cursorDelta+T,A=(0,o.default)(I,O.props.minWidth,O.props.maxWidth);O.setState({width:A,cursorDelta:I})}),E(v(O),"_onColumnResizeEnd",function(){O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.onColumnResizeEnd(O.state.width,O.props.columnKey)}),O}return p(S,[{key:"componentDidUpdate",value:function(){this.props.initialEvent&&!this._mouseMoveTracker.isDragging()&&(this._mouseMoveTracker.captureMouseMoves(this.props.initialEvent),this.setState({width:this.props.initialWidth,cursorDelta:this.props.initialWidth}))}},{key:"componentDidMount",value:function(){this._mouseMoveTracker=new a.default(this._onMove,this._onColumnResizeEnd,document.body,this.props.touchEnabled)}},{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={width:this.state.width,height:this.props.height};return this.props.isRTL?M.right=this.props.leftOffset:M.left=this.props.leftOffset,r.default.createElement("div",{className:(0,i.default)({"fixedDataTableColumnResizerLineLayout/main":!0,"fixedDataTableColumnResizerLineLayout/hiddenElem":!this.props.visible,"public/fixedDataTableColumnResizerLine/main":!0}),style:M},r.default.createElement("div",{className:(0,i.default)("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}}))}}]),S}(r.default.PureComponent);E(_,"propTypes",{visible:n.default.bool.isRequired,height:n.default.number.isRequired,leftOffset:n.default.number.isRequired,knobHeight:n.default.number.isRequired,initialWidth:n.default.number,minWidth:n.default.number,maxWidth:n.default.number,initialEvent:n.default.object,onColumnResizeEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(Gp);var Kp={};function SP(e,t){return e==null||e!==e?t:e}var RP=SP,OP=Math.max,MP=Math.min;function PP(e,t,r){return e>=MP(t,r)&&e<OP(t,r)}var DP=PP,kP=/\s/;function IP(e){for(var t=e.length;t--&&kP.test(e.charAt(t)););return t}var AP=IP,NP=AP,$P=/^\s+/;function LP(e){return e&&e.slice(0,NP(e)+1).replace($P,"")}var FP=LP,HP=FP,Ic=io,BP=Si,Ac=NaN,jP=/^[-+]0x[0-9a-f]+$/i,zP=/^0b[01]+$/i,WP=/^0o[0-7]+$/i,VP=parseInt;function UP(e){if(typeof e=="number")return e;if(BP(e))return Ac;if(Ic(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ic(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=HP(e);var r=zP.test(e);return r||WP.test(e)?VP(e.slice(2),r?2:8):jP.test(e)?Ac:+e}var dl=UP,qP=dl,Nc=1/0,GP=17976931348623157e292;function YP(e){if(!e)return e===0?e:0;if(e=qP(e),e===Nc||e===-Nc){var t=e<0?-1:1;return t*GP}return e===e?e:0}var XP=YP,KP=DP,$c=XP,QP=dl;function ZP(e,t,r){return t=$c(t),r===void 0?(r=t,t=0):r=$c(r),e=QP(e),KP(e,t,r)}var JP=ZP;function eD(e){return e==null}var Qp=eD,fl={},Zp={},Jp={},pl={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(Gt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(M[T]=R[T])}return M},s.apply(this,arguments)}function l(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(M);D&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(M,I).enumerable})),R.push.apply(R,T)}return R}function c(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?l(Object(R),!0).forEach(function(T){C(M,T,R[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):l(Object(R)).forEach(function(T){Object.defineProperty(M,T,Object.getOwnPropertyDescriptor(R,T))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),T,I;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(M);for(I=0;I<A.length;I++)T=A[I],!(D.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(M,T)&&(R[T]=M[T])}return R}function h(M,D){if(M==null)return{};var R={},T=Object.keys(M),I,A;for(A=0;A<T.length;A++)I=T[A],!(D.indexOf(I)>=0)&&(R[I]=M[I]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var T=D[R];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(M,T.key,T)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(T,I){return T.__proto__=I,T},y(M,D)}function w(M){var D=x();return function(){var T=b(M),I;if(D){var A=b(this).constructor;I=Reflect.construct(T,arguments,A)}else I=T.apply(this,arguments);return E(this,I)}}function E(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var I=this.props,A=I.height,P=I.width,N=I.style,H=I.className,B=I.children,L=p(I,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=c({height:A,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap1"),(0,o.default)("public/fixedDataTableCell/wrap1"),H),style:k}),r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap2"),(0,o.default)("public/fixedDataTableCell/wrap2"))},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap3"),(0,o.default)("public/fixedDataTableCell/wrap3"))},r.default.createElement("div",{className:(0,o.default)("public/fixedDataTableCell/cellContent")},B))))}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(pl);var e0={};(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(mt),i=s(Hi),a=s(Bi);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function c(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&c(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function E(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;l(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),E(v(O),"state",{dragDistance:0}),E(v(O),"onMouseDown",function(T){var I=T.target.getBoundingClientRect(),A=a.default.getCoordinatesFromEvent(T),P=A.x-I.left,N=P+T.target.parentElement.offsetLeft;O._mouseMoveTracker=new i.default(O._onMove,O._onColumnReorderEnd,document.body,O.props.touchEnabled),O._mouseMoveTracker.captureMouseMoves(T),O.setState({dragDistance:0}),O.props.onMouseDown({columnKey:O.props.columnKey,mouseLocation:{dragDistance:0,inElement:P,inColumnGroup:N}}),O._distance=0,O._animating=!0,O.frameId=requestAnimationFrame(O._updateState),O.props.touchEnabled&&T.stopPropagation()}),E(v(O),"_onMove",function(T){O._distance=O.state.dragDistance+T*(O.props.isRTL?-1:1)}),E(v(O),"_onColumnReorderEnd",function(T){O._animating=!1,cancelAnimationFrame(O.frameId),O.frameId=null,O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.columnReorderingData.cancelReorder=T,O.props.onColumnReorderEnd()}),E(v(O),"_updateState",function(){O._animating&&(O.frameId=requestAnimationFrame(O._updateState)),O.setState({dragDistance:O._distance}),O.props.onColumnReorderMove(O._distance)}),O}return p(S,[{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(cancelAnimationFrame(this.frameId),this.frameId=null,this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={height:this.props.height};return r.default.createElement("div",{className:(0,o.default)({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),onMouseDown:this.onMouseDown,onTouchStart:this.props.touchEnabled?this.onMouseDown:null,onTouchEnd:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,onTouchMove:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,style:M})}}]),S}(r.default.PureComponent);E(_,"propTypes",{onColumnReorderEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(e0);function t0(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function r0(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function n0(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}}t0.__suppressDeprecationWarning=!0;r0.__suppressDeprecationWarning=!0;n0.__suppressDeprecationWarning=!0;function tD(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.
|
|
234
|
+
*/function o(a,s){if(!t.default.canUseDOM||s&&!("addEventListener"in document))return!1;var l="on"+a,c=l in document;if(!c){var p=document.createElement("div");p.setAttribute(l,"return;"),c=typeof p[l]=="function"}return!c&&n&&a==="wheel"&&(c=document.implementation.hasFeature("Events.wheel","3.0")),c}var i=o;e.default=i})(Rp);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Sp),r=n(Rp);function n(c){return c&&c.__esModule?c:{default:c}}var o=10,i=40,a=800;function s(c){var p=0,h=0,d=0,m=0;return"detail"in c&&(h=c.detail),"wheelDelta"in c&&(h=-c.wheelDelta/120),"wheelDeltaY"in c&&(h=-c.wheelDeltaY/120),"wheelDeltaX"in c&&(p=-c.wheelDeltaX/120),"axis"in c&&c.axis===c.HORIZONTAL_AXIS&&(p=h,h=0),d=p*o,m=h*o,"deltaY"in c&&(m=c.deltaY),"deltaX"in c&&(d=c.deltaX),(d||m)&&c.deltaMode&&(c.deltaMode==1?(d*=i,m*=i):(d*=a,m*=a)),d&&!p&&(p=d<1?-1:1),m&&!h&&(h=m<1?-1:1),{spinX:p,spinY:h,pixelX:d,pixelY:m}}s.getEventType=function(){return t.default.firefox()?"DOMMouseScroll":(0,r.default)("wheel")?"wheel":"mousewheel"};var l=s;e.default=l})(Ep);var Ni={},Op={},Zr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof u.commonjsGlobal!="undefined"?u.commonjsGlobal:typeof self!="undefined"?self:{},r=t;e.default=r})(Zr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.requestAnimationFrame||t.default.webkitRequestAnimationFrame||t.default.mozRequestAnimationFrame||t.default.oRequestAnimationFrame||t.default.msRequestAnimationFrame,o=n;e.default=o})(Op);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Yt),r=o(Op),n=o(Zr);function o(l){return l&&l.__esModule?l:{default:l}}var i=0,a=r.default||function(l){var c=Date.now(),p=Math.max(0,16-(c-i));return i=c+p,n.default.setTimeout(function(){l(Date.now())},p)};a(t.default);var s=a;e.default=s})(Ni);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Yt),r=o(Ep),n=o(Ni);function o(p){return p&&p.__esModule?p:{default:p}}function i(p,h){if(!(p instanceof h))throw new TypeError("Cannot call a class as a function")}function a(p,h){for(var d=0;d<h.length;d++){var m=h[d];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(p,m.key,m)}}function s(p,h,d){return h&&a(p.prototype,h),d&&a(p,d),p}var l=function(){function p(h,d,m,g,v,y){i(this,p),this._animationFrameID=null,this._deltaX=0,this._deltaY=0,this._didWheel=this._didWheel.bind(this),this._rootRef=null,typeof d!="function"&&(d=d?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof m!="function"&&(m=m?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=d,this._handleScrollY=m,this._preventDefault=v,this._stopPropagation=y,this._onWheelCallback=h,this.onWheel=this.onWheel.bind(this),this._isRTL=g}return s(p,[{key:"onWheel",value:function(d){this._preventDefault&&d.preventDefault();var m=(0,r.default)(d);d.shiftKey&&p._allowInternalAxesSwap()?m=p._swapNormalizedWheelAxis(m):d.shiftKey||(m.pixelX*=this._isRTL?-1:1);var g=this._deltaX+m.pixelX,v=this._deltaY+m.pixelY,y=this._handleScrollX(g,v),w=this._handleScrollY(v,g);if(!(!y&&!w)&&!(this._rootRef&&!this._contains(d.target))){this._deltaX+=y?m.pixelX:0,this._deltaY+=w?m.pixelY:0,d.defaultPrevented||d.preventDefault();var E;(this._deltaX!==0||this._deltaY!==0)&&(this._stopPropagation&&d.stopPropagation(),E=!0),E===!0&&this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didWheel))}}},{key:"setRoot",value:function(d){this._rootRef=d}},{key:"_didWheel",value:function(){this._animationFrameID=null,this._onWheelCallback(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_contains",value:function(d){for(var m=d;m!=document.body;){if(m===this._rootRef)return!0;m=m.parentNode}return!1}}],[{key:"_swapNormalizedWheelAxis",value:function(d){return{spinX:d.spinY,spinY:d.spinX,pixelX:d.pixelY,pixelY:d.pixelX}}},{key:"_allowInternalAxesSwap",value:function(){return navigator.platform!=="MacIntel"}}]),p}(),c=l;e.default=c})(tl);var Mp={},gr={},Qo="NOT_FOUND";function iR(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:Qo},put:function(n,o){t={key:n,value:o}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function aR(e,t){var r=[];function n(s){var l=r.findIndex(function(p){return t(s,p.key)});if(l>-1){var c=r[l];return l>0&&(r.splice(l,1),r.unshift(c)),c.value}return Qo}function o(s,l){n(s)===Qo&&(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 Pp=function(t,r){return t===r};function sR(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 Dp(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,o=n===void 0?Pp:n,i=r.maxSize,a=i===void 0?1:i,s=r.resultEqualityCheck,l=sR(o),c=a===1?iR(l):aR(a,l);function p(){var h=c.get(arguments);if(h===Qo){if(h=e.apply(null,arguments),s){var d=c.getEntries(),m=d.find(function(g){return s(g.value,h)});m&&(h=m.value)}c.put(arguments,h)}return h}return p.clearCache=function(){return c.clear()},p}function lR(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 kp(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,p,h={memoizeOptions:void 0},d=s.pop();if(typeof d=="object"&&(h=d,d=s.pop()),typeof d!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof d+"]");var m=h,g=m.memoizeOptions,v=g===void 0?r:g,y=Array.isArray(v)?v:[v],w=lR(s),E=e.apply(void 0,[function(){return c++,d.apply(null,arguments)}].concat(y)),_=e(function(){for(var b=[],C=w.length,S=0;S<C;S++)b.push(w[S].apply(null,arguments));return p=E.apply(null,b),p});return Object.assign(_,{resultFunc:d,memoizedResultFunc:E,dependencies:w,lastResult:function(){return p},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),_};return o}var Ip=kp(Dp),uR=function(t,r){if(r===void 0&&(r=Ip),typeof t!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof t));var n=Object.keys(t),o=r(n.map(function(i){return t[i]}),function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return a.reduce(function(l,c,p){return l[n[p]]=c,l},{})});return o};const cR=Object.freeze(Object.defineProperty({__proto__:null,createSelector:Ip,createSelectorCreator:kp,createStructuredSelector:uR,defaultEqualityCheck:Pp,defaultMemoize:Dp},Symbol.toStringTag,{value:"Module"})),dR=u.getAugmentedNamespace(cR);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=dR,r=n(so);function n(i){return i&&i.__esModule?i:{default:i}}var o=(0,t.createSelectorCreator)(t.defaultMemoize,r.default);e.default=o})(gr);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(gr);function r(i){return i&&i.__esModule?i:{default:i}}function n(i,a,s){var l=1,c=1,p=i+2,h=i+1,d=2;return a&&(c++,h++,p++,d++),s&&h++,{ariaGroupHeaderIndex:l,ariaHeaderIndex:c,ariaFooterIndex:p,ariaRowCount:h,ariaRowIndexOffset:d}}var o=(0,t.default)([function(i){return i.rowsCount},function(i){return i.groupHeaderHeight>0},function(i){return i.footerHeight>0}],n);e.default=o})(Mp);var Ap={};function fR(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var pR=fR;function hR(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 mR=hR,gR=mR,vR=gR(),yR=vR;function bR(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var _R=bR,qa={exports:{}};function xR(){return!1}var wR=xR;(function(e,t){var r=Dt,n=wR,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})(qa,qa.exports);var nl=qa.exports,CR=Gr,TR=Zs,ER=Yr,SR="[object Arguments]",RR="[object Array]",OR="[object Boolean]",MR="[object Date]",PR="[object Error]",DR="[object Function]",kR="[object Map]",IR="[object Number]",AR="[object Object]",NR="[object RegExp]",$R="[object Set]",LR="[object String]",FR="[object WeakMap]",HR="[object ArrayBuffer]",BR="[object DataView]",jR="[object Float32Array]",zR="[object Float64Array]",WR="[object Int8Array]",VR="[object Int16Array]",UR="[object Int32Array]",qR="[object Uint8Array]",GR="[object Uint8ClampedArray]",YR="[object Uint16Array]",XR="[object Uint32Array]",_e={};_e[jR]=_e[zR]=_e[WR]=_e[VR]=_e[UR]=_e[qR]=_e[GR]=_e[YR]=_e[XR]=!0;_e[SR]=_e[RR]=_e[HR]=_e[OR]=_e[BR]=_e[MR]=_e[PR]=_e[DR]=_e[kR]=_e[IR]=_e[AR]=_e[NR]=_e[$R]=_e[LR]=_e[FR]=!1;function KR(e){return ER(e)&&TR(e.length)&&!!_e[CR(e)]}var QR=KR;function ZR(e){return function(t){return e(t)}}var JR=ZR,Ga={exports:{}};(function(e,t){var r=dp,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})(Ga,Ga.exports);var eO=Ga.exports,tO=QR,rO=JR,hc=eO,mc=hc&&hc.isTypedArray,nO=mc?rO(mc):tO,ol=nO,oO=_R,iO=ki,aO=tt,sO=nl,lO=Qs,uO=ol,cO=Object.prototype,dO=cO.hasOwnProperty;function fO(e,t){var r=aO(e),n=!r&&iO(e),o=!r&&!n&&sO(e),i=!r&&!n&&!o&&uO(e),a=r||n||o||i,s=a?oO(e.length,String):[],l=s.length;for(var c in e)(t||dO.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||lO(c,l)))&&s.push(c);return s}var pO=fO,hO=Object.prototype;function mO(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||hO;return e===r}var Np=mO;function gO(e,t){return function(r){return e(t(r))}}var vO=gO,yO=vO,bO=yO(Object.keys,Object),_O=bO,xO=Np,wO=_O,CO=Object.prototype,TO=CO.hasOwnProperty;function EO(e){if(!xO(e))return wO(e);var t=[];for(var r in Object(e))TO.call(e,r)&&r!="constructor"&&t.push(r);return t}var $p=EO,SO=pp,RO=Zs;function OO(e){return e!=null&&RO(e.length)&&!SO(e)}var $i=OO,MO=pO,PO=$p,DO=$i;function kO(e){return DO(e)?MO(e):PO(e)}var il=kO,IO=yR,AO=il;function NO(e,t){return e&&IO(e,t,AO)}var $O=NO,LO=$i;function FO(e,t){return function(r,n){if(r==null)return r;if(!LO(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 HO=FO,BO=$O,jO=HO,zO=jO(BO),al=zO,WO=Js;function VO(e){return typeof e=="function"?e:WO}var UO=VO,qO=pR,GO=al,YO=UO,XO=tt;function KO(e,t){var r=XO(e)?qO:GO;return r(e,YO(t))}var sl=KO,ll={},QO=Mi;function ZO(){this.__data__=new QO,this.size=0}var JO=ZO;function eM(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var tM=eM;function rM(e){return this.__data__.get(e)}var nM=rM;function oM(e){return this.__data__.has(e)}var iM=oM,aM=Mi,sM=Gs,lM=Ys,uM=200;function cM(e,t){var r=this.__data__;if(r instanceof aM){var n=r.__data__;if(!sM||n.length<uM-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new lM(n)}return r.set(e,t),this.size=r.size,this}var dM=cM,fM=Mi,pM=JO,hM=tM,mM=nM,gM=iM,vM=dM;function Jr(e){var t=this.__data__=new fM(e);this.size=t.size}Jr.prototype.clear=pM;Jr.prototype.delete=hM;Jr.prototype.get=mM;Jr.prototype.has=gM;Jr.prototype.set=vM;var Lp=Jr,yM="__lodash_hash_undefined__";function bM(e){return this.__data__.set(e,yM),this}var _M=bM;function xM(e){return this.__data__.has(e)}var wM=xM,CM=Ys,TM=_M,EM=wM;function Zo(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new CM;++t<r;)this.add(e[t])}Zo.prototype.add=Zo.prototype.push=TM;Zo.prototype.has=EM;var SM=Zo;function RM(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var OM=RM;function MM(e,t){return e.has(t)}var PM=MM,DM=SM,kM=OM,IM=PM,AM=1,NM=2;function $M(e,t,r,n,o,i){var a=r&AM,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),p=i.get(t);if(c&&p)return c==t&&p==e;var h=-1,d=!0,m=r&NM?new DM:void 0;for(i.set(e,t),i.set(t,e);++h<s;){var g=e[h],v=t[h];if(n)var y=a?n(v,g,h,t,e,i):n(g,v,h,e,t,i);if(y!==void 0){if(y)continue;d=!1;break}if(m){if(!kM(t,function(w,E){if(!IM(m,E)&&(g===w||o(g,w,r,n,i)))return m.push(E)})){d=!1;break}}else if(!(g===v||o(g,v,r,n,i))){d=!1;break}}return i.delete(e),i.delete(t),d}var Fp=$M,LM=Dt,FM=LM.Uint8Array,HM=FM;function BM(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}var jM=BM;function zM(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var WM=zM,gc=oo,vc=HM,VM=qs,UM=Fp,qM=jM,GM=WM,YM=1,XM=2,KM="[object Boolean]",QM="[object Date]",ZM="[object Error]",JM="[object Map]",e4="[object Number]",t4="[object RegExp]",r4="[object Set]",n4="[object String]",o4="[object Symbol]",i4="[object ArrayBuffer]",a4="[object DataView]",yc=gc?gc.prototype:void 0,ga=yc?yc.valueOf:void 0;function s4(e,t,r,n,o,i,a){switch(r){case a4:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case i4:return!(e.byteLength!=t.byteLength||!i(new vc(e),new vc(t)));case KM:case QM:case e4:return VM(+e,+t);case ZM:return e.name==t.name&&e.message==t.message;case t4:case n4:return e==t+"";case JM:var s=qM;case r4:var l=n&YM;if(s||(s=GM),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;n|=XM,a.set(e,t);var p=UM(s(e),s(t),n,o,i,a);return a.delete(e),p;case o4:if(ga)return ga.call(e)==ga.call(t)}return!1}var l4=s4,u4=xp,c4=tt;function d4(e,t,r){var n=t(e);return c4(e)?n:u4(n,r(e))}var f4=d4;function p4(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 h4=p4;function m4(){return[]}var g4=m4,v4=h4,y4=g4,b4=Object.prototype,_4=b4.propertyIsEnumerable,bc=Object.getOwnPropertySymbols,x4=bc?function(e){return e==null?[]:(e=Object(e),v4(bc(e),function(t){return _4.call(e,t)}))}:y4,w4=x4,C4=f4,T4=w4,E4=il;function S4(e){return C4(e,E4,T4)}var R4=S4,_c=R4,O4=1,M4=Object.prototype,P4=M4.hasOwnProperty;function D4(e,t,r,n,o,i){var a=r&O4,s=_c(e),l=s.length,c=_c(t),p=c.length;if(l!=p&&!a)return!1;for(var h=l;h--;){var d=s[h];if(!(a?d in t:P4.call(t,d)))return!1}var m=i.get(e),g=i.get(t);if(m&&g)return m==t&&g==e;var v=!0;i.set(e,t),i.set(t,e);for(var y=a;++h<l;){d=s[h];var w=e[d],E=t[d];if(n)var _=a?n(E,w,d,t,e,i):n(w,E,d,e,t,i);if(!(_===void 0?w===E||o(w,E,r,n,i):_)){v=!1;break}y||(y=d=="constructor")}if(v&&!y){var x=e.constructor,b=t.constructor;x!=b&&"constructor"in e&&"constructor"in t&&!(typeof x=="function"&&x instanceof x&&typeof b=="function"&&b instanceof b)&&(v=!1)}return i.delete(e),i.delete(t),v}var k4=D4,I4=mr,A4=Dt,N4=I4(A4,"DataView"),$4=N4,L4=mr,F4=Dt,H4=L4(F4,"Promise"),B4=H4,j4=mr,z4=Dt,W4=j4(z4,"Set"),V4=W4,U4=mr,q4=Dt,G4=U4(q4,"WeakMap"),Y4=G4,Ya=$4,Xa=Gs,Ka=B4,Qa=V4,Za=Y4,Hp=Gr,en=hp,xc="[object Map]",X4="[object Object]",wc="[object Promise]",Cc="[object Set]",Tc="[object WeakMap]",Ec="[object DataView]",K4=en(Ya),Q4=en(Xa),Z4=en(Ka),J4=en(Qa),e5=en(Za),ar=Hp;(Ya&&ar(new Ya(new ArrayBuffer(1)))!=Ec||Xa&&ar(new Xa)!=xc||Ka&&ar(Ka.resolve())!=wc||Qa&&ar(new Qa)!=Cc||Za&&ar(new Za)!=Tc)&&(ar=function(e){var t=Hp(e),r=t==X4?e.constructor:void 0,n=r?en(r):"";if(n)switch(n){case K4:return Ec;case Q4:return xc;case Z4:return wc;case J4:return Cc;case e5:return Tc}return t});var Bp=ar,va=Lp,t5=Fp,r5=l4,n5=k4,Sc=Bp,Rc=tt,Oc=nl,o5=ol,i5=1,Mc="[object Arguments]",Pc="[object Array]",Po="[object Object]",a5=Object.prototype,Dc=a5.hasOwnProperty;function s5(e,t,r,n,o,i){var a=Rc(e),s=Rc(t),l=a?Pc:Sc(e),c=s?Pc:Sc(t);l=l==Mc?Po:l,c=c==Mc?Po:c;var p=l==Po,h=c==Po,d=l==c;if(d&&Oc(e)){if(!Oc(t))return!1;a=!0,p=!1}if(d&&!p)return i||(i=new va),a||o5(e)?t5(e,t,r,n,o,i):r5(e,t,l,r,n,o,i);if(!(r&i5)){var m=p&&Dc.call(e,"__wrapped__"),g=h&&Dc.call(t,"__wrapped__");if(m||g){var v=m?e.value():e,y=g?t.value():t;return i||(i=new va),o(v,y,r,n,i)}}return d?(i||(i=new va),n5(e,t,r,n,o,i)):!1}var l5=s5,u5=l5,kc=Yr;function jp(e,t,r,n,o){return e===t?!0:e==null||t==null||!kc(e)&&!kc(t)?e!==e&&t!==t:u5(e,t,r,n,jp,o)}var zp=jp,c5=Lp,d5=zp,f5=1,p5=2;function h5(e,t,r,n){var o=r.length,i=o,a=!n;if(e==null)return!i;for(e=Object(e);o--;){var s=r[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=r[o];var l=s[0],c=e[l],p=s[1];if(a&&s[2]){if(c===void 0&&!(l in e))return!1}else{var h=new c5;if(n)var d=n(c,p,l,e,t,h);if(!(d===void 0?d5(p,c,f5|p5,n,h):d))return!1}}return!0}var m5=h5,g5=io;function v5(e){return e===e&&!g5(e)}var Wp=v5,y5=Wp,b5=il;function _5(e){for(var t=b5(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,y5(o)]}return t}var x5=_5;function w5(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Vp=w5,C5=m5,T5=x5,E5=Vp;function S5(e){var t=T5(e);return t.length==1&&t[0][2]?E5(t[0][0],t[0][1]):function(r){return r===e||C5(r,e,t)}}var R5=S5,O5=Ks;function M5(e,t,r){var n=e==null?void 0:O5(e,t);return n===void 0?r:n}var P5=M5,D5=zp,k5=P5,I5=_p,A5=Us,N5=Wp,$5=Vp,L5=ao,F5=1,H5=2;function B5(e,t){return A5(e)&&N5(t)?$5(L5(e),t):function(r){var n=k5(r,e);return n===void 0&&n===t?I5(r,e):D5(t,n,F5|H5)}}var j5=B5;function z5(e){return function(t){return t==null?void 0:t[e]}}var W5=z5,V5=Ks;function U5(e){return function(t){return V5(t,e)}}var q5=U5,G5=W5,Y5=q5,X5=Us,K5=ao;function Q5(e){return X5(e)?G5(K5(e)):Y5(e)}var Z5=Q5,J5=R5,eP=j5,tP=Js,rP=tt,nP=Z5;function oP(e){return typeof e=="function"?e:e==null?tP:typeof e=="object"?rP(e)?eP(e[0],e[1]):J5(e):nP(e)}var Up=oP,iP=al,aP=$i;function sP(e,t){var r=-1,n=aP(e)?Array(e.length):[];return iP(e,function(o,i,a){n[++r]=t(o,i,a)}),n}var lP=sP,uP=gp,cP=Up,dP=lP,fP=tt;function pP(e,t){var r=fP(e)?uP:dP;return r(e,cP(t))}var qp=pP,Xt={};function hP(e,t,r,n){var o=-1,i=e==null?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}var mP=hP;function gP(e,t,r,n,o){return o(e,function(i,a,s){r=n?(n=!1,i):t(r,i,a,s)}),r}var vP=gP,yP=mP,bP=al,_P=Up,xP=vP,wP=tt;function CP(e,t,r){var n=wP(e)?yP:xP,o=arguments.length<3;return n(e,_P(t),r,o,bP)}var TP=CP;Object.defineProperty(Xt,"__esModule",{value:!0});Xt.sumPropWidths=SP;Xt.getTotalWidth=RP;Xt.getTotalFlexGrow=OP;var ul=EP(TP);function EP(e){return e&&e.__esModule?e:{default:e}}function SP(e){return(0,ul.default)(e,function(t,r){return t+r.props.width},0)}function RP(e){return(0,ul.default)(e,function(t,r){return t+r.width},0)}function OP(e){return(0,ul.default)(e,function(t,r){return t+(r.flexGrow||0)},0)}var tn={},Li={},Fi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(n,o,i){return n<o?o:n>i?i:n}var r=t;e.default=r})(Fi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ScrollbarState=void 0;var t=o(Fi),r=o(gr),n=Xt;function o(m){return m&&m.__esModule?m:{default:m}}var i=1,a=3,s=6,l={HIDDEN:"hidden",JOINT_SCROLLBARS:"JOINT_SCROLLBARS",VISIBLE:"visible"};e.ScrollbarState=l;function c(m,g,v,y,w,E,_){var x=g.cellGroupWrapperHeight,b=g.footerHeight,C=g.headerHeight,S=g.groupHeaderHeight,O=x?0:2*i,M=b+C+S+O,D=w.height,R=w.maxHeight,T=w.useMaxHeight,I=w.width,A=Math.round(T?R:D),P=A-M,N=p(m,y,I,_),H=P,B=P;switch(N){case l.VISIBLE:{H-=E,B-=E;break}case l.JOINT_SCROLLBARS:{H-=E;break}}return{bufferRowCount:h(B,v),minAvailableHeight:Math.max(H,0),maxAvailableHeight:Math.max(B,0),reservedHeight:M,scrollStateX:N}}function p(m,g,v,y){var w=g.overflowX,E=g.showScrollbarX,_=(0,n.getTotalWidth)(m);return w==="hidden"||E===!1?l.HIDDEN:_>v?l.VISIBLE:_>v-y?l.JOINT_SCROLLBARS:l.HIDDEN}function h(m,g){var v=g.bufferRowCount,y=g.rowHeight,w=g.subRowHeight;if(v!==void 0)return console.log("buffer set: "+v),v;var E=y+w,_=Math.ceil(m/E)+1;return(0,t.default)(Math.floor(_/2),a,s)}var d=(0,r.default)([function(m){return m.columnProps},function(m){return m.elementHeights},function(m){return m.rowSettings},function(m){return m.scrollFlags},function(m){return m.tableSize},function(m){return m.scrollbarXHeight},function(m){return m.scrollbarYWidth}],c);e.default=d})(Li);(function(e){function t(c){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(h){return typeof h}:t=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},t(c)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(gr),n=i(Li);function o(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,h=new WeakMap;return(o=function(m){return m?h:p})(c)}function i(c,p){if(c&&c.__esModule)return c;if(c===null||t(c)!=="object"&&typeof c!="function")return{default:c};var h=o(p);if(h&&h.has(c))return h.get(c);var d={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in c)if(g!=="default"&&Object.prototype.hasOwnProperty.call(c,g)){var v=m?Object.getOwnPropertyDescriptor(c,g):null;v&&(v.get||v.set)?Object.defineProperty(d,g,v):d[g]=c[g]}return d.default=c,h&&h.set(c,d),d}function a(c){return c&&c.__esModule?c:{default:c}}function s(c,p,h){var d=h.overflowY,m=h.showScrollbarY,g=d!=="hidden"&&m!==!1,v=c.minAvailableHeight,y=c.maxAvailableHeight,w=c.scrollStateX,E=!1,_=!1;w===n.ScrollbarState.VISIBLE&&(_=!0),g&&p>y&&(E=!0),E&&w===n.ScrollbarState.JOINT_SCROLLBARS&&(_=!0);var x=y;return _&&(x=v),{availableHeight:x,scrollEnabledX:_,scrollEnabledY:E}}var l=(0,r.default)([n.default,function(c){return c.scrollContentHeight},function(c){return c.scrollFlags}],s);e.default=l})(tn);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(sl),r=a(qp),n=a(gr),o=Xt,i=a(tn);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function l(d,m,g,v,y){var w=g?y:0,E=v-w,_=c(d,m,E),x=_.newColumnGroupProps,b=_.newColumnProps,C=p(b),S=C.fixedColumns,O=C.fixedRightColumns,M=C.scrollableColumns,D=E-(0,o.getTotalWidth)(S)-(0,o.getTotalWidth)(O),R=Math.max(0,(0,o.getTotalWidth)(b)-E);return{columnGroupProps:x,columnProps:b,availableScrollWidth:D,fixedColumns:S,fixedRightColumns:O,scrollableColumns:M,maxScrollX:R}}function c(d,m,g){var v=m,y=(0,o.getTotalFlexGrow)(m);if(y!==0){var w=(0,o.getTotalWidth)(m),E=Math.max(g-w,0);v=(0,r.default)(m,function(b){var C=b.flexGrow;if(!C)return b;var S=Math.floor(C*E/y),O=b.width+S;return y-=C,E-=S,s({},b,{width:O})})}var _=(0,r.default)(d,function(){return 0});(0,t.default)(v,function(b){b.groupIdx!==void 0&&(_[b.groupIdx]+=b.width)});var x=(0,r.default)(d,function(b,C){return _[C]===b.width?b:s({},b,{width:_[C]})});return{newColumnGroupProps:x,newColumnProps:v}}function p(d){var m=[],g=[],v=[];return(0,t.default)(d,function(y){var w=v;y.fixed?w=m:y.fixedRight&&(w=g),w.push(y)}),{fixedColumns:m,fixedRightColumns:g,scrollableColumns:v}}var h=(0,n.default)([function(d){return d.columnGroupProps},function(d){return d.columnProps},function(d){return(0,i.default)(d).scrollEnabledY},function(d){return d.tableSize.width},function(d){return d.scrollbarYWidth}],l);e.default=h})(ll);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(sl),r=o(gr),n=o(ll);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,l){var c=s.columnGroupProps,p=s.columnProps,h=[],d=[],m=[];(0,t.default)(c,function(w,E){var _={props:w,template:l.groupHeader[E]};w.fixed?h.push(_):w.fixedRight?d.push(_):m.push(_)});var g={cell:[],header:[],footer:[]},v={cell:[],header:[],footer:[]},y={cell:[],header:[],footer:[]};return(0,t.default)(p,function(w,E){var _=y;w.fixed?_=g:w.fixedRight&&(_=v),_.cell.push({props:w,template:l.cell[E]}),_.header.push({props:w,template:l.header[E]}),_.footer.push({props:w,template:l.footer[E]})}),{fixedColumnGroups:h,fixedColumns:g,fixedRightColumnGroups:d,fixedRightColumns:v,scrollableColumnGroups:m,scrollableColumns:y}}var a=(0,r.default)([function(s){return(0,n.default)(s)},function(s){return s.elementTemplates}],i);e.default=a})(Ap);var cl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(gr),r=o(Li),n=o(tn);function o(s){return s&&s.__esModule?s:{default:s}}function i(s,l,c,p,h,d,m){var g=h.availableHeight,v=h.scrollEnabledX,y=c;v&&(y+=m);var w=Math.min(g,p),E=d?w:g,_=E+y,x=E;l<_&&(x=l-y);var b=d?p:Math.max(p,g),C=b+y;l&&(C=Math.max(l,C));var S=s.footerHeight,O=s.groupHeaderHeight,M=s.headerHeight,D=O+M,R=D+x,T=R+S,I=Math.max(0,R-D);return{bodyHeight:w,bodyOffsetTop:D,componentHeight:_,contentHeight:C,footOffsetTop:R,scrollbarXOffsetTop:T,scrollbarYHeight:I,visibleRowsHeight:x}}var a=(0,t.default)([function(s){return s.elementHeights},function(s){return s.tableSize.ownerHeight},function(s){return(0,r.default)(s).reservedHeight},function(s){return s.scrollContentHeight},n.default,function(s){return s.tableSize.useMaxHeight},function(s){return s.scrollbarXHeight}],i);e.default=a})(cl);var Gp={},Hi={},Yp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Yt);function r(i){return i&&i.__esModule?i:{default:i}}var n={listen:function(a,s,l){if(a.addEventListener)return a.addEventListener(s,l,!1),{remove:function(){a.removeEventListener(s,l,!1)}};if(a.attachEvent)return a.attachEvent("on"+s,l),{remove:function(){a.detachEvent("on"+s,l)}}},capture:function(a,s,l){return a.addEventListener?(a.addEventListener(s,l,!0),{remove:function(){a.removeEventListener(s,l,!0)}}):(process.env.NODE_ENV!=="production"&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:t.default})},registerDefault:function(){}},o=n;e.default=o})(Yp);var Xp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zr);function r(i){return i&&i.__esModule?i:{default:i}}var n=t.default.cancelAnimationFrame||t.default.webkitCancelAnimationFrame||t.default.mozCancelAnimationFrame||t.default.oCancelAnimationFrame||t.default.msCancelAnimationFrame||t.default.clearTimeout,o=n;e.default=o})(Xp);var Bi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(o){var i=0,a=0;if(!o.clientX||!o.clientY){if(o.touches&&o.touches.length>0){var s=o.touches[0];i=s.clientX,a=s.clientY}}else i=o.clientX,a=o.clientY;return{x:i,y:a}}var r={getCoordinatesFromEvent:t},n=r;e.default=n})(Bi);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Yp),r=i(Xp),n=i(Ni),o=i(Bi);function i(h){return h&&h.__esModule?h:{default:h}}function a(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function s(h,d){for(var m=0;m<d.length;m++){var g=d[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function l(h,d,m){return d&&s(h.prototype,d),h}var c=function(){function h(d,m,g,v){a(this,h),this._isDragging=!1,this._isTouchEnabled=v,this._animationFrameID=null,this._domNode=g,this._onMove=d,this._onMoveEnd=m,this._onMouseEnd=this._onMouseEnd.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._didMouseMove=this._didMouseMove.bind(this)}return l(h,[{key:"captureMouseMoves",value:function(m){if(!this._eventMoveToken&&!this._eventUpToken&&!this._eventLeaveToken&&(this._eventMoveToken=t.default.listen(this._domNode,"mousemove",this._onMouseMove),this._eventUpToken=t.default.listen(this._domNode,"mouseup",this._onMouseUp),this._eventLeaveToken=t.default.listen(this._domNode,"mouseleave",this._onMouseEnd)),this._isTouchEnabled&&!this._eventTouchStartToken&&!this._eventTouchMoveToken&&!this._eventTouchEndToken&&(this._eventTouchStartToken=t.default.listen(this._domNode,"touchstart",this._onMouseMove),this._eventTouchMoveToken=t.default.listen(this._domNode,"touchmove",this._onMouseMove),this._eventTouchEndToken=t.default.listen(this._domNode,"touchend",this._onMouseUp)),!this._isDragging){this._deltaX=0,this._deltaY=0,this._isDragging=!0;var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._x=v,this._y=y}m.preventDefault()}},{key:"releaseMouseMoves",value:function(){this._eventMoveToken&&this._eventUpToken&&this._eventLeaveToken&&(this._eventMoveToken.remove(),this._eventMoveToken=null,this._eventUpToken.remove(),this._eventUpToken=null,this._eventLeaveToken.remove(),this._eventLeaveToken=null),this._isTouchEnabled&&this._eventTouchStartToken&&this._eventTouchMoveToken&&this._eventTouchEndToken&&(this._eventTouchStartToken.remove(),this._eventTouchStartToken=null,this._eventTouchMoveToken.remove(),this._eventTouchMoveToken=null,this._eventTouchEndToken.remove(),this._eventTouchEndToken=null),this._animationFrameID!==null&&((0,r.default)(this._animationFrameID),this._animationFrameID=null),this._isDragging&&(this._isDragging=!1,this._x=null,this._y=null)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"_onMouseMove",value:function(m){var g=o.default.getCoordinatesFromEvent(m),v=g.x,y=g.y;this._deltaX+=v-this._x,this._deltaY+=y-this._y,this._animationFrameID===null&&(this._animationFrameID=(0,n.default)(this._didMouseMove)),this._x=v,this._y=y,m.preventDefault()}},{key:"_didMouseMove",value:function(){this._animationFrameID=null,this._onMove(this._deltaX,this._deltaY),this._deltaX=0,this._deltaY=0}},{key:"_onMouseUp",value:function(){this._animationFrameID&&this._didMouseMove(),this._onMoveEnd(!1)}},{key:"_onMouseEnd",value:function(){this._onMoveEnd(!0)}}]),h}(),p=c;e.default=p})(Hi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(Fi),i=s(mt),a=s(Hi);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function c(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&c(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function E(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;l(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),E(v(O),"state",{width:0,cursorDelta:0}),E(v(O),"_onMove",function(T){O.props.isRTL&&(T=-T);var I=O.state.cursorDelta+T,A=(0,o.default)(I,O.props.minWidth,O.props.maxWidth);O.setState({width:A,cursorDelta:I})}),E(v(O),"_onColumnResizeEnd",function(){O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.onColumnResizeEnd(O.state.width,O.props.columnKey)}),O}return p(S,[{key:"componentDidUpdate",value:function(){this.props.initialEvent&&!this._mouseMoveTracker.isDragging()&&(this._mouseMoveTracker.captureMouseMoves(this.props.initialEvent),this.setState({width:this.props.initialWidth,cursorDelta:this.props.initialWidth}))}},{key:"componentDidMount",value:function(){this._mouseMoveTracker=new a.default(this._onMove,this._onColumnResizeEnd,document.body,this.props.touchEnabled)}},{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={width:this.state.width,height:this.props.height};return this.props.isRTL?M.right=this.props.leftOffset:M.left=this.props.leftOffset,r.default.createElement("div",{className:(0,i.default)({"fixedDataTableColumnResizerLineLayout/main":!0,"fixedDataTableColumnResizerLineLayout/hiddenElem":!this.props.visible,"public/fixedDataTableColumnResizerLine/main":!0}),style:M},r.default.createElement("div",{className:(0,i.default)("fixedDataTableColumnResizerLineLayout/mouseArea"),style:{height:this.props.height}}))}}]),S}(r.default.PureComponent);E(_,"propTypes",{visible:n.default.bool.isRequired,height:n.default.number.isRequired,leftOffset:n.default.number.isRequired,knobHeight:n.default.number.isRequired,initialWidth:n.default.number,minWidth:n.default.number,maxWidth:n.default.number,initialEvent:n.default.object,onColumnResizeEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(Gp);var Kp={};function MP(e,t){return e==null||e!==e?t:e}var PP=MP,DP=Math.max,kP=Math.min;function IP(e,t,r){return e>=kP(t,r)&&e<DP(t,r)}var AP=IP,NP=/\s/;function $P(e){for(var t=e.length;t--&&NP.test(e.charAt(t)););return t}var LP=$P,FP=LP,HP=/^\s+/;function BP(e){return e&&e.slice(0,FP(e)+1).replace(HP,"")}var jP=BP,zP=jP,Ic=io,WP=Si,Ac=NaN,VP=/^[-+]0x[0-9a-f]+$/i,UP=/^0b[01]+$/i,qP=/^0o[0-7]+$/i,GP=parseInt;function YP(e){if(typeof e=="number")return e;if(WP(e))return Ac;if(Ic(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ic(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=zP(e);var r=UP.test(e);return r||qP.test(e)?GP(e.slice(2),r?2:8):VP.test(e)?Ac:+e}var dl=YP,XP=dl,Nc=1/0,KP=17976931348623157e292;function QP(e){if(!e)return e===0?e:0;if(e=XP(e),e===Nc||e===-Nc){var t=e<0?-1:1;return t*KP}return e===e?e:0}var ZP=QP,JP=AP,$c=ZP,eD=dl;function tD(e,t,r){return t=$c(t),r===void 0?(r=t,t=0):r=$c(r),e=eD(e),JP(e,t,r)}var rD=tD;function nD(e){return e==null}var Qp=nD,fl={},Zp={},Jp={},pl={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(Gt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(M[T]=R[T])}return M},s.apply(this,arguments)}function l(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(M);D&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(M,I).enumerable})),R.push.apply(R,T)}return R}function c(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?l(Object(R),!0).forEach(function(T){C(M,T,R[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):l(Object(R)).forEach(function(T){Object.defineProperty(M,T,Object.getOwnPropertyDescriptor(R,T))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),T,I;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(M);for(I=0;I<A.length;I++)T=A[I],!(D.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(M,T)&&(R[T]=M[T])}return R}function h(M,D){if(M==null)return{};var R={},T=Object.keys(M),I,A;for(A=0;A<T.length;A++)I=T[A],!(D.indexOf(I)>=0)&&(R[I]=M[I]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var T=D[R];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(M,T.key,T)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(T,I){return T.__proto__=I,T},y(M,D)}function w(M){var D=x();return function(){var T=b(M),I;if(D){var A=b(this).constructor;I=Reflect.construct(T,arguments,A)}else I=T.apply(this,arguments);return E(this,I)}}function E(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var I=this.props,A=I.height,P=I.width,N=I.style,H=I.className,B=I.children,L=p(I,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=c({height:A,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap1"),(0,o.default)("public/fixedDataTableCell/wrap1"),H),style:k}),r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap2"),(0,o.default)("public/fixedDataTableCell/wrap2"))},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap3"),(0,o.default)("public/fixedDataTableCell/wrap3"))},r.default.createElement("div",{className:(0,o.default)("public/fixedDataTableCell/cellContent")},B))))}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(pl);var e0={};(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=s(F),n=s(Ye),o=s(mt),i=s(Hi),a=s(Bi);function s(b){return b&&b.__esModule?b:{default:b}}function l(b,C){if(!(b instanceof C))throw new TypeError("Cannot call a class as a function")}function c(b,C){for(var S=0;S<C.length;S++){var O=C[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(b,O.key,O)}}function p(b,C,S){return C&&c(b.prototype,C),b}function h(b,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(C&&C.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),C&&d(b,C)}function d(b,C){return d=Object.setPrototypeOf||function(O,M){return O.__proto__=M,O},d(b,C)}function m(b){var C=y();return function(){var O=w(b),M;if(C){var D=w(this).constructor;M=Reflect.construct(O,arguments,D)}else M=O.apply(this,arguments);return g(this,M)}}function g(b,C){return C&&(t(C)==="object"||typeof C=="function")?C:v(b)}function v(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(b){return!1}}function w(b){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},w(b)}function E(b,C,S){return C in b?Object.defineProperty(b,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):b[C]=S,b}var _=function(b){h(S,b);var C=m(S);function S(){var O;l(this,S);for(var M=arguments.length,D=new Array(M),R=0;R<M;R++)D[R]=arguments[R];return O=C.call.apply(C,[this].concat(D)),E(v(O),"state",{dragDistance:0}),E(v(O),"onMouseDown",function(T){var I=T.target.getBoundingClientRect(),A=a.default.getCoordinatesFromEvent(T),P=A.x-I.left,N=P+T.target.parentElement.offsetLeft;O._mouseMoveTracker=new i.default(O._onMove,O._onColumnReorderEnd,document.body,O.props.touchEnabled),O._mouseMoveTracker.captureMouseMoves(T),O.setState({dragDistance:0}),O.props.onMouseDown({columnKey:O.props.columnKey,mouseLocation:{dragDistance:0,inElement:P,inColumnGroup:N}}),O._distance=0,O._animating=!0,O.frameId=requestAnimationFrame(O._updateState),O.props.touchEnabled&&T.stopPropagation()}),E(v(O),"_onMove",function(T){O._distance=O.state.dragDistance+T*(O.props.isRTL?-1:1)}),E(v(O),"_onColumnReorderEnd",function(T){O._animating=!1,cancelAnimationFrame(O.frameId),O.frameId=null,O._mouseMoveTracker&&O._mouseMoveTracker.releaseMouseMoves(),O.props.columnReorderingData.cancelReorder=T,O.props.onColumnReorderEnd()}),E(v(O),"_updateState",function(){O._animating&&(O.frameId=requestAnimationFrame(O._updateState)),O.setState({dragDistance:O._distance}),O.props.onColumnReorderMove(O._distance)}),O}return p(S,[{key:"componentWillUnmount",value:function(){this._mouseMoveTracker&&(cancelAnimationFrame(this.frameId),this.frameId=null,this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null)}},{key:"render",value:function(){var M={height:this.props.height};return r.default.createElement("div",{className:(0,o.default)({"fixedDataTableCellLayout/columnReorderContainer":!0,"fixedDataTableCellLayout/columnReorderContainer/active":!1}),onMouseDown:this.onMouseDown,onTouchStart:this.props.touchEnabled?this.onMouseDown:null,onTouchEnd:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,onTouchMove:this.props.touchEnabled?function(D){return D.stopPropagation()}:null,style:M})}}]),S}(r.default.PureComponent);E(_,"propTypes",{onColumnReorderEnd:n.default.func,columnKey:n.default.oneOfType([n.default.string,n.default.number]),touchEnabled:n.default.bool,isRTL:n.default.bool});var x=_;e.default=x})(e0);function t0(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function r0(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n!=null?n:null}this.setState(t.bind(this))}function n0(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}}t0.__suppressDeprecationWarning=!0;r0.__suppressDeprecationWarning=!0;n0.__suppressDeprecationWarning=!0;function oD(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var i=e.displayName||e.name,a=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
235
235
|
|
|
236
236
|
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(r!==null?`
|
|
237
237
|
`+r:"")+(n!==null?`
|
|
@@ -239,20 +239,20 @@ const theme2 = createTheme({ palette: {
|
|
|
239
239
|
`+o:"")+`
|
|
240
240
|
|
|
241
241
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
242
|
-
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=t0,t.componentWillReceiveProps=r0),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=n0;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,p,h){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:h;s.call(this,c,p,d)}}return e}const rD=Object.freeze(Object.defineProperty({__proto__:null,polyfill:tD},Symbol.toStringTag,{value:"Module"})),o0=u.getAugmentedNamespace(rD);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=p(F),n=p(Ye),o=p(mt),i=p(Gt),a=p(so),s=p(pl),l=p(e0),c=o0;function p(R){return R&&R.__esModule?R:{default:R}}function h(){return h=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var I=arguments[T];for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&(R[A]=I[A])}return R},h.apply(this,arguments)}function d(R,T){if(R==null)return{};var I=m(R,T),A,P;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(R);for(P=0;P<N.length;P++)A=N[P],!(T.indexOf(A)>=0)&&Object.prototype.propertyIsEnumerable.call(R,A)&&(I[A]=R[A])}return I}function m(R,T){if(R==null)return{};var I={},A=Object.keys(R),P,N;for(N=0;N<A.length;N++)P=A[N],!(T.indexOf(P)>=0)&&(I[P]=R[P]);return I}function g(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function v(R,T){for(var I=0;I<T.length;I++){var A=T[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(R,A.key,A)}}function y(R,T,I){return T&&v(R.prototype,T),I&&v(R,I),R}function w(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&E(R,T)}function E(R,T){return E=Object.setPrototypeOf||function(A,P){return A.__proto__=P,A},E(R,T)}function _(R){var T=C();return function(){var A=S(R),P;if(T){var N=S(this).constructor;P=Reflect.construct(A,arguments,N)}else P=A.apply(this,arguments);return x(this,P)}}function x(R,T){return T&&(t(T)==="object"||typeof T=="function")?T:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},S(R)}function O(R,T,I){return T in R?Object.defineProperty(R,T,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[T]=I,R}var M=function(R){w(I,R);var T=_(I);function I(){var A;g(this,I);for(var P=arguments.length,N=new Array(P),H=0;H<P;H++)N[H]=arguments[H];return A=T.call.apply(T,[this].concat(N)),O(b(A),"state",{isReorderingThisColumn:!1,displacement:0,reorderingDisplacement:0}),O(b(A),"_onColumnResizerMouseDown",function(B){A.props.onColumnResize(A.props.left,A.props.width,A.props.minWidth,A.props.maxWidth,A.props.columnKey,B),A.props.touchEnabled&&(B.preventDefault(),B.stopPropagation())}),O(b(A),"_onColumnReorderMouseDown",function(B){A.props.onColumnReorder(A.props.columnKey,A.props.width,A.props.left,B)}),O(b(A),"_suppressEvent",function(B){B.preventDefault(),B.stopPropagation()}),A}return y(I,[{key:"shouldComponentUpdate",value:function(P){if(P.isScrolling&&this.props.rowIndex===P.rowIndex&&this.props.isVisible===P.isVisible)return!1;if(!P.pureRendering)return!0;var N=this.props,H=N.cell,B=d(N,["cell"]),L=P.cell,k=d(P,["cell"]);return!(0,a.default)(B,k)||!H||!L||H.type!==L.type||!(0,a.default)(H.props,L.props)}},{key:"render",value:function(){var P=this.props,N=P.height,H=P.width,B=P.isVisible,L=P.columnKey,k=P.isHeaderOrFooter,$=d(P,["height","width","isVisible","columnKey","isHeaderOrFooter"]),V={height:N,width:H};if(this.props.isRTL?V.right=$.left:V.left=$.left,this.state.isReorderingThisColumn){var j=this.props.isRTL?-1:1;V.transform="translateX(".concat(this.state.displacement*j,"px) translateZ(0)"),V.zIndex=1}var W=(0,i.default)((0,o.default)({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":$.lastChild,"fixedDataTableCellLayout/alignRight":$.align==="right","fixedDataTableCellLayout/alignCenter":$.align==="center","public/fixedDataTableCell/alignRight":$.align==="right","public/fixedDataTableCell/highlighted":$.highlighted,"public/fixedDataTableCell/main":!0,"public/fixedDataTableCell/hasReorderHandle":!!$.onColumnReorder,"public/fixedDataTableCell/reordering":this.state.isReorderingThisColumn}),$.className),U;if($.onColumnResize){var Y={height:N};U=r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellLayout/columnResizerContainer"),style:Y,onMouseDown:this._onColumnResizerMouseDown,onTouchStart:this.props.touchEnabled?this._onColumnResizerMouseDown:null,onTouchEnd:this.props.touchEnabled?this._suppressEvent:null,onTouchMove:this.props.touchEnabled?this._suppressEvent:null},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/columnResizerKnob"),(0,o.default)("public/fixedDataTableCell/columnResizerKnob")),style:Y}))}var K;$.onColumnReorder&&(K=r.default.createElement(l.default,h({columnKey:this.columnKey,touchEnabled:this.props.touchEnabled,onMouseDown:this._onColumnReorderMouseDown,onTouchStart:this._onColumnReorderMouseDown,height:N},this.props)));var X={columnKey:L,height:N,width:H,isVisible:B};$.rowIndex>=0&&(X.rowIndex=$.rowIndex);var Q;r.default.isValidElement($.cell)?Q=r.default.cloneElement($.cell,X):typeof $.cell=="function"?Q=$.cell(X):Q=r.default.createElement(s.default,X,$.cell);var ee=k?"columnheader":"gridcell";return r.default.createElement("div",{className:W,style:V,role:ee},U,K,Q)}}],[{key:"getDerivedStateFromProps",value:function(P,N){var H=P.left+N.displacement,B={isReorderingThisColumn:!1};if(!P.isColumnReordering)return B.displacement=0,B;var L=P.columnReorderingData.originalLeft,k=L+P.columnReorderingData.dragDistance,$=P.columnGroupWidth-P.columnReorderingData.columnWidth;if(k=Math.max(k,0),k=Math.min(k,$),P.columnKey===P.columnReorderingData.columnKey)return B.displacement=k-P.left,B.isReorderingThisColumn=!0,B;var V=k+P.columnReorderingData.columnWidth,j=k+P.columnReorderingData.columnWidth/2,W=H+P.width/2,U=j>W,Y=L>P.left,K=!1;return U?k<W&&(K=!0,Y?B.displacement=P.columnReorderingData.columnWidth:B.displacement=0):V>W&&(K=!0,Y?B.displacement=0:B.displacement=P.columnReorderingData.columnWidth*-1),K?U?P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey):P.columnReorderingData.columnBefore=P.columnKey:U?P.columnReorderingData.columnBefore=P.columnKey:P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey),B}}]),I}(r.default.Component);O(M,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,align:n.default.oneOf(["left","center","right"]),className:n.default.string,highlighted:n.default.bool,width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,height:n.default.number.isRequired,cell:n.default.oneOfType([n.default.string,n.default.element,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number.isRequired,onColumnResize:n.default.func,onColumnReorder:n.default.func,left:n.default.number,pureRendering:n.default.bool,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired}),O(M,"defaultProps",{align:"left",highlighted:!1});var D=(0,c.polyfill)(M);e.default=D})(Jp);var lo={},hl={},ml={},i0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=/-(.)/g;function r(o){return o.replace(t,function(i,a){return a.toUpperCase()})}var n=r;e.default=n})(i0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(qr),r=o(rl),n=o(i0);function o(d){return d&&d.__esModule?d:{default:d}}var i={},a=["Webkit","ms","Moz","O"],s=new RegExp("^("+a.join("|")+")"),l=r.default.canUseDOM?document.createElement("div").style:{};function c(d){for(var m=0;m<a.length;m++){var g=a[m]+d;if(g in l)return g}return null}function p(d){var m=(0,n.default)(d);if(i[m]===void 0){var g=m.charAt(0).toUpperCase()+m.slice(1);s.test(g)&&(0,t.default)(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",d),i[m]=m in l?m:c(g)}return i[m]}var h=p;e.default=h})(ml);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ml);function r(i){return i&&i.__esModule?i:{default:i}}var n={hasCSSAnimations:function(){return!!(0,t.default)("animationName")},hasCSSTransforms:function(){return!!(0,t.default)("transform")},hasCSS3DTransforms:function(){return!!(0,t.default)("perspective")},hasCSSTransitions:function(){return!!(0,t.default)("transition")}},o=n;e.default=o})(hl);var a0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(hl),r=o(ml),n=o(Zr);function o(l){return l&&l.__esModule?l:{default:l}}var i=(0,r.default)("transform");(0,r.default)("backfaceVisibility");var a=function(){if(t.default.hasCSSTransforms()){var l=n.default.window?n.default.window.navigator.userAgent:"UNKNOWN",c=/Safari\//.test(l)&&!/Chrome\//.test(l);return!c&&t.default.hasCSS3DTransforms()?function(p,h,d){p[i]="translate3d("+h+"px,"+d+"px,0)"}:function(p,h,d){p[i]="translate("+h+"px,"+d+"px)"}}else return function(p,h,d){p.left=h+"px",p.top=d+"px"}}(),s=a;e.default=s})(a0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(hl),r=n(a0);function n(a){return a&&a.__esModule?a:{default:a}}function o(a,s,l){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;a.display!=="none"&&(c?(a.left=s+"px",a.top=l+"px"):(t.default.hasCSSTransforms()&&(s*=p?-1:1),(0,r.default)(a,s,l)),p&&(a.right=a.left,a.left="auto"))}var i=o;e.default=i})(lo);(function(e){function t(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(T){return typeof T}:t=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},t(D)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(F),n=l(Ye),o=l(mt),i=Xt,a=l(Jp),s=l(lo);function l(D){return D&&D.__esModule?D:{default:D}}function c(){return c=Object.assign||function(D){for(var R=1;R<arguments.length;R++){var T=arguments[R];for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&(D[I]=T[I])}return D},c.apply(this,arguments)}function p(D,R){if(D==null)return{};var T=h(D,R),I,A;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(D);for(A=0;A<P.length;A++)I=P[A],!(R.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(D,I)&&(T[I]=D[I])}return T}function h(D,R){if(D==null)return{};var T={},I=Object.keys(D),A,P;for(P=0;P<I.length;P++)A=I[P],!(R.indexOf(A)>=0)&&(T[A]=D[A]);return T}function d(D,R){if(!(D instanceof R))throw new TypeError("Cannot call a class as a function")}function m(D,R){for(var T=0;T<R.length;T++){var I=R[T];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(D,I.key,I)}}function g(D,R,T){return R&&m(D.prototype,R),D}function v(D,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(R&&R.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),R&&y(D,R)}function y(D,R){return y=Object.setPrototypeOf||function(I,A){return I.__proto__=A,I},y(D,R)}function w(D){var R=x();return function(){var I=b(D),A;if(R){var P=b(this).constructor;A=Reflect.construct(I,arguments,P)}else A=I.apply(this,arguments);return E(this,A)}}function E(D,R){return R&&(t(R)==="object"||typeof R=="function")?R:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(D){return!1}}function b(D){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},b(D)}function C(D,R,T){return R in D?Object.defineProperty(D,R,{value:T,enumerable:!0,configurable:!0,writable:!0}):D[R]=T,D}var S=function(D){v(T,D);var R=w(T);function T(I){var A;return d(this,T),A=R.call(this,I),C(_(A),"_renderCell",function(P,N,H,B,L,k,$,V,j){var W=H.isResizable&&A.props.onColumnResize,U=W?A.props.onColumnResize:null,Y=H.isReorderable&&A.props.onColumnReorder&&P===-1&&$!==H.width,K=Y?A.props.onColumnReorder:null,X=H.cellClassName,Q=H.pureRendering||!1;return r.default.createElement(a.default,{isScrolling:A.props.isScrolling,isHeaderOrFooter:A.props.isHeaderOrFooter,align:H.align,className:X,height:N,key:k,maxWidth:H.maxWidth,minWidth:H.minWidth,touchEnabled:A.props.touchEnabled,onColumnResize:U,onColumnReorder:K,onColumnReorderMove:A.props.onColumnReorderMove,onColumnReorderEnd:A.props.onColumnReorderEnd,isColumnReordering:V,columnReorderingData:A.props.columnReorderingData,rowIndex:P,columnKey:H.columnKey,width:H.width,left:L,cell:B,columnGroupWidth:$,pureRendering:Q,isRTL:A.props.isRTL,isVisible:A.props.isVisible&&j})}),A._initialRender=!0,A}return g(T,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var A=this.props,P=A.columns,N=new Array(P.length),H=(0,i.sumPropWidths)(P),B=A.isColumnReordering&&P.reduce(function(X,Q){return X||A.columnReorderingData.columnKey===Q.props.columnKey},!1),L=0,k=0,$=P.length;k<$;k++){var V=P[k].props,j=P[k].template,W=V.allowCellsRecycling&&!B,U=L-A.left<=A.width&&L-A.left+V.width>=0;if(!W||U){var Y=V.columnKey||"cell_"+k;N[k]=this._renderCell(A.rowIndex,A.rowHeight,V,j,L,Y,H,B,U)}L+=V.width}var K={height:A.height,position:"absolute",width:H,zIndex:A.zIndex};return(0,s.default)(K,-1*A.left,0,this._initialRender,this.props.isRTL),r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroup"),style:K},N)}}]),T}(r.default.Component);C(S,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:n.default.array.isRequired,isScrolling:n.default.bool,left:n.default.number,onColumnResize:n.default.func,onColumnReorder:n.default.func,onColumnReorderMove:n.default.func,onColumnReorderEnd:n.default.func,height:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,rowHeight:n.default.number.isRequired,rowIndex:n.default.number.isRequired,width:n.default.number.isRequired,zIndex:n.default.number.isRequired,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired});var O=function(D){v(T,D);var R=w(T);function T(){var I;d(this,T);for(var A=arguments.length,P=new Array(A),N=0;N<A;N++)P[N]=arguments[N];return I=R.call.apply(R,[this].concat(P)),C(_(I),"_onColumnResize",function(H,B,L,k,$,V){I.props.onColumnResize&&I.props.onColumnResize(I.props.offsetLeft,H-I.props.left+B,B,L,k,$,V)}),I}return g(T,[{key:"shouldComponentUpdate",value:function(A){return!(A.isScrolling&&this.props.rowIndex===A.rowIndex&&this.props.left===A.left&&this.props.offsetLeft===A.offsetLeft&&this.props.isVisible===A.isVisible)}},{key:"render",value:function(){var A=this.props,P=A.offsetLeft,N=p(A,["offsetLeft"]),H={height:N.cellGroupWrapperHeight||N.height,width:N.width};this.props.isRTL?H.right=P:H.left=P;var B=N.onColumnResize?this._onColumnResize:null;return r.default.createElement("div",{style:H,className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroupWrapper")},r.default.createElement(S,c({},N,{onColumnResize:B})))}}]),T}(r.default.Component);C(O,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,height:n.default.number.isRequired,offsetLeft:n.default.number,left:n.default.number,zIndex:n.default.number.isRequired}),C(O,"defaultProps",{left:0,offsetLeft:0});var M=O;e.default=M})(Zp);(function(e){function t(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(Ye),n=c(F),o=c(mt),i=c(Gt),a=Xt,s=c(Zp),l=c(lo);function c(T){return T&&T.__esModule?T:{default:T}}function p(T,I){if(T==null)return{};var A=h(T,I),P,N;if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(T);for(N=0;N<H.length;N++)P=H[N],!(I.indexOf(P)>=0)&&Object.prototype.propertyIsEnumerable.call(T,P)&&(A[P]=T[P])}return A}function h(T,I){if(T==null)return{};var A={},P=Object.keys(T),N,H;for(H=0;H<P.length;H++)N=P[H],!(I.indexOf(N)>=0)&&(A[N]=T[N]);return A}function d(){return d=Object.assign||function(T){for(var I=1;I<arguments.length;I++){var A=arguments[I];for(var P in A)Object.prototype.hasOwnProperty.call(A,P)&&(T[P]=A[P])}return T},d.apply(this,arguments)}function m(T,I){if(!(T instanceof I))throw new TypeError("Cannot call a class as a function")}function g(T,I){for(var A=0;A<I.length;A++){var P=I[A];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(T,P.key,P)}}function v(T,I,A){return I&&g(T.prototype,I),T}function y(T,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(I&&I.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),I&&w(T,I)}function w(T,I){return w=Object.setPrototypeOf||function(P,N){return P.__proto__=N,P},w(T,I)}function E(T){var I=b();return function(){var P=C(T),N;if(I){var H=C(this).constructor;N=Reflect.construct(P,arguments,H)}else N=P.apply(this,arguments);return _(this,N)}}function _(T,I){return I&&(t(I)==="object"||typeof I=="function")?I:x(T)}function x(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(T){return!1}}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},C(T)}function S(T,I,A){return I in T?Object.defineProperty(T,I,{value:A,enumerable:!0,configurable:!0,writable:!0}):T[I]=A,T}var O=1,M=function(T){y(A,T);var I=E(A);function A(){var P;m(this,A);for(var N=arguments.length,H=new Array(N),B=0;B<N;B++)H[B]=arguments[B];return P=I.call.apply(I,[this].concat(H)),S(x(P),"mouseLeaveIndex",null),S(x(P),"_getRowExpanded",function(L){if(P.props.rowExpanded){var k={rowIndex:P.props.index,height:L,width:P.props.width},$;return n.default.isValidElement(P.props.rowExpanded)?$=n.default.cloneElement(P.props.rowExpanded,k):typeof P.props.rowExpanded=="function"&&($=P.props.rowExpanded(k)),$}}),S(x(P),"_renderColumnsLeftShadow",function(L){var k=(0,o.default)({"fixedDataTableRowLayout/fixedColumnsDivider":L>0,"fixedDataTableRowLayout/columnsShadow":P.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":L>0,"public/fixedDataTableRow/columnsShadow":P.props.scrollLeft>0}),$=P.props.cellGroupWrapperHeight?P.props.cellGroupWrapperHeight-O:P.props.height,V={left:L,height:$};return P.props.isRTL&&(V.right=L,V.left="auto"),n.default.createElement("div",{className:k,style:V})}),S(x(P),"_renderFixedRightColumnsShadow",function(L){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),$={height:P.props.height,left:L};return P.props.isRTL&&($.right=L,$.left="auto"),n.default.createElement("div",{className:k,style:$})}),S(x(P),"_renderColumnsRightShadow",function(L){if(Math.ceil(P.props.scrollLeft+P.props.width)<Math.floor(L)){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),$={height:P.props.height};return n.default.createElement("div",{className:k,style:$})}}),S(x(P),"_onClick",function(L){P.props.onClick(L,P.props.index)}),S(x(P),"_onContextMenu",function(L){P.props.onContextMenu(L,P.props.index)}),S(x(P),"_onDoubleClick",function(L){P.props.onDoubleClick(L,P.props.index)}),S(x(P),"_onMouseUp",function(L){P.props.onMouseUp(L,P.props.index)}),S(x(P),"_onMouseDown",function(L){P.props.onMouseDown(L,P.props.index)}),S(x(P),"_onMouseEnter",function(L){P.mouseLeaveIndex=P.props.index,P.props.onMouseEnter&&P.props.onMouseEnter(L,P.props.index)}),S(x(P),"_onMouseLeave",function(L){P.mouseLeaveIndex===null&&(P.mouseLeaveIndex=P.props.index),P.props.onMouseLeave(L,P.mouseLeaveIndex),P.mouseLeaveIndex=null}),S(x(P),"_onTouchStart",function(L){P.props.onTouchStart(L,P.props.index)}),S(x(P),"_onTouchEnd",function(L){P.props.onTouchEnd(L,P.props.index)}),S(x(P),"_onTouchMove",function(L){P.props.onTouchMove(L,P.props.index)}),P}return v(A,[{key:"shouldComponentUpdate",value:function(N){return N.isScrolling?N.visible?this.props.visible!==N.visible?!0:!(this.props.index===N.index&&this.props.scrollLeft===N.scrollLeft):!1:!0}},{key:"render",value:function(){var N=this.props.subRowHeight||0,H={width:this.props.width,height:this.props.height+N},B=(0,o.default)({"fixedDataTableRowLayout/main":!0,"public/fixedDataTableRow/main":!0,"public/fixedDataTableRow/highlighted":this.props.index%2===1,"public/fixedDataTableRow/odd":this.props.index%2===1,"public/fixedDataTableRow/even":this.props.index%2===0}),L=(0,a.sumPropWidths)(this.props.fixedColumns),k=n.default.createElement(s.default,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:L,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),$=this._renderColumnsLeftShadow(L),V=(0,a.sumPropWidths)(this.props.fixedRightColumns),j=this.props.showScrollbarY?this.props.scrollbarYWidth:0,W=n.default.createElement(s.default,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-V-j,width:V,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),U=V?this._renderFixedRightColumnsShadow(this.props.width-V-j-5):null,Y=n.default.createElement(s.default,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:L,width:this.props.width-L-V-j,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),K=(0,a.sumPropWidths)(this.props.scrollableColumns),X=this._renderColumnsRightShadow(L+K),Q=this._getRowExpanded(N),ee={height:N,top:this.props.height,width:this.props.width},re=null;if(this.props.showScrollbarY){var G={width:j,height:this.props.height,left:this.props.isRTL?2:this.props.width-j-2};re=n.default.createElement("div",{style:G,className:(0,o.default)("public/fixedDataTable/scrollbarSpacer")})}return n.default.createElement("div",d({className:(0,i.default)(B,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:H}),n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/body")},k,Y,$,W,U,re),Q&&n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/rowExpanded"),style:ee},Q),X)}}]),A}(n.default.Component);S(M,"propTypes",{isScrolling:r.default.bool,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,cellGroupWrapperHeight:r.default.number,subRowHeight:r.default.number,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),index:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,width:r.default.number.isRequired,onClick:r.default.func,onContextMenu:r.default.func,onDoubleClick:r.default.func,onColumnResize:r.default.func,isColumnReordering:r.default.bool,onColumnReorder:r.default.func,onColumnReorderMove:r.default.func,onColumnReorderEnd:r.default.func,touchEnabled:r.default.bool,isHeaderOrFooter:r.default.bool,ariaRowIndex:r.default.number,isRTL:r.default.bool,attributes:r.default.object});var D=function(T){y(A,T);var I=E(A);function A(P){var N;return m(this,A),N=I.call(this,P),N._initialRender=!0,N}return v(A,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(N){return!N.isScrolling||this.props.visible!==N.visible?!0:N.visible?!(N.isScrolling&&this.props.index===N.index&&this.props.offsetTop===N.offsetTop&&this.props.scrollLeft===N.scrollLeft):!1}},{key:"render",value:function(){var N=this.props,H=N.offsetTop,B=N.zIndex,L=p(N,["offsetTop","zIndex"]),k={width:this.props.width,height:this.props.height,zIndex:B||0,visibility:L.visible?"visible":"hidden"};return(0,l.default)(k,0,H,this._initialRender,this.props.isRTL),n.default.createElement("div",{style:k,className:(0,o.default)("fixedDataTableRowLayout/rowWrapper")},n.default.createElement(M,L))}}]),A}(n.default.Component);S(D,"propTypes",{isScrolling:r.default.bool,height:r.default.number.isRequired,zIndex:r.default.number,offsetTop:r.default.number.isRequired,visible:r.default.bool.isRequired,width:r.default.number.isRequired});var R=D;e.default=R})(fl);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(Ye),n=d(F),o=d(RP),i=d(JP),a=d(Qp),s=d(mt),l=d(Yt),c=d(Gt),p=d(fl),h=d(lo);function d(R){return R&&R.__esModule?R:{default:R}}function m(){return m=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var I=arguments[T];for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&(R[A]=I[A])}return R},m.apply(this,arguments)}function g(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function v(R,T){for(var I=0;I<T.length;I++){var A=T[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(R,A.key,A)}}function y(R,T,I){return T&&v(R.prototype,T),R}function w(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&E(R,T)}function E(R,T){return E=Object.setPrototypeOf||function(A,P){return A.__proto__=P,A},E(R,T)}function _(R){var T=C();return function(){var A=S(R),P;if(T){var N=S(this).constructor;P=Reflect.construct(A,arguments,N)}else P=A.apply(this,arguments);return x(this,P)}}function x(R,T){return T&&(t(T)==="object"||typeof T=="function")?T:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},S(R)}function O(R,T,I){return T in R?Object.defineProperty(R,T,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[T]=I,R}var M=function(R){w(I,R);var T=_(I);function I(A){var P;return g(this,I),P=T.call(this,A),P._staticRowArray=[],P._initialRender=!0,P}return y(I,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this._staticRowArray.length=0}},{key:"render",value:function(){var P=this.props,N=P.offsetTop,H=P.rowOffsets,B=P.scrollTop,L=P.isScrolling,k=P.rowsToRender;k=k||[],L?this._staticRowArray.length=Math.max(this._staticRowArray.length,k.length):this._staticRowArray.length=k.length;for(var $=1e6,V=N-B%$,j=0;j<this._staticRowArray.length;j++){var W,U=(0,o.default)(k[j],(W=this._staticRowArray[j])===null||W===void 0?void 0:W.props.index);if((0,a.default)(U)||!(0,i.default)(U,0,this.props.rowSettings.rowsCount)){this._staticRowArray[j]=null;continue}var Y=H[U]-Math.floor(B/$)*$;this._staticRowArray[j]=this.renderRow({rowIndex:U,key:j,rowOffsetTop:Y})}var K={};(0,h.default)(K,0,V,!1);var X=this._staticRowArray.slice().sort(this.rowSortComparator);return n.default.createElement("div",{style:K},X)}},{key:"renderRow",value:function(P){var N=P.rowIndex,H=P.key,B=P.rowOffsetTop,L=this.props,k=L.rowClassNameGetter||l.default,$={};$.height=this.props.rowSettings.rowHeightGetter(N),$.subRowHeight=this.props.rowSettings.subRowHeightGetter(N),$.offsetTop=B,$.key=L.rowKeyGetter?L.rowKeyGetter(N):H,$.attributes=L.rowSettings.rowAttributesGetter&&L.rowSettings.rowAttributesGetter(N);var V=N===L.rowSettings.rowsCount-1&&L.showLastRowBorder;$.className=(0,c.default)(k(N),(0,s.default)("public/fixedDataTable/bodyRow"),(0,s.default)({"fixedDataTableLayout/hasBottomBorder":V,"public/fixedDataTable/hasBottomBorder":V}));var j=(0,i.default)(N,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return n.default.createElement(p.default,m({key:H,index:N,ariaRowIndex:N+L.ariaRowIndexOffset,isScrolling:L.isScrolling,width:L.width,rowExpanded:L.rowExpanded,scrollLeft:Math.round(L.scrollLeft),fixedColumns:L.fixedColumns,fixedRightColumns:L.fixedRightColumns,scrollableColumns:L.scrollableColumns,onClick:L.onRowClick,onContextMenu:L.onRowContextMenu,onDoubleClick:L.onRowDoubleClick,onMouseDown:L.onRowMouseDown,onMouseUp:L.onRowMouseUp,onMouseEnter:L.onRowMouseEnter,onMouseLeave:L.onRowMouseLeave,onTouchStart:L.onRowTouchStart,onTouchEnd:L.onRowTouchEnd,onTouchMove:L.onRowTouchMove,showScrollbarY:L.showScrollbarY,scrollbarYWidth:L.scrollbarYWidth,isRTL:L.isRTL,visible:j},$))}},{key:"rowSortComparator",value:function(P,N){var H,B;return((H=P==null?void 0:P.props.ariaRowIndex)!==null&&H!==void 0?H:-1)-((B=N==null?void 0:N.props.ariaRowIndex)!==null&&B!==void 0?B:-1)}}]),I}(n.default.Component);O(M,"propTypes",{ariaRowIndexOffset:r.default.number,isScrolling:r.default.bool,firstViewportRowIndex:r.default.number.isRequired,endViewportRowIndex:r.default.number.isRequired,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,offsetTop:r.default.number.isRequired,onRowClick:r.default.func,onRowContextMenu:r.default.func,onRowDoubleClick:r.default.func,onRowMouseDown:r.default.func,onRowMouseUp:r.default.func,onRowMouseEnter:r.default.func,onRowMouseLeave:r.default.func,onRowTouchStart:r.default.func,onRowTouchEnd:r.default.func,onRowTouchMove:r.default.func,rowClassNameGetter:r.default.func,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),rowOffsets:r.default.object.isRequired,rowKeyGetter:r.default.func,rowSettings:r.default.shape({rowAttributesGetter:r.default.func,rowHeightGetter:r.default.func,rowsCount:r.default.number.isRequired,subRowHeightGetter:r.default.func}),rowsToRender:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,scrollTop:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,showLastRowBorder:r.default.bool,showScrollbarY:r.default.bool,width:r.default.number.isRequired,isRTL:r.default.bool});var D=M;e.default=D})(Kp);var s0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Yt),r=n(Ni);function n(m){return m&&m.__esModule?m:{default:m}}function o(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function i(m,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,y.key,y)}}function a(m,g,v){return g&&i(m.prototype,g),m}var s=1.6,l=1.6,c=325,p=100,h=function(){function m(g,v,y,w,E){o(this,m),this._dragAnimationId=null,this._trackerId=null,this._deltaX=0,this._deltaY=0,this._lastTouchX=0,this._lastTouchY=0,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),this._autoScrollTimestamp=Date.now(),typeof v!="function"&&(v=v?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof y!="function"&&(y=y?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=v,this._handleScrollY=y,this._preventDefault=w,this._stopPropagation=E,this._onTouchScrollCallback=g,this._didTouchMove=this._didTouchMove.bind(this),this._track=this._track.bind(this),this._autoScroll=this._autoScroll.bind(this),this._startAutoScroll=this._startAutoScroll.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchCancel=this.onTouchCancel.bind(this)}return a(m,[{key:"onTouchStart",value:function(v){this._lastTouchX=v.touches[0].pageX,this._lastTouchY=v.touches[0].pageY,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),clearInterval(this._trackerId),this._trackerId=setInterval(this._track,p),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchEnd",value:function(v){clearInterval(this._trackerId),this._trackerId=null,(0,r.default)(this._startAutoScroll),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchCancel",value:function(v){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&v.stopPropagation()}},{key:"onTouchMove",value:function(v){this._preventDefault&&v.preventDefault();var y=v.touches[0].pageX,w=v.touches[0].pageY;this._deltaX=s*(this._lastTouchX-y),this._deltaY=s*(this._lastTouchY-w);var E=this._handleScrollX(this._deltaX,this._deltaY),_=this._handleScrollY(this._deltaY,this._deltaX);if(!(!E&&!_)){E?this._lastTouchX=y:this._deltaX=0,_?this._lastTouchY=w:this._deltaY=0,v.defaultPrevented||v.preventDefault();var x=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&v.stopPropagation(),x=!0),x===!0&&this._dragAnimationId===null&&(this._dragAnimationId=(0,r.default)(this._didTouchMove))}}},{key:"_didTouchMove",value:function(){this._dragAnimationId=null,this._onTouchScrollCallback(this._deltaX,this._deltaY),this._accumulatedDeltaX+=this._deltaX,this._accumulatedDeltaY+=this._deltaY,this._deltaX=0,this._deltaY=0}},{key:"_track",value:function(){var v=Date.now(),y=v-this._lastFrameTimestamp,w=this._velocityX,E=this._velocityY,_=.8;y<p&&(_*=y/p),w===0&&E===0&&(_=1),this._velocityX=_*(p*this._accumulatedDeltaX/(1+y)),_<1&&(this._velocityX+=(1-_)*w),this._velocityY=_*(p*this._accumulatedDeltaY/(1+y)),_<1&&(this._velocityY+=(1-_)*E),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=v}},{key:"_startAutoScroll",value:function(){this._autoScrollTimestamp=Date.now(),(this._deltaX>0||this.deltaY>0)&&this._didTouchMove(),this._track(),this._autoScroll()}},{key:"_autoScroll",value:function(){var v=Date.now()-this._autoScrollTimestamp,y=l*Math.exp(-v/c),w=y*this._velocityX,E=y*this._velocityY;(Math.abs(w)<=5||!this._handleScrollX(w,E))&&(w=0),(Math.abs(E)<=5||!this._handleScrollY(E,w))&&(E=0),(w!==0||E!==0)&&(this._onTouchScrollCallback(w,E),(0,r.default)(this._autoScroll))}}]),m}(),d=h;e.default=d})(s0);(function(e){function t(L){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function($){return typeof $}:t=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},t(L)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=_(F),n=_(Ye),o=_(tR),i=_(mt),a=_(Tp),s=_(Gt),l=_(so),c=_(tl),p=_(Mp),h=_(Ap),d=_(tn),m=_(cl),g=_(Gp),v=_(Kp),y=_(Bi),w=_(fl),E=_(s0);function _(L){return L&&L.__esModule?L:{default:L}}function x(){return x=Object.assign||function(L){for(var k=1;k<arguments.length;k++){var $=arguments[k];for(var V in $)Object.prototype.hasOwnProperty.call($,V)&&(L[V]=$[V])}return L},x.apply(this,arguments)}function b(L,k){if(!(L instanceof k))throw new TypeError("Cannot call a class as a function")}function C(L,k){for(var $=0;$<k.length;$++){var V=k[$];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(L,V.key,V)}}function S(L,k,$){return k&&C(L.prototype,k),L}function O(L,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(k&&k.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),k&&M(L,k)}function M(L,k){return M=Object.setPrototypeOf||function(V,j){return V.__proto__=j,V},M(L,k)}function D(L){var k=I();return function(){var V=A(L),j;if(k){var W=A(this).constructor;j=Reflect.construct(V,arguments,W)}else j=V.apply(this,arguments);return R(this,j)}}function R(L,k){return k&&(t(k)==="object"||typeof k=="function")?k:T(L)}function T(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(L){return!1}}function A(L){return A=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},A(L)}function P(L,k,$){return k in L?Object.defineProperty(L,k,{value:$,enumerable:!0,configurable:!0,writable:!0}):L[k]=$,L}var N=25,H=function(L){O($,L);var k=D($);function $(V){var j;return b(this,$),j=k.call(this,V),P(T(j),"_shouldHandleTouchX",function(W){return j.props.touchScrollEnabled&&j._shouldHandleWheelX(W)}),P(T(j),"_shouldHandleTouchY",function(W){return j.props.touchScrollEnabled&&j._shouldHandleWheelY(W)}),P(T(j),"_shouldHandleWheelX",function(W){var U=j.props,Y=U.maxScrollX,K=U.scrollFlags,X=U.scrollX,Q=K.overflowX;return Q==="hidden"||(W=Math.round(W),W===0)?!1:W<0&&X>0||W>=0&&X<Y}),P(T(j),"_shouldHandleWheelY",function(W){var U=j.props,Y=U.maxScrollY,K=U.scrollFlags,X=U.scrollY,Q=K.overflowY;return Q==="hidden"||W===0||(W=Math.round(W),W===0)?!1:W<0&&X>0||W>=0&&X<Y}),P(T(j),"_reportContentHeight",function(){var W=(0,m.default)(j.props),U=W.contentHeight,Y=j.props.onContentHeightChange;U!==j._contentHeight&&Y&&Y(U),j._contentHeight=U}),P(T(j),"_renderRows",function(W,U,Y,K,X,Q){var ee=(0,d.default)(j.props),re=ee.scrollEnabledY,G=j.props;return r.default.createElement(v.default,{ariaRowIndexOffset:Q,isScrolling:G.scrolling,fixedColumns:U,fixedRightColumns:Y,firstViewportRowIndex:G.firstRowIndex,endViewportRowIndex:G.endRowIndex,height:X,offsetTop:W,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:K,showLastRowBorder:!0,width:G.tableSize.width,rowsToRender:G.rows,rowOffsets:G.rowOffsets,showScrollbarY:re,scrollbarYWidth:G.scrollbarYWidth,isRTL:G.isRTL})}),P(T(j),"_onRef",function(W){j._divRef=W,j._wheelHandler&&(j.props.stopReactWheelPropagation?j._wheelHandler.setRoot(W):j._wheelHandler.setRoot(null))}),P(T(j),"_onColumnResize",function(W,U,Y,K,X,Q,ee){var re=y.default.getCoordinatesFromEvent(ee),G=re.x,ne=re.y;j.props.columnActions.resizeColumn({cellMinWidth:K,cellMaxWidth:X,cellWidth:Y,columnKey:Q,combinedWidth:W,clientX:G,clientY:ne,leftOffset:U})}),P(T(j),"_onColumnReorder",function(W,U,Y,K){j.props.columnActions.startColumnReorder({scrollStart:j.props.scrollX,columnKey:W,width:U,left:Y})}),P(T(j),"_onColumnReorderMove",function(W){j.props.columnActions.moveColumnReorder(W)}),P(T(j),"_onColumnReorderEnd",function(W,U){var Y=j.props,K=Y.columnActions,X=Y.columnReorderingData,Q=X.cancelReorder,ee=X.columnAfter,re=X.columnBefore,G=X.columnKey,ne=X.scrollStart,Z=Y.onColumnReorderEndCallback,oe=Y.onHorizontalScroll,de=Y.scrollX;K.stopColumnReorder(),!Q&&(Z({columnAfter:ee,columnBefore:re,reorderColumn:G}),ne!==de&&oe&&oe(de))}),P(T(j),"_onScroll",function(W,U){var Y=j.props,K=Y.maxScrollX,X=Y.maxScrollY,Q=Y.onHorizontalScroll,ee=Y.onVerticalScroll,re=Y.scrollActions,G=Y.scrollFlags,ne=Y.scrollX,Z=Y.scrollY,oe=G.overflowX,de=G.overflowY,pe=ne,ce=Z;if(Math.abs(U)>Math.abs(W)&&de!=="hidden")ce+=U,ce=ce<0?0:ce,ce=ce>X?X:ce,(!ee||ee(ce))&&re.scrollToY(ce);else if(W&&oe!=="hidden"){pe+=W,pe=pe<0?0:pe,pe=pe>K?K:pe;var Ne=Math.round(pe);(!Q||Q(Ne))&&re.scrollToX(Ne)}}),P(T(j),"_scrollTo",function(W,U){j._scrollToX(W),j._scrollToY(U)}),P(T(j),"_scrollToX",function(W){var U=j.props,Y=U.onHorizontalScroll,K=U.scrollActions,X=U.scrollX;if(W!==X){var Q=Math.round(W);(!Y||Y(Q))&&K.scrollToX(Q)}}),P(T(j),"_scrollToY",function(W){var U=j.props,Y=U.onVerticalScroll,K=U.scrollActions,X=U.scrollY;W!==X&&(!Y||Y(W))&&K.scrollToY(W)}),P(T(j),"_didScroll",function(W){var U=j.props,Y=U.onScrollStart,K=U.scrollX,X=U.scrollY,Q=U.onHorizontalScroll,ee=U.onVerticalScroll,re=U.tableSize.ownerHeight,G=U.scrolling,ne=W.endRowIndex,Z=W.firstRowIndex,oe=W.scrollX,de=W.scrollY,pe=W.tableSize.ownerHeight,ce=W.scrolling,Ne=re!==pe&&!((0,o.default)(re)&&(0,o.default)(pe)),Te=K!==oe,$e=X!==de;!Ne&&!Te&&!$e||(!ce&&G&&Y&&Y(oe,de,Z,ne),Te&&Q&&Q(K),$e&&ee&&ee(X),j._didScrollStop())}),P(T(j),"_didScrollStopSync",function(){var W=j.props,U=W.endRowIndex,Y=W.firstRowIndex,K=W.onScrollEnd,X=W.scrollActions,Q=W.scrollX,ee=W.scrollY,re=W.scrolling;re&&(X.stopScroll(),K&&K(Q,ee,Y,U))}),j._didScrollStop=(0,a.default)(j._didScrollStopSync,200,T(j)),j._onKeyDown=j._onKeyDown.bind(T(j)),j._setupHandlers(),j}return S($,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new c.default(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new E.default(this._onScroll,this._shouldHandleTouchX,this._shouldHandleTouchY,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._divRef&&this._divRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this.props.touchScrollEnabled&&this._divRef&&this._divRef.addEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1})}},{key:"_cleanupHandlers",value:function(){this._wheelHandler&&(this._divRef&&this._divRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._wheelHandler=null),this._touchHandler&&(this._divRef&&this._divRef.removeEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1}),this._touchHandler=null)}},{key:"_onKeyDown",value:function(j){var W=(0,m.default)(this.props),U=W.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(j.key){case"PageDown":this._onScroll(0,U),j.preventDefault();break;case"PageUp":this._onScroll(0,U*-1),j.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(j.key){case"ArrowDown":this._onScroll(0,N),j.preventDefault();break;case"ArrowUp":this._onScroll(0,N*-1),j.preventDefault();break;case"ArrowRight":this._onScroll(N,0),j.preventDefault();break;case"ArrowLeft":this._onScroll(N*-1,0),j.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(j){return!(0,l.default)(this.props,j)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(j){this._didScroll(j),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var j=(0,m.default)(this.props),W=j.bodyOffsetTop,U=j.scrollbarXOffsetTop,Y=j.visibleRowsHeight,K=this.props,X=K.tableSize.width,Q=K.scrollContentHeight,ee=K.scrollY,re=K.scrollX,G={viewportHeight:Y,contentHeight:Q,scrollbarYOffsetTop:W,scrollY:ee,viewportWidth:X,contentWidth:X+this.props.maxScrollX,scrollbarXOffsetTop:U,scrollX:re,scrollTo:this._scrollTo,scrollToX:this._scrollToX,scrollToY:this._scrollToY};(0,l.default)(this.previousScrollState,G)||(this.props.onScrollBarsUpdate(G),this.previousScrollState=G)}},{key:"render",value:function(){var j=(0,p.default)(this.props),W=j.ariaGroupHeaderIndex,U=j.ariaHeaderIndex,Y=j.ariaFooterIndex,K=j.ariaRowCount,X=j.ariaRowIndexOffset,Q=(0,h.default)(this.props),ee=Q.fixedColumnGroups,re=Q.fixedColumns,G=Q.fixedRightColumnGroups,ne=Q.fixedRightColumns,Z=Q.scrollableColumnGroups,oe=Q.scrollableColumns,de=(0,m.default)(this.props),pe=de.bodyHeight,ce=de.bodyOffsetTop,Ne=de.componentHeight,Te=de.footOffsetTop,$e=de.scrollbarXOffsetTop,Le=de.visibleRowsHeight,ye=this.props,be=ye.className,Ue=ye.columnReorderingData,He=ye.columnResizingData,Xe=ye.elementHeights,kt=ye.isColumnReordering,ie=ye.isColumnResizing,Be=ye.gridAttributesGetter,Qt=ye.maxScrollY,vt=ye.onColumnReorderEndCallback,Zt=ye.onColumnResizeEndCallback,mo=ye.scrollContentHeight,It=ye.scrollX,Jt=ye.scrollY,er=ye.scrolling,on=ye.tableSize,tr=ye.touchScrollEnabled,an=ye.scrollbarYWidth,go=on.ownerHeight,At=on.width,sn=Xe.cellGroupWrapperHeight,ln=Xe.footerHeight,vr=Xe.groupHeaderHeight,vo=Xe.headerHeight,yo=(0,d.default)(this.props),Xi=yo.scrollEnabledX,Nt=yo.scrollEnabledY,bo=vt?this._onColumnReorder:null,rr=Be&&Be(),yr;vr>0&&(yr=r.default.createElement(w.default,{key:"group_header",ariaRowIndex:W,isHeaderOrFooter:!0,isScrolling:er,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:At,height:vr,cellGroupWrapperHeight:sn,index:0,zIndex:1,offsetTop:0,scrollLeft:It,fixedColumns:ee,fixedRightColumns:G,scrollableColumns:Z,visible:!0,onColumnResize:this._onColumnResize,onColumnReorder:bo,onColumnReorderMove:this._onColumnReorderMove,showScrollbarY:Nt,scrollbarYWidth:an,isRTL:this.props.isRTL}));var je;Nt&&(je=this.props.scrollbarY);var $t;Xi&&($t=this.props.scrollbarX);var Ki=r.default.createElement(g.default,{height:Ne,initialWidth:He.width||0,minWidth:He.minWidth||0,maxWidth:He.maxWidth||Number.MAX_VALUE,visible:!!ie,leftOffset:He.left||0,knobHeight:vo,initialEvent:He.initialEvent,onColumnResizeEnd:Zt,columnKey:He.key,touchEnabled:tr,isRTL:this.props.isRTL}),Lt=null;ln&&(Lt=r.default.createElement(w.default,{key:"footer",ariaRowIndex:Y,isHeaderOrFooter:!0,isScrolling:er,className:(0,s.default)((0,i.default)("fixedDataTableLayout/footer"),(0,i.default)("public/fixedDataTable/footer")),width:At,height:ln,index:-1,zIndex:1,offsetTop:Te,visible:!0,fixedColumns:re.footer,fixedRightColumns:ne.footer,scrollableColumns:oe.footer,scrollLeft:It,showScrollbarY:Nt,scrollbarYWidth:an,isRTL:this.props.isRTL}));var un=this._renderRows(ce,re.cell,ne.cell,oe.cell,pe,X),_o=r.default.createElement(w.default,{key:"header",ariaRowIndex:U,isHeaderOrFooter:!0,isScrolling:er,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:At,height:vo,cellGroupWrapperHeight:sn,index:-1,zIndex:1,offsetTop:vr,scrollLeft:It,visible:!0,fixedColumns:re.header,fixedRightColumns:ne.header,scrollableColumns:oe.header,touchEnabled:tr,onColumnResize:this._onColumnResize,onColumnReorder:bo,onColumnReorderMove:this._onColumnReorderMove,onColumnReorderEnd:this._onColumnReorderEnd,isColumnReordering:!!kt,columnReorderingData:Ue,showScrollbarY:Nt,scrollbarYWidth:an,isRTL:this.props.isRTL}),cn;Jt&&(cn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/topShadow"),(0,i.default)("public/fixedDataTable/topShadow")),style:{top:ce}}));var xo=go&&go<Ne&&mo>Le,dn;(xo||Jt<Qt)&&(dn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/bottomShadow"),(0,i.default)("public/fixedDataTable/bottomShadow")),style:{top:Te}}));var wo=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(wo=0);var fn=be;return this.props.isRTL&&(fn=(0,s.default)(fn,"fixedDataTable_isRTL")),r.default.createElement("div",x({className:(0,s.default)(fn,(0,i.default)("fixedDataTableLayout/main"),(0,i.default)("public/fixedDataTable/main")),role:"grid","aria-rowcount":K},rr,{tabIndex:wo,onKeyDown:this._onKeyDown,onTouchStart:tr?this._touchHandler.onTouchStart:null,onTouchEnd:tr?this._touchHandler.onTouchEnd:null,onTouchCancel:tr?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:Ne,width:At}}),r.default.createElement("div",{className:(0,i.default)("fixedDataTableLayout/rowsContainer"),style:{height:$e,width:At}},Ki,yr,_o,un,Lt,cn,dn),je,$t)}}]),$}(r.default.Component);P(H,"propTypes",{width:n.default.number.isRequired,height:n.default.number,className:n.default.string,maxHeight:n.default.number,ownerHeight:n.default.number,overflowX:n.default.oneOf(["hidden","auto"]),overflowY:n.default.oneOf(["hidden","auto"]),touchScrollEnabled:n.default.bool,keyboardScrollEnabled:n.default.bool,keyboardPageEnabled:n.default.bool,scrollbarX:n.default.node,scrollbarXHeight:n.default.number,scrollbarY:n.default.node,scrollbarYWidth:n.default.number,onScrollBarsUpdate:n.default.func,defaultScrollbars:n.default.bool,showScrollbarX:n.default.bool,showScrollbarY:n.default.bool,onHorizontalScroll:n.default.func,onVerticalScroll:n.default.func,rowsCount:n.default.number.isRequired,rowHeight:n.default.number.isRequired,rowHeightGetter:n.default.func,subRowHeight:n.default.number,subRowHeightGetter:n.default.func,rowExpanded:n.default.oneOfType([n.default.element,n.default.func]),rowClassNameGetter:n.default.func,rowKeyGetter:n.default.func,groupHeaderHeight:n.default.number,headerHeight:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,scrollLeft:n.default.number,scrollToColumn:n.default.number,scrollTop:n.default.number,scrollToRow:n.default.number,onScrollStart:n.default.func,onScrollEnd:n.default.func,stopReactWheelPropagation:n.default.bool,stopScrollDefaultHandling:n.default.bool,stopScrollPropagation:n.default.bool,onContentHeightChange:n.default.func,onRowClick:n.default.func,onRowContextMenu:n.default.func,onRowDoubleClick:n.default.func,onRowMouseDown:n.default.func,onRowMouseUp:n.default.func,onRowMouseEnter:n.default.func,onRowMouseLeave:n.default.func,onRowTouchStart:n.default.func,onRowTouchEnd:n.default.func,onRowTouchMove:n.default.func,onColumnResizeEndCallback:n.default.func,onColumnReorderEndCallback:n.default.func,isColumnResizing:n.default.bool,isColumnReordering:n.default.bool,isRTL:n.default.bool,bufferRowCount:n.default.number,elementHeights:n.default.shape({cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,groupHeaderHeight:n.default.number,headerHeight:n.default.number}),gridAttributesGetter:n.default.func,rowAttributesGetter:n.default.func}),P(H,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var B=H;e.default=B})(Cp);var l0={},u0={},c0={},d0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function r(s,l){for(var c=0;c<l.length;c++){var p=l[c];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}}function n(s,l,c){return l&&r(s.prototype,l),s}function o(s,l){return s<l}var i=function(){function s(l,c){t(this,s),this._items=l||[],this._size=this._items.length,this._comparator=c||o,this._heapify()}return n(s,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var c=this._items[0],p=this._items.pop();return this._size--,this._size>0&&(this._items[0]=p,this._sinkDown(0)),c}}},{key:"push",value:function(c){this._items[this._size++]=c,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 c=Math.floor((this._size+1)/2);c>=0;c--)this._sinkDown(c)}},{key:"_bubbleUp",value:function(c){for(var p=this._items[c];c>0;){var h=Math.floor((c+1)/2)-1,d=this._items[h];if(this._comparator(d,p))return;this._items[h]=p,this._items[c]=d,c=h}}},{key:"_sinkDown",value:function(c){for(var p=this._items[c];;){var h=2*(c+1)-1,d=2*(c+1),m=-1;if(h<this._size){var g=this._items[h];this._comparator(g,p)&&(m=h)}if(d<this._size){var v=this._items[d];this._comparator(v,p)&&(m===-1||this._comparator(v,this._items[m]))&&(m=d)}if(m===-1)return;this._items[c]=this._items[m],this._items[m]=p,c=m}}}]),s}(),a=i;e.default=a})(d0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(d0),r=n(qr);function n(c){return c&&c.__esModule?c:{default:c}}function o(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function i(c,p){for(var h=0;h<p.length;h++){var d=p[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,p,h){return p&&i(c.prototype,p),c}var s=function(){function c(){o(this,c),this._valueToPositionMap={},this._size=0,this._smallValues=new t.default([],this._smallerComparator),this._largeValues=new t.default([],this._greaterComparator),this.getNewPositionForValue=this.getNewPositionForValue.bind(this),this.getValuePosition=this.getValuePosition.bind(this),this.getSize=this.getSize.bind(this),this.replaceFurthestValuePosition=this.replaceFurthestValuePosition.bind(this)}return a(c,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(h){return this._valueToPositionMap[h]===void 0?null:this._valueToPositionMap[h]}},{key:"getNewPositionForValue",value:function(h){(0,r.default)(this._valueToPositionMap[h]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var d=this._size;return this._size++,this._pushToHeaps(d,h),this._valueToPositionMap[h]=d,d}},{key:"replaceFurthestValuePosition",value:function(h,d,m){if((0,r.default)(this._valueToPositionMap[m]===void 0,"Shouldn't try to replace values with value already stored value in BufferSet"),this._cleanHeaps(),this._smallValues.empty()||this._largeValues.empty())return null;var g=this._smallValues.peek().value,v=this._largeValues.peek().value;if(g>=h&&v<=d)return null;var y;h-g>v-d?(y=g,this._smallValues.pop()):(y=v,this._largeValues.pop());var w=this._valueToPositionMap[y];return delete this._valueToPositionMap[y],this._valueToPositionMap[m]=w,this._pushToHeaps(w,m),w}},{key:"_pushToHeaps",value:function(h,d){var m={position:h,value:d};this._smallValues.push(m),this._largeValues.push(m)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var h=Math.min(this._smallValues.size(),this._largeValues.size()),d=Math.max(this._smallValues.size(),this._largeValues.size());d>10*h&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var h=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,d=new t.default([],this._smallerComparator),m=new t.default([],this._greaterComparator);!h.empty();){var g=h.pop();this._valueToPositionMap[g.value]!==void 0&&(d.push(g),m.push(g))}this._smallValues=d,this._largeValues=m}},{key:"_cleanHeap",value:function(h){for(;!h.empty()&&this._valueToPositionMap[h.peek().value]===void 0;)h.pop()}},{key:"_smallerComparator",value:function(h,d){return h.value<d.value}},{key:"_greaterComparator",value:function(h,d){return h.value>d.value}}]),c}(),l=s;e.default=l})(c0);var f0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(qr),r=n(Zr);function n(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function i(d,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function a(d,m,g){return m&&i(d.prototype,m),g&&i(d,g),d}var s=function(m){return Math.floor(m/2)},l=r.default.Int32Array||function(d){for(var m=[],g=d-1;g>=0;--g)m[g]=0;return m};function c(d){for(var m=1;m<d;)m*=2;return m}var p=function(){function d(m){o(this,d),this._size=m.length,this._half=c(this._size),this._heap=new l(2*this._half);var g;for(g=0;g<this._size;++g)this._heap[this._half+g]=m[g];for(g=this._half-1;g>0;--g)this._heap[g]=this._heap[2*g]+this._heap[2*g+1]}return a(d,[{key:"set",value:function(g,v){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var y=this._half+g;for(this._heap[y]=v,y=s(y);y!==0;y=s(y))this._heap[y]=this._heap[2*y]+this._heap[2*y+1]}},{key:"get",value:function(g){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var v=this._half+g;return this._heap[v]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(g){if((0,t.default)(0<=g&&g<this._size+1,"Index out of range %s",g),g===0)return 0;for(var v=this._half+g-1,y=this._heap[v];v!==1;v=s(v))v%2===1&&(y+=this._heap[v-1]);return y}},{key:"sumTo",value:function(g){return(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g),this.sumUntil(g+1)}},{key:"sum",value:function(g,v){return(0,t.default)(g<=v,"Begin must precede end"),this.sumUntil(v)-this.sumUntil(g)}},{key:"greatestLowerBound",value:function(g){if(g<0)return-1;var v=1;if(this._heap[v]<=g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"greatestStrictLowerBound",value:function(g){if(g<=0)return-1;var v=1;if(this._heap[v]<g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<=y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"leastUpperBound",value:function(g){return this.greatestStrictLowerBound(g)+1}},{key:"leastStrictUpperBound",value:function(g){return this.greatestLowerBound(g)+1}}],[{key:"uniform",value:function(g,v){for(var y=[],w=g-1;w>=0;--w)y[w]=v;return new d(y)}},{key:"empty",value:function(g){return d.uniform(g,0)}}]),d}(),h=p;e.default=h})(f0);var p0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(F),r=a(sl),n=a(qr),o=a(qp),i=a(el);function a(h){return h&&h.__esModule?h:{default:h}}function s(h){return(0,i.default)(h.props,["align","allowCellsRecycling","cellClassName","columnKey","flexGrow","fixed","fixedRight","maxWidth","minWidth","isReorderable","isResizable","pureRendering","width"])}function l(h,d){h.cell.push(d.props.cell),h.footer.push(d.props.footer),h.header.push(d.props.header)}function c(h){var d=[];t.default.Children.forEach(h,function(w,E){w!=null&&((0,n.default)(w.type.__TableColumnGroup__||w.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),d.push(w))});var m={cell:[],footer:[],groupHeader:[],header:[]},g=[],v=d.length&&d[0].type.__TableColumnGroup__;if(v){var y=(0,o.default)(d,s);return(0,r.default)(d,function(w,E){m.groupHeader.push(w.props.header),t.default.Children.forEach(w.props.children,function(_){var x=s(_);x.groupIdx=E,g.push(x),l(m,_)})}),{columnGroupProps:y,columnProps:g,elementTemplates:m,useGroupHeader:!0}}return(0,r.default)(d,function(w){g.push(s(w)),l(m,w)}),{columnGroupProps:[],columnProps:g,elementTemplates:m,useGroupHeader:!1}}var p=c;e.default=p})(p0);var ji={},gl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r,n){var o=r.storedHeights,i=r.rowOffsetIntervalTree,a=r.rowSettings,s=a.rowHeightGetter,l=a.subRowHeightGetter,c=s(n)+l(n),p=o[n];return c!==p&&(i.set(n,c),o[n]=c,r.scrollContentHeight+=c-p),o[n]}})(gl);Object.defineProperty(ji,"__esModule",{value:!0});ji.getScrollAnchor=oD;ji.scrollTo=g0;var h0=vl(Fi),m0=vl(tn),nD=vl(gl);function vl(e){return e&&e.__esModule?e:{default:e}}function oD(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?iD(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?g0(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function g0(e,t){var r=(0,m0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.scrollContentHeight,s=i.rowsCount;if(s===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var l=0,c=0,p=void 0;if(!(t<=0))if(t>=a-n)l=void 0,p=s-1;else{var h=o.greatestLowerBound(t);l=(0,h0.default)(h,0,Math.max(s-1,0));var d=o.sumUntil(l);c=d-t}return{firstIndex:l,firstOffset:c,lastIndex:p,changed:!0}}function iD(e,t){var r=(0,m0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.storedHeights,s=e.scrollY,l=i.rowsCount;if(l===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=(0,h0.default)(t,0,Math.max(l-1,0)),(0,nD.default)(e,t);var c=o.sumUntil(t),p=c+a[t],h=t,d=void 0;if(!(c<s))if(s+n<p)h=void 0,d=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:h,firstOffset:0,lastIndex:d,changed:!0}}var v0={};function aD(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var sD=aD,lD=sD,ya=dl;function uD(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=ya(r),r=r===r?r:0),t!==void 0&&(t=ya(t),t=t===t?t:0),lD(ya(e),t,r)}var y0=uD;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Qp),r=i(y0),n=i(Yt),o=i(ll);function i(v){return v&&v.__esModule?v:{default:v}}function a(){return a=Object.assign||function(v){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&(v[E]=w[E])}return v},a.apply(this,arguments)}var s=15,l=100;function c(v,y,w){var E=y.scrollLeft,_=v.columnResizingData,x=v.isColumnResizing,b=v.scrollX;E!==void 0&&(!w||E!==w.scrollLeft)&&(b=E),b=p(v,y,w.scrollToColumn,b);var C=(0,o.default)(v),S=C.maxScrollX;return b=(0,r.default)(b,0,S),x=y.isColumnResizing!==void 0?y.isColumnResizing:x,_=x?_:{},a({},v,{columnResizingData:_,isColumnResizing:x,maxScrollX:S,scrollX:b})}function p(v,y,w,E){var _=y.scrollToColumn;if((0,t.default)(_))return E;var x=(0,o.default)(v),b=x.availableScrollWidth,C=x.fixedColumns,S=x.scrollableColumns,O=C.length,M=S.length,D=M===0,R=_===w,T=_<O,I=_>=O+M;if(R||T||I||D)return E;for(var A=Math.min(_-O,S.length-1),P=0,N=0;N<A;++N)P+=S[N].width;var H=S[A].width,B=P+H-b;return E<B?B:E>P?P:E}function h(v,y){var w=y.cellMinWidth,E=y.cellMaxWidth,_=y.cellWidth,x=y.columnKey,b=y.combinedWidth,C=y.clientX,S=y.clientY,O=y.leftOffset;return a({},v,{isColumnResizing:!0,columnResizingData:{left:O+b-_,width:_,minWidth:w,maxWidth:E,initialEvent:{clientX:C,clientY:S,preventDefault:n.default},key:x}})}function d(v,y){var w=y.columnKey,E=y.left,_=y.scrollStart,x=y.width,b=(0,o.default)(v),C=b.fixedColumns,S=C.some(function(O){return O.columnKey===w});return a({},v,{isColumnReordering:!0,columnReorderingData:{cancelReorder:!1,dragDistance:0,isFixed:S,scrollStart:_,columnKey:w,columnWidth:x,originalLeft:E,columnBefore:void 0,columnAfter:void 0}})}function m(v,y){var w=v.columnReorderingData,E=w.isFixed,_=w.originalLeft,x=w.scrollStart,b=v.maxScrollX,C=v.scrollX;if(!E){var S=_-x+y,O=(0,o.default)(v),M=O.availableScrollWidth;y+=C-x,S>M-l?C=Math.min(C+s,b):S<=l&&(C=Math.max(C-s,0))}var D=a({},v.columnReorderingData,{dragDistance:y,columnBefore:void 0,columnAfter:void 0});return a({},v,{scrollX:C,columnReorderingData:D})}var g={initialize:c,reorderColumn:d,reorderColumnMove:m,resizeColumn:h};e.default=g})(v0);var b0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var t=a(y0),r=a(Li),n=a(tn),o=a(cl),i=a(gl);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function l(d,m){var g=s({},d),v=c(g,m),y=g.rowSettings,w=g.scrollContentHeight,E=y.rowsCount,_=(0,o.default)(g),x=_.bodyHeight,b=w-x,C;b===0?(v.firstViewportIdx>0&&(v=c(g,{firstOffset:0,lastIndex:E-1})),C=0):C=v.firstOffset;var S=v.firstViewportIdx,O=v.endViewportIdx;p(g,v,d.scrolling);var M=0;return E>0&&(M=g.rowOffsets[v.firstViewportIdx]-C),M=(0,t.default)(M,0,b),s(g,{firstRowIndex:S,firstRowOffset:C,endRowIndex:O,maxScrollY:b,scrollY:M})}function c(d,m){var g=(0,r.default)(d),v=g.bufferRowCount,y=g.maxAvailableHeight,w=d.rowSettings.rowsCount;if(w===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var E=m.firstIndex,_=m.firstOffset,x=m.lastIndex;(E>=w||x>=w)&&(x=w-1);var b=1,C=E,S=_;x!==void 0&&(b=-1,C=x,S=0);for(var O=C,M=O;O<w&&O>=0&&S<y;)S+=(0,i.default)(d,O),M=O,O+=b;var D=!1;if(S<y&&O===w&&x===void 0)for(D=!0,O=E-1;O>=0&&S<y;)S+=(0,i.default)(d,O),C=O,--O;var R=Math.min(C,M),T=Math.max(R-v,0);for(O=T;O<R;O++)(0,i.default)(d,O);var I=Math.max(C,M)+1,A=Math.min(I+v,w);for(O=I;O<A;O++)(0,i.default)(d,O);var P=(0,n.default)(d),N=P.availableHeight;if(x!==void 0||D){_=_+Math.min(N-S,0);var H=d.storedHeights;-1*_>=H[R]&&(R+=1,_+=H[R])}return{endBufferIdx:A,endViewportIdx:I,firstBufferIdx:T,firstOffset:_,firstViewportIdx:R}}function p(d,m,g){var v=d.rowBufferSet,y=d.rowOffsetIntervalTree,w=d.storedHeights,E=m.endBufferIdx,_=m.endViewportIdx,x=m.firstBufferIdx,b=m.firstViewportIdx,C=E-x;if(C===0){d.rowOffsets={},d.rows=[];return}for(var S=g?b:x,O=g?_:E,M=[],D={},R=y.sumUntil(S),T=S;T<O;T++){D[T]=R,R+=w[T];var I=h(T,v,S,O,C);M[I]=T}d.rows=M,d.rowOffsets=D}function h(d,m,g,v,y){var w=m.getValuePosition(d);return w===null&&m.getSize()>=y&&(w=m.replaceFurthestValuePosition(g,v-1,d)),w===null&&(w=m.getNewPositionForValue(d)),w}})(b0);var zi={},_0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105};e.default=t})(_0);var Ja={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-size-large":"17px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function x0(e){if(Ja.hasOwnProperty(e))return Ja[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}x0.CSS_VARS=Ja;var cD=x0;(function(e){function t(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(B){return typeof B}:t=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},t(N)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(F),n=d(kr),o=d(Ye),i=d(mt),a=d(Yt),s=d(_0),l=d(tl),c=d(Hi),p=d(cD),h=d(lo);function d(N){return N&&N.__esModule?N:{default:N}}function m(N,H){if(!(N instanceof H))throw new TypeError("Cannot call a class as a function")}function g(N,H){for(var B=0;B<H.length;B++){var L=H[B];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(N,L.key,L)}}function v(N,H,B){return H&&g(N.prototype,H),N}function y(N,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(H&&H.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),H&&w(N,H)}function w(N,H){return w=Object.setPrototypeOf||function(L,k){return L.__proto__=k,L},w(N,H)}function E(N){var H=b();return function(){var L=C(N),k;if(H){var $=C(this).constructor;k=Reflect.construct(L,arguments,$)}else k=L.apply(this,arguments);return _(this,k)}}function _(N,H){return H&&(t(H)==="object"||typeof H=="function")?H:x(N)}function x(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(N){return!1}}function C(N){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},C(N)}function S(N,H,B){return H in N?Object.defineProperty(N,H,{value:B,enumerable:!0,configurable:!0,writable:!0}):N[H]=B,N}var O={position:0,scrollable:!1},M=parseInt((0,p.default)("--scrollbar-face-margin"),10),D=M*2,R=30,T=40,I=null,A=function(N){y(B,N);var H=E(B);function B(L){var k;return m(this,B),k=H.call(this,L),S(x(k),"_onRefFace",function($){return k._faceRef=$}),S(x(k),"_onRefRoot",function($){return k._rootRef=$}),S(x(k),"scrollBy",function($){k._onWheel($)}),S(x(k),"_shouldHandleX",function($){return k.props.orientation==="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleY",function($){return k.props.orientation!=="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleChange",function($){var V=k._calculateState(k.state.position+$,k.props.size,k.props.contentSize,k.props.orientation);return V.position!==k.state.position}),S(x(k),"_calculateState",function($,V,j,W){var U=Math.max(1,V);if(j<=U)return O;var Y="".concat($,"_").concat(U,"_").concat(j,"_").concat(W);if(k._stateKey===Y)return k._stateForKey;var K=W==="horizontal",X=U/j,Q=U*X;Q<R&&(X=(U-R)/(j-U),Q=R);var ee=!0,re=j-U;$<0?$=0:$>re&&($=re);var G=k._mouseMoveTracker?k._mouseMoveTracker.isDragging():!1,ne={faceSize:Q,isDragging:G,isHorizontal:K,position:$,scale:X,scrollable:ee};return k._stateKey=Y,k._stateForKey=ne,ne}),S(x(k),"_onWheelY",function($,V){k._onWheel(V)}),S(x(k),"_onWheelX",function($,V){k._onWheel($)}),S(x(k),"_onWheel",function($){var V=k.props;k._setNextState(k._calculateState(k.state.position+$,V.size,V.contentSize,V.orientation))}),S(x(k),"_onMouseDown",function($){var V;if($.target!==k._faceRef){var j=$.nativeEvent,W=k.state.isHorizontal?j.offsetX||j.layerX||k.getTouchX(j):j.offsetY||j.layerY||k.getTouchY(j),U=k.props;W/=k.state.scale,V=k._calculateState(W-k.state.faceSize*.5/k.state.scale,U.size,U.contentSize,U.orientation)}else V={};V.focused=!0,k._setNextState(V),k._mouseMoveTracker.captureMouseMoves($),k._rootRef.focus()}),S(x(k),"_onTouchCancel",function($){$.stopPropagation()}),S(x(k),"_onTouchEnd",function($){$.stopPropagation()}),S(x(k),"_onTouchMove",function($){$.stopPropagation()}),S(x(k),"_onTouchStart",function($){$.stopPropagation(),k._onMouseDown($)}),S(x(k),"_onMouseMove",function($,V){var j=k.props,W=k.state.isHorizontal?$*(k.props.isRTL?-1:1):V;W/=k.state.scale;var U=n.default.flushSync||function(Y){return Y()};U(function(){return k._setNextState(k._calculateState(k.state.position+W,j.size,j.contentSize,j.orientation))})}),S(x(k),"_onMouseMoveEnd",function(){k._nextState=null,k._mouseMoveTracker.releaseMouseMoves(),k.setState({isDragging:!1})}),S(x(k),"_onKeyDown",function($){var V=$.keyCode;if(V!==s.default.TAB){var j=T,W=0;if(k.state.isHorizontal)switch(V){case s.default.HOME:W=-1,j=k.props.contentSize;break;case s.default.LEFT:W=-1;break;case s.default.RIGHT:W=1;break;default:return}if(!k.state.isHorizontal)switch(V){case s.default.SPACE:$.shiftKey?W=-1:W=1;break;case s.default.HOME:W=-1,j=k.props.contentSize;break;case s.default.UP:W=-1;break;case s.default.DOWN:W=1;break;case s.default.PAGE_UP:W=-1,j=k.props.size;break;case s.default.PAGE_DOWN:W=1,j=k.props.size;break;default:return}$.preventDefault();var U=k.props;k._setNextState(k._calculateState(k.state.position+j*W,U.size,U.contentSize,U.orientation))}}),S(x(k),"_onFocus",function(){k.setState({focused:!0})}),S(x(k),"_onBlur",function(){k.setState({focused:!1})}),S(x(k),"_blur",function(){var $=n.default.findDOMNode(x(k));if($)try{k._onBlur(),$.blur()}catch(V){}}),S(x(k),"getTouchX",function($){return Math.round($.targetTouches[0].clientX-$.target.getBoundingClientRect().x)}),S(x(k),"getTouchY",function($){return Math.round($.targetTouches[0].clientY-$.target.getBoundingClientRect().y)}),S(x(k),"_setNextState",function($,V){V=V||k.props;var j=V.position,W=k.state.position!==$.position;if(j===void 0){var U=W?k._didScroll:void 0;k.setState($,U)}else if(j===$.position)k.setState($);else{$.position!==void 0&&$.position!==k.state.position&&k.props.onScroll($.position);return}W&&I!==x(k)&&(I&&I._blur(),I=x(k))}),S(x(k),"_didScroll",function(){k.props.onScroll(k.state.position)}),k.state=k._calculateState(L.position||L.defaultPosition||0,L.size,L.contentSize,L.orientation),k._initialRender=!0,k}return v(B,[{key:"componentDidUpdate",value:function(){var k=this.props.position;k===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(k,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var k=this.props.size,$,V,j=this.state.isHorizontal,W=!j,U=this.state.focused||this.state.isDragging,Y=this.state.faceSize,K=this.props.isOpaque,X=this.props.verticalTop||0,Q=(0,i.default)({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":W,"ScrollbarLayout/mainHorizontal":j,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":K,"public/Scrollbar/mainActive":U}),ee=(0,i.default)({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":j,"ScrollbarLayout/faceVertical":W,"public/Scrollbar/faceActive":U,"public/Scrollbar/face":!0}),re=this.state.position*this.state.scale+M;return j?($={width:k},V={width:Y-D,top:0,bottom:0},(0,h.default)(V,re,0,this._initialRender,this.props.isRTL)):($={top:X,height:k},this.props.isRTL&&($.left=$.right||0,$.right="auto"),V={height:Y-D},(0,h.default)(V,0,re,this._initialRender,this.props.isRTL),V.left=0,V.right=0),$.touchAction="none",$.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&($.backgroundColor=(0,p.default)("--fbui-desktop-background-light")),r.default.createElement("div",{onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:Q,style:$,ref:this._onRefRoot},r.default.createElement("div",{ref:this._onRefFace,className:ee,style:V}))}},{key:"componentDidMount",value:function(){var k=this.props.orientation==="horizontal",$=k?this._onWheelX:this._onWheelY;this._wheelHandler=new l.default($,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new c.default(this._onMouseMove,this._onMouseMoveEnd,document.documentElement,this.props.touchEnabled),this.props.position!==void 0&&this.state.position!==this.props.position&&this._didScroll(),this._initialRender=!1}},{key:"componentWillUnmount",value:function(){this._rootRef&&this._rootRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._nextState=null,this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null),I===this&&(I=null)}}]),B}(r.default.PureComponent);S(A,"propTypes",{contentSize:o.default.number.isRequired,defaultPosition:o.default.number,isOpaque:o.default.bool,orientation:o.default.oneOf(["vertical","horizontal"]),onScroll:o.default.func,position:o.default.number,size:o.default.number.isRequired,trackColor:o.default.oneOf(["gray"]),touchEnabled:o.default.bool,zIndex:o.default.number,verticalTop:o.default.number,isRTL:o.default.bool}),S(A,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:a.default,orientation:"vertical",zIndex:99}),A.KEYBOARD_SCROLL_AMOUNT=T,A.SIZE=parseInt((0,p.default)("--scrollbar-size"),10),A.OFFSET=1;var P=A;e.default=P})(zi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=g(el),n=g(c0),o=g(f0),i=g(so),a=g(p0),s=m(xe),l=ji,c=g(v0),p=g(b0),h=g(zi);function d(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,S=new WeakMap;return(d=function(M){return M?S:C})(b)}function m(b,C){if(b&&b.__esModule)return b;if(b===null||t(b)!=="object"&&typeof b!="function")return{default:b};var S=d(C);if(S&&S.has(b))return S.get(b);var O={},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var R=M?Object.getOwnPropertyDescriptor(b,D):null;R&&(R.get||R.set)?Object.defineProperty(O,D,R):O[D]=b[D]}return O.default=b,S&&S.set(b,O),O}function g(b){return b&&b.__esModule?b:{default:b}}function v(){return v=Object.assign||function(b){for(var C=1;C<arguments.length;C++){var S=arguments[C];for(var O in S)Object.prototype.hasOwnProperty.call(S,O)&&(b[O]=S[O])}return b},v.apply(this,arguments)}function y(){return{columnProps:[],columnGroupProps:[],elementTemplates:{cell:[],footer:[],groupHeader:[],header:[]},elementHeights:{footerHeight:0,groupHeaderHeight:0,headerHeight:0},propsRevision:null,rowSettings:{bufferRowCount:void 0,rowAttributesGetter:void 0,rowHeight:0,rowHeightGetter:function(){return 0},rowsCount:0,subRowHeight:0,subRowHeightGetter:function(){return 0}},scrollFlags:{overflowX:"auto",overflowY:"auto",showScrollbarX:!0,showScrollbarY:!0},tableSize:{height:void 0,maxHeight:0,ownerHeight:void 0,useMaxHeight:!1,width:0},columnReorderingData:{},columnResizingData:{},firstRowIndex:0,firstRowOffset:0,isColumnReordering:!1,isColumnResizing:!1,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:h.default.SIZE,scrollY:0,scrollbarYWidth:h.default.SIZE,scrolling:!1,rowBufferSet:new n.default,storedHeights:[],rowOffsetIntervalTree:null}}function w(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),C=arguments.length>1?arguments[1]:void 0;switch(C.type){case s.INITIALIZE:{var S=C.props,O=_(b,S);O=E(O);var M=(0,l.getScrollAnchor)(O,S);return O=(0,p.default)(O,M),c.default.initialize(O,S,{})}case s.PROP_CHANGE:{var D=C.newProps,R=C.oldProps,T=_(b,D);(R.rowsCount!==D.rowsCount||R.rowHeight!==D.rowHeight||R.subRowHeight!==D.subRowHeight)&&(T=E(T)),R.rowsCount!==D.rowsCount&&(T.rowBufferSet=new n.default);var I=(0,l.getScrollAnchor)(T,D,R);return(!(0,i.default)(b,T)||I.changed)&&(T=(0,p.default)(T,I)),T=c.default.initialize(T,D,R),(T.scrollX!==b.scrollX||T.scrollY!==b.scrollY)&&(T.scrolling=T.scrolling||!0),T}case s.SCROLL_END:{var A=v({},b,{scrolling:!1}),P={firstIndex:b.firstRowIndex,firstOffset:b.firstRowOffset,lastIndex:b.lastIndex};return(0,p.default)(A,P)}case s.SCROLL_TO_Y:{var N=C.scrollY,H=v({},b,{scrolling:!0}),B=(0,l.scrollTo)(H,N);return(0,p.default)(H,B)}case s.COLUMN_RESIZE:{var L=C.resizeData;return c.default.resizeColumn(b,L)}case s.COLUMN_REORDER_START:{var k=C.reorderData;return c.default.reorderColumn(b,k)}case s.COLUMN_REORDER_END:return v({},b,{isColumnReordering:!1,columnReorderingData:{}});case s.COLUMN_REORDER_MOVE:{var $=C.deltaX;return c.default.reorderColumnMove(b,$)}case s.SCROLL_TO_X:{var V=C.scrollX;return v({},b,{scrolling:!0,scrollX:V})}default:return b}}function E(b){for(var C=b.rowSettings,S=C.rowHeight,O=C.rowsCount,M=C.subRowHeight,D=S+M,R=o.default.uniform(O,D),T=O*D,I=new Array(O),A=0;A<O;A++)I[A]=D;return v({},b,{rowOffsetIntervalTree:R,scrollContentHeight:T,storedHeights:I})}function _(b,C){var S=(0,a.default)(C.children),O=S.columnGroupProps,M=S.columnProps,D=S.elementTemplates,R=S.useGroupHeader,T=v({},b,{columnGroupProps:O,columnProps:M,elementTemplates:D,propsRevision:b.propsRevision+1});T.elementHeights=v({},T.elementHeights,(0,r.default)(C,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),R||(T.elementHeights.groupHeaderHeight=0),T.rowSettings=v({},T.rowSettings,(0,r.default)(C,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var I=T.rowSettings,A=I.rowHeight,P=I.subRowHeight;return T.rowSettings.rowHeightGetter=C.rowHeightGetter||function(){return A},T.rowSettings.subRowHeightGetter=C.subRowHeightGetter||function(){return P||0},T.rowSettings.rowAttributesGetter=C.rowAttributesGetter,T.scrollFlags=v({},T.scrollFlags,(0,r.default)(C,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),T.tableSize=v({},T.tableSize,(0,r.default)(C,["height","maxHeight","ownerHeight","width"])),T.tableSize.useMaxHeight=T.tableSize.height===void 0,T.scrollbarXHeight=C.scrollbarXHeight,T.scrollbarYWidth=C.scrollbarYWidth,T}var x=w;e.default=x})(u0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=cp,r=n(u0);function n(i){return i&&i.__esModule?i:{default:i}}var o={get:function(){return(0,t.createStore)(r.default)}};e.default=o})(l0);var w0={},dD=$p,fD=Bp,pD=ki,hD=tt,mD=$i,gD=nl,vD=Np,yD=ol,bD="[object Map]",_D="[object Set]",xD=Object.prototype,wD=xD.hasOwnProperty;function CD(e){if(e==null)return!0;if(mD(e)&&(hD(e)||typeof e=="string"||typeof e.splice=="function"||gD(e)||yD(e)||pD(e)))return!e.length;var t=fD(e);if(t==bD||t==_D)return!e.size;if(vD(e))return!dD(e).length;for(var r in e)if(wD.call(e,r))return!1;return!0}var TD=CD;(function(e){function t(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(D){return typeof D}:t=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},t(O)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(F),n=l(Ye),o=l(TD),i=l(mt),a=l(Gt),s=l(zi);function l(O){return O&&O.__esModule?O:{default:O}}function c(){return c=Object.assign||function(O){for(var M=1;M<arguments.length;M++){var D=arguments[M];for(var R in D)Object.prototype.hasOwnProperty.call(D,R)&&(O[R]=D[R])}return O},c.apply(this,arguments)}function p(O,M){if(!(O instanceof M))throw new TypeError("Cannot call a class as a function")}function h(O,M){for(var D=0;D<M.length;D++){var R=M[D];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}function d(O,M,D){return M&&h(O.prototype,M),O}function m(O,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(M&&M.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),M&&g(O,M)}function g(O,M){return g=Object.setPrototypeOf||function(R,T){return R.__proto__=T,R},g(O,M)}function v(O){var M=E();return function(){var R=_(O),T;if(M){var I=_(this).constructor;T=Reflect.construct(R,arguments,I)}else T=R.apply(this,arguments);return y(this,T)}}function y(O,M){return M&&(t(M)==="object"||typeof M=="function")?M:w(O)}function w(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function 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(O){return!1}}function _(O){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},_(O)}function x(O,M,D){return M in O?Object.defineProperty(O,M,{value:D,enumerable:!0,configurable:!0,writable:!0}):O[M]=D,O}var b=function(O){m(D,O);var M=v(D);function D(){var R;p(this,D);for(var T=arguments.length,I=new Array(T),A=0;A<T;A++)I[A]=arguments[A];return R=M.call.apply(M,[this].concat(I)),x(w(R),"state",{}),x(w(R),"_onScrollBarsUpdate",function(P){R.setState(P)}),x(w(R),"_onVerticalScroll",function(P){R.state.scrollToY!==void 0&&R.state.scrollToY(P)}),x(w(R),"_onHorizontalScroll",function(P){R.state.scrollToX!==void 0&&R.state.scrollToX(P)}),R}return d(D,[{key:"render",value:function(){var T=!(0,o.default)(this.state)&&r.default.createElement(s.default,{size:this.state.viewportHeight,contentSize:this.state.contentHeight,onScroll:this._onVerticalScroll,verticalTop:this.state.scrollbarYOffsetTop,position:this.state.scrollY,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL}),I=!(0,o.default)(this.state)&&r.default.createElement(C,{contentSize:this.state.contentWidth,offset:this.state.scrollbarXOffsetTop,onScroll:this._onHorizontalScroll,position:this.state.scrollX,size:this.state.viewportWidth,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL});return r.default.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:I,scrollbarY:T})}}]),D}(r.default.Component),C=function(O){m(D,O);var M=v(D);function D(){return p(this,D),M.apply(this,arguments)}return d(D,[{key:"render",value:function(){var T=this.props,I=T.offset,A=T.size,P={height:s.default.SIZE,width:A},N={height:s.default.SIZE,overflow:"hidden",width:A,top:I};return r.default.createElement("div",{className:(0,a.default)((0,i.default)("public/fixedDataTable/horizontalScrollbar")),style:P},r.default.createElement("div",{style:N},r.default.createElement(s.default,c({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),D}(r.default.PureComponent);x(C,"propTypes",{contentSize:n.default.number.isRequired,offset:n.default.number.isRequired,onScroll:n.default.func.isRequired,position:n.default.number.isRequired,size:n.default.number.isRequired,isRTL:n.default.bool});var S=b;e.default=S})(w0);(function(e){function t(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(H){return typeof H}:t=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},t(P)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=y(F),n=cp,o=y(qr),i=y(el),a=v(xe),s=v(_t),l=v(xt),c=y(Cp),p=y(l0),h=y(zi),d=y(w0),m=o0;function g(P){if(typeof WeakMap!="function")return null;var N=new WeakMap,H=new WeakMap;return(g=function(L){return L?H:N})(P)}function v(P,N){if(P&&P.__esModule)return P;if(P===null||t(P)!=="object"&&typeof P!="function")return{default:P};var H=g(N);if(H&&H.has(P))return H.get(P);var B={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in P)if(k!=="default"&&Object.prototype.hasOwnProperty.call(P,k)){var $=L?Object.getOwnPropertyDescriptor(P,k):null;$&&($.get||$.set)?Object.defineProperty(B,k,$):B[k]=P[k]}return B.default=P,H&&H.set(P,B),B}function y(P){return P&&P.__esModule?P:{default:P}}function w(){return w=Object.assign||function(P){for(var N=1;N<arguments.length;N++){var H=arguments[N];for(var B in H)Object.prototype.hasOwnProperty.call(H,B)&&(P[B]=H[B])}return P},w.apply(this,arguments)}function E(P,N){if(!(P instanceof N))throw new TypeError("Cannot call a class as a function")}function _(P,N){for(var H=0;H<N.length;H++){var B=N[H];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(P,B.key,B)}}function x(P,N,H){return N&&_(P.prototype,N),H&&_(P,H),P}function b(P,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(N&&N.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),N&&C(P,N)}function C(P,N){return C=Object.setPrototypeOf||function(B,L){return B.__proto__=L,B},C(P,N)}function S(P){var N=D();return function(){var B=R(P),L;if(N){var k=R(this).constructor;L=Reflect.construct(B,arguments,k)}else L=B.apply(this,arguments);return O(this,L)}}function O(P,N){return N&&(t(N)==="object"||typeof N=="function")?N:M(P)}function M(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function D(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(P){return!1}}function R(P){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},R(P)}function T(P,N,H){return N in P?Object.defineProperty(P,N,{value:H,enumerable:!0,configurable:!0,writable:!0}):P[N]=H,P}var I=function(P){b(H,P);var N=S(H);function H(B){var L;return E(this,H),L=N.call(this,B),L.reduxStore=p.default.get(),L.scrollActions=(0,n.bindActionCreators)(l,L.reduxStore.dispatch),L.columnActions=(0,n.bindActionCreators)(s,L.reduxStore.dispatch),L.reduxStore.dispatch({type:a.INITIALIZE,props:B}),L.unsubscribe=L.reduxStore.subscribe(L.onStoreUpdate.bind(M(L))),L.state={boundState:H.getBoundState(L.reduxStore),reduxStore:L.reduxStore,props:B},L}return x(H,[{key:"componentWillUnmount",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null),this.reduxStore=null}},{key:"render",value:function(){var L=r.default.createElement(c.default,w({},this.props,this.state.boundState,{scrollActions:this.scrollActions,columnActions:this.columnActions}));return this.props.defaultScrollbars?r.default.createElement(d.default,this.props,L):L}},{key:"onStoreUpdate",value:function(){var L=H.getBoundState(this.reduxStore);this.state.boundState.propsRevision===L.propsRevision&&this.setState({boundState:L})}}],[{key:"getDerivedStateFromProps",value:function(L,k){return(0,o.default)(L.height!==void 0||L.maxHeight!==void 0,"You must set either a height or a maxHeight"),L===k.props?null:(k.reduxStore.dispatch({type:a.PROP_CHANGE,newProps:L,oldProps:k.props}),{boundState:H.getBoundState(k.reduxStore),props:L})}},{key:"getBoundState",value:function(L){var k=L.getState(),$=(0,i.default)(k,["columnGroupProps","columnProps","columnReorderingData","columnResizingData","elementHeights","elementTemplates","firstRowIndex","endRowIndex","isColumnReordering","isColumnResizing","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return $}}]),H}(r.default.Component);T(I,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:h.default.SIZE,scrollbarYWidth:h.default.SIZE});var A=(0,m.polyfill)(I);e.default=A})(sp);var C0={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(Gt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(M[T]=R[T])}return M},s.apply(this,arguments)}function l(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(M);D&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(M,I).enumerable})),R.push.apply(R,T)}return R}function c(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?l(Object(R),!0).forEach(function(T){C(M,T,R[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):l(Object(R)).forEach(function(T){Object.defineProperty(M,T,Object.getOwnPropertyDescriptor(R,T))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),T,I;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(M);for(I=0;I<A.length;I++)T=A[I],!(D.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(M,T)&&(R[T]=M[T])}return R}function h(M,D){if(M==null)return{};var R={},T=Object.keys(M),I,A;for(A=0;A<T.length;A++)I=T[A],!(D.indexOf(I)>=0)&&(R[I]=M[I]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var T=D[R];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(M,T.key,T)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(T,I){return T.__proto__=I,T},y(M,D)}function w(M){var D=x();return function(){var T=b(M),I;if(D){var A=b(this).constructor;I=Reflect.construct(T,arguments,A)}else I=T.apply(this,arguments);return E(this,I)}}function E(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var I=this.props,A=I.height,P=I.width,N=I.style,H=I.className,B=I.children,L=p(I,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=c({height:A,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap"),(0,o.default)("public/fixedDataTableCell/wrap"),(0,o.default)("public/fixedDataTableCell/cellContent"),H),style:k}),B)}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(C0);var T0={};(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(E){return E&&E.__esModule?E:{default:E}}function i(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function a(E,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(E,b.key,b)}}function s(E,_,x){return _&&a(E.prototype,_),E}function l(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),_&&c(E,_)}function c(E,_){return c=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},c(E,_)}function p(E){var _=m();return function(){var b=g(E),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(E,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(E)}function v(E,_,x){return _ in E?Object.defineProperty(E,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[_]=x,E}var y=function(E){l(x,E);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumn__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,fixedRight:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func]),cell:n.default.oneOfType([n.default.node,n.default.func]),footer:n.default.oneOfType([n.default.node,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,flexGrow:n.default.number,isResizable:n.default.bool,isReorderable:n.default.bool,allowCellsRecycling:n.default.bool,pureRendering:n.default.bool,cellClassName:n.default.string}),v(y,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});var w=y;e.default=w})(T0);var E0={};(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(E){return E&&E.__esModule?E:{default:E}}function i(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function a(E,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(E,b.key,b)}}function s(E,_,x){return _&&a(E.prototype,_),E}function l(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),_&&c(E,_)}function c(E,_){return c=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},c(E,_)}function p(E){var _=m();return function(){var b=g(E),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(E,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(E)}function v(E,_,x){return _ in E?Object.defineProperty(E,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[_]=x,E}var y=function(E){l(x,E);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumnGroup__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func])}),v(y,"defaultProps",{fixed:!1});var w=y;e.default=w})(E0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Cell",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DataCell",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Column",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ColumnGroup",{enumerable:!0,get:function(){return i.default}}),e.version=void 0;var t=a(sp),r=a(pl),n=a(C0),o=a(T0),i=a(E0);function a(l){return l&&l.__esModule?l:{default:l}}var s="1.2.22";e.version=s})(ap);var Do=ap;const ED="#f4f4f8",SD="#edeef1",RD="#e3e5ea",OD="#f9f9fb",MD="#ffcb05",PD="#1faff3",DD="#e5e5e5",kD="#5b6372",ID="#3a4356",AD="#3c3c42",ND="#a3a3a3",$D="#d0d3db",LD="_tableWrapper_1ode4_16",FD="_table_1ode4_16",HD="_tableHeader_1ode4_78",BD="_tableCell_1ode4_88",jD="_tableCellContent_1ode4_99",zD="_headerColor_1ode4_105",WD="_rowColor_1ode4_109",Tn={athensGray:ED,athensGrayDark:SD,athensGrayDark2:RD,athensGrayLight:OD,defaultBrandColor:MD,dodgerBlue:PD,mercury:DD,shuttleGrayDark:kD,oxfordBlue:ID,darkModeDefaultBackground:AD,indicatorGrey:ND,secondaryButtonHover:$D,tableWrapper:LD,table:FD,tableHeader:HD,tableCell:BD,tableCellContent:jD,headerColor:zD,rowColor:WD},VD="#f4f4f8",UD="#edeef1",qD="#e3e5ea",GD="#f9f9fb",YD="#ffcb05",XD="#1faff3",KD="#e5e5e5",QD="#5b6372",ZD="#3a4356",JD="#3c3c42",ek="#a3a3a3",tk="#d0d3db",rk="_headerCell_2qf2w_16",nk="_noSort_2qf2w_29",ok="_standard_2qf2w_29",ik="_caret_2qf2w_33",ak="_headerLabel_2qf2w_38",sk="_icon_2qf2w_43",lk="_numberIcon_2qf2w_50",uk="_dateIcon_2qf2w_54",ck="_textIcon_2qf2w_58",dk="_booleanIcon_2qf2w_62",fk="_sortIcon_2qf2w_66",pk="_sortAscending_2qf2w_74",hk="_sortDescending_2qf2w_78",Ft={athensGray:VD,athensGrayDark:UD,athensGrayDark2:qD,athensGrayLight:GD,defaultBrandColor:YD,dodgerBlue:XD,mercury:KD,shuttleGrayDark:QD,oxfordBlue:ZD,darkModeDefaultBackground:JD,indicatorGrey:ek,secondaryButtonHover:tk,headerCell:rk,noSort:nk,standard:ok,caret:ik,headerLabel:ak,icon:sk,numberIcon:lk,dateIcon:uk,textIcon:ck,booleanIcon:dk,sortIcon:fk,sortAscending:pk,sortDescending:hk};var S0={exports:{}};/*!
|
|
242
|
+
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=t0,t.componentWillReceiveProps=r0),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=n0;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,p,h){var d=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:h;s.call(this,c,p,d)}}return e}const iD=Object.freeze(Object.defineProperty({__proto__:null,polyfill:oD},Symbol.toStringTag,{value:"Module"})),o0=u.getAugmentedNamespace(iD);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=p(F),n=p(Ye),o=p(mt),i=p(Gt),a=p(so),s=p(pl),l=p(e0),c=o0;function p(R){return R&&R.__esModule?R:{default:R}}function h(){return h=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var I=arguments[T];for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&(R[A]=I[A])}return R},h.apply(this,arguments)}function d(R,T){if(R==null)return{};var I=m(R,T),A,P;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(R);for(P=0;P<N.length;P++)A=N[P],!(T.indexOf(A)>=0)&&Object.prototype.propertyIsEnumerable.call(R,A)&&(I[A]=R[A])}return I}function m(R,T){if(R==null)return{};var I={},A=Object.keys(R),P,N;for(N=0;N<A.length;N++)P=A[N],!(T.indexOf(P)>=0)&&(I[P]=R[P]);return I}function g(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function v(R,T){for(var I=0;I<T.length;I++){var A=T[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(R,A.key,A)}}function y(R,T,I){return T&&v(R.prototype,T),I&&v(R,I),R}function w(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&E(R,T)}function E(R,T){return E=Object.setPrototypeOf||function(A,P){return A.__proto__=P,A},E(R,T)}function _(R){var T=C();return function(){var A=S(R),P;if(T){var N=S(this).constructor;P=Reflect.construct(A,arguments,N)}else P=A.apply(this,arguments);return x(this,P)}}function x(R,T){return T&&(t(T)==="object"||typeof T=="function")?T:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},S(R)}function O(R,T,I){return T in R?Object.defineProperty(R,T,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[T]=I,R}var M=function(R){w(I,R);var T=_(I);function I(){var A;g(this,I);for(var P=arguments.length,N=new Array(P),H=0;H<P;H++)N[H]=arguments[H];return A=T.call.apply(T,[this].concat(N)),O(b(A),"state",{isReorderingThisColumn:!1,displacement:0,reorderingDisplacement:0}),O(b(A),"_onColumnResizerMouseDown",function(B){A.props.onColumnResize(A.props.left,A.props.width,A.props.minWidth,A.props.maxWidth,A.props.columnKey,B),A.props.touchEnabled&&(B.preventDefault(),B.stopPropagation())}),O(b(A),"_onColumnReorderMouseDown",function(B){A.props.onColumnReorder(A.props.columnKey,A.props.width,A.props.left,B)}),O(b(A),"_suppressEvent",function(B){B.preventDefault(),B.stopPropagation()}),A}return y(I,[{key:"shouldComponentUpdate",value:function(P){if(P.isScrolling&&this.props.rowIndex===P.rowIndex&&this.props.isVisible===P.isVisible)return!1;if(!P.pureRendering)return!0;var N=this.props,H=N.cell,B=d(N,["cell"]),L=P.cell,k=d(P,["cell"]);return!(0,a.default)(B,k)||!H||!L||H.type!==L.type||!(0,a.default)(H.props,L.props)}},{key:"render",value:function(){var P=this.props,N=P.height,H=P.width,B=P.isVisible,L=P.columnKey,k=P.isHeaderOrFooter,$=d(P,["height","width","isVisible","columnKey","isHeaderOrFooter"]),V={height:N,width:H};if(this.props.isRTL?V.right=$.left:V.left=$.left,this.state.isReorderingThisColumn){var j=this.props.isRTL?-1:1;V.transform="translateX(".concat(this.state.displacement*j,"px) translateZ(0)"),V.zIndex=1}var W=(0,i.default)((0,o.default)({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":$.lastChild,"fixedDataTableCellLayout/alignRight":$.align==="right","fixedDataTableCellLayout/alignCenter":$.align==="center","public/fixedDataTableCell/alignRight":$.align==="right","public/fixedDataTableCell/highlighted":$.highlighted,"public/fixedDataTableCell/main":!0,"public/fixedDataTableCell/hasReorderHandle":!!$.onColumnReorder,"public/fixedDataTableCell/reordering":this.state.isReorderingThisColumn}),$.className),U;if($.onColumnResize){var Y={height:N};U=r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellLayout/columnResizerContainer"),style:Y,onMouseDown:this._onColumnResizerMouseDown,onTouchStart:this.props.touchEnabled?this._onColumnResizerMouseDown:null,onTouchEnd:this.props.touchEnabled?this._suppressEvent:null,onTouchMove:this.props.touchEnabled?this._suppressEvent:null},r.default.createElement("div",{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/columnResizerKnob"),(0,o.default)("public/fixedDataTableCell/columnResizerKnob")),style:Y}))}var K;$.onColumnReorder&&(K=r.default.createElement(l.default,h({columnKey:this.columnKey,touchEnabled:this.props.touchEnabled,onMouseDown:this._onColumnReorderMouseDown,onTouchStart:this._onColumnReorderMouseDown,height:N},this.props)));var X={columnKey:L,height:N,width:H,isVisible:B};$.rowIndex>=0&&(X.rowIndex=$.rowIndex);var Q;r.default.isValidElement($.cell)?Q=r.default.cloneElement($.cell,X):typeof $.cell=="function"?Q=$.cell(X):Q=r.default.createElement(s.default,X,$.cell);var ee=k?"columnheader":"gridcell";return r.default.createElement("div",{className:W,style:V,role:ee},U,K,Q)}}],[{key:"getDerivedStateFromProps",value:function(P,N){var H=P.left+N.displacement,B={isReorderingThisColumn:!1};if(!P.isColumnReordering)return B.displacement=0,B;var L=P.columnReorderingData.originalLeft,k=L+P.columnReorderingData.dragDistance,$=P.columnGroupWidth-P.columnReorderingData.columnWidth;if(k=Math.max(k,0),k=Math.min(k,$),P.columnKey===P.columnReorderingData.columnKey)return B.displacement=k-P.left,B.isReorderingThisColumn=!0,B;var V=k+P.columnReorderingData.columnWidth,j=k+P.columnReorderingData.columnWidth/2,W=H+P.width/2,U=j>W,Y=L>P.left,K=!1;return U?k<W&&(K=!0,Y?B.displacement=P.columnReorderingData.columnWidth:B.displacement=0):V>W&&(K=!0,Y?B.displacement=0:B.displacement=P.columnReorderingData.columnWidth*-1),K?U?P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey):P.columnReorderingData.columnBefore=P.columnKey:U?P.columnReorderingData.columnBefore=P.columnKey:P.columnReorderingData.columnAfter||(P.columnReorderingData.columnAfter=P.columnKey),B}}]),I}(r.default.Component);O(M,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,align:n.default.oneOf(["left","center","right"]),className:n.default.string,highlighted:n.default.bool,width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,height:n.default.number.isRequired,cell:n.default.oneOfType([n.default.string,n.default.element,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number.isRequired,onColumnResize:n.default.func,onColumnReorder:n.default.func,left:n.default.number,pureRendering:n.default.bool,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired}),O(M,"defaultProps",{align:"left",highlighted:!1});var D=(0,c.polyfill)(M);e.default=D})(Jp);var lo={},hl={},ml={},i0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=/-(.)/g;function r(o){return o.replace(t,function(i,a){return a.toUpperCase()})}var n=r;e.default=n})(i0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(qr),r=o(rl),n=o(i0);function o(d){return d&&d.__esModule?d:{default:d}}var i={},a=["Webkit","ms","Moz","O"],s=new RegExp("^("+a.join("|")+")"),l=r.default.canUseDOM?document.createElement("div").style:{};function c(d){for(var m=0;m<a.length;m++){var g=a[m]+d;if(g in l)return g}return null}function p(d){var m=(0,n.default)(d);if(i[m]===void 0){var g=m.charAt(0).toUpperCase()+m.slice(1);s.test(g)&&(0,t.default)(!1,"getVendorPrefixedName must only be called with unprefixedCSS property names. It was called with %s",d),i[m]=m in l?m:c(g)}return i[m]}var h=p;e.default=h})(ml);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ml);function r(i){return i&&i.__esModule?i:{default:i}}var n={hasCSSAnimations:function(){return!!(0,t.default)("animationName")},hasCSSTransforms:function(){return!!(0,t.default)("transform")},hasCSS3DTransforms:function(){return!!(0,t.default)("perspective")},hasCSSTransitions:function(){return!!(0,t.default)("transition")}},o=n;e.default=o})(hl);var a0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(hl),r=o(ml),n=o(Zr);function o(l){return l&&l.__esModule?l:{default:l}}var i=(0,r.default)("transform");(0,r.default)("backfaceVisibility");var a=function(){if(t.default.hasCSSTransforms()){var l=n.default.window?n.default.window.navigator.userAgent:"UNKNOWN",c=/Safari\//.test(l)&&!/Chrome\//.test(l);return!c&&t.default.hasCSS3DTransforms()?function(p,h,d){p[i]="translate3d("+h+"px,"+d+"px,0)"}:function(p,h,d){p[i]="translate("+h+"px,"+d+"px)"}}else return function(p,h,d){p.left=h+"px",p.top=d+"px"}}(),s=a;e.default=s})(a0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(hl),r=n(a0);function n(a){return a&&a.__esModule?a:{default:a}}function o(a,s,l){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,p=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;a.display!=="none"&&(c?(a.left=s+"px",a.top=l+"px"):(t.default.hasCSSTransforms()&&(s*=p?-1:1),(0,r.default)(a,s,l)),p&&(a.right=a.left,a.left="auto"))}var i=o;e.default=i})(lo);(function(e){function t(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(T){return typeof T}:t=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},t(D)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(F),n=l(Ye),o=l(mt),i=Xt,a=l(Jp),s=l(lo);function l(D){return D&&D.__esModule?D:{default:D}}function c(){return c=Object.assign||function(D){for(var R=1;R<arguments.length;R++){var T=arguments[R];for(var I in T)Object.prototype.hasOwnProperty.call(T,I)&&(D[I]=T[I])}return D},c.apply(this,arguments)}function p(D,R){if(D==null)return{};var T=h(D,R),I,A;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(D);for(A=0;A<P.length;A++)I=P[A],!(R.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(D,I)&&(T[I]=D[I])}return T}function h(D,R){if(D==null)return{};var T={},I=Object.keys(D),A,P;for(P=0;P<I.length;P++)A=I[P],!(R.indexOf(A)>=0)&&(T[A]=D[A]);return T}function d(D,R){if(!(D instanceof R))throw new TypeError("Cannot call a class as a function")}function m(D,R){for(var T=0;T<R.length;T++){var I=R[T];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(D,I.key,I)}}function g(D,R,T){return R&&m(D.prototype,R),D}function v(D,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(R&&R.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),R&&y(D,R)}function y(D,R){return y=Object.setPrototypeOf||function(I,A){return I.__proto__=A,I},y(D,R)}function w(D){var R=x();return function(){var I=b(D),A;if(R){var P=b(this).constructor;A=Reflect.construct(I,arguments,P)}else A=I.apply(this,arguments);return E(this,A)}}function E(D,R){return R&&(t(R)==="object"||typeof R=="function")?R:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(D){return!1}}function b(D){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},b(D)}function C(D,R,T){return R in D?Object.defineProperty(D,R,{value:T,enumerable:!0,configurable:!0,writable:!0}):D[R]=T,D}var S=function(D){v(T,D);var R=w(T);function T(I){var A;return d(this,T),A=R.call(this,I),C(_(A),"_renderCell",function(P,N,H,B,L,k,$,V,j){var W=H.isResizable&&A.props.onColumnResize,U=W?A.props.onColumnResize:null,Y=H.isReorderable&&A.props.onColumnReorder&&P===-1&&$!==H.width,K=Y?A.props.onColumnReorder:null,X=H.cellClassName,Q=H.pureRendering||!1;return r.default.createElement(a.default,{isScrolling:A.props.isScrolling,isHeaderOrFooter:A.props.isHeaderOrFooter,align:H.align,className:X,height:N,key:k,maxWidth:H.maxWidth,minWidth:H.minWidth,touchEnabled:A.props.touchEnabled,onColumnResize:U,onColumnReorder:K,onColumnReorderMove:A.props.onColumnReorderMove,onColumnReorderEnd:A.props.onColumnReorderEnd,isColumnReordering:V,columnReorderingData:A.props.columnReorderingData,rowIndex:P,columnKey:H.columnKey,width:H.width,left:L,cell:B,columnGroupWidth:$,pureRendering:Q,isRTL:A.props.isRTL,isVisible:A.props.isVisible&&j})}),A._initialRender=!0,A}return g(T,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"render",value:function(){for(var A=this.props,P=A.columns,N=new Array(P.length),H=(0,i.sumPropWidths)(P),B=A.isColumnReordering&&P.reduce(function(X,Q){return X||A.columnReorderingData.columnKey===Q.props.columnKey},!1),L=0,k=0,$=P.length;k<$;k++){var V=P[k].props,j=P[k].template,W=V.allowCellsRecycling&&!B,U=L-A.left<=A.width&&L-A.left+V.width>=0;if(!W||U){var Y=V.columnKey||"cell_"+k;N[k]=this._renderCell(A.rowIndex,A.rowHeight,V,j,L,Y,H,B,U)}L+=V.width}var K={height:A.height,position:"absolute",width:H,zIndex:A.zIndex};return(0,s.default)(K,-1*A.left,0,this._initialRender,this.props.isRTL),r.default.createElement("div",{className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroup"),style:K},N)}}]),T}(r.default.Component);C(S,"propTypes_DISABLED_FOR_PERFORMANCE",{columns:n.default.array.isRequired,isScrolling:n.default.bool,left:n.default.number,onColumnResize:n.default.func,onColumnReorder:n.default.func,onColumnReorderMove:n.default.func,onColumnReorderEnd:n.default.func,height:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,rowHeight:n.default.number.isRequired,rowIndex:n.default.number.isRequired,width:n.default.number.isRequired,zIndex:n.default.number.isRequired,touchEnabled:n.default.bool,isHeaderOrFooter:n.default.bool,isRTL:n.default.bool,isVisible:n.default.bool.isRequired});var O=function(D){v(T,D);var R=w(T);function T(){var I;d(this,T);for(var A=arguments.length,P=new Array(A),N=0;N<A;N++)P[N]=arguments[N];return I=R.call.apply(R,[this].concat(P)),C(_(I),"_onColumnResize",function(H,B,L,k,$,V){I.props.onColumnResize&&I.props.onColumnResize(I.props.offsetLeft,H-I.props.left+B,B,L,k,$,V)}),I}return g(T,[{key:"shouldComponentUpdate",value:function(A){return!(A.isScrolling&&this.props.rowIndex===A.rowIndex&&this.props.left===A.left&&this.props.offsetLeft===A.offsetLeft&&this.props.isVisible===A.isVisible)}},{key:"render",value:function(){var A=this.props,P=A.offsetLeft,N=p(A,["offsetLeft"]),H={height:N.cellGroupWrapperHeight||N.height,width:N.width};this.props.isRTL?H.right=P:H.left=P;var B=N.onColumnResize?this._onColumnResize:null;return r.default.createElement("div",{style:H,className:(0,o.default)("fixedDataTableCellGroupLayout/cellGroupWrapper")},r.default.createElement(S,c({},N,{onColumnResize:B})))}}]),T}(r.default.Component);C(O,"propTypes_DISABLED_FOR_PERFORMANCE",{isScrolling:n.default.bool,height:n.default.number.isRequired,offsetLeft:n.default.number,left:n.default.number,zIndex:n.default.number.isRequired}),C(O,"defaultProps",{left:0,offsetLeft:0});var M=O;e.default=M})(Zp);(function(e){function t(T){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(T)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(Ye),n=c(F),o=c(mt),i=c(Gt),a=Xt,s=c(Zp),l=c(lo);function c(T){return T&&T.__esModule?T:{default:T}}function p(T,I){if(T==null)return{};var A=h(T,I),P,N;if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(T);for(N=0;N<H.length;N++)P=H[N],!(I.indexOf(P)>=0)&&Object.prototype.propertyIsEnumerable.call(T,P)&&(A[P]=T[P])}return A}function h(T,I){if(T==null)return{};var A={},P=Object.keys(T),N,H;for(H=0;H<P.length;H++)N=P[H],!(I.indexOf(N)>=0)&&(A[N]=T[N]);return A}function d(){return d=Object.assign||function(T){for(var I=1;I<arguments.length;I++){var A=arguments[I];for(var P in A)Object.prototype.hasOwnProperty.call(A,P)&&(T[P]=A[P])}return T},d.apply(this,arguments)}function m(T,I){if(!(T instanceof I))throw new TypeError("Cannot call a class as a function")}function g(T,I){for(var A=0;A<I.length;A++){var P=I[A];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(T,P.key,P)}}function v(T,I,A){return I&&g(T.prototype,I),T}function y(T,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");T.prototype=Object.create(I&&I.prototype,{constructor:{value:T,writable:!0,configurable:!0}}),I&&w(T,I)}function w(T,I){return w=Object.setPrototypeOf||function(P,N){return P.__proto__=N,P},w(T,I)}function E(T){var I=b();return function(){var P=C(T),N;if(I){var H=C(this).constructor;N=Reflect.construct(P,arguments,H)}else N=P.apply(this,arguments);return _(this,N)}}function _(T,I){return I&&(t(I)==="object"||typeof I=="function")?I:x(T)}function x(T){if(T===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T}function b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(T){return!1}}function C(T){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},C(T)}function S(T,I,A){return I in T?Object.defineProperty(T,I,{value:A,enumerable:!0,configurable:!0,writable:!0}):T[I]=A,T}var O=1,M=function(T){y(A,T);var I=E(A);function A(){var P;m(this,A);for(var N=arguments.length,H=new Array(N),B=0;B<N;B++)H[B]=arguments[B];return P=I.call.apply(I,[this].concat(H)),S(x(P),"mouseLeaveIndex",null),S(x(P),"_getRowExpanded",function(L){if(P.props.rowExpanded){var k={rowIndex:P.props.index,height:L,width:P.props.width},$;return n.default.isValidElement(P.props.rowExpanded)?$=n.default.cloneElement(P.props.rowExpanded,k):typeof P.props.rowExpanded=="function"&&($=P.props.rowExpanded(k)),$}}),S(x(P),"_renderColumnsLeftShadow",function(L){var k=(0,o.default)({"fixedDataTableRowLayout/fixedColumnsDivider":L>0,"fixedDataTableRowLayout/columnsShadow":P.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":L>0,"public/fixedDataTableRow/columnsShadow":P.props.scrollLeft>0}),$=P.props.cellGroupWrapperHeight?P.props.cellGroupWrapperHeight-O:P.props.height,V={left:L,height:$};return P.props.isRTL&&(V.right=L,V.left="auto"),n.default.createElement("div",{className:k,style:V})}),S(x(P),"_renderFixedRightColumnsShadow",function(L){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","fixedDataTableRowLayout/fixedColumnsDivider","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow","public/fixedDataTableRow/fixedColumnsDivider"),$={height:P.props.height,left:L};return P.props.isRTL&&($.right=L,$.left="auto"),n.default.createElement("div",{className:k,style:$})}),S(x(P),"_renderColumnsRightShadow",function(L){if(Math.ceil(P.props.scrollLeft+P.props.width)<Math.floor(L)){var k=(0,o.default)("fixedDataTableRowLayout/columnsShadow","fixedDataTableRowLayout/columnsRightShadow","public/fixedDataTableRow/columnsShadow","public/fixedDataTableRow/columnsRightShadow"),$={height:P.props.height};return n.default.createElement("div",{className:k,style:$})}}),S(x(P),"_onClick",function(L){P.props.onClick(L,P.props.index)}),S(x(P),"_onContextMenu",function(L){P.props.onContextMenu(L,P.props.index)}),S(x(P),"_onDoubleClick",function(L){P.props.onDoubleClick(L,P.props.index)}),S(x(P),"_onMouseUp",function(L){P.props.onMouseUp(L,P.props.index)}),S(x(P),"_onMouseDown",function(L){P.props.onMouseDown(L,P.props.index)}),S(x(P),"_onMouseEnter",function(L){P.mouseLeaveIndex=P.props.index,P.props.onMouseEnter&&P.props.onMouseEnter(L,P.props.index)}),S(x(P),"_onMouseLeave",function(L){P.mouseLeaveIndex===null&&(P.mouseLeaveIndex=P.props.index),P.props.onMouseLeave(L,P.mouseLeaveIndex),P.mouseLeaveIndex=null}),S(x(P),"_onTouchStart",function(L){P.props.onTouchStart(L,P.props.index)}),S(x(P),"_onTouchEnd",function(L){P.props.onTouchEnd(L,P.props.index)}),S(x(P),"_onTouchMove",function(L){P.props.onTouchMove(L,P.props.index)}),P}return v(A,[{key:"shouldComponentUpdate",value:function(N){return N.isScrolling?N.visible?this.props.visible!==N.visible?!0:!(this.props.index===N.index&&this.props.scrollLeft===N.scrollLeft):!1:!0}},{key:"render",value:function(){var N=this.props.subRowHeight||0,H={width:this.props.width,height:this.props.height+N},B=(0,o.default)({"fixedDataTableRowLayout/main":!0,"public/fixedDataTableRow/main":!0,"public/fixedDataTableRow/highlighted":this.props.index%2===1,"public/fixedDataTableRow/odd":this.props.index%2===1,"public/fixedDataTableRow/even":this.props.index%2===0}),L=(0,a.sumPropWidths)(this.props.fixedColumns),k=n.default.createElement(s.default,{key:"fixed_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,left:0,width:L,zIndex:2,columns:this.props.fixedColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),$=this._renderColumnsLeftShadow(L),V=(0,a.sumPropWidths)(this.props.fixedRightColumns),j=this.props.showScrollbarY?this.props.scrollbarYWidth:0,W=n.default.createElement(s.default,{key:"fixed_right_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,offsetLeft:this.props.width-V-j,width:V,zIndex:2,columns:this.props.fixedRightColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),U=V?this._renderFixedRightColumnsShadow(this.props.width-V-j-5):null,Y=n.default.createElement(s.default,{key:"scrollable_cells",isScrolling:this.props.isScrolling,height:this.props.height,cellGroupWrapperHeight:this.props.cellGroupWrapperHeight,align:"right",left:this.props.scrollLeft,offsetLeft:L,width:this.props.width-L-V-j,zIndex:0,columns:this.props.scrollableColumns,touchEnabled:this.props.touchEnabled,onColumnResize:this.props.onColumnResize,onColumnReorder:this.props.onColumnReorder,onColumnReorderMove:this.props.onColumnReorderMove,onColumnReorderEnd:this.props.onColumnReorderEnd,isColumnReordering:this.props.isColumnReordering,columnReorderingData:this.props.columnReorderingData,rowHeight:this.props.height,rowIndex:this.props.index,isHeaderOrFooter:this.props.isHeaderOrFooter,isRTL:this.props.isRTL,isVisible:this.props.visible}),K=(0,a.sumPropWidths)(this.props.scrollableColumns),X=this._renderColumnsRightShadow(L+K),Q=this._getRowExpanded(N),ee={height:N,top:this.props.height,width:this.props.width},re=null;if(this.props.showScrollbarY){var G={width:j,height:this.props.height,left:this.props.isRTL?2:this.props.width-j-2};re=n.default.createElement("div",{style:G,className:(0,o.default)("public/fixedDataTable/scrollbarSpacer")})}return n.default.createElement("div",d({className:(0,i.default)(B,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:H}),n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/body")},k,Y,$,W,U,re),Q&&n.default.createElement("div",{className:(0,o.default)("fixedDataTableRowLayout/rowExpanded"),style:ee},Q),X)}}]),A}(n.default.Component);S(M,"propTypes",{isScrolling:r.default.bool,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,cellGroupWrapperHeight:r.default.number,subRowHeight:r.default.number,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),index:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,width:r.default.number.isRequired,onClick:r.default.func,onContextMenu:r.default.func,onDoubleClick:r.default.func,onColumnResize:r.default.func,isColumnReordering:r.default.bool,onColumnReorder:r.default.func,onColumnReorderMove:r.default.func,onColumnReorderEnd:r.default.func,touchEnabled:r.default.bool,isHeaderOrFooter:r.default.bool,ariaRowIndex:r.default.number,isRTL:r.default.bool,attributes:r.default.object});var D=function(T){y(A,T);var I=E(A);function A(P){var N;return m(this,A),N=I.call(this,P),N._initialRender=!0,N}return v(A,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(N){return!N.isScrolling||this.props.visible!==N.visible?!0:N.visible?!(N.isScrolling&&this.props.index===N.index&&this.props.offsetTop===N.offsetTop&&this.props.scrollLeft===N.scrollLeft):!1}},{key:"render",value:function(){var N=this.props,H=N.offsetTop,B=N.zIndex,L=p(N,["offsetTop","zIndex"]),k={width:this.props.width,height:this.props.height,zIndex:B||0,visibility:L.visible?"visible":"hidden"};return(0,l.default)(k,0,H,this._initialRender,this.props.isRTL),n.default.createElement("div",{style:k,className:(0,o.default)("fixedDataTableRowLayout/rowWrapper")},n.default.createElement(M,L))}}]),A}(n.default.Component);S(D,"propTypes",{isScrolling:r.default.bool,height:r.default.number.isRequired,zIndex:r.default.number,offsetTop:r.default.number.isRequired,visible:r.default.bool.isRequired,width:r.default.number.isRequired});var R=D;e.default=R})(fl);(function(e){function t(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(R)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(Ye),n=d(F),o=d(PP),i=d(rD),a=d(Qp),s=d(mt),l=d(Yt),c=d(Gt),p=d(fl),h=d(lo);function d(R){return R&&R.__esModule?R:{default:R}}function m(){return m=Object.assign||function(R){for(var T=1;T<arguments.length;T++){var I=arguments[T];for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&(R[A]=I[A])}return R},m.apply(this,arguments)}function g(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}function v(R,T){for(var I=0;I<T.length;I++){var A=T[I];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(R,A.key,A)}}function y(R,T,I){return T&&v(R.prototype,T),R}function w(R,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(T&&T.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),T&&E(R,T)}function E(R,T){return E=Object.setPrototypeOf||function(A,P){return A.__proto__=P,A},E(R,T)}function _(R){var T=C();return function(){var A=S(R),P;if(T){var N=S(this).constructor;P=Reflect.construct(A,arguments,N)}else P=A.apply(this,arguments);return x(this,P)}}function x(R,T){return T&&(t(T)==="object"||typeof T=="function")?T:b(R)}function b(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(R){return!1}}function S(R){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},S(R)}function O(R,T,I){return T in R?Object.defineProperty(R,T,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[T]=I,R}var M=function(R){w(I,R);var T=_(I);function I(A){var P;return g(this,I),P=T.call(this,A),P._staticRowArray=[],P._initialRender=!0,P}return y(I,[{key:"componentDidMount",value:function(){this._initialRender=!1}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUnmount",value:function(){this._staticRowArray.length=0}},{key:"render",value:function(){var P=this.props,N=P.offsetTop,H=P.rowOffsets,B=P.scrollTop,L=P.isScrolling,k=P.rowsToRender;k=k||[],L?this._staticRowArray.length=Math.max(this._staticRowArray.length,k.length):this._staticRowArray.length=k.length;for(var $=1e6,V=N-B%$,j=0;j<this._staticRowArray.length;j++){var W,U=(0,o.default)(k[j],(W=this._staticRowArray[j])===null||W===void 0?void 0:W.props.index);if((0,a.default)(U)||!(0,i.default)(U,0,this.props.rowSettings.rowsCount)){this._staticRowArray[j]=null;continue}var Y=H[U]-Math.floor(B/$)*$;this._staticRowArray[j]=this.renderRow({rowIndex:U,key:j,rowOffsetTop:Y})}var K={};(0,h.default)(K,0,V,!1);var X=this._staticRowArray.slice().sort(this.rowSortComparator);return n.default.createElement("div",{style:K},X)}},{key:"renderRow",value:function(P){var N=P.rowIndex,H=P.key,B=P.rowOffsetTop,L=this.props,k=L.rowClassNameGetter||l.default,$={};$.height=this.props.rowSettings.rowHeightGetter(N),$.subRowHeight=this.props.rowSettings.subRowHeightGetter(N),$.offsetTop=B,$.key=L.rowKeyGetter?L.rowKeyGetter(N):H,$.attributes=L.rowSettings.rowAttributesGetter&&L.rowSettings.rowAttributesGetter(N);var V=N===L.rowSettings.rowsCount-1&&L.showLastRowBorder;$.className=(0,c.default)(k(N),(0,s.default)("public/fixedDataTable/bodyRow"),(0,s.default)({"fixedDataTableLayout/hasBottomBorder":V,"public/fixedDataTable/hasBottomBorder":V}));var j=(0,i.default)(N,this.props.firstViewportRowIndex,this.props.endViewportRowIndex);return n.default.createElement(p.default,m({key:H,index:N,ariaRowIndex:N+L.ariaRowIndexOffset,isScrolling:L.isScrolling,width:L.width,rowExpanded:L.rowExpanded,scrollLeft:Math.round(L.scrollLeft),fixedColumns:L.fixedColumns,fixedRightColumns:L.fixedRightColumns,scrollableColumns:L.scrollableColumns,onClick:L.onRowClick,onContextMenu:L.onRowContextMenu,onDoubleClick:L.onRowDoubleClick,onMouseDown:L.onRowMouseDown,onMouseUp:L.onRowMouseUp,onMouseEnter:L.onRowMouseEnter,onMouseLeave:L.onRowMouseLeave,onTouchStart:L.onRowTouchStart,onTouchEnd:L.onRowTouchEnd,onTouchMove:L.onRowTouchMove,showScrollbarY:L.showScrollbarY,scrollbarYWidth:L.scrollbarYWidth,isRTL:L.isRTL,visible:j},$))}},{key:"rowSortComparator",value:function(P,N){var H,B;return((H=P==null?void 0:P.props.ariaRowIndex)!==null&&H!==void 0?H:-1)-((B=N==null?void 0:N.props.ariaRowIndex)!==null&&B!==void 0?B:-1)}}]),I}(n.default.Component);O(M,"propTypes",{ariaRowIndexOffset:r.default.number,isScrolling:r.default.bool,firstViewportRowIndex:r.default.number.isRequired,endViewportRowIndex:r.default.number.isRequired,fixedColumns:r.default.array.isRequired,fixedRightColumns:r.default.array.isRequired,height:r.default.number.isRequired,offsetTop:r.default.number.isRequired,onRowClick:r.default.func,onRowContextMenu:r.default.func,onRowDoubleClick:r.default.func,onRowMouseDown:r.default.func,onRowMouseUp:r.default.func,onRowMouseEnter:r.default.func,onRowMouseLeave:r.default.func,onRowTouchStart:r.default.func,onRowTouchEnd:r.default.func,onRowTouchMove:r.default.func,rowClassNameGetter:r.default.func,rowExpanded:r.default.oneOfType([r.default.element,r.default.func]),rowOffsets:r.default.object.isRequired,rowKeyGetter:r.default.func,rowSettings:r.default.shape({rowAttributesGetter:r.default.func,rowHeightGetter:r.default.func,rowsCount:r.default.number.isRequired,subRowHeightGetter:r.default.func}),rowsToRender:r.default.array.isRequired,scrollLeft:r.default.number.isRequired,scrollTop:r.default.number.isRequired,scrollableColumns:r.default.array.isRequired,showLastRowBorder:r.default.bool,showScrollbarY:r.default.bool,width:r.default.number.isRequired,isRTL:r.default.bool});var D=M;e.default=D})(Kp);var s0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Yt),r=n(Ni);function n(m){return m&&m.__esModule?m:{default:m}}function o(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function i(m,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,y.key,y)}}function a(m,g,v){return g&&i(m.prototype,g),m}var s=1.6,l=1.6,c=325,p=100,h=function(){function m(g,v,y,w,E){o(this,m),this._dragAnimationId=null,this._trackerId=null,this._deltaX=0,this._deltaY=0,this._lastTouchX=0,this._lastTouchY=0,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),this._autoScrollTimestamp=Date.now(),typeof v!="function"&&(v=v?t.default.thatReturnsTrue:t.default.thatReturnsFalse),typeof y!="function"&&(y=y?t.default.thatReturnsTrue:t.default.thatReturnsFalse),this._handleScrollX=v,this._handleScrollY=y,this._preventDefault=w,this._stopPropagation=E,this._onTouchScrollCallback=g,this._didTouchMove=this._didTouchMove.bind(this),this._track=this._track.bind(this),this._autoScroll=this._autoScroll.bind(this),this._startAutoScroll=this._startAutoScroll.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchCancel=this.onTouchCancel.bind(this)}return a(m,[{key:"onTouchStart",value:function(v){this._lastTouchX=v.touches[0].pageX,this._lastTouchY=v.touches[0].pageY,this._velocityX=0,this._velocityY=0,this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=Date.now(),clearInterval(this._trackerId),this._trackerId=setInterval(this._track,p),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchEnd",value:function(v){clearInterval(this._trackerId),this._trackerId=null,(0,r.default)(this._startAutoScroll),this._stopPropagation&&v.stopPropagation()}},{key:"onTouchCancel",value:function(v){clearInterval(this._trackerId),this._trackerId=null,this._stopPropagation&&v.stopPropagation()}},{key:"onTouchMove",value:function(v){this._preventDefault&&v.preventDefault();var y=v.touches[0].pageX,w=v.touches[0].pageY;this._deltaX=s*(this._lastTouchX-y),this._deltaY=s*(this._lastTouchY-w);var E=this._handleScrollX(this._deltaX,this._deltaY),_=this._handleScrollY(this._deltaY,this._deltaX);if(!(!E&&!_)){E?this._lastTouchX=y:this._deltaX=0,_?this._lastTouchY=w:this._deltaY=0,v.defaultPrevented||v.preventDefault();var x=!1;(Math.abs(this._deltaX)>2||Math.abs(this._deltaY)>2)&&(this._stopPropagation&&v.stopPropagation(),x=!0),x===!0&&this._dragAnimationId===null&&(this._dragAnimationId=(0,r.default)(this._didTouchMove))}}},{key:"_didTouchMove",value:function(){this._dragAnimationId=null,this._onTouchScrollCallback(this._deltaX,this._deltaY),this._accumulatedDeltaX+=this._deltaX,this._accumulatedDeltaY+=this._deltaY,this._deltaX=0,this._deltaY=0}},{key:"_track",value:function(){var v=Date.now(),y=v-this._lastFrameTimestamp,w=this._velocityX,E=this._velocityY,_=.8;y<p&&(_*=y/p),w===0&&E===0&&(_=1),this._velocityX=_*(p*this._accumulatedDeltaX/(1+y)),_<1&&(this._velocityX+=(1-_)*w),this._velocityY=_*(p*this._accumulatedDeltaY/(1+y)),_<1&&(this._velocityY+=(1-_)*E),this._accumulatedDeltaX=0,this._accumulatedDeltaY=0,this._lastFrameTimestamp=v}},{key:"_startAutoScroll",value:function(){this._autoScrollTimestamp=Date.now(),(this._deltaX>0||this.deltaY>0)&&this._didTouchMove(),this._track(),this._autoScroll()}},{key:"_autoScroll",value:function(){var v=Date.now()-this._autoScrollTimestamp,y=l*Math.exp(-v/c),w=y*this._velocityX,E=y*this._velocityY;(Math.abs(w)<=5||!this._handleScrollX(w,E))&&(w=0),(Math.abs(E)<=5||!this._handleScrollY(E,w))&&(E=0),(w!==0||E!==0)&&(this._onTouchScrollCallback(w,E),(0,r.default)(this._autoScroll))}}]),m}(),d=h;e.default=d})(s0);(function(e){function t(L){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function($){return typeof $}:t=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},t(L)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=_(F),n=_(Ye),o=_(oR),i=_(mt),a=_(Tp),s=_(Gt),l=_(so),c=_(tl),p=_(Mp),h=_(Ap),d=_(tn),m=_(cl),g=_(Gp),v=_(Kp),y=_(Bi),w=_(fl),E=_(s0);function _(L){return L&&L.__esModule?L:{default:L}}function x(){return x=Object.assign||function(L){for(var k=1;k<arguments.length;k++){var $=arguments[k];for(var V in $)Object.prototype.hasOwnProperty.call($,V)&&(L[V]=$[V])}return L},x.apply(this,arguments)}function b(L,k){if(!(L instanceof k))throw new TypeError("Cannot call a class as a function")}function C(L,k){for(var $=0;$<k.length;$++){var V=k[$];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(L,V.key,V)}}function S(L,k,$){return k&&C(L.prototype,k),L}function O(L,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(k&&k.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),k&&M(L,k)}function M(L,k){return M=Object.setPrototypeOf||function(V,j){return V.__proto__=j,V},M(L,k)}function D(L){var k=I();return function(){var V=A(L),j;if(k){var W=A(this).constructor;j=Reflect.construct(V,arguments,W)}else j=V.apply(this,arguments);return R(this,j)}}function R(L,k){return k&&(t(k)==="object"||typeof k=="function")?k:T(L)}function T(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(L){return!1}}function A(L){return A=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},A(L)}function P(L,k,$){return k in L?Object.defineProperty(L,k,{value:$,enumerable:!0,configurable:!0,writable:!0}):L[k]=$,L}var N=25,H=function(L){O($,L);var k=D($);function $(V){var j;return b(this,$),j=k.call(this,V),P(T(j),"_shouldHandleTouchX",function(W){return j.props.touchScrollEnabled&&j._shouldHandleWheelX(W)}),P(T(j),"_shouldHandleTouchY",function(W){return j.props.touchScrollEnabled&&j._shouldHandleWheelY(W)}),P(T(j),"_shouldHandleWheelX",function(W){var U=j.props,Y=U.maxScrollX,K=U.scrollFlags,X=U.scrollX,Q=K.overflowX;return Q==="hidden"||(W=Math.round(W),W===0)?!1:W<0&&X>0||W>=0&&X<Y}),P(T(j),"_shouldHandleWheelY",function(W){var U=j.props,Y=U.maxScrollY,K=U.scrollFlags,X=U.scrollY,Q=K.overflowY;return Q==="hidden"||W===0||(W=Math.round(W),W===0)?!1:W<0&&X>0||W>=0&&X<Y}),P(T(j),"_reportContentHeight",function(){var W=(0,m.default)(j.props),U=W.contentHeight,Y=j.props.onContentHeightChange;U!==j._contentHeight&&Y&&Y(U),j._contentHeight=U}),P(T(j),"_renderRows",function(W,U,Y,K,X,Q){var ee=(0,d.default)(j.props),re=ee.scrollEnabledY,G=j.props;return r.default.createElement(v.default,{ariaRowIndexOffset:Q,isScrolling:G.scrolling,fixedColumns:U,fixedRightColumns:Y,firstViewportRowIndex:G.firstRowIndex,endViewportRowIndex:G.endRowIndex,height:X,offsetTop:W,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:K,showLastRowBorder:!0,width:G.tableSize.width,rowsToRender:G.rows,rowOffsets:G.rowOffsets,showScrollbarY:re,scrollbarYWidth:G.scrollbarYWidth,isRTL:G.isRTL})}),P(T(j),"_onRef",function(W){j._divRef=W,j._wheelHandler&&(j.props.stopReactWheelPropagation?j._wheelHandler.setRoot(W):j._wheelHandler.setRoot(null))}),P(T(j),"_onColumnResize",function(W,U,Y,K,X,Q,ee){var re=y.default.getCoordinatesFromEvent(ee),G=re.x,ne=re.y;j.props.columnActions.resizeColumn({cellMinWidth:K,cellMaxWidth:X,cellWidth:Y,columnKey:Q,combinedWidth:W,clientX:G,clientY:ne,leftOffset:U})}),P(T(j),"_onColumnReorder",function(W,U,Y,K){j.props.columnActions.startColumnReorder({scrollStart:j.props.scrollX,columnKey:W,width:U,left:Y})}),P(T(j),"_onColumnReorderMove",function(W){j.props.columnActions.moveColumnReorder(W)}),P(T(j),"_onColumnReorderEnd",function(W,U){var Y=j.props,K=Y.columnActions,X=Y.columnReorderingData,Q=X.cancelReorder,ee=X.columnAfter,re=X.columnBefore,G=X.columnKey,ne=X.scrollStart,Z=Y.onColumnReorderEndCallback,oe=Y.onHorizontalScroll,de=Y.scrollX;K.stopColumnReorder(),!Q&&(Z({columnAfter:ee,columnBefore:re,reorderColumn:G}),ne!==de&&oe&&oe(de))}),P(T(j),"_onScroll",function(W,U){var Y=j.props,K=Y.maxScrollX,X=Y.maxScrollY,Q=Y.onHorizontalScroll,ee=Y.onVerticalScroll,re=Y.scrollActions,G=Y.scrollFlags,ne=Y.scrollX,Z=Y.scrollY,oe=G.overflowX,de=G.overflowY,pe=ne,ce=Z;if(Math.abs(U)>Math.abs(W)&&de!=="hidden")ce+=U,ce=ce<0?0:ce,ce=ce>X?X:ce,(!ee||ee(ce))&&re.scrollToY(ce);else if(W&&oe!=="hidden"){pe+=W,pe=pe<0?0:pe,pe=pe>K?K:pe;var Ne=Math.round(pe);(!Q||Q(Ne))&&re.scrollToX(Ne)}}),P(T(j),"_scrollTo",function(W,U){j._scrollToX(W),j._scrollToY(U)}),P(T(j),"_scrollToX",function(W){var U=j.props,Y=U.onHorizontalScroll,K=U.scrollActions,X=U.scrollX;if(W!==X){var Q=Math.round(W);(!Y||Y(Q))&&K.scrollToX(Q)}}),P(T(j),"_scrollToY",function(W){var U=j.props,Y=U.onVerticalScroll,K=U.scrollActions,X=U.scrollY;W!==X&&(!Y||Y(W))&&K.scrollToY(W)}),P(T(j),"_didScroll",function(W){var U=j.props,Y=U.onScrollStart,K=U.scrollX,X=U.scrollY,Q=U.onHorizontalScroll,ee=U.onVerticalScroll,re=U.tableSize.ownerHeight,G=U.scrolling,ne=W.endRowIndex,Z=W.firstRowIndex,oe=W.scrollX,de=W.scrollY,pe=W.tableSize.ownerHeight,ce=W.scrolling,Ne=re!==pe&&!((0,o.default)(re)&&(0,o.default)(pe)),Te=K!==oe,$e=X!==de;!Ne&&!Te&&!$e||(!ce&&G&&Y&&Y(oe,de,Z,ne),Te&&Q&&Q(K),$e&&ee&&ee(X),j._didScrollStop())}),P(T(j),"_didScrollStopSync",function(){var W=j.props,U=W.endRowIndex,Y=W.firstRowIndex,K=W.onScrollEnd,X=W.scrollActions,Q=W.scrollX,ee=W.scrollY,re=W.scrolling;re&&(X.stopScroll(),K&&K(Q,ee,Y,U))}),j._didScrollStop=(0,a.default)(j._didScrollStopSync,200,T(j)),j._onKeyDown=j._onKeyDown.bind(T(j)),j._setupHandlers(),j}return S($,[{key:"componentWillUnmount",value:function(){this._cleanupHandlers(),this._didScrollStop.reset(),this._didScrollStopSync()}},{key:"_setupHandlers",value:function(){this._wheelHandler||(this._wheelHandler=new c.default(this._onScroll,this._shouldHandleWheelX,this._shouldHandleWheelY,this.props.isRTL,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._touchHandler||(this._touchHandler=new E.default(this._onScroll,this._shouldHandleTouchX,this._shouldHandleTouchY,this.props.stopScrollDefaultHandling,this.props.stopScrollPropagation)),this._divRef&&this._divRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this.props.touchScrollEnabled&&this._divRef&&this._divRef.addEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1})}},{key:"_cleanupHandlers",value:function(){this._wheelHandler&&(this._divRef&&this._divRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._wheelHandler=null),this._touchHandler&&(this._divRef&&this._divRef.removeEventListener("touchmove",this._touchHandler.onTouchMove,{passive:!1}),this._touchHandler=null)}},{key:"_onKeyDown",value:function(j){var W=(0,m.default)(this.props),U=W.scrollbarYHeight;if(this.props.keyboardPageEnabled)switch(j.key){case"PageDown":this._onScroll(0,U),j.preventDefault();break;case"PageUp":this._onScroll(0,U*-1),j.preventDefault();break}if(this.props.keyboardScrollEnabled)switch(j.key){case"ArrowDown":this._onScroll(0,N),j.preventDefault();break;case"ArrowUp":this._onScroll(0,N*-1),j.preventDefault();break;case"ArrowRight":this._onScroll(N,0),j.preventDefault();break;case"ArrowLeft":this._onScroll(N*-1,0),j.preventDefault();break}}},{key:"shouldComponentUpdate",value:function(j){return!(0,l.default)(this.props,j)}},{key:"componentDidMount",value:function(){this._setupHandlers(),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"componentDidUpdate",value:function(j){this._didScroll(j),this._reportContentHeight(),this._reportScrollBarsUpdates()}},{key:"_reportScrollBarsUpdates",value:function(){var j=(0,m.default)(this.props),W=j.bodyOffsetTop,U=j.scrollbarXOffsetTop,Y=j.visibleRowsHeight,K=this.props,X=K.tableSize.width,Q=K.scrollContentHeight,ee=K.scrollY,re=K.scrollX,G={viewportHeight:Y,contentHeight:Q,scrollbarYOffsetTop:W,scrollY:ee,viewportWidth:X,contentWidth:X+this.props.maxScrollX,scrollbarXOffsetTop:U,scrollX:re,scrollTo:this._scrollTo,scrollToX:this._scrollToX,scrollToY:this._scrollToY};(0,l.default)(this.previousScrollState,G)||(this.props.onScrollBarsUpdate(G),this.previousScrollState=G)}},{key:"render",value:function(){var j=(0,p.default)(this.props),W=j.ariaGroupHeaderIndex,U=j.ariaHeaderIndex,Y=j.ariaFooterIndex,K=j.ariaRowCount,X=j.ariaRowIndexOffset,Q=(0,h.default)(this.props),ee=Q.fixedColumnGroups,re=Q.fixedColumns,G=Q.fixedRightColumnGroups,ne=Q.fixedRightColumns,Z=Q.scrollableColumnGroups,oe=Q.scrollableColumns,de=(0,m.default)(this.props),pe=de.bodyHeight,ce=de.bodyOffsetTop,Ne=de.componentHeight,Te=de.footOffsetTop,$e=de.scrollbarXOffsetTop,Le=de.visibleRowsHeight,ye=this.props,be=ye.className,Ue=ye.columnReorderingData,He=ye.columnResizingData,Xe=ye.elementHeights,kt=ye.isColumnReordering,ie=ye.isColumnResizing,Be=ye.gridAttributesGetter,Qt=ye.maxScrollY,vt=ye.onColumnReorderEndCallback,Zt=ye.onColumnResizeEndCallback,mo=ye.scrollContentHeight,It=ye.scrollX,Jt=ye.scrollY,er=ye.scrolling,on=ye.tableSize,tr=ye.touchScrollEnabled,an=ye.scrollbarYWidth,go=on.ownerHeight,At=on.width,sn=Xe.cellGroupWrapperHeight,ln=Xe.footerHeight,vr=Xe.groupHeaderHeight,vo=Xe.headerHeight,yo=(0,d.default)(this.props),Xi=yo.scrollEnabledX,Nt=yo.scrollEnabledY,bo=vt?this._onColumnReorder:null,rr=Be&&Be(),yr;vr>0&&(yr=r.default.createElement(w.default,{key:"group_header",ariaRowIndex:W,isHeaderOrFooter:!0,isScrolling:er,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:At,height:vr,cellGroupWrapperHeight:sn,index:0,zIndex:1,offsetTop:0,scrollLeft:It,fixedColumns:ee,fixedRightColumns:G,scrollableColumns:Z,visible:!0,onColumnResize:this._onColumnResize,onColumnReorder:bo,onColumnReorderMove:this._onColumnReorderMove,showScrollbarY:Nt,scrollbarYWidth:an,isRTL:this.props.isRTL}));var je;Nt&&(je=this.props.scrollbarY);var $t;Xi&&($t=this.props.scrollbarX);var Ki=r.default.createElement(g.default,{height:Ne,initialWidth:He.width||0,minWidth:He.minWidth||0,maxWidth:He.maxWidth||Number.MAX_VALUE,visible:!!ie,leftOffset:He.left||0,knobHeight:vo,initialEvent:He.initialEvent,onColumnResizeEnd:Zt,columnKey:He.key,touchEnabled:tr,isRTL:this.props.isRTL}),Lt=null;ln&&(Lt=r.default.createElement(w.default,{key:"footer",ariaRowIndex:Y,isHeaderOrFooter:!0,isScrolling:er,className:(0,s.default)((0,i.default)("fixedDataTableLayout/footer"),(0,i.default)("public/fixedDataTable/footer")),width:At,height:ln,index:-1,zIndex:1,offsetTop:Te,visible:!0,fixedColumns:re.footer,fixedRightColumns:ne.footer,scrollableColumns:oe.footer,scrollLeft:It,showScrollbarY:Nt,scrollbarYWidth:an,isRTL:this.props.isRTL}));var un=this._renderRows(ce,re.cell,ne.cell,oe.cell,pe,X),_o=r.default.createElement(w.default,{key:"header",ariaRowIndex:U,isHeaderOrFooter:!0,isScrolling:er,className:(0,s.default)((0,i.default)("fixedDataTableLayout/header"),(0,i.default)("public/fixedDataTable/header")),width:At,height:vo,cellGroupWrapperHeight:sn,index:-1,zIndex:1,offsetTop:vr,scrollLeft:It,visible:!0,fixedColumns:re.header,fixedRightColumns:ne.header,scrollableColumns:oe.header,touchEnabled:tr,onColumnResize:this._onColumnResize,onColumnReorder:bo,onColumnReorderMove:this._onColumnReorderMove,onColumnReorderEnd:this._onColumnReorderEnd,isColumnReordering:!!kt,columnReorderingData:Ue,showScrollbarY:Nt,scrollbarYWidth:an,isRTL:this.props.isRTL}),cn;Jt&&(cn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/topShadow"),(0,i.default)("public/fixedDataTable/topShadow")),style:{top:ce}}));var xo=go&&go<Ne&&mo>Le,dn;(xo||Jt<Qt)&&(dn=r.default.createElement("div",{className:(0,s.default)((0,i.default)("fixedDataTableLayout/bottomShadow"),(0,i.default)("public/fixedDataTable/bottomShadow")),style:{top:Te}}));var wo=null;(this.props.keyboardPageEnabled||this.props.keyboardScrollEnabled)&&(wo=0);var fn=be;return this.props.isRTL&&(fn=(0,s.default)(fn,"fixedDataTable_isRTL")),r.default.createElement("div",x({className:(0,s.default)(fn,(0,i.default)("fixedDataTableLayout/main"),(0,i.default)("public/fixedDataTable/main")),role:"grid","aria-rowcount":K},rr,{tabIndex:wo,onKeyDown:this._onKeyDown,onTouchStart:tr?this._touchHandler.onTouchStart:null,onTouchEnd:tr?this._touchHandler.onTouchEnd:null,onTouchCancel:tr?this._touchHandler.onTouchCancel:null,ref:this._onRef,style:{height:Ne,width:At}}),r.default.createElement("div",{className:(0,i.default)("fixedDataTableLayout/rowsContainer"),style:{height:$e,width:At}},Ki,yr,_o,un,Lt,cn,dn),je,$t)}}]),$}(r.default.Component);P(H,"propTypes",{width:n.default.number.isRequired,height:n.default.number,className:n.default.string,maxHeight:n.default.number,ownerHeight:n.default.number,overflowX:n.default.oneOf(["hidden","auto"]),overflowY:n.default.oneOf(["hidden","auto"]),touchScrollEnabled:n.default.bool,keyboardScrollEnabled:n.default.bool,keyboardPageEnabled:n.default.bool,scrollbarX:n.default.node,scrollbarXHeight:n.default.number,scrollbarY:n.default.node,scrollbarYWidth:n.default.number,onScrollBarsUpdate:n.default.func,defaultScrollbars:n.default.bool,showScrollbarX:n.default.bool,showScrollbarY:n.default.bool,onHorizontalScroll:n.default.func,onVerticalScroll:n.default.func,rowsCount:n.default.number.isRequired,rowHeight:n.default.number.isRequired,rowHeightGetter:n.default.func,subRowHeight:n.default.number,subRowHeightGetter:n.default.func,rowExpanded:n.default.oneOfType([n.default.element,n.default.func]),rowClassNameGetter:n.default.func,rowKeyGetter:n.default.func,groupHeaderHeight:n.default.number,headerHeight:n.default.number.isRequired,cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,scrollLeft:n.default.number,scrollToColumn:n.default.number,scrollTop:n.default.number,scrollToRow:n.default.number,onScrollStart:n.default.func,onScrollEnd:n.default.func,stopReactWheelPropagation:n.default.bool,stopScrollDefaultHandling:n.default.bool,stopScrollPropagation:n.default.bool,onContentHeightChange:n.default.func,onRowClick:n.default.func,onRowContextMenu:n.default.func,onRowDoubleClick:n.default.func,onRowMouseDown:n.default.func,onRowMouseUp:n.default.func,onRowMouseEnter:n.default.func,onRowMouseLeave:n.default.func,onRowTouchStart:n.default.func,onRowTouchEnd:n.default.func,onRowTouchMove:n.default.func,onColumnResizeEndCallback:n.default.func,onColumnReorderEndCallback:n.default.func,isColumnResizing:n.default.bool,isColumnReordering:n.default.bool,isRTL:n.default.bool,bufferRowCount:n.default.number,elementHeights:n.default.shape({cellGroupWrapperHeight:n.default.number,footerHeight:n.default.number,groupHeaderHeight:n.default.number,headerHeight:n.default.number}),gridAttributesGetter:n.default.func,rowAttributesGetter:n.default.func}),P(H,"defaultProps",{elementHeights:{cellGroupWrapperHeight:void 0,footerHeight:0,groupHeaderHeight:0,headerHeight:0},keyboardScrollEnabled:!1,keyboardPageEnabled:!1,touchScrollEnabled:!1,stopScrollPropagation:!1});var B=H;e.default=B})(Cp);var l0={},u0={},c0={},d0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function r(s,l){for(var c=0;c<l.length;c++){var p=l[c];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}}function n(s,l,c){return l&&r(s.prototype,l),s}function o(s,l){return s<l}var i=function(){function s(l,c){t(this,s),this._items=l||[],this._size=this._items.length,this._comparator=c||o,this._heapify()}return n(s,[{key:"empty",value:function(){return this._size===0}},{key:"pop",value:function(){if(this._size!==0){var c=this._items[0],p=this._items.pop();return this._size--,this._size>0&&(this._items[0]=p,this._sinkDown(0)),c}}},{key:"push",value:function(c){this._items[this._size++]=c,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 c=Math.floor((this._size+1)/2);c>=0;c--)this._sinkDown(c)}},{key:"_bubbleUp",value:function(c){for(var p=this._items[c];c>0;){var h=Math.floor((c+1)/2)-1,d=this._items[h];if(this._comparator(d,p))return;this._items[h]=p,this._items[c]=d,c=h}}},{key:"_sinkDown",value:function(c){for(var p=this._items[c];;){var h=2*(c+1)-1,d=2*(c+1),m=-1;if(h<this._size){var g=this._items[h];this._comparator(g,p)&&(m=h)}if(d<this._size){var v=this._items[d];this._comparator(v,p)&&(m===-1||this._comparator(v,this._items[m]))&&(m=d)}if(m===-1)return;this._items[c]=this._items[m],this._items[m]=p,c=m}}}]),s}(),a=i;e.default=a})(d0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(d0),r=n(qr);function n(c){return c&&c.__esModule?c:{default:c}}function o(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function i(c,p){for(var h=0;h<p.length;h++){var d=p[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function a(c,p,h){return p&&i(c.prototype,p),c}var s=function(){function c(){o(this,c),this._valueToPositionMap={},this._size=0,this._smallValues=new t.default([],this._smallerComparator),this._largeValues=new t.default([],this._greaterComparator),this.getNewPositionForValue=this.getNewPositionForValue.bind(this),this.getValuePosition=this.getValuePosition.bind(this),this.getSize=this.getSize.bind(this),this.replaceFurthestValuePosition=this.replaceFurthestValuePosition.bind(this)}return a(c,[{key:"getSize",value:function(){return this._size}},{key:"getValuePosition",value:function(h){return this._valueToPositionMap[h]===void 0?null:this._valueToPositionMap[h]}},{key:"getNewPositionForValue",value:function(h){(0,r.default)(this._valueToPositionMap[h]===void 0,"Shouldn't try to find new position for value already stored in BufferSet");var d=this._size;return this._size++,this._pushToHeaps(d,h),this._valueToPositionMap[h]=d,d}},{key:"replaceFurthestValuePosition",value:function(h,d,m){if((0,r.default)(this._valueToPositionMap[m]===void 0,"Shouldn't try to replace values with value already stored value in BufferSet"),this._cleanHeaps(),this._smallValues.empty()||this._largeValues.empty())return null;var g=this._smallValues.peek().value,v=this._largeValues.peek().value;if(g>=h&&v<=d)return null;var y;h-g>v-d?(y=g,this._smallValues.pop()):(y=v,this._largeValues.pop());var w=this._valueToPositionMap[y];return delete this._valueToPositionMap[y],this._valueToPositionMap[m]=w,this._pushToHeaps(w,m),w}},{key:"_pushToHeaps",value:function(h,d){var m={position:h,value:d};this._smallValues.push(m),this._largeValues.push(m)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var h=Math.min(this._smallValues.size(),this._largeValues.size()),d=Math.max(this._smallValues.size(),this._largeValues.size());d>10*h&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var h=this._smallValues.size()<this._largeValues.size()?this._smallValues:this._largeValues,d=new t.default([],this._smallerComparator),m=new t.default([],this._greaterComparator);!h.empty();){var g=h.pop();this._valueToPositionMap[g.value]!==void 0&&(d.push(g),m.push(g))}this._smallValues=d,this._largeValues=m}},{key:"_cleanHeap",value:function(h){for(;!h.empty()&&this._valueToPositionMap[h.peek().value]===void 0;)h.pop()}},{key:"_smallerComparator",value:function(h,d){return h.value<d.value}},{key:"_greaterComparator",value:function(h,d){return h.value>d.value}}]),c}(),l=s;e.default=l})(c0);var f0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(qr),r=n(Zr);function n(d){return d&&d.__esModule?d:{default:d}}function o(d,m){if(!(d instanceof m))throw new TypeError("Cannot call a class as a function")}function i(d,m){for(var g=0;g<m.length;g++){var v=m[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,v.key,v)}}function a(d,m,g){return m&&i(d.prototype,m),g&&i(d,g),d}var s=function(m){return Math.floor(m/2)},l=r.default.Int32Array||function(d){for(var m=[],g=d-1;g>=0;--g)m[g]=0;return m};function c(d){for(var m=1;m<d;)m*=2;return m}var p=function(){function d(m){o(this,d),this._size=m.length,this._half=c(this._size),this._heap=new l(2*this._half);var g;for(g=0;g<this._size;++g)this._heap[this._half+g]=m[g];for(g=this._half-1;g>0;--g)this._heap[g]=this._heap[2*g]+this._heap[2*g+1]}return a(d,[{key:"set",value:function(g,v){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var y=this._half+g;for(this._heap[y]=v,y=s(y);y!==0;y=s(y))this._heap[y]=this._heap[2*y]+this._heap[2*y+1]}},{key:"get",value:function(g){(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g);var v=this._half+g;return this._heap[v]}},{key:"getSize",value:function(){return this._size}},{key:"sumUntil",value:function(g){if((0,t.default)(0<=g&&g<this._size+1,"Index out of range %s",g),g===0)return 0;for(var v=this._half+g-1,y=this._heap[v];v!==1;v=s(v))v%2===1&&(y+=this._heap[v-1]);return y}},{key:"sumTo",value:function(g){return(0,t.default)(0<=g&&g<this._size,"Index out of range %s",g),this.sumUntil(g+1)}},{key:"sum",value:function(g,v){return(0,t.default)(g<=v,"Begin must precede end"),this.sumUntil(v)-this.sumUntil(g)}},{key:"greatestLowerBound",value:function(g){if(g<0)return-1;var v=1;if(this._heap[v]<=g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"greatestStrictLowerBound",value:function(g){if(g<=0)return-1;var v=1;if(this._heap[v]<g)return this._size;for(;v<this._half;){var y=this._heap[2*v];g<=y?v=2*v:(v=2*v+1,g-=y)}return v-this._half}},{key:"leastUpperBound",value:function(g){return this.greatestStrictLowerBound(g)+1}},{key:"leastStrictUpperBound",value:function(g){return this.greatestLowerBound(g)+1}}],[{key:"uniform",value:function(g,v){for(var y=[],w=g-1;w>=0;--w)y[w]=v;return new d(y)}},{key:"empty",value:function(g){return d.uniform(g,0)}}]),d}(),h=p;e.default=h})(f0);var p0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(F),r=a(sl),n=a(qr),o=a(qp),i=a(el);function a(h){return h&&h.__esModule?h:{default:h}}function s(h){return(0,i.default)(h.props,["align","allowCellsRecycling","cellClassName","columnKey","flexGrow","fixed","fixedRight","maxWidth","minWidth","isReorderable","isResizable","pureRendering","width"])}function l(h,d){h.cell.push(d.props.cell),h.footer.push(d.props.footer),h.header.push(d.props.header)}function c(h){var d=[];t.default.Children.forEach(h,function(w,E){w!=null&&((0,n.default)(w.type.__TableColumnGroup__||w.type.__TableColumn__,"child type should be <FixedDataTableColumn /> or <FixedDataTableColumnGroup />"),d.push(w))});var m={cell:[],footer:[],groupHeader:[],header:[]},g=[],v=d.length&&d[0].type.__TableColumnGroup__;if(v){var y=(0,o.default)(d,s);return(0,r.default)(d,function(w,E){m.groupHeader.push(w.props.header),t.default.Children.forEach(w.props.children,function(_){var x=s(_);x.groupIdx=E,g.push(x),l(m,_)})}),{columnGroupProps:y,columnProps:g,elementTemplates:m,useGroupHeader:!0}}return(0,r.default)(d,function(w){g.push(s(w)),l(m,w)}),{columnGroupProps:[],columnProps:g,elementTemplates:m,useGroupHeader:!1}}var p=c;e.default=p})(p0);var ji={},gl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r,n){var o=r.storedHeights,i=r.rowOffsetIntervalTree,a=r.rowSettings,s=a.rowHeightGetter,l=a.subRowHeightGetter,c=s(n)+l(n),p=o[n];return c!==p&&(i.set(n,c),o[n]=c,r.scrollContentHeight+=c-p),o[n]}})(gl);Object.defineProperty(ji,"__esModule",{value:!0});ji.getScrollAnchor=sD;ji.scrollTo=g0;var h0=vl(Fi),m0=vl(tn),aD=vl(gl);function vl(e){return e&&e.__esModule?e:{default:e}}function sD(e,t,r){return t.scrollToRow!==void 0&&t.scrollToRow!==null&&(!r||t.scrollToRow!==r.scrollToRow)?lD(e,t.scrollToRow):t.scrollTop!==void 0&&t.scrollTop!==null&&(!r||t.scrollTop!==r.scrollTop)?g0(e,t.scrollTop):{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1}}function g0(e,t){var r=(0,m0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.scrollContentHeight,s=i.rowsCount;if(s===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};var l=0,c=0,p=void 0;if(!(t<=0))if(t>=a-n)l=void 0,p=s-1;else{var h=o.greatestLowerBound(t);l=(0,h0.default)(h,0,Math.max(s-1,0));var d=o.sumUntil(l);c=d-t}return{firstIndex:l,firstOffset:c,lastIndex:p,changed:!0}}function lD(e,t){var r=(0,m0.default)(e),n=r.availableHeight,o=e.rowOffsetIntervalTree,i=e.rowSettings,a=e.storedHeights,s=e.scrollY,l=i.rowsCount;if(l===0)return{firstIndex:0,firstOffset:0,lastIndex:void 0,changed:e.firstRowIndex!==0||e.firstRowOffset!==0};t=(0,h0.default)(t,0,Math.max(l-1,0)),(0,aD.default)(e,t);var c=o.sumUntil(t),p=c+a[t],h=t,d=void 0;if(!(c<s))if(s+n<p)h=void 0,d=t;else return{firstIndex:e.firstRowIndex,firstOffset:e.firstRowOffset,lastIndex:void 0,changed:!1};return{firstIndex:h,firstOffset:0,lastIndex:d,changed:!0}}var v0={};function uD(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}var cD=uD,dD=cD,ya=dl;function fD(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=ya(r),r=r===r?r:0),t!==void 0&&(t=ya(t),t=t===t?t:0),dD(ya(e),t,r)}var y0=fD;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(Qp),r=i(y0),n=i(Yt),o=i(ll);function i(v){return v&&v.__esModule?v:{default:v}}function a(){return a=Object.assign||function(v){for(var y=1;y<arguments.length;y++){var w=arguments[y];for(var E in w)Object.prototype.hasOwnProperty.call(w,E)&&(v[E]=w[E])}return v},a.apply(this,arguments)}var s=15,l=100;function c(v,y,w){var E=y.scrollLeft,_=v.columnResizingData,x=v.isColumnResizing,b=v.scrollX;E!==void 0&&(!w||E!==w.scrollLeft)&&(b=E),b=p(v,y,w.scrollToColumn,b);var C=(0,o.default)(v),S=C.maxScrollX;return b=(0,r.default)(b,0,S),x=y.isColumnResizing!==void 0?y.isColumnResizing:x,_=x?_:{},a({},v,{columnResizingData:_,isColumnResizing:x,maxScrollX:S,scrollX:b})}function p(v,y,w,E){var _=y.scrollToColumn;if((0,t.default)(_))return E;var x=(0,o.default)(v),b=x.availableScrollWidth,C=x.fixedColumns,S=x.scrollableColumns,O=C.length,M=S.length,D=M===0,R=_===w,T=_<O,I=_>=O+M;if(R||T||I||D)return E;for(var A=Math.min(_-O,S.length-1),P=0,N=0;N<A;++N)P+=S[N].width;var H=S[A].width,B=P+H-b;return E<B?B:E>P?P:E}function h(v,y){var w=y.cellMinWidth,E=y.cellMaxWidth,_=y.cellWidth,x=y.columnKey,b=y.combinedWidth,C=y.clientX,S=y.clientY,O=y.leftOffset;return a({},v,{isColumnResizing:!0,columnResizingData:{left:O+b-_,width:_,minWidth:w,maxWidth:E,initialEvent:{clientX:C,clientY:S,preventDefault:n.default},key:x}})}function d(v,y){var w=y.columnKey,E=y.left,_=y.scrollStart,x=y.width,b=(0,o.default)(v),C=b.fixedColumns,S=C.some(function(O){return O.columnKey===w});return a({},v,{isColumnReordering:!0,columnReorderingData:{cancelReorder:!1,dragDistance:0,isFixed:S,scrollStart:_,columnKey:w,columnWidth:x,originalLeft:E,columnBefore:void 0,columnAfter:void 0}})}function m(v,y){var w=v.columnReorderingData,E=w.isFixed,_=w.originalLeft,x=w.scrollStart,b=v.maxScrollX,C=v.scrollX;if(!E){var S=_-x+y,O=(0,o.default)(v),M=O.availableScrollWidth;y+=C-x,S>M-l?C=Math.min(C+s,b):S<=l&&(C=Math.max(C-s,0))}var D=a({},v.columnReorderingData,{dragDistance:y,columnBefore:void 0,columnAfter:void 0});return a({},v,{scrollX:C,columnReorderingData:D})}var g={initialize:c,reorderColumn:d,reorderColumnMove:m,resizeColumn:h};e.default=g})(v0);var b0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var t=a(y0),r=a(Li),n=a(tn),o=a(cl),i=a(gl);function a(d){return d&&d.__esModule?d:{default:d}}function s(){return s=Object.assign||function(d){for(var m=1;m<arguments.length;m++){var g=arguments[m];for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(d[v]=g[v])}return d},s.apply(this,arguments)}function l(d,m){var g=s({},d),v=c(g,m),y=g.rowSettings,w=g.scrollContentHeight,E=y.rowsCount,_=(0,o.default)(g),x=_.bodyHeight,b=w-x,C;b===0?(v.firstViewportIdx>0&&(v=c(g,{firstOffset:0,lastIndex:E-1})),C=0):C=v.firstOffset;var S=v.firstViewportIdx,O=v.endViewportIdx;p(g,v,d.scrolling);var M=0;return E>0&&(M=g.rowOffsets[v.firstViewportIdx]-C),M=(0,t.default)(M,0,b),s(g,{firstRowIndex:S,firstRowOffset:C,endRowIndex:O,maxScrollY:b,scrollY:M})}function c(d,m){var g=(0,r.default)(d),v=g.bufferRowCount,y=g.maxAvailableHeight,w=d.rowSettings.rowsCount;if(w===0)return{endBufferIdx:0,endViewportIdx:0,firstBufferIdx:0,firstOffset:0,firstViewportIdx:0};var E=m.firstIndex,_=m.firstOffset,x=m.lastIndex;(E>=w||x>=w)&&(x=w-1);var b=1,C=E,S=_;x!==void 0&&(b=-1,C=x,S=0);for(var O=C,M=O;O<w&&O>=0&&S<y;)S+=(0,i.default)(d,O),M=O,O+=b;var D=!1;if(S<y&&O===w&&x===void 0)for(D=!0,O=E-1;O>=0&&S<y;)S+=(0,i.default)(d,O),C=O,--O;var R=Math.min(C,M),T=Math.max(R-v,0);for(O=T;O<R;O++)(0,i.default)(d,O);var I=Math.max(C,M)+1,A=Math.min(I+v,w);for(O=I;O<A;O++)(0,i.default)(d,O);var P=(0,n.default)(d),N=P.availableHeight;if(x!==void 0||D){_=_+Math.min(N-S,0);var H=d.storedHeights;-1*_>=H[R]&&(R+=1,_+=H[R])}return{endBufferIdx:A,endViewportIdx:I,firstBufferIdx:T,firstOffset:_,firstViewportIdx:R}}function p(d,m,g){var v=d.rowBufferSet,y=d.rowOffsetIntervalTree,w=d.storedHeights,E=m.endBufferIdx,_=m.endViewportIdx,x=m.firstBufferIdx,b=m.firstViewportIdx,C=E-x;if(C===0){d.rowOffsets={},d.rows=[];return}for(var S=g?b:x,O=g?_:E,M=[],D={},R=y.sumUntil(S),T=S;T<O;T++){D[T]=R,R+=w[T];var I=h(T,v,S,O,C);M[I]=T}d.rows=M,d.rowOffsets=D}function h(d,m,g,v,y){var w=m.getValuePosition(d);return w===null&&m.getSize()>=y&&(w=m.replaceFurthestValuePosition(g,v-1,d)),w===null&&(w=m.getNewPositionForValue(d)),w}})(b0);var zi={},_0={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105};e.default=t})(_0);var Ja={"--scrollbar-face-active-color":"#7d7d7d","--scrollbar-face-color":"#c2c2c2","--scrollbar-face-margin":"4px","--scrollbar-face-radius":"6px","--scrollbar-size":"15px","--scrollbar-size-large":"17px","--scrollbar-track-color":"#fff","--border-color":"#d3d3d3","--fbui-white":"#fff","--fbui-desktop-background-light":"#f6f7f8"};function x0(e){if(Ja.hasOwnProperty(e))return Ja[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}x0.CSS_VARS=Ja;var pD=x0;(function(e){function t(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(B){return typeof B}:t=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},t(N)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=d(F),n=d(kr),o=d(Ye),i=d(mt),a=d(Yt),s=d(_0),l=d(tl),c=d(Hi),p=d(pD),h=d(lo);function d(N){return N&&N.__esModule?N:{default:N}}function m(N,H){if(!(N instanceof H))throw new TypeError("Cannot call a class as a function")}function g(N,H){for(var B=0;B<H.length;B++){var L=H[B];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(N,L.key,L)}}function v(N,H,B){return H&&g(N.prototype,H),N}function y(N,H){if(typeof H!="function"&&H!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(H&&H.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),H&&w(N,H)}function w(N,H){return w=Object.setPrototypeOf||function(L,k){return L.__proto__=k,L},w(N,H)}function E(N){var H=b();return function(){var L=C(N),k;if(H){var $=C(this).constructor;k=Reflect.construct(L,arguments,$)}else k=L.apply(this,arguments);return _(this,k)}}function _(N,H){return H&&(t(H)==="object"||typeof H=="function")?H:x(N)}function x(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function b(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(N){return!1}}function C(N){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},C(N)}function S(N,H,B){return H in N?Object.defineProperty(N,H,{value:B,enumerable:!0,configurable:!0,writable:!0}):N[H]=B,N}var O={position:0,scrollable:!1},M=parseInt((0,p.default)("--scrollbar-face-margin"),10),D=M*2,R=30,T=40,I=null,A=function(N){y(B,N);var H=E(B);function B(L){var k;return m(this,B),k=H.call(this,L),S(x(k),"_onRefFace",function($){return k._faceRef=$}),S(x(k),"_onRefRoot",function($){return k._rootRef=$}),S(x(k),"scrollBy",function($){k._onWheel($)}),S(x(k),"_shouldHandleX",function($){return k.props.orientation==="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleY",function($){return k.props.orientation!=="horizontal"?k._shouldHandleChange($):!1}),S(x(k),"_shouldHandleChange",function($){var V=k._calculateState(k.state.position+$,k.props.size,k.props.contentSize,k.props.orientation);return V.position!==k.state.position}),S(x(k),"_calculateState",function($,V,j,W){var U=Math.max(1,V);if(j<=U)return O;var Y="".concat($,"_").concat(U,"_").concat(j,"_").concat(W);if(k._stateKey===Y)return k._stateForKey;var K=W==="horizontal",X=U/j,Q=U*X;Q<R&&(X=(U-R)/(j-U),Q=R);var ee=!0,re=j-U;$<0?$=0:$>re&&($=re);var G=k._mouseMoveTracker?k._mouseMoveTracker.isDragging():!1,ne={faceSize:Q,isDragging:G,isHorizontal:K,position:$,scale:X,scrollable:ee};return k._stateKey=Y,k._stateForKey=ne,ne}),S(x(k),"_onWheelY",function($,V){k._onWheel(V)}),S(x(k),"_onWheelX",function($,V){k._onWheel($)}),S(x(k),"_onWheel",function($){var V=k.props;k._setNextState(k._calculateState(k.state.position+$,V.size,V.contentSize,V.orientation))}),S(x(k),"_onMouseDown",function($){var V;if($.target!==k._faceRef){var j=$.nativeEvent,W=k.state.isHorizontal?j.offsetX||j.layerX||k.getTouchX(j):j.offsetY||j.layerY||k.getTouchY(j),U=k.props;W/=k.state.scale,V=k._calculateState(W-k.state.faceSize*.5/k.state.scale,U.size,U.contentSize,U.orientation)}else V={};V.focused=!0,k._setNextState(V),k._mouseMoveTracker.captureMouseMoves($),k._rootRef.focus()}),S(x(k),"_onTouchCancel",function($){$.stopPropagation()}),S(x(k),"_onTouchEnd",function($){$.stopPropagation()}),S(x(k),"_onTouchMove",function($){$.stopPropagation()}),S(x(k),"_onTouchStart",function($){$.stopPropagation(),k._onMouseDown($)}),S(x(k),"_onMouseMove",function($,V){var j=k.props,W=k.state.isHorizontal?$*(k.props.isRTL?-1:1):V;W/=k.state.scale;var U=n.default.flushSync||function(Y){return Y()};U(function(){return k._setNextState(k._calculateState(k.state.position+W,j.size,j.contentSize,j.orientation))})}),S(x(k),"_onMouseMoveEnd",function(){k._nextState=null,k._mouseMoveTracker.releaseMouseMoves(),k.setState({isDragging:!1})}),S(x(k),"_onKeyDown",function($){var V=$.keyCode;if(V!==s.default.TAB){var j=T,W=0;if(k.state.isHorizontal)switch(V){case s.default.HOME:W=-1,j=k.props.contentSize;break;case s.default.LEFT:W=-1;break;case s.default.RIGHT:W=1;break;default:return}if(!k.state.isHorizontal)switch(V){case s.default.SPACE:$.shiftKey?W=-1:W=1;break;case s.default.HOME:W=-1,j=k.props.contentSize;break;case s.default.UP:W=-1;break;case s.default.DOWN:W=1;break;case s.default.PAGE_UP:W=-1,j=k.props.size;break;case s.default.PAGE_DOWN:W=1,j=k.props.size;break;default:return}$.preventDefault();var U=k.props;k._setNextState(k._calculateState(k.state.position+j*W,U.size,U.contentSize,U.orientation))}}),S(x(k),"_onFocus",function(){k.setState({focused:!0})}),S(x(k),"_onBlur",function(){k.setState({focused:!1})}),S(x(k),"_blur",function(){var $=n.default.findDOMNode(x(k));if($)try{k._onBlur(),$.blur()}catch(V){}}),S(x(k),"getTouchX",function($){return Math.round($.targetTouches[0].clientX-$.target.getBoundingClientRect().x)}),S(x(k),"getTouchY",function($){return Math.round($.targetTouches[0].clientY-$.target.getBoundingClientRect().y)}),S(x(k),"_setNextState",function($,V){V=V||k.props;var j=V.position,W=k.state.position!==$.position;if(j===void 0){var U=W?k._didScroll:void 0;k.setState($,U)}else if(j===$.position)k.setState($);else{$.position!==void 0&&$.position!==k.state.position&&k.props.onScroll($.position);return}W&&I!==x(k)&&(I&&I._blur(),I=x(k))}),S(x(k),"_didScroll",function(){k.props.onScroll(k.state.position)}),k.state=k._calculateState(L.position||L.defaultPosition||0,L.size,L.contentSize,L.orientation),k._initialRender=!0,k}return v(B,[{key:"componentDidUpdate",value:function(){var k=this.props.position;k===void 0?this._setNextState(this._calculateState(this.state.position,this.props.size,this.props.contentSize,this.props.orientation)):this._setNextState(this._calculateState(k,this.props.size,this.props.contentSize,this.props.orientation),this.props)}},{key:"render",value:function(){if(!this.state.scrollable)return null;var k=this.props.size,$,V,j=this.state.isHorizontal,W=!j,U=this.state.focused||this.state.isDragging,Y=this.state.faceSize,K=this.props.isOpaque,X=this.props.verticalTop||0,Q=(0,i.default)({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":W,"ScrollbarLayout/mainHorizontal":j,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":K,"public/Scrollbar/mainActive":U}),ee=(0,i.default)({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":j,"ScrollbarLayout/faceVertical":W,"public/Scrollbar/faceActive":U,"public/Scrollbar/face":!0}),re=this.state.position*this.state.scale+M;return j?($={width:k},V={width:Y-D,top:0,bottom:0},(0,h.default)(V,re,0,this._initialRender,this.props.isRTL)):($={top:X,height:k},this.props.isRTL&&($.left=$.right||0,$.right="auto"),V={height:Y-D},(0,h.default)(V,0,re,this._initialRender,this.props.isRTL),V.left=0,V.right=0),$.touchAction="none",$.zIndex=this.props.zIndex,this.props.trackColor==="gray"&&($.backgroundColor=(0,p.default)("--fbui-desktop-background-light")),r.default.createElement("div",{onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onTouchCancel:this._onTouchCancel,onTouchEnd:this._onTouchEnd,onTouchMove:this._onTouchMove,onTouchStart:this._onTouchStart,className:Q,style:$,ref:this._onRefRoot},r.default.createElement("div",{ref:this._onRefFace,className:ee,style:V}))}},{key:"componentDidMount",value:function(){var k=this.props.orientation==="horizontal",$=k?this._onWheelX:this._onWheelY;this._wheelHandler=new l.default($,this._shouldHandleX,this._shouldHandleY,this.props.isRTL),this._rootRef&&this._rootRef.addEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._mouseMoveTracker=new c.default(this._onMouseMove,this._onMouseMoveEnd,document.documentElement,this.props.touchEnabled),this.props.position!==void 0&&this.state.position!==this.props.position&&this._didScroll(),this._initialRender=!1}},{key:"componentWillUnmount",value:function(){this._rootRef&&this._rootRef.removeEventListener("wheel",this._wheelHandler.onWheel,{passive:!1}),this._nextState=null,this._mouseMoveTracker&&(this._mouseMoveTracker.releaseMouseMoves(),this._mouseMoveTracker=null),I===this&&(I=null)}}]),B}(r.default.PureComponent);S(A,"propTypes",{contentSize:o.default.number.isRequired,defaultPosition:o.default.number,isOpaque:o.default.bool,orientation:o.default.oneOf(["vertical","horizontal"]),onScroll:o.default.func,position:o.default.number,size:o.default.number.isRequired,trackColor:o.default.oneOf(["gray"]),touchEnabled:o.default.bool,zIndex:o.default.number,verticalTop:o.default.number,isRTL:o.default.bool}),S(A,"defaultProps",{defaultPosition:0,isOpaque:!1,onScroll:a.default,orientation:"vertical",zIndex:99}),A.KEYBOARD_SCROLL_AMOUNT=T,A.SIZE=parseInt((0,p.default)("--scrollbar-size"),10),A.OFFSET=1;var P=A;e.default=P})(zi);(function(e){function t(b){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(b)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=g(el),n=g(c0),o=g(f0),i=g(so),a=g(p0),s=m(xe),l=ji,c=g(v0),p=g(b0),h=g(zi);function d(b){if(typeof WeakMap!="function")return null;var C=new WeakMap,S=new WeakMap;return(d=function(M){return M?S:C})(b)}function m(b,C){if(b&&b.__esModule)return b;if(b===null||t(b)!=="object"&&typeof b!="function")return{default:b};var S=d(C);if(S&&S.has(b))return S.get(b);var O={},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var R=M?Object.getOwnPropertyDescriptor(b,D):null;R&&(R.get||R.set)?Object.defineProperty(O,D,R):O[D]=b[D]}return O.default=b,S&&S.set(b,O),O}function g(b){return b&&b.__esModule?b:{default:b}}function v(){return v=Object.assign||function(b){for(var C=1;C<arguments.length;C++){var S=arguments[C];for(var O in S)Object.prototype.hasOwnProperty.call(S,O)&&(b[O]=S[O])}return b},v.apply(this,arguments)}function y(){return{columnProps:[],columnGroupProps:[],elementTemplates:{cell:[],footer:[],groupHeader:[],header:[]},elementHeights:{footerHeight:0,groupHeaderHeight:0,headerHeight:0},propsRevision:null,rowSettings:{bufferRowCount:void 0,rowAttributesGetter:void 0,rowHeight:0,rowHeightGetter:function(){return 0},rowsCount:0,subRowHeight:0,subRowHeightGetter:function(){return 0}},scrollFlags:{overflowX:"auto",overflowY:"auto",showScrollbarX:!0,showScrollbarY:!0},tableSize:{height:void 0,maxHeight:0,ownerHeight:void 0,useMaxHeight:!1,width:0},columnReorderingData:{},columnResizingData:{},firstRowIndex:0,firstRowOffset:0,isColumnReordering:!1,isColumnResizing:!1,maxScrollX:0,maxScrollY:0,rowOffsets:{},rows:[],scrollContentHeight:0,scrollX:0,scrollbarXHeight:h.default.SIZE,scrollY:0,scrollbarYWidth:h.default.SIZE,scrolling:!1,rowBufferSet:new n.default,storedHeights:[],rowOffsetIntervalTree:null}}function w(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),C=arguments.length>1?arguments[1]:void 0;switch(C.type){case s.INITIALIZE:{var S=C.props,O=_(b,S);O=E(O);var M=(0,l.getScrollAnchor)(O,S);return O=(0,p.default)(O,M),c.default.initialize(O,S,{})}case s.PROP_CHANGE:{var D=C.newProps,R=C.oldProps,T=_(b,D);(R.rowsCount!==D.rowsCount||R.rowHeight!==D.rowHeight||R.subRowHeight!==D.subRowHeight)&&(T=E(T)),R.rowsCount!==D.rowsCount&&(T.rowBufferSet=new n.default);var I=(0,l.getScrollAnchor)(T,D,R);return(!(0,i.default)(b,T)||I.changed)&&(T=(0,p.default)(T,I)),T=c.default.initialize(T,D,R),(T.scrollX!==b.scrollX||T.scrollY!==b.scrollY)&&(T.scrolling=T.scrolling||!0),T}case s.SCROLL_END:{var A=v({},b,{scrolling:!1}),P={firstIndex:b.firstRowIndex,firstOffset:b.firstRowOffset,lastIndex:b.lastIndex};return(0,p.default)(A,P)}case s.SCROLL_TO_Y:{var N=C.scrollY,H=v({},b,{scrolling:!0}),B=(0,l.scrollTo)(H,N);return(0,p.default)(H,B)}case s.COLUMN_RESIZE:{var L=C.resizeData;return c.default.resizeColumn(b,L)}case s.COLUMN_REORDER_START:{var k=C.reorderData;return c.default.reorderColumn(b,k)}case s.COLUMN_REORDER_END:return v({},b,{isColumnReordering:!1,columnReorderingData:{}});case s.COLUMN_REORDER_MOVE:{var $=C.deltaX;return c.default.reorderColumnMove(b,$)}case s.SCROLL_TO_X:{var V=C.scrollX;return v({},b,{scrolling:!0,scrollX:V})}default:return b}}function E(b){for(var C=b.rowSettings,S=C.rowHeight,O=C.rowsCount,M=C.subRowHeight,D=S+M,R=o.default.uniform(O,D),T=O*D,I=new Array(O),A=0;A<O;A++)I[A]=D;return v({},b,{rowOffsetIntervalTree:R,scrollContentHeight:T,storedHeights:I})}function _(b,C){var S=(0,a.default)(C.children),O=S.columnGroupProps,M=S.columnProps,D=S.elementTemplates,R=S.useGroupHeader,T=v({},b,{columnGroupProps:O,columnProps:M,elementTemplates:D,propsRevision:b.propsRevision+1});T.elementHeights=v({},T.elementHeights,(0,r.default)(C,["cellGroupWrapperHeight","footerHeight","groupHeaderHeight","headerHeight"])),R||(T.elementHeights.groupHeaderHeight=0),T.rowSettings=v({},T.rowSettings,(0,r.default)(C,["bufferRowCount","rowHeight","rowsCount","subRowHeight"]));var I=T.rowSettings,A=I.rowHeight,P=I.subRowHeight;return T.rowSettings.rowHeightGetter=C.rowHeightGetter||function(){return A},T.rowSettings.subRowHeightGetter=C.subRowHeightGetter||function(){return P||0},T.rowSettings.rowAttributesGetter=C.rowAttributesGetter,T.scrollFlags=v({},T.scrollFlags,(0,r.default)(C,["overflowX","overflowY","showScrollbarX","showScrollbarY"])),T.tableSize=v({},T.tableSize,(0,r.default)(C,["height","maxHeight","ownerHeight","width"])),T.tableSize.useMaxHeight=T.tableSize.height===void 0,T.scrollbarXHeight=C.scrollbarXHeight,T.scrollbarYWidth=C.scrollbarYWidth,T}var x=w;e.default=x})(u0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=cp,r=n(u0);function n(i){return i&&i.__esModule?i:{default:i}}var o={get:function(){return(0,t.createStore)(r.default)}};e.default=o})(l0);var w0={},hD=$p,mD=Bp,gD=ki,vD=tt,yD=$i,bD=nl,_D=Np,xD=ol,wD="[object Map]",CD="[object Set]",TD=Object.prototype,ED=TD.hasOwnProperty;function SD(e){if(e==null)return!0;if(yD(e)&&(vD(e)||typeof e=="string"||typeof e.splice=="function"||bD(e)||xD(e)||gD(e)))return!e.length;var t=mD(e);if(t==wD||t==CD)return!e.size;if(_D(e))return!hD(e).length;for(var r in e)if(ED.call(e,r))return!1;return!0}var RD=SD;(function(e){function t(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(D){return typeof D}:t=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},t(O)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=l(F),n=l(Ye),o=l(RD),i=l(mt),a=l(Gt),s=l(zi);function l(O){return O&&O.__esModule?O:{default:O}}function c(){return c=Object.assign||function(O){for(var M=1;M<arguments.length;M++){var D=arguments[M];for(var R in D)Object.prototype.hasOwnProperty.call(D,R)&&(O[R]=D[R])}return O},c.apply(this,arguments)}function p(O,M){if(!(O instanceof M))throw new TypeError("Cannot call a class as a function")}function h(O,M){for(var D=0;D<M.length;D++){var R=M[D];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}function d(O,M,D){return M&&h(O.prototype,M),O}function m(O,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(M&&M.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),M&&g(O,M)}function g(O,M){return g=Object.setPrototypeOf||function(R,T){return R.__proto__=T,R},g(O,M)}function v(O){var M=E();return function(){var R=_(O),T;if(M){var I=_(this).constructor;T=Reflect.construct(R,arguments,I)}else T=R.apply(this,arguments);return y(this,T)}}function y(O,M){return M&&(t(M)==="object"||typeof M=="function")?M:w(O)}function w(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function 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(O){return!1}}function _(O){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(D){return D.__proto__||Object.getPrototypeOf(D)},_(O)}function x(O,M,D){return M in O?Object.defineProperty(O,M,{value:D,enumerable:!0,configurable:!0,writable:!0}):O[M]=D,O}var b=function(O){m(D,O);var M=v(D);function D(){var R;p(this,D);for(var T=arguments.length,I=new Array(T),A=0;A<T;A++)I[A]=arguments[A];return R=M.call.apply(M,[this].concat(I)),x(w(R),"state",{}),x(w(R),"_onScrollBarsUpdate",function(P){R.setState(P)}),x(w(R),"_onVerticalScroll",function(P){R.state.scrollToY!==void 0&&R.state.scrollToY(P)}),x(w(R),"_onHorizontalScroll",function(P){R.state.scrollToX!==void 0&&R.state.scrollToX(P)}),R}return d(D,[{key:"render",value:function(){var T=!(0,o.default)(this.state)&&r.default.createElement(s.default,{size:this.state.viewportHeight,contentSize:this.state.contentHeight,onScroll:this._onVerticalScroll,verticalTop:this.state.scrollbarYOffsetTop,position:this.state.scrollY,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL}),I=!(0,o.default)(this.state)&&r.default.createElement(C,{contentSize:this.state.contentWidth,offset:this.state.scrollbarXOffsetTop,onScroll:this._onHorizontalScroll,position:this.state.scrollX,size:this.state.viewportWidth,touchEnabled:this.props.touchScrollEnabled,isRTL:this.props.isRTL});return r.default.cloneElement(this.props.children,{onScrollBarsUpdate:this._onScrollBarsUpdate,scrollbarX:I,scrollbarY:T})}}]),D}(r.default.Component),C=function(O){m(D,O);var M=v(D);function D(){return p(this,D),M.apply(this,arguments)}return d(D,[{key:"render",value:function(){var T=this.props,I=T.offset,A=T.size,P={height:s.default.SIZE,width:A},N={height:s.default.SIZE,overflow:"hidden",width:A,top:I};return r.default.createElement("div",{className:(0,a.default)((0,i.default)("public/fixedDataTable/horizontalScrollbar")),style:P},r.default.createElement("div",{style:N},r.default.createElement(s.default,c({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}}]),D}(r.default.PureComponent);x(C,"propTypes",{contentSize:n.default.number.isRequired,offset:n.default.number.isRequired,onScroll:n.default.func.isRequired,position:n.default.number.isRequired,size:n.default.number.isRequired,isRTL:n.default.bool});var S=b;e.default=S})(w0);(function(e){function t(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(H){return typeof H}:t=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},t(P)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=y(F),n=cp,o=y(qr),i=y(el),a=v(xe),s=v(_t),l=v(xt),c=y(Cp),p=y(l0),h=y(zi),d=y(w0),m=o0;function g(P){if(typeof WeakMap!="function")return null;var N=new WeakMap,H=new WeakMap;return(g=function(L){return L?H:N})(P)}function v(P,N){if(P&&P.__esModule)return P;if(P===null||t(P)!=="object"&&typeof P!="function")return{default:P};var H=g(N);if(H&&H.has(P))return H.get(P);var B={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in P)if(k!=="default"&&Object.prototype.hasOwnProperty.call(P,k)){var $=L?Object.getOwnPropertyDescriptor(P,k):null;$&&($.get||$.set)?Object.defineProperty(B,k,$):B[k]=P[k]}return B.default=P,H&&H.set(P,B),B}function y(P){return P&&P.__esModule?P:{default:P}}function w(){return w=Object.assign||function(P){for(var N=1;N<arguments.length;N++){var H=arguments[N];for(var B in H)Object.prototype.hasOwnProperty.call(H,B)&&(P[B]=H[B])}return P},w.apply(this,arguments)}function E(P,N){if(!(P instanceof N))throw new TypeError("Cannot call a class as a function")}function _(P,N){for(var H=0;H<N.length;H++){var B=N[H];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(P,B.key,B)}}function x(P,N,H){return N&&_(P.prototype,N),H&&_(P,H),P}function b(P,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(N&&N.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),N&&C(P,N)}function C(P,N){return C=Object.setPrototypeOf||function(B,L){return B.__proto__=L,B},C(P,N)}function S(P){var N=D();return function(){var B=R(P),L;if(N){var k=R(this).constructor;L=Reflect.construct(B,arguments,k)}else L=B.apply(this,arguments);return O(this,L)}}function O(P,N){return N&&(t(N)==="object"||typeof N=="function")?N:M(P)}function M(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function D(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(P){return!1}}function R(P){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},R(P)}function T(P,N,H){return N in P?Object.defineProperty(P,N,{value:H,enumerable:!0,configurable:!0,writable:!0}):P[N]=H,P}var I=function(P){b(H,P);var N=S(H);function H(B){var L;return E(this,H),L=N.call(this,B),L.reduxStore=p.default.get(),L.scrollActions=(0,n.bindActionCreators)(l,L.reduxStore.dispatch),L.columnActions=(0,n.bindActionCreators)(s,L.reduxStore.dispatch),L.reduxStore.dispatch({type:a.INITIALIZE,props:B}),L.unsubscribe=L.reduxStore.subscribe(L.onStoreUpdate.bind(M(L))),L.state={boundState:H.getBoundState(L.reduxStore),reduxStore:L.reduxStore,props:B},L}return x(H,[{key:"componentWillUnmount",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null),this.reduxStore=null}},{key:"render",value:function(){var L=r.default.createElement(c.default,w({},this.props,this.state.boundState,{scrollActions:this.scrollActions,columnActions:this.columnActions}));return this.props.defaultScrollbars?r.default.createElement(d.default,this.props,L):L}},{key:"onStoreUpdate",value:function(){var L=H.getBoundState(this.reduxStore);this.state.boundState.propsRevision===L.propsRevision&&this.setState({boundState:L})}}],[{key:"getDerivedStateFromProps",value:function(L,k){return(0,o.default)(L.height!==void 0||L.maxHeight!==void 0,"You must set either a height or a maxHeight"),L===k.props?null:(k.reduxStore.dispatch({type:a.PROP_CHANGE,newProps:L,oldProps:k.props}),{boundState:H.getBoundState(k.reduxStore),props:L})}},{key:"getBoundState",value:function(L){var k=L.getState(),$=(0,i.default)(k,["columnGroupProps","columnProps","columnReorderingData","columnResizingData","elementHeights","elementTemplates","firstRowIndex","endRowIndex","isColumnReordering","isColumnResizing","maxScrollX","maxScrollY","propsRevision","rows","rowOffsets","rowSettings","scrollContentHeight","scrollFlags","scrollX","scrollY","scrolling","scrollJumpedX","scrollJumpedY","tableSize"]);return $}}]),H}(r.default.Component);T(I,"defaultProps",{defaultScrollbars:!0,scrollbarXHeight:h.default.SIZE,scrollbarYWidth:h.default.SIZE});var A=(0,m.polyfill)(I);e.default=A})(sp);var C0={};(function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(R){return typeof R}:t=function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},t(M)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(F),n=a(Ye),o=a(mt),i=a(Gt);function a(M){return M&&M.__esModule?M:{default:M}}function s(){return s=Object.assign||function(M){for(var D=1;D<arguments.length;D++){var R=arguments[D];for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(M[T]=R[T])}return M},s.apply(this,arguments)}function l(M,D){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(M);D&&(T=T.filter(function(I){return Object.getOwnPropertyDescriptor(M,I).enumerable})),R.push.apply(R,T)}return R}function c(M){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?l(Object(R),!0).forEach(function(T){C(M,T,R[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(R)):l(Object(R)).forEach(function(T){Object.defineProperty(M,T,Object.getOwnPropertyDescriptor(R,T))})}return M}function p(M,D){if(M==null)return{};var R=h(M,D),T,I;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(M);for(I=0;I<A.length;I++)T=A[I],!(D.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(M,T)&&(R[T]=M[T])}return R}function h(M,D){if(M==null)return{};var R={},T=Object.keys(M),I,A;for(A=0;A<T.length;A++)I=T[A],!(D.indexOf(I)>=0)&&(R[I]=M[I]);return R}function d(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function m(M,D){for(var R=0;R<D.length;R++){var T=D[R];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(M,T.key,T)}}function g(M,D,R){return D&&m(M.prototype,D),M}function v(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),D&&y(M,D)}function y(M,D){return y=Object.setPrototypeOf||function(T,I){return T.__proto__=I,T},y(M,D)}function w(M){var D=x();return function(){var T=b(M),I;if(D){var A=b(this).constructor;I=Reflect.construct(T,arguments,A)}else I=T.apply(this,arguments);return E(this,I)}}function E(M,D){return D&&(t(D)==="object"||typeof D=="function")?D:_(M)}function _(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(M){return!1}}function b(M){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},b(M)}function C(M,D,R){return D in M?Object.defineProperty(M,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):M[D]=R,M}var S=function(M){v(R,M);var D=w(R);function R(){return d(this,R),D.apply(this,arguments)}return g(R,[{key:"render",value:function(){var I=this.props,A=I.height,P=I.width,N=I.style,H=I.className,B=I.children,L=p(I,["height","width","isVisible","style","className","children","columnKey","rowIndex"]),k=c({height:A,width:P},N);return r.default.createElement("div",s({},L,{className:(0,i.default)((0,o.default)("fixedDataTableCellLayout/wrap"),(0,o.default)("public/fixedDataTableCell/wrap"),(0,o.default)("public/fixedDataTableCell/cellContent"),H),style:k}),B)}}]),R}(r.default.Component);C(S,"propTypes",{height:n.default.number,width:n.default.number,columnKey:n.default.oneOfType([n.default.string,n.default.number]),rowIndex:n.default.number,isVisible:n.default.bool});var O=S;e.default=O})(C0);var T0={};(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(E){return E&&E.__esModule?E:{default:E}}function i(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function a(E,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(E,b.key,b)}}function s(E,_,x){return _&&a(E.prototype,_),E}function l(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),_&&c(E,_)}function c(E,_){return c=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},c(E,_)}function p(E){var _=m();return function(){var b=g(E),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(E,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(E)}function v(E,_,x){return _ in E?Object.defineProperty(E,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[_]=x,E}var y=function(E){l(x,E);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumn /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumn__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,fixedRight:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func]),cell:n.default.oneOfType([n.default.node,n.default.func]),footer:n.default.oneOfType([n.default.node,n.default.func]),columnKey:n.default.oneOfType([n.default.string,n.default.number]),width:n.default.number.isRequired,minWidth:n.default.number,maxWidth:n.default.number,flexGrow:n.default.number,isResizable:n.default.bool,isReorderable:n.default.bool,allowCellsRecycling:n.default.bool,pureRendering:n.default.bool,cellClassName:n.default.string}),v(y,"defaultProps",{allowCellsRecycling:!1,fixed:!1,fixedRight:!1});var w=y;e.default=w})(T0);var E0={};(function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(x){return typeof x}:t=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(F),n=o(Ye);function o(E){return E&&E.__esModule?E:{default:E}}function i(E,_){if(!(E instanceof _))throw new TypeError("Cannot call a class as a function")}function a(E,_){for(var x=0;x<_.length;x++){var b=_[x];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(E,b.key,b)}}function s(E,_,x){return _&&a(E.prototype,_),E}function l(E,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(_&&_.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),_&&c(E,_)}function c(E,_){return c=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},c(E,_)}function p(E){var _=m();return function(){var b=g(E),C;if(_){var S=g(this).constructor;C=Reflect.construct(b,arguments,S)}else C=b.apply(this,arguments);return h(this,C)}}function h(E,_){return _&&(t(_)==="object"||typeof _=="function")?_:d(E)}function d(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(E){return!1}}function g(E){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},g(E)}function v(E,_,x){return _ in E?Object.defineProperty(E,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):E[_]=x,E}var y=function(E){l(x,E);var _=p(x);function x(){return i(this,x),_.apply(this,arguments)}return s(x,[{key:"render",value:function(){if(process.env.NODE_ENV!=="production")throw new Error("Component <FixedDataTableColumnGroup /> should never render");return null}}]),x}(r.default.Component);v(y,"__TableColumnGroup__",!0),v(y,"propTypes",{align:n.default.oneOf(["left","center","right"]),fixed:n.default.bool,header:n.default.oneOfType([n.default.node,n.default.func])}),v(y,"defaultProps",{fixed:!1});var w=y;e.default=w})(E0);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Table",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Cell",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DataCell",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Column",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ColumnGroup",{enumerable:!0,get:function(){return i.default}}),e.version=void 0;var t=a(sp),r=a(pl),n=a(C0),o=a(T0),i=a(E0);function a(l){return l&&l.__esModule?l:{default:l}}var s="1.2.22";e.version=s})(ap);var Do=ap;const OD="#f4f4f8",MD="#edeef1",PD="#e3e5ea",DD="#f9f9fb",kD="#ffcb05",ID="#1faff3",AD="#e5e5e5",ND="#5b6372",$D="#3a4356",LD="#3c3c42",FD="#a3a3a3",HD="#d0d3db",BD="_tableWrapper_1ode4_16",jD="_table_1ode4_16",zD="_tableHeader_1ode4_78",WD="_tableCell_1ode4_88",VD="_tableCellContent_1ode4_99",UD="_headerColor_1ode4_105",qD="_rowColor_1ode4_109",Tn={athensGray:OD,athensGrayDark:MD,athensGrayDark2:PD,athensGrayLight:DD,defaultBrandColor:kD,dodgerBlue:ID,mercury:AD,shuttleGrayDark:ND,oxfordBlue:$D,darkModeDefaultBackground:LD,indicatorGrey:FD,secondaryButtonHover:HD,tableWrapper:BD,table:jD,tableHeader:zD,tableCell:WD,tableCellContent:VD,headerColor:UD,rowColor:qD},GD="#f4f4f8",YD="#edeef1",XD="#e3e5ea",KD="#f9f9fb",QD="#ffcb05",ZD="#1faff3",JD="#e5e5e5",e6="#5b6372",t6="#3a4356",r6="#3c3c42",n6="#a3a3a3",o6="#d0d3db",i6="_headerCell_2qf2w_16",a6="_noSort_2qf2w_29",s6="_standard_2qf2w_29",l6="_caret_2qf2w_33",u6="_headerLabel_2qf2w_38",c6="_icon_2qf2w_43",d6="_numberIcon_2qf2w_50",f6="_dateIcon_2qf2w_54",p6="_textIcon_2qf2w_58",h6="_booleanIcon_2qf2w_62",m6="_sortIcon_2qf2w_66",g6="_sortAscending_2qf2w_74",v6="_sortDescending_2qf2w_78",Ft={athensGray:GD,athensGrayDark:YD,athensGrayDark2:XD,athensGrayLight:KD,defaultBrandColor:QD,dodgerBlue:ZD,mercury:JD,shuttleGrayDark:e6,oxfordBlue:t6,darkModeDefaultBackground:r6,indicatorGrey:n6,secondaryButtonHover:o6,headerCell:i6,noSort:a6,standard:s6,caret:l6,headerLabel:u6,icon:c6,numberIcon:d6,dateIcon:f6,textIcon:p6,booleanIcon:h6,sortIcon:m6,sortAscending:g6,sortDescending:v6};var S0={exports:{}};/*!
|
|
243
243
|
Copyright (c) 2018 Jed Watson.
|
|
244
244
|
Licensed under the MIT License (MIT), see
|
|
245
245
|
http://jedwatson.github.io/classnames
|
|
246
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(S0);var mk=S0.exports;const zn=u.getDefaultExportFromCjs(mk),gk="_icon_t30x8_1",vk="_numberIcon_t30x8_11",yk="_dateIcon_t30x8_15",bk="_textIcon_t30x8_19",_k="_booleanIcon_t30x8_23",yn={icon:gk,numberIcon:vk,dateIcon:yk,textIcon:bk,booleanIcon:_k},xk=({columnType:e})=>u.jsx("div",{className:zn(yn.icon,{[yn.numberIcon]:u.isNumber$1(e),[yn.dateIcon]:u.isDatetime(e),[yn.textIcon]:u.isText(e),[yn.booleanIcon]:u.isBoolean(e)})}),wk=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>u.jsxs("div",{className:Ft.headerCell,onClick:()=>{t(e)},children:[o&&u.jsx(xk,{columnType:e.type}),u.jsx("div",{className:Ft.headerLabel,children:n}),u.jsx("div",{className:zn(Ft.sortIcon,{[Ft.caret]:i==="caret",[Ft.standard]:i==="standard",[Ft.noSort]:!r||e.direction===0,[Ft.sortAscending]:r&&e.direction===1,[Ft.sortDescending]:r&&e.direction===-1})})]}),Ck=26,Tk=26,Lc=20,R0=36,O0=29,M0=24,es=350,Ek=126,Sk=38,Rk=55,Ok=(e,t,r,n)=>{const i=document.createElement("canvas").getContext("2d");if(!i)return[];i.font=`13px ${n||"Open Sans"}`;const a=e.columns.map(h=>i.measureText(h.name).width+R0+(t?O0:0)),s=i.measureText("0").width,l=e.columns.map(h=>({type:u.simpleColumnType(h.type),index:h.index})),{rows:c}=e,p=l.map(h=>{const d=c.reduce((m,g)=>{var E;const v=g[h.index].displayValue,y=(E=r[h.index])!=null&&E.isHtml?Mk(v):v,w=h.type==="number"?g[h.index].displayValue.length*s:i.measureText(y).width;return Math.max(m,w)},0);return M0+d});return a.map((h,d)=>{var m;return(m=r[d])!=null&&m.width?r[d].width:Math.ceil(Math.max(Ek,Math.min(es,Math.max(h,p[d]))))})};function Mk(e){const t=document.createElement("div");return t.innerHTML=e,P0(t)}function P0(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=P0(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const Fc=e=>e%2===1,Hc=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var c,p,h,d,m,g,v,y,w,E,_,x,b,C,S,O,M,D;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const l=u.getSlightlyDifferentColor(s);return o?(p=(c=n==null?void 0:n.header)==null?void 0:c.color)!=null&&p.enabled&&(s=((d=(h=n==null?void 0:n.header)==null?void 0:h.color)==null?void 0:d.backgroundColor)||l,i=((g=(m=n==null?void 0:n.header)==null?void 0:m.color)==null?void 0:g.textColor)||i):((y=(v=n==null?void 0:n.columns)==null?void 0:v.alternatingColor)!=null&&y.enabled&&Fc(e)&&(s=((E=(w=n==null?void 0:n.columns)==null?void 0:w.alternatingColor)==null?void 0:E.backgroundColor)||l,i=((x=(_=n==null?void 0:n.columns)==null?void 0:_.alternatingColor)==null?void 0:x.textColor)||i),(C=(b=n==null?void 0:n.rows)==null?void 0:b.alternatingColor)!=null&&C.enabled&&Fc(t)&&(s=((O=(S=n==null?void 0:n.rows)==null?void 0:S.alternatingColor)==null?void 0:O.backgroundColor)||l,i=((D=(M=n==null?void 0:n.rows)==null?void 0:M.alternatingColor)==null?void 0:D.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var yl={};Object.defineProperty(yl,"__esModule",{value:!0});var D0=yl.default=void 0,Pk=kk(F),Dk=jd;function k0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(k0=function(n){return n?r:t})(e)}function kk(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=k0(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function Ik(e){return Object.keys(e).length===0}function Ak(e=null){const t=Pk.useContext(Dk.ThemeContext);return!t||Ik(t)?e:t}D0=yl.default=Ak;var qe="top",ft="bottom",pt="right",Ge="left",bl="auto",uo=[qe,ft,pt,Ge],Lr="start",Wn="end",Nk="clippingParents",I0="viewport",bn="popper",$k="reference",Bc=uo.reduce(function(e,t){return e.concat([t+"-"+Lr,t+"-"+Wn])},[]),A0=[].concat(uo,[bl]).reduce(function(e,t){return e.concat([t,t+"-"+Lr,t+"-"+Wn])},[]),Lk="beforeRead",Fk="read",Hk="afterRead",Bk="beforeMain",jk="main",zk="afterMain",Wk="beforeWrite",Vk="write",Uk="afterWrite",qk=[Lk,Fk,Hk,Bk,jk,zk,Wk,Vk,Uk];function Et(e){return e?(e.nodeName||"").toLowerCase():null}function et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fr(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function ut(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _l(e){if(typeof ShadowRoot=="undefined")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Gk(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];!ut(i)||!Et(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function Yk(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},{});!ut(o)||!Et(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const Xk={name:"applyStyles",enabled:!0,phase:"write",fn:Gk,effect:Yk,requires:["computeStyles"]};function Ct(e){return e.split("-")[0]}var cr=Math.max,Jo=Math.min,Fr=Math.round;function ts(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function N0(){return!/^((?!chrome|android).)*safari/i.test(ts())}function Hr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&ut(e)&&(o=e.offsetWidth>0&&Fr(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Fr(n.height)/e.offsetHeight||1);var a=fr(e)?et(e):window,s=a.visualViewport,l=!N0()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,p=(n.top+(l&&s?s.offsetTop:0))/i,h=n.width/o,d=n.height/i;return{width:h,height:d,top:p,right:c+h,bottom:p+d,left:c,x:c,y:p}}function xl(e){var t=Hr(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 $0(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&_l(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Mt(e){return et(e).getComputedStyle(e)}function Kk(e){return["table","td","th"].indexOf(Et(e))>=0}function Kt(e){return((fr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wi(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(_l(e)?e.host:null)||Kt(e)}function jc(e){return!ut(e)||Mt(e).position==="fixed"?null:e.offsetParent}function Qk(e){var t=/firefox/i.test(ts()),r=/Trident/i.test(ts());if(r&&ut(e)){var n=Mt(e);if(n.position==="fixed")return null}var o=Wi(e);for(_l(o)&&(o=o.host);ut(o)&&["html","body"].indexOf(Et(o))<0;){var i=Mt(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 co(e){for(var t=et(e),r=jc(e);r&&Kk(r)&&Mt(r).position==="static";)r=jc(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Mt(r).position==="static")?t:r||Qk(e)||t}function wl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pn(e,t,r){return cr(e,Jo(t,r))}function Zk(e,t,r){var n=Pn(e,t,r);return n>r?r:n}function L0(){return{top:0,right:0,bottom:0,left:0}}function F0(e){return Object.assign({},L0(),e)}function H0(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Jk=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,F0(typeof t!="number"?t:H0(t,uo))};function e6(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Ct(r.placement),l=wl(s),c=[Ge,pt].indexOf(s)>=0,p=c?"height":"width";if(!(!i||!a)){var h=Jk(o.padding,r),d=xl(i),m=l==="y"?qe:Ge,g=l==="y"?ft:pt,v=r.rects.reference[p]+r.rects.reference[l]-a[l]-r.rects.popper[p],y=a[l]-r.rects.reference[l],w=co(i),E=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,_=v/2-y/2,x=h[m],b=E-d[p]-h[g],C=E/2-d[p]/2+_,S=Pn(x,C,b),O=l;r.modifiersData[n]=(t={},t[O]=S,t.centerOffset=S-C,t)}}function t6(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)||$0(t.elements.popper,o)&&(t.elements.arrow=o))}const r6={name:"arrow",enabled:!0,phase:"main",fn:e6,effect:t6,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Br(e){return e.split("-")[1]}var n6={top:"auto",right:"auto",bottom:"auto",left:"auto"};function o6(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Fr(r*o)/o||0,y:Fr(n*o)/o||0}}function zc(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,p=e.roundOffsets,h=e.isFixed,d=a.x,m=d===void 0?0:d,g=a.y,v=g===void 0?0:g,y=typeof p=="function"?p({x:m,y:v}):{x:m,y:v};m=y.x,v=y.y;var w=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),_=Ge,x=qe,b=window;if(c){var C=co(r),S="clientHeight",O="clientWidth";if(C===et(r)&&(C=Kt(r),Mt(C).position!=="static"&&s==="absolute"&&(S="scrollHeight",O="scrollWidth")),C=C,o===qe||(o===Ge||o===pt)&&i===Wn){x=ft;var M=h&&C===b&&b.visualViewport?b.visualViewport.height:C[S];v-=M-n.height,v*=l?1:-1}if(o===Ge||(o===qe||o===ft)&&i===Wn){_=pt;var D=h&&C===b&&b.visualViewport?b.visualViewport.width:C[O];m-=D-n.width,m*=l?1:-1}}var R=Object.assign({position:s},c&&n6),T=p===!0?o6({x:m,y:v},et(r)):{x:m,y:v};if(m=T.x,v=T.y,l){var I;return Object.assign({},R,(I={},I[x]=E?"0":"",I[_]=w?"0":"",I.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",I))}return Object.assign({},R,(t={},t[x]=E?v+"px":"",t[_]=w?m+"px":"",t.transform="",t))}function i6(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:Ct(t.placement),variation:Br(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,zc(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,zc(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 a6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:i6,data:{}};var ko={passive:!0};function s6(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=et(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(p){p.addEventListener("scroll",r.update,ko)}),s&&l.addEventListener("resize",r.update,ko),function(){i&&c.forEach(function(p){p.removeEventListener("scroll",r.update,ko)}),s&&l.removeEventListener("resize",r.update,ko)}}const l6={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:s6,data:{}};var u6={left:"right",right:"left",bottom:"top",top:"bottom"};function jo(e){return e.replace(/left|right|bottom|top/g,function(t){return u6[t]})}var c6={start:"end",end:"start"};function Wc(e){return e.replace(/start|end/g,function(t){return c6[t]})}function Cl(e){var t=et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Tl(e){return Hr(Kt(e)).left+Cl(e).scrollLeft}function d6(e,t){var r=et(e),n=Kt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=N0();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Tl(e),y:l}}function f6(e){var t,r=Kt(e),n=Cl(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=cr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Tl(e),l=-n.scrollTop;return Mt(o||r).direction==="rtl"&&(s+=cr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function El(e){var t=Mt(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function B0(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:ut(e)&&El(e)?e:B0(Wi(e))}function Dn(e,t){var r;t===void 0&&(t=[]);var n=B0(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=et(n),a=o?[i].concat(i.visualViewport||[],El(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Dn(Wi(a)))}function rs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function p6(e,t){var r=Hr(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 Vc(e,t,r){return t===I0?rs(d6(e,r)):fr(t)?p6(t,r):rs(f6(Kt(e)))}function h6(e){var t=Dn(Wi(e)),r=["absolute","fixed"].indexOf(Mt(e).position)>=0,n=r&&ut(e)?co(e):e;return fr(n)?t.filter(function(o){return fr(o)&&$0(o,n)&&Et(o)!=="body"}):[]}function m6(e,t,r,n){var o=t==="clippingParents"?h6(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var p=Vc(e,c,n);return l.top=cr(p.top,l.top),l.right=Jo(p.right,l.right),l.bottom=Jo(p.bottom,l.bottom),l.left=cr(p.left,l.left),l},Vc(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 j0(e){var t=e.reference,r=e.element,n=e.placement,o=n?Ct(n):null,i=n?Br(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case qe:l={x:a,y:t.y-r.height};break;case ft:l={x:a,y:t.y+t.height};break;case pt:l={x:t.x+t.width,y:s};break;case Ge:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?wl(o):null;if(c!=null){var p=c==="y"?"height":"width";switch(i){case Lr:l[c]=l[c]-(t[p]/2-r[p]/2);break;case Wn:l[c]=l[c]+(t[p]/2-r[p]/2);break}}return l}function Vn(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?Nk:s,c=r.rootBoundary,p=c===void 0?I0:c,h=r.elementContext,d=h===void 0?bn:h,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,y=v===void 0?0:v,w=F0(typeof y!="number"?y:H0(y,uo)),E=d===bn?$k:bn,_=e.rects.popper,x=e.elements[g?E:d],b=m6(fr(x)?x:x.contextElement||Kt(e.elements.popper),l,p,a),C=Hr(e.elements.reference),S=j0({reference:C,element:_,strategy:"absolute",placement:o}),O=rs(Object.assign({},_,S)),M=d===bn?O:C,D={top:b.top-M.top+w.top,bottom:M.bottom-b.bottom+w.bottom,left:b.left-M.left+w.left,right:M.right-b.right+w.right},R=e.modifiersData.offset;if(d===bn&&R){var T=R[o];Object.keys(D).forEach(function(I){var A=[pt,ft].indexOf(I)>=0?1:-1,P=[qe,ft].indexOf(I)>=0?"y":"x";D[I]+=T[P]*A})}return D}function g6(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?A0:l,p=Br(n),h=p?s?Bc:Bc.filter(function(g){return Br(g)===p}):uo,d=h.filter(function(g){return c.indexOf(g)>=0});d.length===0&&(d=h);var m=d.reduce(function(g,v){return g[v]=Vn(e,{placement:v,boundary:o,rootBoundary:i,padding:a})[Ct(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}function v6(e){if(Ct(e)===bl)return[];var t=jo(e);return[Wc(e),t,Wc(t)]}function y6(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,p=r.boundary,h=r.rootBoundary,d=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,y=t.options.placement,w=Ct(y),E=w===y,_=l||(E||!g?[jo(y)]:v6(y)),x=[y].concat(_).reduce(function(W,U){return W.concat(Ct(U)===bl?g6(t,{placement:U,boundary:p,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:v}):U)},[]),b=t.rects.reference,C=t.rects.popper,S=new Map,O=!0,M=x[0],D=0;D<x.length;D++){var R=x[D],T=Ct(R),I=Br(R)===Lr,A=[qe,ft].indexOf(T)>=0,P=A?"width":"height",N=Vn(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:d,padding:c}),H=A?I?pt:Ge:I?ft:qe;b[P]>C[P]&&(H=jo(H));var B=jo(H),L=[];if(i&&L.push(N[T]<=0),s&&L.push(N[H]<=0,N[B]<=0),L.every(function(W){return W})){M=R,O=!1;break}S.set(R,L)}if(O)for(var k=g?3:1,$=function(U){var Y=x.find(function(K){var X=S.get(K);if(X)return X.slice(0,U).every(function(Q){return Q})});if(Y)return M=Y,"break"},V=k;V>0;V--){var j=$(V);if(j==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const b6={name:"flip",enabled:!0,phase:"main",fn:y6,requiresIfExists:["offset"],data:{_skip:!1}};function Uc(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 qc(e){return[qe,pt,ft,Ge].some(function(t){return e[t]>=0})}function _6(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Vn(t,{elementContext:"reference"}),s=Vn(t,{altBoundary:!0}),l=Uc(a,n),c=Uc(s,o,i),p=qc(l),h=qc(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const x6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_6};function w6(e,t,r){var n=Ct(e),o=[Ge,qe].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ge,pt].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function C6(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=A0.reduce(function(p,h){return p[h]=w6(h,t.rects,i),p},{}),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 T6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:C6};function E6(e){var t=e.state,r=e.name;t.modifiersData[r]=j0({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const S6={name:"popperOffsets",enabled:!0,phase:"read",fn:E6,data:{}};function R6(e){return e==="x"?"y":"x"}function O6(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,p=r.altBoundary,h=r.padding,d=r.tether,m=d===void 0?!0:d,g=r.tetherOffset,v=g===void 0?0:g,y=Vn(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:p}),w=Ct(t.placement),E=Br(t.placement),_=!E,x=wl(w),b=R6(x),C=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(C){if(i){var I,A=x==="y"?qe:Ge,P=x==="y"?ft:pt,N=x==="y"?"height":"width",H=C[x],B=H+y[A],L=H-y[P],k=m?-O[N]/2:0,$=E===Lr?S[N]:O[N],V=E===Lr?-O[N]:-S[N],j=t.elements.arrow,W=m&&j?xl(j):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:L0(),Y=U[A],K=U[P],X=Pn(0,S[N],W[N]),Q=_?S[N]/2-k-X-Y-D.mainAxis:$-X-Y-D.mainAxis,ee=_?-S[N]/2+k+X+K+D.mainAxis:V+X+K+D.mainAxis,re=t.elements.arrow&&co(t.elements.arrow),G=re?x==="y"?re.clientTop||0:re.clientLeft||0:0,ne=(I=R==null?void 0:R[x])!=null?I:0,Z=H+Q-ne-G,oe=H+ee-ne,de=Pn(m?Jo(B,Z):B,H,m?cr(L,oe):L);C[x]=de,T[x]=de-H}if(s){var pe,ce=x==="x"?qe:Ge,Ne=x==="x"?ft:pt,Te=C[b],$e=b==="y"?"height":"width",Le=Te+y[ce],ye=Te-y[Ne],be=[qe,Ge].indexOf(w)!==-1,Ue=(pe=R==null?void 0:R[b])!=null?pe:0,He=be?Le:Te-S[$e]-O[$e]-Ue+D.altAxis,Xe=be?Te+S[$e]+O[$e]-Ue-D.altAxis:ye,kt=m&&be?Zk(He,Te,Xe):Pn(m?He:Le,Te,m?Xe:ye);C[b]=kt,T[b]=kt-Te}t.modifiersData[n]=T}}const M6={name:"preventOverflow",enabled:!0,phase:"main",fn:O6,requiresIfExists:["offset"]};function P6(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function D6(e){return e===et(e)||!ut(e)?Cl(e):P6(e)}function k6(e){var t=e.getBoundingClientRect(),r=Fr(t.width)/e.offsetWidth||1,n=Fr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function I6(e,t,r){r===void 0&&(r=!1);var n=ut(t),o=ut(t)&&k6(t),i=Kt(t),a=Hr(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||El(i))&&(s=D6(t)),ut(t)?(l=Hr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Tl(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function A6(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 N6(e){var t=A6(e);return qk.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function $6(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function L6(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 Gc={placement:"bottom",modifiers:[],strategy:"absolute"};function Yc(){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 F6(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Gc:o;return function(s,l,c){c===void 0&&(c=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Gc,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},h=[],d=!1,m={state:p,setOptions:function(w){var E=typeof w=="function"?w(p.options):w;v(),p.options=Object.assign({},i,p.options,E),p.scrollParents={reference:fr(s)?Dn(s):s.contextElement?Dn(s.contextElement):[],popper:Dn(l)};var _=N6(L6([].concat(n,p.options.modifiers)));return p.orderedModifiers=_.filter(function(x){return x.enabled}),g(),m.update()},forceUpdate:function(){if(!d){var w=p.elements,E=w.reference,_=w.popper;if(Yc(E,_)){p.rects={reference:I6(E,co(_),p.options.strategy==="fixed"),popper:xl(_)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(D){return p.modifiersData[D.name]=Object.assign({},D.data)});for(var x=0;x<p.orderedModifiers.length;x++){if(p.reset===!0){p.reset=!1,x=-1;continue}var b=p.orderedModifiers[x],C=b.fn,S=b.options,O=S===void 0?{}:S,M=b.name;typeof C=="function"&&(p=C({state:p,options:O,name:M,instance:m})||p)}}}},update:$6(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){v(),d=!0}};if(!Yc(s,l))return m;m.setOptions(c).then(function(y){!d&&c.onFirstUpdate&&c.onFirstUpdate(y)});function g(){p.orderedModifiers.forEach(function(y){var w=y.name,E=y.options,_=E===void 0?{}:E,x=y.effect;if(typeof x=="function"){var b=x({state:p,name:w,instance:m,options:_}),C=function(){};h.push(b||C)}})}function v(){h.forEach(function(y){return y()}),h=[]}return m}}var H6=[l6,S6,a6,Xk,T6,b6,M6,r6,x6],B6=F6({defaultModifiers:H6});function j6(e){return we("MuiPopper",e)}Ce("MuiPopper",["root"]);const z6=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],W6=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function V6(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 ei(e){return typeof e=="function"?e():e}function Vi(e){return e.nodeType!==void 0}function U6(e){return!Vi(e)}const q6=e=>{const{classes:t}=e;return De({root:["root"]},j6,t)},G6={},Y6=z.forwardRef(function(t,r){var n;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:p,popperOptions:h,popperRef:d,slotProps:m={},slots:g={},TransitionProps:v}=t,y=ae(t,z6),w=z.useRef(null),E=Ve(w,r),_=z.useRef(null),x=Ve(_,d),b=z.useRef(x);Ut(()=>{b.current=x},[x]),z.useImperativeHandle(d,()=>_.current,[]);const C=V6(p,a),[S,O]=z.useState(C),[M,D]=z.useState(ei(o));z.useEffect(()=>{_.current&&_.current.forceUpdate()}),z.useEffect(()=>{o&&D(ei(o))},[o]),Ut(()=>{if(!M||!c)return;const P=B=>{O(B.placement)};if(process.env.NODE_ENV!=="production"&&M&&Vi(M)&&M.nodeType===1){const B=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
247
|
-
`))}let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{P(B)}}];l!=null&&(N=N.concat(l)),h&&h.modifiers!=null&&(N=N.concat(h.modifiers));const H=
|
|
248
|
-
`))}else if(!t||typeof t.getBoundingClientRect!="function"||
|
|
249
|
-
`))}return null}),children:f.oneOfType([f.node,f.func]),container:f.oneOfType([Ot,f.func]),direction:f.oneOf(["ltr","rtl"]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:f.oneOf(["absolute","fixed"])}),popperRef:Jn,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),transition:f.bool});const
|
|
246
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,n(s)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(S0);var y6=S0.exports;const zn=u.getDefaultExportFromCjs(y6),b6="_icon_t30x8_1",_6="_numberIcon_t30x8_11",x6="_dateIcon_t30x8_15",w6="_textIcon_t30x8_19",C6="_booleanIcon_t30x8_23",yn={icon:b6,numberIcon:_6,dateIcon:x6,textIcon:w6,booleanIcon:C6},T6=({columnType:e})=>u.jsx("div",{className:zn(yn.icon,{[yn.numberIcon]:u.isNumber$1(e),[yn.dateIcon]:u.isDatetime(e),[yn.textIcon]:u.isText(e),[yn.booleanIcon]:u.isBoolean(e)})}),E6=({column:e,onClick:t,isSelected:r,children:n,showFieldTypeIcon:o,sortIcon:i="standard"})=>u.jsxs("div",{className:Ft.headerCell,onClick:()=>{t(e)},children:[o&&u.jsx(T6,{columnType:e.type}),u.jsx("div",{className:Ft.headerLabel,children:n}),u.jsx("div",{className:zn(Ft.sortIcon,{[Ft.caret]:i==="caret",[Ft.standard]:i==="standard",[Ft.noSort]:!r||e.direction===0,[Ft.sortAscending]:r&&e.direction===1,[Ft.sortDescending]:r&&e.direction===-1})})]}),S6=26,R6=26,Lc=20,R0=36,O0=29,M0=24,es=350,O6=126,M6=38,P6=55,D6=(e,t,r,n)=>{const i=document.createElement("canvas").getContext("2d");if(!i)return[];i.font=`13px ${n||"Open Sans"}`;const a=e.columns.map(h=>i.measureText(h.name).width+R0+(t?O0:0)),s=i.measureText("0").width,l=e.columns.map(h=>({type:u.simpleColumnType(h.type),index:h.index})),{rows:c}=e,p=l.map(h=>{const d=c.reduce((m,g)=>{var E;const v=g[h.index].displayValue,y=(E=r[h.index])!=null&&E.isHtml?k6(v):v,w=h.type==="number"?g[h.index].displayValue.length*s:i.measureText(y).width;return Math.max(m,w)},0);return M0+d});return a.map((h,d)=>{var m;return(m=r[d])!=null&&m.width?r[d].width:Math.ceil(Math.max(O6,Math.min(es,Math.max(h,p[d]))))})};function k6(e){const t=document.createElement("div");return t.innerHTML=e,P0(t)}function P0(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=P0(o):o.nodeType===3&&(n=o.nodeValue),n&&(r+=n);return r}const Fc=e=>e%2===1,Hc=({colIndex:e=0,rowIndex:t=0,themeSettings:r,customStyles:n,isHeaderCell:o})=>{var c,p,h,d,m,g,v,y,w,E,_,x,b,C,S,O,M,D;let i=r.chart.textColor;const a=r.typography.fontFamily;let s=r.chart.backgroundColor;const l=u.getSlightlyDifferentColor(s);return o?(p=(c=n==null?void 0:n.header)==null?void 0:c.color)!=null&&p.enabled&&(s=((d=(h=n==null?void 0:n.header)==null?void 0:h.color)==null?void 0:d.backgroundColor)||l,i=((g=(m=n==null?void 0:n.header)==null?void 0:m.color)==null?void 0:g.textColor)||i):((y=(v=n==null?void 0:n.columns)==null?void 0:v.alternatingColor)!=null&&y.enabled&&Fc(e)&&(s=((E=(w=n==null?void 0:n.columns)==null?void 0:w.alternatingColor)==null?void 0:E.backgroundColor)||l,i=((x=(_=n==null?void 0:n.columns)==null?void 0:_.alternatingColor)==null?void 0:x.textColor)||i),(C=(b=n==null?void 0:n.rows)==null?void 0:b.alternatingColor)!=null&&C.enabled&&Fc(t)&&(s=((O=(S=n==null?void 0:n.rows)==null?void 0:S.alternatingColor)==null?void 0:O.backgroundColor)||l,i=((D=(M=n==null?void 0:n.rows)==null?void 0:M.alternatingColor)==null?void 0:D.textColor)||i)),{color:i,backgroundColor:s,fontFamily:a}};var yl={};Object.defineProperty(yl,"__esModule",{value:!0});var D0=yl.default=void 0,I6=N6(F),A6=jd;function k0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(k0=function(n){return n?r:t})(e)}function N6(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=k0(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function $6(e){return Object.keys(e).length===0}function L6(e=null){const t=I6.useContext(A6.ThemeContext);return!t||$6(t)?e:t}D0=yl.default=L6;var qe="top",ft="bottom",pt="right",Ge="left",bl="auto",uo=[qe,ft,pt,Ge],Lr="start",Wn="end",F6="clippingParents",I0="viewport",bn="popper",H6="reference",Bc=uo.reduce(function(e,t){return e.concat([t+"-"+Lr,t+"-"+Wn])},[]),A0=[].concat(uo,[bl]).reduce(function(e,t){return e.concat([t,t+"-"+Lr,t+"-"+Wn])},[]),B6="beforeRead",j6="read",z6="afterRead",W6="beforeMain",V6="main",U6="afterMain",q6="beforeWrite",G6="write",Y6="afterWrite",X6=[B6,j6,z6,W6,V6,U6,q6,G6,Y6];function Et(e){return e?(e.nodeName||"").toLowerCase():null}function et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fr(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function ut(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _l(e){if(typeof ShadowRoot=="undefined")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function K6(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];!ut(i)||!Et(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function Q6(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},{});!ut(o)||!Et(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const Z6={name:"applyStyles",enabled:!0,phase:"write",fn:K6,effect:Q6,requires:["computeStyles"]};function Ct(e){return e.split("-")[0]}var cr=Math.max,Jo=Math.min,Fr=Math.round;function ts(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function N0(){return!/^((?!chrome|android).)*safari/i.test(ts())}function Hr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&ut(e)&&(o=e.offsetWidth>0&&Fr(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Fr(n.height)/e.offsetHeight||1);var a=fr(e)?et(e):window,s=a.visualViewport,l=!N0()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,p=(n.top+(l&&s?s.offsetTop:0))/i,h=n.width/o,d=n.height/i;return{width:h,height:d,top:p,right:c+h,bottom:p+d,left:c,x:c,y:p}}function xl(e){var t=Hr(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 $0(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&_l(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Mt(e){return et(e).getComputedStyle(e)}function J6(e){return["table","td","th"].indexOf(Et(e))>=0}function Kt(e){return((fr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wi(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(_l(e)?e.host:null)||Kt(e)}function jc(e){return!ut(e)||Mt(e).position==="fixed"?null:e.offsetParent}function ek(e){var t=/firefox/i.test(ts()),r=/Trident/i.test(ts());if(r&&ut(e)){var n=Mt(e);if(n.position==="fixed")return null}var o=Wi(e);for(_l(o)&&(o=o.host);ut(o)&&["html","body"].indexOf(Et(o))<0;){var i=Mt(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 co(e){for(var t=et(e),r=jc(e);r&&J6(r)&&Mt(r).position==="static";)r=jc(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Mt(r).position==="static")?t:r||ek(e)||t}function wl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pn(e,t,r){return cr(e,Jo(t,r))}function tk(e,t,r){var n=Pn(e,t,r);return n>r?r:n}function L0(){return{top:0,right:0,bottom:0,left:0}}function F0(e){return Object.assign({},L0(),e)}function H0(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var rk=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,F0(typeof t!="number"?t:H0(t,uo))};function nk(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Ct(r.placement),l=wl(s),c=[Ge,pt].indexOf(s)>=0,p=c?"height":"width";if(!(!i||!a)){var h=rk(o.padding,r),d=xl(i),m=l==="y"?qe:Ge,g=l==="y"?ft:pt,v=r.rects.reference[p]+r.rects.reference[l]-a[l]-r.rects.popper[p],y=a[l]-r.rects.reference[l],w=co(i),E=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,_=v/2-y/2,x=h[m],b=E-d[p]-h[g],C=E/2-d[p]/2+_,S=Pn(x,C,b),O=l;r.modifiersData[n]=(t={},t[O]=S,t.centerOffset=S-C,t)}}function ok(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)||$0(t.elements.popper,o)&&(t.elements.arrow=o))}const ik={name:"arrow",enabled:!0,phase:"main",fn:nk,effect:ok,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Br(e){return e.split("-")[1]}var ak={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sk(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Fr(r*o)/o||0,y:Fr(n*o)/o||0}}function zc(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,p=e.roundOffsets,h=e.isFixed,d=a.x,m=d===void 0?0:d,g=a.y,v=g===void 0?0:g,y=typeof p=="function"?p({x:m,y:v}):{x:m,y:v};m=y.x,v=y.y;var w=a.hasOwnProperty("x"),E=a.hasOwnProperty("y"),_=Ge,x=qe,b=window;if(c){var C=co(r),S="clientHeight",O="clientWidth";if(C===et(r)&&(C=Kt(r),Mt(C).position!=="static"&&s==="absolute"&&(S="scrollHeight",O="scrollWidth")),C=C,o===qe||(o===Ge||o===pt)&&i===Wn){x=ft;var M=h&&C===b&&b.visualViewport?b.visualViewport.height:C[S];v-=M-n.height,v*=l?1:-1}if(o===Ge||(o===qe||o===ft)&&i===Wn){_=pt;var D=h&&C===b&&b.visualViewport?b.visualViewport.width:C[O];m-=D-n.width,m*=l?1:-1}}var R=Object.assign({position:s},c&&ak),T=p===!0?sk({x:m,y:v},et(r)):{x:m,y:v};if(m=T.x,v=T.y,l){var I;return Object.assign({},R,(I={},I[x]=E?"0":"",I[_]=w?"0":"",I.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",I))}return Object.assign({},R,(t={},t[x]=E?v+"px":"",t[_]=w?m+"px":"",t.transform="",t))}function lk(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:Ct(t.placement),variation:Br(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,zc(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,zc(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 uk={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lk,data:{}};var ko={passive:!0};function ck(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=et(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(p){p.addEventListener("scroll",r.update,ko)}),s&&l.addEventListener("resize",r.update,ko),function(){i&&c.forEach(function(p){p.removeEventListener("scroll",r.update,ko)}),s&&l.removeEventListener("resize",r.update,ko)}}const dk={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ck,data:{}};var fk={left:"right",right:"left",bottom:"top",top:"bottom"};function jo(e){return e.replace(/left|right|bottom|top/g,function(t){return fk[t]})}var pk={start:"end",end:"start"};function Wc(e){return e.replace(/start|end/g,function(t){return pk[t]})}function Cl(e){var t=et(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Tl(e){return Hr(Kt(e)).left+Cl(e).scrollLeft}function hk(e,t){var r=et(e),n=Kt(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=N0();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+Tl(e),y:l}}function mk(e){var t,r=Kt(e),n=Cl(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=cr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+Tl(e),l=-n.scrollTop;return Mt(o||r).direction==="rtl"&&(s+=cr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function El(e){var t=Mt(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function B0(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:ut(e)&&El(e)?e:B0(Wi(e))}function Dn(e,t){var r;t===void 0&&(t=[]);var n=B0(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=et(n),a=o?[i].concat(i.visualViewport||[],El(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(Dn(Wi(a)))}function rs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gk(e,t){var r=Hr(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 Vc(e,t,r){return t===I0?rs(hk(e,r)):fr(t)?gk(t,r):rs(mk(Kt(e)))}function vk(e){var t=Dn(Wi(e)),r=["absolute","fixed"].indexOf(Mt(e).position)>=0,n=r&&ut(e)?co(e):e;return fr(n)?t.filter(function(o){return fr(o)&&$0(o,n)&&Et(o)!=="body"}):[]}function yk(e,t,r,n){var o=t==="clippingParents"?vk(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var p=Vc(e,c,n);return l.top=cr(p.top,l.top),l.right=Jo(p.right,l.right),l.bottom=Jo(p.bottom,l.bottom),l.left=cr(p.left,l.left),l},Vc(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 j0(e){var t=e.reference,r=e.element,n=e.placement,o=n?Ct(n):null,i=n?Br(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case qe:l={x:a,y:t.y-r.height};break;case ft:l={x:a,y:t.y+t.height};break;case pt:l={x:t.x+t.width,y:s};break;case Ge:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?wl(o):null;if(c!=null){var p=c==="y"?"height":"width";switch(i){case Lr:l[c]=l[c]-(t[p]/2-r[p]/2);break;case Wn:l[c]=l[c]+(t[p]/2-r[p]/2);break}}return l}function Vn(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?F6:s,c=r.rootBoundary,p=c===void 0?I0:c,h=r.elementContext,d=h===void 0?bn:h,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,y=v===void 0?0:v,w=F0(typeof y!="number"?y:H0(y,uo)),E=d===bn?H6:bn,_=e.rects.popper,x=e.elements[g?E:d],b=yk(fr(x)?x:x.contextElement||Kt(e.elements.popper),l,p,a),C=Hr(e.elements.reference),S=j0({reference:C,element:_,strategy:"absolute",placement:o}),O=rs(Object.assign({},_,S)),M=d===bn?O:C,D={top:b.top-M.top+w.top,bottom:M.bottom-b.bottom+w.bottom,left:b.left-M.left+w.left,right:M.right-b.right+w.right},R=e.modifiersData.offset;if(d===bn&&R){var T=R[o];Object.keys(D).forEach(function(I){var A=[pt,ft].indexOf(I)>=0?1:-1,P=[qe,ft].indexOf(I)>=0?"y":"x";D[I]+=T[P]*A})}return D}function bk(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?A0:l,p=Br(n),h=p?s?Bc:Bc.filter(function(g){return Br(g)===p}):uo,d=h.filter(function(g){return c.indexOf(g)>=0});d.length===0&&(d=h);var m=d.reduce(function(g,v){return g[v]=Vn(e,{placement:v,boundary:o,rootBoundary:i,padding:a})[Ct(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}function _k(e){if(Ct(e)===bl)return[];var t=jo(e);return[Wc(e),t,Wc(t)]}function xk(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,p=r.boundary,h=r.rootBoundary,d=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,y=t.options.placement,w=Ct(y),E=w===y,_=l||(E||!g?[jo(y)]:_k(y)),x=[y].concat(_).reduce(function(W,U){return W.concat(Ct(U)===bl?bk(t,{placement:U,boundary:p,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:v}):U)},[]),b=t.rects.reference,C=t.rects.popper,S=new Map,O=!0,M=x[0],D=0;D<x.length;D++){var R=x[D],T=Ct(R),I=Br(R)===Lr,A=[qe,ft].indexOf(T)>=0,P=A?"width":"height",N=Vn(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:d,padding:c}),H=A?I?pt:Ge:I?ft:qe;b[P]>C[P]&&(H=jo(H));var B=jo(H),L=[];if(i&&L.push(N[T]<=0),s&&L.push(N[H]<=0,N[B]<=0),L.every(function(W){return W})){M=R,O=!1;break}S.set(R,L)}if(O)for(var k=g?3:1,$=function(U){var Y=x.find(function(K){var X=S.get(K);if(X)return X.slice(0,U).every(function(Q){return Q})});if(Y)return M=Y,"break"},V=k;V>0;V--){var j=$(V);if(j==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const wk={name:"flip",enabled:!0,phase:"main",fn:xk,requiresIfExists:["offset"],data:{_skip:!1}};function Uc(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 qc(e){return[qe,pt,ft,Ge].some(function(t){return e[t]>=0})}function Ck(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Vn(t,{elementContext:"reference"}),s=Vn(t,{altBoundary:!0}),l=Uc(a,n),c=Uc(s,o,i),p=qc(l),h=qc(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const Tk={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ck};function Ek(e,t,r){var n=Ct(e),o=[Ge,qe].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ge,pt].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function Sk(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=A0.reduce(function(p,h){return p[h]=Ek(h,t.rects,i),p},{}),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 Rk={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Sk};function Ok(e){var t=e.state,r=e.name;t.modifiersData[r]=j0({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Mk={name:"popperOffsets",enabled:!0,phase:"read",fn:Ok,data:{}};function Pk(e){return e==="x"?"y":"x"}function Dk(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,p=r.altBoundary,h=r.padding,d=r.tether,m=d===void 0?!0:d,g=r.tetherOffset,v=g===void 0?0:g,y=Vn(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:p}),w=Ct(t.placement),E=Br(t.placement),_=!E,x=wl(w),b=Pk(x),C=t.modifiersData.popperOffsets,S=t.rects.reference,O=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(C){if(i){var I,A=x==="y"?qe:Ge,P=x==="y"?ft:pt,N=x==="y"?"height":"width",H=C[x],B=H+y[A],L=H-y[P],k=m?-O[N]/2:0,$=E===Lr?S[N]:O[N],V=E===Lr?-O[N]:-S[N],j=t.elements.arrow,W=m&&j?xl(j):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:L0(),Y=U[A],K=U[P],X=Pn(0,S[N],W[N]),Q=_?S[N]/2-k-X-Y-D.mainAxis:$-X-Y-D.mainAxis,ee=_?-S[N]/2+k+X+K+D.mainAxis:V+X+K+D.mainAxis,re=t.elements.arrow&&co(t.elements.arrow),G=re?x==="y"?re.clientTop||0:re.clientLeft||0:0,ne=(I=R==null?void 0:R[x])!=null?I:0,Z=H+Q-ne-G,oe=H+ee-ne,de=Pn(m?Jo(B,Z):B,H,m?cr(L,oe):L);C[x]=de,T[x]=de-H}if(s){var pe,ce=x==="x"?qe:Ge,Ne=x==="x"?ft:pt,Te=C[b],$e=b==="y"?"height":"width",Le=Te+y[ce],ye=Te-y[Ne],be=[qe,Ge].indexOf(w)!==-1,Ue=(pe=R==null?void 0:R[b])!=null?pe:0,He=be?Le:Te-S[$e]-O[$e]-Ue+D.altAxis,Xe=be?Te+S[$e]+O[$e]-Ue-D.altAxis:ye,kt=m&&be?tk(He,Te,Xe):Pn(m?He:Le,Te,m?Xe:ye);C[b]=kt,T[b]=kt-Te}t.modifiersData[n]=T}}const kk={name:"preventOverflow",enabled:!0,phase:"main",fn:Dk,requiresIfExists:["offset"]};function Ik(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ak(e){return e===et(e)||!ut(e)?Cl(e):Ik(e)}function Nk(e){var t=e.getBoundingClientRect(),r=Fr(t.width)/e.offsetWidth||1,n=Fr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function $k(e,t,r){r===void 0&&(r=!1);var n=ut(t),o=ut(t)&&Nk(t),i=Kt(t),a=Hr(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||El(i))&&(s=Ak(t)),ut(t)?(l=Hr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=Tl(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lk(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 Fk(e){var t=Lk(e);return X6.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Hk(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Bk(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 Gc={placement:"bottom",modifiers:[],strategy:"absolute"};function Yc(){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 jk(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Gc:o;return function(s,l,c){c===void 0&&(c=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Gc,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},h=[],d=!1,m={state:p,setOptions:function(w){var E=typeof w=="function"?w(p.options):w;v(),p.options=Object.assign({},i,p.options,E),p.scrollParents={reference:fr(s)?Dn(s):s.contextElement?Dn(s.contextElement):[],popper:Dn(l)};var _=Fk(Bk([].concat(n,p.options.modifiers)));return p.orderedModifiers=_.filter(function(x){return x.enabled}),g(),m.update()},forceUpdate:function(){if(!d){var w=p.elements,E=w.reference,_=w.popper;if(Yc(E,_)){p.rects={reference:$k(E,co(_),p.options.strategy==="fixed"),popper:xl(_)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(D){return p.modifiersData[D.name]=Object.assign({},D.data)});for(var x=0;x<p.orderedModifiers.length;x++){if(p.reset===!0){p.reset=!1,x=-1;continue}var b=p.orderedModifiers[x],C=b.fn,S=b.options,O=S===void 0?{}:S,M=b.name;typeof C=="function"&&(p=C({state:p,options:O,name:M,instance:m})||p)}}}},update:Hk(function(){return new Promise(function(y){m.forceUpdate(),y(p)})}),destroy:function(){v(),d=!0}};if(!Yc(s,l))return m;m.setOptions(c).then(function(y){!d&&c.onFirstUpdate&&c.onFirstUpdate(y)});function g(){p.orderedModifiers.forEach(function(y){var w=y.name,E=y.options,_=E===void 0?{}:E,x=y.effect;if(typeof x=="function"){var b=x({state:p,name:w,instance:m,options:_}),C=function(){};h.push(b||C)}})}function v(){h.forEach(function(y){return y()}),h=[]}return m}}var zk=[dk,Mk,uk,Z6,Rk,wk,kk,ik,Tk],Wk=jk({defaultModifiers:zk});function Vk(e){return we("MuiPopper",e)}Ce("MuiPopper",["root"]);const Uk=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],qk=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Gk(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 ei(e){return typeof e=="function"?e():e}function Vi(e){return e.nodeType!==void 0}function Yk(e){return!Vi(e)}const Xk=e=>{const{classes:t}=e;return De({root:["root"]},Vk,t)},Kk={},Qk=z.forwardRef(function(t,r){var n;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:p,popperOptions:h,popperRef:d,slotProps:m={},slots:g={},TransitionProps:v}=t,y=ae(t,Uk),w=z.useRef(null),E=Ve(w,r),_=z.useRef(null),x=Ve(_,d),b=z.useRef(x);Ut(()=>{b.current=x},[x]),z.useImperativeHandle(d,()=>_.current,[]);const C=Gk(p,a),[S,O]=z.useState(C),[M,D]=z.useState(ei(o));z.useEffect(()=>{_.current&&_.current.forceUpdate()}),z.useEffect(()=>{o&&D(ei(o))},[o]),Ut(()=>{if(!M||!c)return;const P=B=>{O(B.placement)};if(process.env.NODE_ENV!=="production"&&M&&Vi(M)&&M.nodeType===1){const B=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&B.top===0&&B.left===0&&B.right===0&&B.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
247
|
+
`))}let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:B})=>{P(B)}}];l!=null&&(N=N.concat(l)),h&&h.modifiers!=null&&(N=N.concat(h.modifiers));const H=Wk(M,w.current,u._extends({placement:C},h,{modifiers:N}));return b.current(H),()=>{H.destroy(),b.current(null)}},[M,s,l,c,h,C]);const R={placement:S};v!==null&&(R.TransitionProps=v);const T=Xk(t),I=(n=g.root)!=null?n:"div",A=Vt({elementType:I,externalSlotProps:m.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:E},ownerState:t,className:T.root});return te.jsx(I,u._extends({},A,{children:typeof i=="function"?i(R):i}))}),z0=z.forwardRef(function(t,r){const{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:p,placement:h="bottom",popperOptions:d=Kk,popperRef:m,style:g,transition:v=!1,slotProps:y={},slots:w={}}=t,E=ae(t,qk),[_,x]=z.useState(!0),b=()=>{x(!1)},C=()=>{x(!0)};if(!l&&!p&&(!v||_))return null;let S;if(i)S=i;else if(n){const D=ei(n);S=D&&Vi(D)?We(D).body:We(null).body}const O=!p&&l&&(!v||_)?"none":void 0,M=v?{in:p,onEnter:b,onExited:C}:void 0;return te.jsx(jn,{disablePortal:s,container:S,children:te.jsx(Qk,u._extends({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:v?!_:p,placement:h,popperOptions:d,popperRef:m,slotProps:y,slots:w},E,{style:u._extends({position:"fixed",top:0,left:0,display:O},g),TransitionProps:M,children:o}))})});process.env.NODE_ENV!=="production"&&(z0.propTypes={anchorEl:Pt(f.oneOfType([Ot,f.object,f.func]),e=>{if(e.open){const t=ei(e.anchorEl);if(t&&Vi(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
248
|
+
`))}else if(!t||typeof t.getBoundingClientRect!="function"||Yk(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
249
|
+
`))}return null}),children:f.oneOfType([f.node,f.func]),container:f.oneOfType([Ot,f.func]),direction:f.oneOf(["ltr","rtl"]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:f.oneOf(["absolute","fixed"])}),popperRef:Jn,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),transition:f.bool});const Zk=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Jk=le(z0,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fo=z.forwardRef(function(t,r){var n;const o=D0(),i=Re({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:p,disablePortal:h,keepMounted:d,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:w,transition:E,slots:_,slotProps:x}=i,b=ae(i,Zk),C=(n=_==null?void 0:_.root)!=null?n:l==null?void 0:l.Root,S=u._extends({anchorEl:a,container:p,disablePortal:h,keepMounted:d,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:w,transition:E},b);return te.jsx(Jk,u._extends({as:s,direction:o==null?void 0:o.direction,slots:{root:C},slotProps:x!=null?x:c},S,{ref:r}))});process.env.NODE_ENV!=="production"&&(fo.propTypes={anchorEl:f.oneOfType([Ot,f.object,f.func]),children:f.oneOfType([f.node,f.func]),component:f.elementType,components:f.shape({Root:f.elementType}),componentsProps:f.shape({root:f.oneOfType([f.func,f.object])}),container:f.oneOfType([Ot,f.func]),disablePortal:f.bool,keepMounted:f.bool,modifiers:f.arrayOf(f.shape({data:f.object,effect:f.func,enabled:f.bool,fn:f.func,name:f.any,options:f.object,phase:f.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:f.arrayOf(f.string),requiresIfExists:f.arrayOf(f.string)})),open:f.bool.isRequired,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:f.shape({modifiers:f.array,onFirstUpdate:f.func,placement:f.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:f.oneOf(["absolute","fixed"])}),popperRef:Jn,slotProps:f.shape({root:f.oneOfType([f.func,f.object])}),slots:f.shape({root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transition:f.bool});function e8(e){return we("MuiTooltip",e)}const jt=Ce("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),t8=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function r8(e){return Math.round(e*1e5)/1e5}const n8=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${fe(i.split("-")[0])}`],arrow:["arrow"]};return De(a,e8,t)},o8=le(fo,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>u._extends({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${jt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${jt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${jt.arrow}`]:u._extends({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${jt.arrow}`]:u._extends({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),i8=le("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${fe(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>u._extends({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pe(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${r8(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${jt.popper}[data-popper-placement*="left"] &`]:u._extends({transformOrigin:"right center"},t.isRtl?u._extends({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):u._extends({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${jt.popper}[data-popper-placement*="right"] &`]:u._extends({transformOrigin:"left center"},t.isRtl?u._extends({marginRight:"14px"},t.touch&&{marginRight:"24px"}):u._extends({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${jt.popper}[data-popper-placement*="top"] &`]:u._extends({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${jt.popper}[data-popper-placement*="bottom"] &`]:u._extends({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),a8=le("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pe(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Io=!1;const Xc=new eo;let _n={x:0,y:0};function Ao(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const Ui=z.forwardRef(function(t,r){var n,o,i,a,s,l,c,p,h,d,m,g,v,y,w,E,_,x,b;const C=Re({props:t,name:"MuiTooltip"}),{arrow:S=!1,children:O,components:M={},componentsProps:D={},describeChild:R=!1,disableFocusListener:T=!1,disableHoverListener:I=!1,disableInteractive:A=!1,disableTouchListener:P=!1,enterDelay:N=100,enterNextDelay:H=0,enterTouchDelay:B=700,followCursor:L=!1,id:k,leaveDelay:$=0,leaveTouchDelay:V=1500,onClose:j,onOpen:W,open:U,placement:Y="bottom",PopperComponent:K,PopperProps:X={},slotProps:Q={},slots:ee={},title:re,TransitionComponent:G=Bn,TransitionProps:ne}=C,Z=ae(C,t8),oe=z.isValidElement(O)?O:te.jsx("span",{children:O}),de=to(),pe=bs(),[ce,Ne]=z.useState(),[Te,$e]=z.useState(null),Le=z.useRef(!1),ye=A||L,be=sr(),Ue=sr(),He=sr(),Xe=sr(),[kt,ie]=As({controlled:U,default:!1,name:"Tooltip",state:"open"});let Be=kt;if(process.env.NODE_ENV!=="production"){const{current:ue}=z.useRef(U!==void 0);z.useEffect(()=>{ce&&ce.disabled&&!ue&&re!==""&&ce.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
250
250
|
`))},[re,ce,ue])}const Qt=_f(k),vt=z.useRef(),Zt=Rt(()=>{vt.current!==void 0&&(document.body.style.WebkitUserSelect=vt.current,vt.current=void 0),Xe.clear()});z.useEffect(()=>Zt,[Zt]);const mo=ue=>{Xc.clear(),Io=!0,ie(!0),W&&!Be&&W(ue)},It=Rt(ue=>{Xc.start(800+$,()=>{Io=!1}),ie(!1),j&&Be&&j(ue),be.start(de.transitions.duration.shortest,()=>{Le.current=!1})}),Jt=ue=>{Le.current&&ue.type!=="touchstart"||(ce&&ce.removeAttribute("title"),Ue.clear(),He.clear(),N||Io&&H?Ue.start(Io?H:N,()=>{mo(ue)}):mo(ue))},er=ue=>{Ue.clear(),He.start($,()=>{It(ue)})},{isFocusVisibleRef:on,onBlur:tr,onFocus:an,ref:go}=xf(),[,At]=z.useState(!1),sn=ue=>{tr(ue),on.current===!1&&(At(!1),er(ue))},ln=ue=>{ce||Ne(ue.currentTarget),an(ue),on.current===!0&&(At(!0),Jt(ue))},vr=ue=>{Le.current=!0;const Ke=oe.props;Ke.onTouchStart&&Ke.onTouchStart(ue)},vo=ue=>{vr(ue),He.clear(),be.clear(),Zt(),vt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Xe.start(B,()=>{document.body.style.WebkitUserSelect=vt.current,Jt(ue)})},yo=ue=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(ue),Zt(),He.start(V,()=>{It(ue)})};z.useEffect(()=>{if(!Be)return;function ue(Ke){(Ke.key==="Escape"||Ke.key==="Esc")&&It(Ke)}return document.addEventListener("keydown",ue),()=>{document.removeEventListener("keydown",ue)}},[It,Be]);const Xi=Ve(oe.ref,go,Ne,r);!re&&re!==0&&(Be=!1);const Nt=z.useRef(),bo=ue=>{const Ke=oe.props;Ke.onMouseMove&&Ke.onMouseMove(ue),_n={x:ue.clientX,y:ue.clientY},Nt.current&&Nt.current.update()},rr={},yr=typeof re=="string";R?(rr.title=!Be&&yr&&!I?re:null,rr["aria-describedby"]=Be?Qt:null):(rr["aria-label"]=yr?re:null,rr["aria-labelledby"]=Be&&!yr?Qt:null);const je=u._extends({},rr,Z,oe.props,{className:se(Z.className,oe.props.className),onTouchStart:vr,ref:Xi},L?{onMouseMove:bo}:{});process.env.NODE_ENV!=="production"&&(je["data-mui-internal-clone-element"]=!0,z.useEffect(()=>{ce&&!ce.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
251
251
|
`))},[ce]));const $t={};P||(je.onTouchStart=vo,je.onTouchEnd=yo),I||(je.onMouseOver=Ao(Jt,je.onMouseOver),je.onMouseLeave=Ao(er,je.onMouseLeave),ye||($t.onMouseOver=Jt,$t.onMouseLeave=er)),T||(je.onFocus=Ao(ln,je.onFocus),je.onBlur=Ao(sn,je.onBlur),ye||($t.onFocus=ln,$t.onBlur=sn)),process.env.NODE_ENV!=="production"&&oe.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${oe.props.title}\` or the Tooltip component.`].join(`
|
|
252
|
-
`));const Ki=z.useMemo(()=>{var ue;let Ke=[{name:"arrow",enabled:!!Te,options:{element:Te,padding:4}}];return(ue=X.popperOptions)!=null&&ue.modifiers&&(Ke=Ke.concat(X.popperOptions.modifiers)),u._extends({},X.popperOptions,{modifiers:Ke})},[Te,X]),Lt=u._extends({},C,{isRtl:pe,arrow:S,disableInteractive:ye,placement:Y,PopperComponentProp:K,touch:Le.current}),un=e8(Lt),_o=(n=(o=ee.popper)!=null?o:M.Popper)!=null?n:t8,cn=(i=(a=(s=ee.transition)!=null?s:M.Transition)!=null?a:G)!=null?i:Bn,xo=(l=(c=ee.tooltip)!=null?c:M.Tooltip)!=null?l:r8,dn=(p=(h=ee.arrow)!=null?h:M.Arrow)!=null?p:n8,wo=wn(_o,u._extends({},X,(d=Q.popper)!=null?d:D.popper,{className:se(un.popper,X==null?void 0:X.className,(m=(g=Q.popper)!=null?g:D.popper)==null?void 0:m.className)}),Lt),fn=wn(cn,u._extends({},ne,(v=Q.transition)!=null?v:D.transition),Lt),am=wn(xo,u._extends({},(y=Q.tooltip)!=null?y:D.tooltip,{className:se(un.tooltip,(w=(E=Q.tooltip)!=null?E:D.tooltip)==null?void 0:w.className)}),Lt),sm=wn(dn,u._extends({},(_=Q.arrow)!=null?_:D.arrow,{className:se(un.arrow,(x=(b=Q.arrow)!=null?b:D.arrow)==null?void 0:x.className)}),Lt);return te.jsxs(z.Fragment,{children:[z.cloneElement(oe,je),te.jsx(_o,u._extends({as:K!=null?K:fo,placement:Y,anchorEl:L?{getBoundingClientRect:()=>({top:_n.y,left:_n.x,right:_n.x,bottom:_n.y,width:0,height:0})}:ce,popperRef:Nt,open:ce?Be:!1,id:Qt,transition:!0},$t,wo,{popperOptions:Ki,children:({TransitionProps:ue})=>te.jsx(cn,u._extends({timeout:de.transitions.duration.shorter},ue,fn,{children:te.jsxs(xo,u._extends({},am,{children:[re,S?te.jsx(dn,u._extends({},sm,{ref:$e})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Ui.propTypes={arrow:f.bool,children:pr.isRequired,classes:f.object,className:f.string,components:f.shape({Arrow:f.elementType,Popper:f.elementType,Tooltip:f.elementType,Transition:f.elementType}),componentsProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),describeChild:f.bool,disableFocusListener:f.bool,disableHoverListener:f.bool,disableInteractive:f.bool,disableTouchListener:f.bool,enterDelay:f.number,enterNextDelay:f.number,enterTouchDelay:f.number,followCursor:f.bool,id:f.string,leaveDelay:f.number,leaveTouchDelay:f.number,onClose:f.func,onOpen:f.func,open:f.bool,placement:f.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:f.elementType,PopperProps:f.object,slotProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),slots:f.shape({arrow:f.elementType,popper:f.elementType,tooltip:f.elementType,transition:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),title:f.node,TransitionComponent:f.elementType,TransitionProps:f.object});const o8=e=>u.isNumber$1(e)?"right":"left",Kc=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return u.jsx("div",{className:Tn.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?u.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?u.jsx(Ui,{title:e,children:u.jsx("div",{children:e})}):u.jsx("div",{children:e})})},i8=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var E,_,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,l=R0+(s?O0:0),c=(o==null?void 0:o.paddingVertical)||Lc,p=(o==null?void 0:o.paddingHorizontal)||Lc,h=((E=o==null?void 0:o.columns)==null?void 0:E.width)==="auto"?(n-p*2-1)/t.columns.length:void 0,d=F.useMemo(()=>t.columns.map(b=>({isHtml:"isHtml"in b&&!!b.isHtml,width:h})),[t.columns,h]),[m,g]=F.useState(((_=document.fonts)==null?void 0:_.status)==="loaded"),v=(x=i.typography)==null?void 0:x.fontFamily,y=F.useMemo(()=>Ok(e,s,d,v),[e,s,d,v,m]);F.useEffect(()=>{var b;(b=document.fonts)==null||b.ready.then(()=>{g(!0)}).catch(C=>{console.warn("Failed to observe font loading",C)})},[]);const w=F.useMemo(()=>e.columns.map((b,C)=>{const S=y[C],O=t.columns[C],M=Hc({isHeaderCell:!0,themeSettings:i,customStyles:o});return S?u.jsx(Do.Column,{maxWidth:es,minWidth:es,allowCellsRecycling:!0,width:S,header:u.jsx(Do.Cell,{className:zn(Tn.tableHeader),style:M,children:u.jsx(wk,{column:b,onClick:a,isSelected:!!Math.abs(b.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:Kc({displayValue:u.getDataOptionTitle(O),width:S,padding:l,ellipsizedLength:Sk})})}),cell:T=>{var I=T,{rowIndex:D}=I,R=br(I,["rowIndex"]);return u.jsx(Do.Cell,J(q({className:zn(Tn.tableCell),style:Hc({colIndex:C,rowIndex:D,themeSettings:i,customStyles:o})},R),{children:Kc({displayValue:e.rows[D][C].displayValue,width:S,padding:M0,ellipsizedLength:Rk,isHtml:"isHtml"in O&&O.isHtml})}))},align:o8(b.type)},`col${C}`):null}),[e,y,i,o,a,s,t,l]);return F.useMemo(()=>u.jsx("div",{className:Tn.tableWrapper,style:{padding:`${c}px ${p}px`},children:u.jsx(Do.Table,{className:Tn.table,rowHeight:(o==null?void 0:o.rowHeight)||Tk,rowsCount:e.rows.length,width:n-p*2,height:r-c*2,headerHeight:(o==null?void 0:o.headerHeight)||Ck,children:w})}),[w,o,e,r,p,c,n])},a8="_component_1rw9b_1",s8={component:a8},l8=(e,t)=>{if(!e.columns.some(a=>u.isNumber$1(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,l)=>{const c=r[l].type,p=u.getCompleteNumberFormatConfig(t.columns[l].numberFormatConfig);if(u.isNumber$1(c)){const h=u.createCompareValue(s.displayValue,c);return{displayValue:u.applyFormatPlainText(p,h.value),compareValue:h}}else return s}));return{columns:r,rows:o}},u8=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=F.useRef(null),l=F.useRef(e),c=F.useMemo(()=>l8(e,t),[e,t]);F.useLayoutEffect(()=>{l.current=e},[e]);const p=F.useMemo(()=>q({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return u.jsx("div",{className:s8.component,ref:s,children:u.jsx(i8,{dataTable:c,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:p,themeSettings:o})})},c8=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}});var d8=Object.prototype,f8=d8.hasOwnProperty;function p8(e,t){return e!=null&&f8.call(e,t)}function h8(e,t){return e!=null&&u.hasPath(e,t,p8)}function m8(e,t){for(const r of t)h8(e,r)&&console.warn(`Prop '${r}' has been deprecated. Please refer to the documentation at https://sisense.dev/guides/sdk/ for the updated prop and use that instead.`)}const g8=e=>(m8(e,["headersColor","alternatingRowsColor","alternatingColumnsColor"]),{paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:q(q({},e.headersColor?{color:{enabled:e.headersColor}}:null),e.header),rows:q(q({},e.alternatingRowsColor?{alternatingColor:{enabled:e.alternatingRowsColor}}:null),e.rows),columns:q(q({},e.alternatingColumnsColor?{alternatingColor:{enabled:e.alternatingColumnsColor}}:null),e.columns)}),W0=25,V0=10,U0=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=W0,width:a,height:s}=r,{themeSettings:l}=u.useThemeContext(),[c,p]=F.useState(0),{filters:h,relations:d}=u.getFilterListAndRelationsJaql(n),[m,g]=F.useState(1),v=F.useRef(null),y=F.useMemo(()=>Qf(t),[t]),w=F.useMemo(()=>js(y.columns.filter(u.isMeasureColumn).map(u.translateColumnToMeasure)),[y]),E=F.useMemo(()=>g8(r),[r]),[_,x]=F.useState(y),[b,C]=F.useState(e),[S,O]=x3({dataSet:b,dataOptions:_,filters:h,filterRelations:d,count:i*V0,offset:c}),M=F.useMemo(()=>{if(S&&o){const P=o(S);if(!tp(P))throw new u.TranslatableError("errors.incorrectOnDataReadyHandler");return P}return S},[S]),D=w3({data:M,innerDataOptions:O,dataColumnNamesMapping:w,needToAggregate:!Wt(b)});F.useEffect(()=>{x(y),C(e),g(1),p(0)},[e,y]);const R=F.useCallback(P=>{if(!S)return;Math.floor(S.rows.length/i)===P&&p(S.rows.length),g(P)},[S,i]),T=F.useCallback(P=>{g(1),p(0),_&&x(_x(_,P))},[_]),I=F.useMemo(()=>{if(!D||Wt(b))return D;const P=D.columns.find(N=>N.direction!==0);return P?u.orderBy(D,[P]):D},[D,b]),A=F.useMemo(()=>I?{columns:I.columns,rows:I.rows.slice((m-1)*i,m*i)}:void 0,[I,m,i]);return O?u.jsx(Ei,{defaultSize:Bs("table"),size:{width:a,height:s},children:P=>{if(!D||!A)return u.jsx(si,{themeSettings:l});if(u.isDataTableEmpty(D))return u.jsx(Hs,{iconType:"table"});const N=Math.ceil(D.rows.length/i);return u.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:l.chart.backgroundColor},"aria-label":"table-root",children:[u.jsx(u8,{dataTable:A,dataOptions:O,designOptions:E,themeSettings:l,width:P.width,height:P.height-32,onSortUpdate:T}),u.jsx(op,{ref:v,page:m,count:N,onChange:(B,L)=>R(L),sx:c8(l)})]})}}):null},q0=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},v8=F.createContext(null),ba={didCatch:!1,error:null};class G0 extends F.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=ba}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:i,reason:"imperative-api"}),this.setState(ba)}}componentDidCatch(t,r){var n,o;(n=(o=this.props).onError)===null||n===void 0||n.call(o,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:o}=this.props;if(n&&r.error!==null&&y8(t.resetKeys,o)){var i,a;(i=(a=this.props).onReset)===null||i===void 0||i.call(a,{next:o,prev:t.resetKeys,reason:"keys"}),this.setState(ba)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const l={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(l);else if(n)s=F.createElement(n,l);else if(o===null||F.isValidElement(o))s=o;else throw a}return F.createElement(v8.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function y8(){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 Y0=F.createContext(void 0),b8=({children:e})=>{const[t,r]=F.useState([]),[n,o]=F.useState([]),i=()=>r([]),a=()=>o([]);return u.jsx(Y0.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},X0=()=>{const e=F.useContext(Y0);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 Sl(e,t,r){const n=u.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!u.isEqual(n[i],e[i])):!u.isEqual(n,e))?!0:r?r(e,n):!1}const _8=e=>{const[t,r]=F.useState(0),{setErrors:n,errors:o}=X0(),i=Sl(e,["dataOptions","filters"]);if(F.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!Wt(e.dataSet))throw new u.TranslatableError("errors.undefinedDataSource");const a=u.cloneDeep(e.dataOptions),s=u.extractTrendMeasures(a);a.value.push(...s);const l=u.extractForecastMeasures(a);a.value.push(...l);const c=F.useCallback(({error:p})=>(console.debug("Unexpected error occurred when rendering advanced chart:",p),u.jsx(Ua,q({},e))),[e,o]);return o.length===2?null:u.jsx(G0,{fallbackRender:c,onError:p=>{n(h=>[...h,p.message])},children:u.jsx(Ua,J(q({},e),{dataOptions:a}))},`errorboundary_${t}`)},K0=ro({componentName:"Chart",shouldSkipSisenseContextWaiting:q0,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(x8(e))return u.jsx(U0,q({},e));if(w8(e))return u.jsx(_8,q({},e));if(Q0(e))return u.jsx(Ua,q({},e));throw new u.TranslatableError("errors.chartInvalidProps")});function x8(e){return e.chartType==="table"&&"columns"in e.dataOptions}function Q0(e){return e.chartType!=="table"}function w8(e){return!Q0(e)||!u.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 C8=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),ns=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(ns||{}),os=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(os||{}),Z0=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const T8=(e,t)=>{const r=u.get(e,"shadow",t.widget.shadow),n=u.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in ns&&n in os){const o=ns[`${r}`];return`0px ${os[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function E8(e){return we("MuiCard",e)}Ce("MuiCard",["root"]);const S8=["className","raised"],R8=e=>{const{classes:t}=e;return De({root:["root"]},E8,t)},O8=le(_i,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),J0=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=n,a=ae(n,S8),s=u._extends({},n,{raised:i}),l=R8(s);return te.jsx(O8,u._extends({className:se(l.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(J0.propTypes={children:f.node,classes:f.object,className:f.string,raised:Pt(f.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function M8(e){return we("MuiCardContent",e)}Ce("MuiCardContent",["root"]);const P8=["className","component"],D8=e=>{const{classes:t}=e;return De({root:["root"]},M8,t)},k8=le("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),eh=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardContent"}),{className:o,component:i="div"}=n,a=ae(n,P8),s=u._extends({},n,{component:i}),l=D8(s);return te.jsx(k8,u._extends({as:i,className:se(l.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(eh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function I8(e){return we("MuiIconButton",e)}const A8=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),N8=["edge","children","className","color","disabled","disableFocusRipple","size"],$8=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${fe(n)}`,o&&`edge${fe(o)}`,`size${fe(i)}`]};return De(a,I8,t)},L8=le(hr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(({theme:e,ownerState:t})=>u._extends({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return u._extends({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&u._extends({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":u._extends({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${A8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),jr=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:p="medium"}=n,h=ae(n,N8),d=u._extends({},n,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:p}),m=$8(d);return te.jsx(L8,u._extends({className:se(m.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r},h,{ownerState:d,children:i}))});process.env.NODE_ENV!=="production"&&(jr.propTypes={children:Pt(f.node,e=>z.Children.toArray(e.children).some(r=>z.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
253
|
-
`)):null),classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),f.string]),disabled:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,edge:f.oneOf(["end","start",!1]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function F8({fill:e="rgba(38, 46, 61, 0.67)"}){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:u.jsx("path",{fill:e,d:"M11.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zM13 8.878c0-1.27-.499-1.896-1.496-1.878C10.501 7.03 10 7.68 10 8.95c0 .737.17 1.647.51 2.731l.318.98c.081.245.14.413.175.503.197.533.376.811.537.835.15.018.314-.248.493-.8.083-.257.161-.512.233-.763.071-.252.146-.503.224-.755.34-1.12.51-2.054.51-2.803zM11.5 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})})}const H8=u.newStyled(xi,{target:"e1g12j10",label:"StyledMuiPopover"})(".MuiPaper-root.MuiPopover-paper:not([style*='top']),.MuiPaper-root.MuiPopover-paper:not([style*='left']){opacity:0 !important;}"),th=e=>{const s=e,{children:t,open:r,id:n,position:o,onClose:i}=s,a=br(s,["children","open","id","position","onClose"]);return u.jsx(H8,J(q({id:n,className:"csdk-accessible",anchorEl:o==null?void 0:o.anchorEl,anchorOrigin:o==null?void 0:o.anchorOrigin,transformOrigin:o==null?void 0:o.contentOrigin,transitionDuration:0,open:r,slotProps:{paper:{sx:{display:"flex",boxShadow:"-1px -1px 10px rgba(0, 0, 0, 0.2)"}}},onClose:i},a),{children:t}))};function B8({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var w,E,_;const[i,a]=F.useState(null),{themeSettings:s}=u.useThemeContext(),{typography:{primaryTextColor:l,secondaryTextColor:c,fontFamily:p}}=s,{t:h}=u.useTranslation(),d=x=>{a(x.currentTarget)},m=()=>{a(null)},g=F.useMemo(()=>e?u.jsx(Ze,{variant:"body2",style:{color:l,fontFamily:p,fontSize:13},children:e}):null,[e,l,p]),v=F.useMemo(()=>r.length===0?null:r.map(x=>u.jsxs(u.Fragment,{children:[u.jsx($r,{sx:{my:1,borderColor:c,opacity:.3,marginY:"8px"}}),u.jsxs("div",{className:"csdk-flex",children:[u.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:u.jsx(F8,{fill:"#fa5656"})}),u.jsx(Ze,{variant:"body2",className:"csdk-grow-1",style:{color:c,fontFamily:p,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,c,p]),y=F.useMemo(()=>t?u.jsxs(u.Fragment,{children:[u.jsx($r,{sx:{my:"8px",borderColor:c,opacity:.3}}),u.jsx(Ze,{variant:"body2",style:{color:c,fontFamily:p,fontSize:13},children:t})]}):null,[t,c,p]);return u.jsxs(u.Fragment,{children:[u.jsx(Ui,{title:h("widgetHeader.info.tooltip"),style:{color:(w=s.chart)==null?void 0:w.textColor,fontFamily:(E=s.typography)==null?void 0:E.fontFamily},children:u.jsx(jr,{onClick:d,sx:{p:0},children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.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"})})})}),u.jsx(th,{open:!!i,position:i?{anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"center"},contentOrigin:{vertical:"top",horizontal:"center"}}:void 0,onClose:m,children:u.jsxs(J0,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[u.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:u.getSlightlyDifferentColor(s.general.backgroundColor)},children:[u.jsx(Ze,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:h("widgetHeader.info.details")}),u.jsx(jr,{onClick:o,sx:{p:0},children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.jsx("path",{fill:(_=s.chart)==null?void 0:_.textColor,d:"M20 12a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm0 0a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm-8-7a7 7 0 0 1 6.267 3.877l1.003-.22A8.001 8.001 0 0 0 4 12l1.003-.22A7 7 0 0 1 12 5zm6.998 3.12A8 8 0 0 0 4 12l1.003-.22a7 7 0 0 1 13.264-2.903l.73-.16v.28l-2.98.016-.017.971h3.985V6h-.987v2.12zm-14.01 9.864H4V14h3.985l-.016.971-2.981.017v2.996z"})})})]}),u.jsx($r,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),u.jsxs(eh,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[g,v,y]})]})})]})}const j8=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var c;const{themeSettings:s}=u.useThemeContext(),l=()=>{var h;const p=u.jsx(u.Fragment,{children:u.jsx(B8,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(h=i==null?void 0:i.renderToolbar)==null?void 0:h.call(i,a,p):p};return u.jsxs(u.Fragment,{children:[u.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:[u.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:z8((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:15},children:e||""}),u.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:l()})]}),u.get(i,"dividerLine",s.widget.header.dividerLine)&&u.jsx($r,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function z8(e){return e.toLowerCase()}const rh=e=>u.jsx(b8,{children:u.jsx(W8,q({},e))}),W8=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var h,d,m;const{errors:l,warnings:c}=X0(),{themeSettings:p}=u.useThemeContext();return u.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden csdk-accessible",children:u.jsx("div",{className:"csdk-h-full",style:{padding:Z0[u.get(t,"spaceAround",p.widget.spaceAround)]||"0px"},children:u.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:u.get(t,"border",p.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||p.widget.borderColor,borderRadius:C8[(t==null?void 0:t.cornerRadius)||p.widget.cornerRadius]||0,boxShadow:T8(t,p),display:"flex",flexDirection:"column"},children:[!((h=t==null?void 0:t.header)!=null&&h.hidden)&&u.jsx(j8,{title:r,description:n,dataSetName:e,errorMessages:l,warningMessages:c,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,u.jsx(Df,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((d=p.chart)==null?void 0:d.backgroundColor)}},children:u.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((m=p.chart)==null?void 0:m.backgroundColor)},children:a})}),i]})})})};var V8="[object String]";function nh(e){return typeof e=="string"||!u.isArray(e)&&u.isObjectLike(e)&&u.baseGetTag(e)==V8}const U8=e=>{const t=q8(e);return t.config.disabled=!e.config.disabled,t},q8=e=>{const t=u.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function G8(e,t,r){const n={guid:t,excludeMembers:!1,backgroundFilter:r};return u.members(e,[],n)}function qi(e){if(!u.isMembersFilter(e))throw new u.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return G8(t,r,n)}function Rl(e){return"members"in e&&e.members.length===0}function ct(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function oh(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)=>!u.isEqualWith(r,t[n],ih))}function Ol(e,t){return ct(e.attribute,t.attribute)}function ih(e,t){const r=u.flow(Y8,X8);return u.isEqual(r(e),r(t))}function Y8(e){return J(q({},e),{name:""})}function X8(e){return J(q({},e),{config:J(q({},e.config),{guid:""})})}function K8(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,p=a;return i===void 0&&a===void 0?!0:[i,a].some(h=>h===void 0)||s.operator!==c.operator?!1:l.instanceid&&p.instanceid?!oh(e==null?void 0:e.filter(h=>h.config.guid===l.instanceid),t==null?void 0:t.filter(h=>h.config.guid===p.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 ah="sdkHookInit",Q8=(e,t,r,n)=>{if(!r)return;Ed(ah,{packageName:t,packageVersion:"1.34.0",hookName:e},r.httpClient).finally(n)};function Z8(e){const{tracking:t,app:r}=u.useSisenseContext(),{trackEvent:n}=ms(),o=F.useRef(!1);F.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"1.34.0",hookName:e};n(ah,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const sh=e=>t=>(...r)=>(Z8(e),t(...r));function is(e,t){switch(t.type){case"loading":return J8(e);case"success":return e7(t.data);case"error":return t7(t.error)}}function J8(e){return e.status==="loading"?e:J(q({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function e7(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function t7(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function lh({enabled:e},t){const r=F.useRef(!1);return F.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var _a=function(){return u.root.Date.now()},r7="Expected a function",n7=Math.max,o7=Math.min;function i7(e,t,r){var n,o,i,a,s,l,c=0,p=!1,h=!1,d=!0;if(typeof e!="function")throw new TypeError(r7);t=u.toNumber(t)||0,u.isObject(r)&&(p=!!r.leading,h="maxWait"in r,i=h?n7(u.toNumber(r.maxWait)||0,t):i,d="trailing"in r?!!r.trailing:d);function m(C){var S=n,O=o;return n=o=void 0,c=C,a=e.apply(O,S),a}function g(C){return c=C,s=setTimeout(w,t),p?m(C):a}function v(C){var S=C-l,O=C-c,M=t-S;return h?o7(M,i-O):M}function y(C){var S=C-l,O=C-c;return l===void 0||S>=t||S<0||h&&O>=i}function w(){var C=_a();if(y(C))return E(C);s=setTimeout(w,v(C))}function E(C){return s=void 0,d&&n?m(C):(n=o=void 0,a)}function _(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:E(_a())}function b(){var C=_a(),S=y(C);if(n=arguments,o=this,l=C,S){if(s===void 0)return g(l);if(h)return clearTimeout(s),s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return b.cancel=_,b.flush=x,b}function Ml(e,{onLocalStateChange:t,syncCompareFn:r=u.isEqual}={}){const[n,o]=F.useState(e),i=F.useRef(e);F.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=F.useCallback(s=>{o(l=>{const c=u.isFunction(s)?s(l):s;return t==null||t(c),c})},[t]);return[n,a]}function a7({chartType:e,dataOptions:t,enabled:r}){const[n,o]=F.useState([]),i=F.useMemo(()=>{var d;const h=u.isCartesian(e)&&((d=t.category)==null?void 0:d.length)===1||u.isScatter(e);return r&&h},[r,e,t]),a=F.useMemo(()=>{if(n.length===0)return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!1}))}))});if(u.isScatter(e))return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!n.some(g=>{var v,y;return g.x===m.x&&g.y===m.y&&g.size===m.z&&g.breakByPoint===((v=m.custom)==null?void 0:v.maskedBreakByPoint)&&g.breakByColor===((y=m.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const h=n.reduce((d,{categoryValue:m})=>(m&&(d[`${m}`]=!0),d),{});return d=>J(q({},d),{series:d.series.map(m=>J(q({},m),{data:m.data.map(g=>{var v,y;return h[(y=(v=g.custom)==null?void 0:v.xValue)==null?void 0:y[0]]?g:J(q({},g),{selected:!0})})}))})}},[n,e]),s=F.useMemo(()=>h=>{var d;return J(q({},h),{chart:J(q({},h.chart),{events:J(q({},(d=h.chart)==null?void 0:d.events),{click:()=>{o([])}})})})},[]),l=F.useCallback(h=>(i&&(h=a(h),h=s(h)),h),[a,s,i]),c=F.useCallback(h=>{i&&o(h)},[i]),p=F.useCallback(h=>{i&&o([h])},[i]);return{onBeforeRender:l,onDataPointsSelected:c,onDataPointClick:p}}const uh=()=>{const e=li();if(!e)throw new u.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function as(e){return e&&e.length?Ws(e):[]}function s7(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 l7(e,t){return function(r,n){if(r==null)return r;if(!u.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 u7=l7(u.baseForOwn);function c7(e,t,r,n){return u7(e,function(o,i,a){t(n,o,r(o),a)}),n}function ch(e,t){return function(r,n){var o=u.isArray(r)?s7:c7,i=t?t():{};return o(r,e,u.baseIteratee(n),i)}}var po=ch(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const d7=Ur(te.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),f7=["slots","slotProps"],p7=le(hr)(({theme:e})=>u._extends({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":u._extends({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":u._extends({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:au(e.palette.grey[200],.12)}:{backgroundColor:au(e.palette.grey[600],.12)})})),h7=le(d7)({width:24,height:16});function dh(e){const{slots:t={},slotProps:r={}}=e,n=ae(e,f7),o=e;return te.jsx("li",{children:te.jsx(p7,u._extends({focusRipple:!0},n,{ownerState:o,children:te.jsx(h7,u._extends({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(dh.propTypes={slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.object});function m7(e){return we("MuiBreadcrumbs",e)}const g7=Ce("MuiBreadcrumbs",["root","ol","li","separator"]),v7=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],y7=e=>{const{classes:t}=e;return De({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},m7,t)},b7=le(Ze,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${g7.li}`]:t.li},t.root]})({}),_7=le("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),x7=le("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function w7(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,te.jsx(x7,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const fh=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBreadcrumbs"}),{children:o,className:i,component:a="nav",slots:s={},slotProps:l={},expandText:c="Show path",itemsAfterCollapse:p=1,itemsBeforeCollapse:h=1,maxItems:d=8,separator:m="/"}=n,g=ae(n,v7),[v,y]=z.useState(!1),w=u._extends({},n,{component:a,expanded:v,expandText:c,itemsAfterCollapse:p,itemsBeforeCollapse:h,maxItems:d,separator:m}),E=y7(w),_=Vt({elementType:s.CollapsedIcon,externalSlotProps:l.collapsedIcon,ownerState:w}),x=z.useRef(null),b=S=>{const O=()=>{y(!0);const M=x.current.querySelector("a[href],button,[tabindex]");M&&M.focus()};return h+p>=S.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${p}} + itemsBeforeCollapse={${h}} >= maxItems={${d}}`].join(`
|
|
252
|
+
`));const Ki=z.useMemo(()=>{var ue;let Ke=[{name:"arrow",enabled:!!Te,options:{element:Te,padding:4}}];return(ue=X.popperOptions)!=null&&ue.modifiers&&(Ke=Ke.concat(X.popperOptions.modifiers)),u._extends({},X.popperOptions,{modifiers:Ke})},[Te,X]),Lt=u._extends({},C,{isRtl:pe,arrow:S,disableInteractive:ye,placement:Y,PopperComponentProp:K,touch:Le.current}),un=n8(Lt),_o=(n=(o=ee.popper)!=null?o:M.Popper)!=null?n:o8,cn=(i=(a=(s=ee.transition)!=null?s:M.Transition)!=null?a:G)!=null?i:Bn,xo=(l=(c=ee.tooltip)!=null?c:M.Tooltip)!=null?l:i8,dn=(p=(h=ee.arrow)!=null?h:M.Arrow)!=null?p:a8,wo=wn(_o,u._extends({},X,(d=Q.popper)!=null?d:D.popper,{className:se(un.popper,X==null?void 0:X.className,(m=(g=Q.popper)!=null?g:D.popper)==null?void 0:m.className)}),Lt),fn=wn(cn,u._extends({},ne,(v=Q.transition)!=null?v:D.transition),Lt),am=wn(xo,u._extends({},(y=Q.tooltip)!=null?y:D.tooltip,{className:se(un.tooltip,(w=(E=Q.tooltip)!=null?E:D.tooltip)==null?void 0:w.className)}),Lt),sm=wn(dn,u._extends({},(_=Q.arrow)!=null?_:D.arrow,{className:se(un.arrow,(x=(b=Q.arrow)!=null?b:D.arrow)==null?void 0:x.className)}),Lt);return te.jsxs(z.Fragment,{children:[z.cloneElement(oe,je),te.jsx(_o,u._extends({as:K!=null?K:fo,placement:Y,anchorEl:L?{getBoundingClientRect:()=>({top:_n.y,left:_n.x,right:_n.x,bottom:_n.y,width:0,height:0})}:ce,popperRef:Nt,open:ce?Be:!1,id:Qt,transition:!0},$t,wo,{popperOptions:Ki,children:({TransitionProps:ue})=>te.jsx(cn,u._extends({timeout:de.transitions.duration.shorter},ue,fn,{children:te.jsxs(xo,u._extends({},am,{children:[re,S?te.jsx(dn,u._extends({},sm,{ref:$e})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(Ui.propTypes={arrow:f.bool,children:pr.isRequired,classes:f.object,className:f.string,components:f.shape({Arrow:f.elementType,Popper:f.elementType,Tooltip:f.elementType,Transition:f.elementType}),componentsProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),describeChild:f.bool,disableFocusListener:f.bool,disableHoverListener:f.bool,disableInteractive:f.bool,disableTouchListener:f.bool,enterDelay:f.number,enterNextDelay:f.number,enterTouchDelay:f.number,followCursor:f.bool,id:f.string,leaveDelay:f.number,leaveTouchDelay:f.number,onClose:f.func,onOpen:f.func,open:f.bool,placement:f.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:f.elementType,PopperProps:f.object,slotProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),slots:f.shape({arrow:f.elementType,popper:f.elementType,tooltip:f.elementType,transition:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),title:f.node,TransitionComponent:f.elementType,TransitionProps:f.object});const s8=e=>u.isNumber$1(e)?"right":"left",Kc=({displayValue:e,width:t,padding:r,ellipsizedLength:n,isHtml:o})=>{const i=e.length>n;return u.jsx("div",{className:Tn.tableCellContent,style:{maxWidth:`${t-r}px`},children:o?u.jsx("div",{dangerouslySetInnerHTML:{__html:e}}):i?u.jsx(Ui,{title:e,children:u.jsx("div",{children:e})}):u.jsx("div",{children:e})})},l8=({dataTable:e,dataOptions:t,height:r,width:n,customStyles:o,themeSettings:i,onSortUpdate:a})=>{var E,_,x;const s=o&&o.showFieldTypeIcon!==void 0?o.showFieldTypeIcon:!0,l=R0+(s?O0:0),c=(o==null?void 0:o.paddingVertical)||Lc,p=(o==null?void 0:o.paddingHorizontal)||Lc,h=((E=o==null?void 0:o.columns)==null?void 0:E.width)==="auto"?(n-p*2-1)/t.columns.length:void 0,d=F.useMemo(()=>t.columns.map(b=>({isHtml:"isHtml"in b&&!!b.isHtml,width:h})),[t.columns,h]),[m,g]=F.useState(((_=document.fonts)==null?void 0:_.status)==="loaded"),v=(x=i.typography)==null?void 0:x.fontFamily,y=F.useMemo(()=>D6(e,s,d,v),[e,s,d,v,m]);F.useEffect(()=>{var b;(b=document.fonts)==null||b.ready.then(()=>{g(!0)}).catch(C=>{console.warn("Failed to observe font loading",C)})},[]);const w=F.useMemo(()=>e.columns.map((b,C)=>{const S=y[C],O=t.columns[C],M=Hc({isHeaderCell:!0,themeSettings:i,customStyles:o});return S?u.jsx(Do.Column,{maxWidth:es,minWidth:es,allowCellsRecycling:!0,width:S,header:u.jsx(Do.Cell,{className:zn(Tn.tableHeader),style:M,children:u.jsx(E6,{column:b,onClick:a,isSelected:!!Math.abs(b.direction),showFieldTypeIcon:s,sortIcon:(o==null?void 0:o.sortIcon)||"standard",children:Kc({displayValue:u.getDataOptionTitle(O),width:S,padding:l,ellipsizedLength:M6})})}),cell:T=>{var I=T,{rowIndex:D}=I,R=br(I,["rowIndex"]);return u.jsx(Do.Cell,J(q({className:zn(Tn.tableCell),style:Hc({colIndex:C,rowIndex:D,themeSettings:i,customStyles:o})},R),{children:Kc({displayValue:e.rows[D][C].displayValue,width:S,padding:M0,ellipsizedLength:P6,isHtml:"isHtml"in O&&O.isHtml})}))},align:s8(b.type)},`col${C}`):null}),[e,y,i,o,a,s,t,l]);return F.useMemo(()=>u.jsx("div",{className:Tn.tableWrapper,style:{padding:`${c}px ${p}px`},children:u.jsx(Do.Table,{className:Tn.table,rowHeight:(o==null?void 0:o.rowHeight)||R6,rowsCount:e.rows.length,width:n-p*2,height:r-c*2,headerHeight:(o==null?void 0:o.headerHeight)||S6,children:w})}),[w,o,e,r,p,c,n])},u8="_component_1rw9b_1",c8={component:u8},d8=(e,t)=>{if(!e.columns.some(a=>u.isNumber$1(a.type)))return e;const r=e.columns,o=e.rows.map(a=>a.map((s,l)=>{const c=r[l].type,p=u.getCompleteNumberFormatConfig(t.columns[l].numberFormatConfig);if(u.isNumber$1(c)){const h=u.createCompareValue(s.displayValue,c);return{displayValue:u.applyFormatPlainText(p,h.value),compareValue:h}}else return s}));return{columns:r,rows:o}},f8=({dataTable:e,dataOptions:t,designOptions:r={},onSortUpdate:n,themeSettings:o,width:i=400,height:a=500})=>{const s=F.useRef(null),l=F.useRef(e),c=F.useMemo(()=>d8(e,t),[e,t]);F.useLayoutEffect(()=>{l.current=e},[e]);const p=F.useMemo(()=>q({sortIcon:"caret",showFieldTypeIcon:!1},r),[r]);return u.jsx("div",{className:c8.component,ref:s,children:u.jsx(l8,{dataTable:c,dataOptions:t,onSortUpdate:n,height:a,width:i,customStyles:p,themeSettings:o})})},p8=e=>({"& .MuiPaginationItem-circular.Mui-selected":{color:e.chart.textColor},"& .MuiPaginationItem-circular":{color:e.chart.secondaryTextColor,fontFamily:e.typography.fontFamily}}),h8=e=>({paddingVertical:e.paddingVertical,paddingHorizontal:e.paddingHorizontal,header:e.header,rows:e.rows,columns:e.columns}),W0=25,V0=10,U0=({dataSet:e,dataOptions:t,styleOptions:r={},filters:n,onDataReady:o})=>{const{rowsPerPage:i=W0,width:a,height:s}=r,{themeSettings:l}=u.useThemeContext(),[c,p]=F.useState(0),{filters:h,relations:d}=u.getFilterListAndRelationsJaql(n),[m,g]=F.useState(1),v=F.useRef(null),y=F.useMemo(()=>Qf(t),[t]),w=F.useMemo(()=>js(y.columns.filter(u.isMeasureColumn).map(u.translateColumnToMeasure)),[y]),E=F.useMemo(()=>h8(r),[r]),[_,x]=F.useState(y),[b,C]=F.useState(e),[S,O]=T3({dataSet:b,dataOptions:_,filters:h,filterRelations:d,count:i*V0,offset:c}),M=F.useMemo(()=>{if(S&&o){const P=o(S);if(!tp(P))throw new u.TranslatableError("errors.incorrectOnDataReadyHandler");return P}return S},[S]),D=E3({data:M,innerDataOptions:O,dataColumnNamesMapping:w,needToAggregate:!Wt(b)});F.useEffect(()=>{x(y),C(e),g(1),p(0)},[e,y]);const R=F.useCallback(P=>{if(!S)return;Math.floor(S.rows.length/i)===P&&p(S.rows.length),g(P)},[S,i]),T=F.useCallback(P=>{g(1),p(0),_&&x(Cx(_,P))},[_]),I=F.useMemo(()=>{if(!D||Wt(b))return D;const P=D.columns.find(N=>N.direction!==0);return P?u.orderBy(D,[P]):D},[D,b]),A=F.useMemo(()=>I?{columns:I.columns,rows:I.rows.slice((m-1)*i,m*i)}:void 0,[I,m,i]);return O?u.jsx(Ei,{defaultSize:Bs("table"),size:{width:a,height:s},children:P=>{if(!D||!A)return u.jsx(si,{themeSettings:l});if(u.isDataTableEmpty(D))return u.jsx(Hs,{iconType:"table"});const N=Math.ceil(D.rows.length/i);return u.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",backgroundColor:l.chart.backgroundColor},"aria-label":"table-root",children:[u.jsx(f8,{dataTable:A,dataOptions:O,designOptions:E,themeSettings:l,width:P.width,height:P.height-32,onSortUpdate:T}),u.jsx(op,{ref:v,page:m,count:N,onChange:(B,L)=>R(L),sx:p8(l)})]})}}):null},q0=e=>{const{dataSet:t}=e;return!!t&&typeof t!="string"&&"rows"in t&&"columns"in t},m8=F.createContext(null),ba={didCatch:!1,error:null};class G0 extends F.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=ba}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:i,reason:"imperative-api"}),this.setState(ba)}}componentDidCatch(t,r){var n,o;(n=(o=this.props).onError)===null||n===void 0||n.call(o,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:o}=this.props;if(n&&r.error!==null&&g8(t.resetKeys,o)){var i,a;(i=(a=this.props).onReset)===null||i===void 0||i.call(a,{next:o,prev:t.resetKeys,reason:"keys"}),this.setState(ba)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:o}=this.props,{didCatch:i,error:a}=this.state;let s=t;if(i){const l={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")s=r(l);else if(n)s=F.createElement(n,l);else if(o===null||F.isValidElement(o))s=o;else throw a}return F.createElement(m8.Provider,{value:{didCatch:i,error:a,resetErrorBoundary:this.resetErrorBoundary}},s)}}function g8(){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 Y0=F.createContext(void 0),v8=({children:e})=>{const[t,r]=F.useState([]),[n,o]=F.useState([]),i=()=>r([]),a=()=>o([]);return u.jsx(Y0.Provider,{value:{errors:t,warnings:n,clearError:i,clearWarning:a,setErrors:r,setWarnings:o},children:e})},X0=()=>{const e=F.useContext(Y0);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 Sl(e,t,r){const n=u.usePrevious(e);return typeof e!="object"&&e===n?!1:n==null||(t?t.some(i=>!u.isEqual(n[i],e[i])):!u.isEqual(n,e))?!0:r?r(e,n):!1}const y8=e=>{const[t,r]=F.useState(0),{setErrors:n,errors:o}=X0(),i=Sl(e,["dataOptions","filters"]);if(F.useEffect(()=>{i&&o.length>0&&(r(t+1),n([]))},[e.dataOptions,e.filters]),!Wt(e.dataSet))throw new u.TranslatableError("errors.undefinedDataSource");const a=u.cloneDeep(e.dataOptions),s=u.extractTrendMeasures(a);a.value.push(...s);const l=u.extractForecastMeasures(a);a.value.push(...l);const c=F.useCallback(({error:p})=>(console.debug("Unexpected error occurred when rendering advanced chart:",p),u.jsx(Ua,q({},e))),[e,o]);return o.length===2?null:u.jsx(G0,{fallbackRender:c,onError:p=>{n(h=>[...h,p.message])},children:u.jsx(Ua,J(q({},e),{dataOptions:a}))},`errorboundary_${t}`)},K0=ro({componentName:"Chart",shouldSkipSisenseContextWaiting:q0,customContextErrorMessageKey:"errors.chartNoSisenseContext"})(e=>{if(b8(e))return u.jsx(U0,q({},e));if(_8(e))return u.jsx(y8,q({},e));if(Q0(e))return u.jsx(Ua,q({},e));throw new u.TranslatableError("errors.chartInvalidProps")});function b8(e){return e.chartType==="table"&&"columns"in e.dataOptions}function Q0(e){return e.chartType!=="table"}function _8(e){return!Q0(e)||!u.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 x8=function(e){return e.None="",e.Large="30px",e.Medium="20px",e.Small="10px",e}({}),ns=function(e){return e.None="",e.Light="0.15",e.Medium="0.3",e.Dark="0.7",e}(ns||{}),os=function(e){return e.None="",e.Large="3px 12px",e.Medium="2px 8px",e.Small="1px 4px",e}(os||{}),Z0=function(e){return e.None="",e.Large="15px",e.Medium="10px",e.Small="5px",e}({});const w8=(e,t)=>{const r=u.get(e,"shadow",t.widget.shadow),n=u.get(e,"spaceAround",t.widget.spaceAround);if(r==="None"||n==="None")return"none";if(r in ns&&n in os){const o=ns[`${r}`];return`0px ${os[`${n}`]} rgba(9, 9, 10, ${o})`}return"none"};function C8(e){return we("MuiCard",e)}Ce("MuiCard",["root"]);const T8=["className","raised"],E8=e=>{const{classes:t}=e;return De({root:["root"]},C8,t)},S8=le(_i,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),J0=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=n,a=ae(n,T8),s=u._extends({},n,{raised:i}),l=E8(s);return te.jsx(S8,u._extends({className:se(l.root,o),elevation:i?8:void 0,ref:r,ownerState:s},a))});process.env.NODE_ENV!=="production"&&(J0.propTypes={children:f.node,classes:f.object,className:f.string,raised:Pt(f.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function R8(e){return we("MuiCardContent",e)}Ce("MuiCardContent",["root"]);const O8=["className","component"],M8=e=>{const{classes:t}=e;return De({root:["root"]},R8,t)},P8=le("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),eh=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardContent"}),{className:o,component:i="div"}=n,a=ae(n,O8),s=u._extends({},n,{component:i}),l=M8(s);return te.jsx(P8,u._extends({as:i,className:se(l.root,o),ownerState:s,ref:r},a))});process.env.NODE_ENV!=="production"&&(eh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function D8(e){return we("MuiIconButton",e)}const k8=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),I8=["edge","children","className","color","disabled","disableFocusRipple","size"],A8=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${fe(n)}`,o&&`edge${fe(o)}`,`size${fe(i)}`]};return De(a,D8,t)},N8=le(hr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${fe(r.color)}`],r.edge&&t[`edge${fe(r.edge)}`],t[`size${fe(r.size)}`]]}})(({theme:e,ownerState:t})=>u._extends({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return u._extends({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&u._extends({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":u._extends({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${k8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),jr=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:p="medium"}=n,h=ae(n,I8),d=u._extends({},n,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:p}),m=A8(d);return te.jsx(N8,u._extends({className:se(m.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r},h,{ownerState:d,children:i}))});process.env.NODE_ENV!=="production"&&(jr.propTypes={children:Pt(f.node,e=>z.Children.toArray(e.children).some(r=>z.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
253
|
+
`)):null),classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),f.string]),disabled:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,edge:f.oneOf(["end","start",!1]),size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function $8({fill:e="rgba(38, 46, 61, 0.67)"}){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:u.jsx("path",{fill:e,d:"M11.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zM13 8.878c0-1.27-.499-1.896-1.496-1.878C10.501 7.03 10 7.68 10 8.95c0 .737.17 1.647.51 2.731l.318.98c.081.245.14.413.175.503.197.533.376.811.537.835.15.018.314-.248.493-.8.083-.257.161-.512.233-.763.071-.252.146-.503.224-.755.34-1.12.51-2.054.51-2.803zM11.5 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"})})}const L8=u.newStyled(xi,{target:"e1g12j10",label:"StyledMuiPopover"})(".MuiPaper-root.MuiPopover-paper:not([style*='top']),.MuiPaper-root.MuiPopover-paper:not([style*='left']){opacity:0 !important;}"),th=e=>{const s=e,{children:t,open:r,id:n,position:o,onClose:i}=s,a=br(s,["children","open","id","position","onClose"]);return u.jsx(L8,J(q({id:n,className:"csdk-accessible",anchorEl:o==null?void 0:o.anchorEl,anchorOrigin:o==null?void 0:o.anchorOrigin,transformOrigin:o==null?void 0:o.contentOrigin,transitionDuration:0,open:r,slotProps:{paper:{sx:{display:"flex",boxShadow:"-1px -1px 10px rgba(0, 0, 0, 0.2)"}}},onClose:i},a),{children:t}))};function F8({title:e,description:t,errorMessages:r=[],styleOptions:n,onRefresh:o}){var w,E,_;const[i,a]=F.useState(null),{themeSettings:s}=u.useThemeContext(),{typography:{primaryTextColor:l,secondaryTextColor:c,fontFamily:p}}=s,{t:h}=u.useTranslation(),d=x=>{a(x.currentTarget)},m=()=>{a(null)},g=F.useMemo(()=>e?u.jsx(Ze,{variant:"body2",style:{color:l,fontFamily:p,fontSize:13},children:e}):null,[e,l,p]),v=F.useMemo(()=>r.length===0?null:r.map(x=>u.jsxs(u.Fragment,{children:[u.jsx($r,{sx:{my:1,borderColor:c,opacity:.3,marginY:"8px"}}),u.jsxs("div",{className:"csdk-flex",children:[u.jsx("div",{className:"csdk-shrink-0 csdk-grow-0",children:u.jsx($8,{fill:"#fa5656"})}),u.jsx(Ze,{variant:"body2",className:"csdk-grow-1",style:{color:c,fontFamily:p,fontSize:13,marginLeft:5,lineHeight:"24px",letterSpacing:"normal",overflowWrap:"anywhere"},children:x})]})]})),[r,c,p]),y=F.useMemo(()=>t?u.jsxs(u.Fragment,{children:[u.jsx($r,{sx:{my:"8px",borderColor:c,opacity:.3}}),u.jsx(Ze,{variant:"body2",style:{color:c,fontFamily:p,fontSize:13},children:t})]}):null,[t,c,p]);return u.jsxs(u.Fragment,{children:[u.jsx(Ui,{title:h("widgetHeader.info.tooltip"),style:{color:(w=s.chart)==null?void 0:w.textColor,fontFamily:(E=s.typography)==null?void 0:E.fontFamily},children:u.jsx(jr,{onClick:d,sx:{p:0},children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.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"})})})}),u.jsx(th,{open:!!i,position:i?{anchorEl:i,anchorOrigin:{vertical:"bottom",horizontal:"center"},contentOrigin:{vertical:"top",horizontal:"center"}}:void 0,onClose:m,children:u.jsxs(J0,{raised:!0,className:"csdk-max-w-xs csdk-w-[300px]",children:[u.jsxs("div",{className:"csdk-flex csdk-flex-row csdk-justify-between csdk-items-center csdk-py-[5px] csdk-px-[12px]",style:{backgroundColor:u.getSlightlyDifferentColor(s.general.backgroundColor)},children:[u.jsx(Ze,{variant:"subtitle2",sx:{fontWeight:"bold"},style:{color:s.typography.primaryTextColor,fontFamily:s.typography.fontFamily},children:h("widgetHeader.info.details")}),u.jsx(jr,{onClick:o,sx:{p:0},children:u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.jsx("path",{fill:(_=s.chart)==null?void 0:_.textColor,d:"M20 12a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm0 0a8 8 0 0 1-15.259 3.368l1.004-.222a7 7 0 0 0 13.252-2.925L20 12zm-8-7a7 7 0 0 1 6.267 3.877l1.003-.22A8.001 8.001 0 0 0 4 12l1.003-.22A7 7 0 0 1 12 5zm6.998 3.12A8 8 0 0 0 4 12l1.003-.22a7 7 0 0 1 13.264-2.903l.73-.16v.28l-2.98.016-.017.971h3.985V6h-.987v2.12zm-14.01 9.864H4V14h3.985l-.016.971-2.981.017v2.996z"})})})]}),u.jsx($r,{sx:{borderColor:s.typography.secondaryTextColor,opacity:.3}}),u.jsxs(eh,{style:{backgroundColor:s.general.backgroundColor,padding:12},children:[g,v,y]})]})})]})}const H8=({title:e,description:t,errorMessages:r=[],warningMessages:n=[],dataSetName:o,styleOptions:i,onRefresh:a})=>{var c;const{themeSettings:s}=u.useThemeContext(),l=()=>{var h;const p=u.jsx(u.Fragment,{children:u.jsx(F8,{title:o,description:t,styleOptions:i,errorMessages:r,warningMessages:n,onRefresh:a})});return i!=null&&i.renderToolbar?(h=i==null?void 0:i.renderToolbar)==null?void 0:h.call(i,a,p):p};return u.jsxs(u.Fragment,{children:[u.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:[u.jsx("div",{className:"csdk-w-full csdk-whitespace-nowrap csdk-overflow-hidden",style:{textAlign:B8((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:15},children:e||""}),u.jsx("div",{className:"csdk-ml-auto csdk-flex csdk-items-center",children:l()})]}),u.get(i,"dividerLine",s.widget.header.dividerLine)&&u.jsx($r,{style:{backgroundColor:(i==null?void 0:i.dividerLineColor)||s.widget.header.dividerLineColor||"#e6e6e6"}})]})};function B8(e){return e.toLowerCase()}const rh=e=>u.jsx(v8,{children:u.jsx(j8,q({},e))}),j8=({dataSetName:e,styleOptions:t,title:r,description:n,topSlot:o,bottomSlot:i,children:a,onRefresh:s=()=>{}})=>{var h,d,m;const{errors:l,warnings:c}=X0(),{themeSettings:p}=u.useThemeContext();return u.jsx("div",{className:"csdk-w-full csdk-h-full csdk-overflow-hidden csdk-accessible",children:u.jsx("div",{className:"csdk-h-full",style:{padding:Z0[u.get(t,"spaceAround",p.widget.spaceAround)]||"0px"},children:u.jsxs("div",{className:"csdk-h-full csdk-overflow-hidden",style:{backgroundColor:(t==null?void 0:t.backgroundColor)||"unset",borderWidth:u.get(t,"border",p.widget.border)?"1px":0,borderColor:(t==null?void 0:t.borderColor)||p.widget.borderColor,borderRadius:x8[(t==null?void 0:t.cornerRadius)||p.widget.cornerRadius]||0,boxShadow:w8(t,p),display:"flex",flexDirection:"column"},children:[!((h=t==null?void 0:t.header)!=null&&h.hidden)&&u.jsx(H8,{title:r,description:n,dataSetName:e,errorMessages:l,warningMessages:c,styleOptions:t==null?void 0:t.header,onRefresh:s}),o,u.jsx(Df,{theme:{chart:{backgroundColor:(t==null?void 0:t.backgroundColor)||((d=p.chart)==null?void 0:d.backgroundColor)}},children:u.jsx("div",{style:{flexGrow:1,minWidth:0,minHeight:0,backgroundColor:(t==null?void 0:t.backgroundColor)||((m=p.chart)==null?void 0:m.backgroundColor)},children:a})}),i]})})})};var z8="[object String]";function nh(e){return typeof e=="string"||!u.isArray(e)&&u.isObjectLike(e)&&u.baseGetTag(e)==z8}const W8=e=>{const t=V8(e);return t.config.disabled=!e.config.disabled,t},V8=e=>{const t=u.cloneDeep(e);return Object.setPrototypeOf(t,e),t};function U8(e,t,r){const n={guid:t,excludeMembers:!1,backgroundFilter:r};return u.members(e,[],n)}function qi(e){if(!u.isMembersFilter(e))throw new u.TranslatableError("errors.notAMembersFilter");const{attribute:t,config:{guid:r,backgroundFilter:n}}=e;return U8(t,r,n)}function Rl(e){return"members"in e&&e.members.length===0}function ct(e,t){return e.expression===(t==null?void 0:t.expression)&&e.granularity===t.granularity}function oh(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)=>!u.isEqualWith(r,t[n],ih))}function Ol(e,t){return ct(e.attribute,t.attribute)}function ih(e,t){const r=u.flow(q8,G8);return u.isEqual(r(e),r(t))}function q8(e){return J(q({},e),{name:""})}function G8(e){return J(q({},e),{config:J(q({},e.config),{guid:""})})}function Y8(e,t,r,n){if(r===void 0&&n===void 0)return!1;if([r,n].some(i=>i===void 0))return!0;function o(i,a){const s=i,l=i,c=a,p=a;return i===void 0&&a===void 0?!0:[i,a].some(h=>h===void 0)||s.operator!==c.operator?!1:l.instanceid&&p.instanceid?!oh(e==null?void 0:e.filter(h=>h.config.guid===l.instanceid),t==null?void 0:t.filter(h=>h.config.guid===p.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 ah="sdkHookInit",X8=(e,t,r,n)=>{if(!r)return;Ed(ah,{packageName:t,packageVersion:"2.0.0",hookName:e},r.httpClient).finally(n)};function K8(e){const{tracking:t,app:r}=u.useSisenseContext(),{trackEvent:n}=ms(),o=F.useRef(!1);F.useEffect(()=>{if(!(!t||!r)&&!o.current){const i={packageName:t.packageName||"sdk-ui",packageVersion:"2.0.0",hookName:e};n(ah,i,!t.enabled).finally(()=>o.current=!0)}},[t,e,n,r])}const sh=e=>t=>(...r)=>(K8(e),t(...r));function is(e,t){switch(t.type){case"loading":return Q8(e);case"success":return Z8(t.data);case"error":return J8(t.error)}}function Q8(e){return e.status==="loading"?e:J(q({},e),{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0})}function Z8(e){return{isLoading:!1,isError:!1,isSuccess:!0,data:e,status:"success",error:void 0}}function J8(e){return{isLoading:!1,isError:!0,isSuccess:!1,data:void 0,status:"error",error:e}}function lh({enabled:e},t){const r=F.useRef(!1);return F.useCallback((n,o=!1)=>{const i=e===!1||!n,a=r.current;return r.current=i,!i&&(a||t||o)},[e,t])}var _a=function(){return u.root.Date.now()},e7="Expected a function",t7=Math.max,r7=Math.min;function n7(e,t,r){var n,o,i,a,s,l,c=0,p=!1,h=!1,d=!0;if(typeof e!="function")throw new TypeError(e7);t=u.toNumber(t)||0,u.isObject(r)&&(p=!!r.leading,h="maxWait"in r,i=h?t7(u.toNumber(r.maxWait)||0,t):i,d="trailing"in r?!!r.trailing:d);function m(C){var S=n,O=o;return n=o=void 0,c=C,a=e.apply(O,S),a}function g(C){return c=C,s=setTimeout(w,t),p?m(C):a}function v(C){var S=C-l,O=C-c,M=t-S;return h?r7(M,i-O):M}function y(C){var S=C-l,O=C-c;return l===void 0||S>=t||S<0||h&&O>=i}function w(){var C=_a();if(y(C))return E(C);s=setTimeout(w,v(C))}function E(C){return s=void 0,d&&n?m(C):(n=o=void 0,a)}function _(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function x(){return s===void 0?a:E(_a())}function b(){var C=_a(),S=y(C);if(n=arguments,o=this,l=C,S){if(s===void 0)return g(l);if(h)return clearTimeout(s),s=setTimeout(w,t),m(l)}return s===void 0&&(s=setTimeout(w,t)),a}return b.cancel=_,b.flush=x,b}function Ml(e,{onLocalStateChange:t,syncCompareFn:r=u.isEqual}={}){const[n,o]=F.useState(e),i=F.useRef(e);F.useEffect(()=>{r(i.current,e)||o(e),i.current=e},[e,r]);const a=F.useCallback(s=>{o(l=>{const c=u.isFunction(s)?s(l):s;return t==null||t(c),c})},[t]);return[n,a]}function o7({chartType:e,dataOptions:t,enabled:r}){const[n,o]=F.useState([]),i=F.useMemo(()=>{var d;const h=u.isCartesian(e)&&((d=t.category)==null?void 0:d.length)===1||u.isScatter(e);return r&&h},[r,e,t]),a=F.useMemo(()=>{if(n.length===0)return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!1}))}))});if(u.isScatter(e))return h=>J(q({},h),{series:h.series.map(d=>J(q({},d),{data:d.data.map(m=>J(q({},m),{selected:!n.some(g=>{var v,y;return g.x===m.x&&g.y===m.y&&g.size===m.z&&g.breakByPoint===((v=m.custom)==null?void 0:v.maskedBreakByPoint)&&g.breakByColor===((y=m.custom)==null?void 0:y.maskedBreakByColor)})}))}))});{const h=n.reduce((d,{categoryValue:m})=>(m&&(d[`${m}`]=!0),d),{});return d=>J(q({},d),{series:d.series.map(m=>J(q({},m),{data:m.data.map(g=>{var v,y;return h[(y=(v=g.custom)==null?void 0:v.xValue)==null?void 0:y[0]]?g:J(q({},g),{selected:!0})})}))})}},[n,e]),s=F.useMemo(()=>h=>{var d;return J(q({},h),{chart:J(q({},h.chart),{events:J(q({},(d=h.chart)==null?void 0:d.events),{click:()=>{o([])}})})})},[]),l=F.useCallback(h=>(i&&(h=a(h),h=s(h)),h),[a,s,i]),c=F.useCallback(h=>{i&&o(h)},[i]),p=F.useCallback(h=>{i&&o([h])},[i]);return{onBeforeRender:l,onDataPointsSelected:c,onDataPointClick:p}}const uh=()=>{const e=li();if(!e)throw new u.TranslatableError("errors.missingMenuRoot");const{openMenu:t,closeMenu:r}=e;return{openMenu:t,closeMenu:r}};function as(e){return e&&e.length?Ws(e):[]}function i7(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 a7(e,t){return function(r,n){if(r==null)return r;if(!u.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 s7=a7(u.baseForOwn);function l7(e,t,r,n){return s7(e,function(o,i,a){t(n,o,r(o),a)}),n}function ch(e,t){return function(r,n){var o=u.isArray(r)?i7:l7,i=t?t():{};return o(r,e,u.baseIteratee(n),i)}}var po=ch(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const u7=Ur(te.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),c7=["slots","slotProps"],d7=le(hr)(({theme:e})=>u._extends({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":u._extends({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":u._extends({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:au(e.palette.grey[200],.12)}:{backgroundColor:au(e.palette.grey[600],.12)})})),f7=le(u7)({width:24,height:16});function dh(e){const{slots:t={},slotProps:r={}}=e,n=ae(e,c7),o=e;return te.jsx("li",{children:te.jsx(d7,u._extends({focusRipple:!0},n,{ownerState:o,children:te.jsx(f7,u._extends({as:t.CollapsedIcon,ownerState:o},r.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(dh.propTypes={slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.object});function p7(e){return we("MuiBreadcrumbs",e)}const h7=Ce("MuiBreadcrumbs",["root","ol","li","separator"]),m7=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],g7=e=>{const{classes:t}=e;return De({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},p7,t)},v7=le(Ze,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${h7.li}`]:t.li},t.root]})({}),y7=le("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),b7=le("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function _7(e,t,r,n){return e.reduce((o,i,a)=>(a<e.length-1?o=o.concat(i,te.jsx(b7,{"aria-hidden":!0,className:t,ownerState:n,children:r},`separator-${a}`)):o.push(i),o),[])}const fh=z.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBreadcrumbs"}),{children:o,className:i,component:a="nav",slots:s={},slotProps:l={},expandText:c="Show path",itemsAfterCollapse:p=1,itemsBeforeCollapse:h=1,maxItems:d=8,separator:m="/"}=n,g=ae(n,m7),[v,y]=z.useState(!1),w=u._extends({},n,{component:a,expanded:v,expandText:c,itemsAfterCollapse:p,itemsBeforeCollapse:h,maxItems:d,separator:m}),E=g7(w),_=Vt({elementType:s.CollapsedIcon,externalSlotProps:l.collapsedIcon,ownerState:w}),x=z.useRef(null),b=S=>{const O=()=>{y(!0);const M=x.current.querySelector("a[href],button,[tabindex]");M&&M.focus()};return h+p>=S.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${p}} + itemsBeforeCollapse={${h}} >= maxItems={${d}}`].join(`
|
|
254
254
|
`)),S):[...S.slice(0,h),te.jsx(dh,{"aria-label":c,slots:{CollapsedIcon:s.CollapsedIcon},slotProps:{collapsedIcon:_},onClick:O},"ellipsis"),...S.slice(S.length-p,S.length)]},C=z.Children.toArray(o).filter(S=>(process.env.NODE_ENV!=="production"&&Nn.isFragment(S)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
255
|
-
`)),z.isValidElement(S))).map((S,O)=>te.jsx("li",{className:E.li,children:S},`child-${O}`));return te.jsx(b7,u._extends({ref:r,component:a,color:"text.secondary",className:se(E.root,i),ownerState:w},g,{children:te.jsx(_7,{className:E.ol,ref:x,ownerState:w,children:w7(v||d&&C.length<=d?C:b(C),E.separator,m,w)})}))});process.env.NODE_ENV!=="production"&&(fh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,expandText:f.string,itemsAfterCollapse:bt,itemsBeforeCollapse:bt,maxItems:bt,separator:f.node,slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function C7(e){return we("MuiButton",e)}const No=Ce("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),ph=z.createContext({});process.env.NODE_ENV!=="production"&&(ph.displayName="ButtonGroupContext");const hh=z.createContext(void 0);process.env.NODE_ENV!=="production"&&(hh.displayName="ButtonGroupButtonContext");const T7=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],E7=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${fe(o)}`],endIcon:["icon","endIcon",`iconSize${fe(o)}`]},l=De(s,C7,a);return u._extends({},a,l)},mh=e=>u._extends({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),S7=le(hr,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fe(r.color)}`],t[`size${fe(r.size)}`],t[`${r.variant}Size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return u._extends({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":u._extends({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":u._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${No.focusVisible}`]:u._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${No.disabled}`]:u._extends({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Pe(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${No.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${No.disabled}`]:{boxShadow:"none"}}),R7=le("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>u._extends({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},mh(e))),O7=le("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>u._extends({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},mh(e))),Un=z.forwardRef(function(t,r){const n=z.useContext(ph),o=z.useContext(hh),i=wf(n,t),a=Re({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:p,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:v,fullWidth:y=!1,size:w="medium",startIcon:E,type:_,variant:x="text"}=a,b=ae(a,T7),C=u._extends({},a,{color:l,component:c,disabled:h,disableElevation:d,disableFocusRipple:m,fullWidth:y,size:w,type:_,variant:x}),S=E7(C),O=E&&te.jsx(R7,{className:S.startIcon,ownerState:C,children:E}),M=g&&te.jsx(O7,{className:S.endIcon,ownerState:C,children:g}),D=o||"";return te.jsxs(S7,u._extends({ownerState:C,className:se(n.className,S.root,p,D),component:c,disabled:h,focusRipple:!m,focusVisibleClassName:se(S.focusVisible,v),ref:r,type:_},b,{classes:S,children:[O,s,M]}))});process.env.NODE_ENV!=="production"&&(Un.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary","success","error","info","warning"]),f.string]),component:f.elementType,disabled:f.bool,disableElevation:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,endIcon:f.node,focusVisibleClassName:f.string,fullWidth:f.bool,href:f.string,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),startIcon:f.node,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOfType([f.oneOf(["button","reset","submit"]),f.string]),variant:f.oneOfType([f.oneOf(["contained","outlined","text"]),f.string])});const M7=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=u.useTranslation(),i=t.name,a=u.newStyled(Un,{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=u.newStyled("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),l=()=>u.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:u.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:u.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=u.newStyled(Un,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",h=>h.theme.fontFamily,";border-radius:0;border:1px solid ",wt,";background-color:",h=>h.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",h=>h.theme.secondaryTextColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;transition:background-color 0.2s,border-color 0.2s,color 0.2s;text-transform:none;cursor:auto;pointer-events:none;white-space:nowrap;&:hover{background-color:",h=>h.theme.chartBackgroundColor,";border:1px solid ",wt,";border-right:none;border-left:none;}}");return{CancelButton:l,CurrentDrillButton:()=>u.jsxs(c,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",u.jsx("span",{className:"flex items-center justify-between",children:u.jsx("span",{className:"csdk-absolute csdk-right-[0px] csdk-top-[3px] csdk-h-[18px] csdk-w-[18px] csdk-transform csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:"transparent",borderTop:`1px solid ${wt}`,borderRight:`1px solid ${wt}`}})})]})}},P7={modifiers:[{name:"offset",options:{offset:[0,12]}}]},D7=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=u.useTranslation();return u.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:[u.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),u.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),u.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},k7=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return u.jsx(fo,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:P7,children:e&&u.jsx(D7,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},I7=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=u.useThemeContext(),s=u.scaleBrightness(a,-.02),l=u.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:l}},A7=u.newStyled(jr,{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;}}}"),N7=u.newStyled(jr,{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;}}}"),$7=({currentDimension:e,children:t})=>{const{t:r}=u.useTranslation(),n=F.useRef(null),[o,i]=F.useState(0),[a,s]=F.useState(0),[l,c]=F.useState(0),p=()=>{var g;return(g=n.current)==null?void 0:g.querySelector("ol")};F.useEffect(()=>{const g=p();if(g){const v=g.clientWidth,y=g.scrollWidth,w=g.scrollLeft;i(v),s(y),c(w)}},[e]),F.useEffect(()=>{const g=p();function v(){if(g){const E=g.clientWidth;i(E)}}function y(){if(g){const E=g.scrollLeft;c(E)}}const w=new ResizeObserver(v);return g?(w.observe(g),g.addEventListener("scroll",y),()=>{w.disconnect(),g.removeEventListener("scroll",y)}):()=>{}},[]);const h=g=>{const y="smooth",w=p();w&&w.scrollBy({left:g==="right"?200:-200,behavior:y})},d=l!=0,m=Math.floor(a-l)>o;return u.jsxs("div",{style:{position:"relative"},children:[d&&u.jsx(A7,{onClick:()=>h("left"),children:u.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),m&&u.jsx(N7,{onClick:()=>h("right"),children:u.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),u.jsx("div",{ref:n,children:t})]})},wt="#F2F2F2",L7=u.newStyled(Un,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",wt,";border-right:none;color:",({active:e,theme:t})=>e==="true"?t.primaryTextColor:t.secondaryTextColor,";background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillBackgroundColor:t.chartBackgroundColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;text-transform:none;transition:background-color 0.2s,border-color 0.2s,color 0.2s;white-space:nowrap;cursor:",({active:e})=>e==="true"?"pointer":"auto",";margin-right:",({active:e})=>e==="true"?"5px":"0px",";&:hover{background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillHoverBackgroundColor:t.chartBackgroundColor,";border:1px solid ",wt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),F7=u.newStyled(fh,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),H7=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>u.jsx(L7,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:u.jsxs("span",{className:"flex items-center justify-between",children:[u.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?u.jsx("span",{className:"csdk-absolute csdk-right-0 csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:t===(a==null?void 0:a.filterDisplayValues)?i.activeDrillHoverBackgroundColor:i.activeDrillBackgroundColor,borderTop:`1px solid ${wt}`,borderRight:`1px solid ${wt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,u.jsx("span",{className:`csdk-absolute ${e?"csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-right-[-15px]":"csdk-h-[10px] csdk-w-[10px] csdk-top-[7px] csdk-right-[-5px]"} csdk-transform translate-x-1/2 csdk-rotate-45`,style:{backgroundColor:i.chartBackgroundColor,borderTop:`1px solid ${wt}`,borderRight:`1px solid ${wt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),gh=ro({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=F.useState(null),[a,s]=F.useState(!1),l=I7(),{CancelButton:c,CurrentDrillButton:p}=M7({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:l}),h=v=>y=>{s(!0),i({filterDisplayValues:v,anchorEl:y.currentTarget})},d=()=>{s(!1),i(null)},m=v=>v<e.length-1,g=v=>v===e.length-2;return e.length?u.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:u.jsx($7,{currentDimension:t,children:u.jsxs(F7,{separator:null,sx:{backgroundColor:l.chartBackgroundColor,padding:"4px"},children:[u.jsx(c,{}),e.map((v,y)=>{const w=m(y),E=g(y);return u.jsx("div",{children:u.jsx(H7,{isActive:w,isLastActive:E,filterDisplayValue:v,handleMouseEnter:h(v),handleMouseLeave:d,handleClick:()=>n(y+1),themeProps:l,popperParams:o,index:y})},y)}),u.jsx(p,{}),u.jsx(k7,{popperParams:o,currentDimension:t,themeProps:l})]})})}):null}),vh=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=F.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=F.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=u.useTranslation();if(!t)throw new u.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=Ml(o,{onLocalStateChange:r}),l=F.useMemo(()=>[u.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),c=F.useMemo(()=>n.filter(y=>{if(u.MetadataTypes.isAttribute(y)){const _=y;return l.every(x=>!ct(x,_))}const E=y;return l.every((_,x)=>ct(_,E.levels[x]))}),[n,l]),p=F.useCallback((y,w,E)=>{s(_=>yh(_,y,w,E))},[s]),h=F.useCallback(y=>{s(w=>w.slice(0,y))},[s]),d=F.useCallback(()=>{s([])},[s]),{drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v}=F.useMemo(()=>bh(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:c,drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}},yh=(e,t,r,n)=>{var d,m;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(ct(n.levels[0],r))return[];const i=(d=e==null?void 0:e.findIndex(g=>ct(g.nextDimension,r)))!=null?d:-1;if(i!==-1)return e.slice(0,i+1);const s=(m=u.last(e))==null?void 0:m.nextDimension,l=e.length?n.levels.findIndex(g=>s&&ct(g,s)):0,c=n.levels.indexOf(r),h=n.levels.slice(l+1,c+1).map((g,v)=>({points:v===0?t:[],nextDimension:g}));return[...e,...h]},bh=(e,t,r)=>{let n=t&&u.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(u.members(n,a.map(B7)));const l=a.length?a.map(_h):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(l),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function _h(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function B7(e){return"categoryValue"in e?`${e.categoryValue}`:""}var j7=Object.prototype,z7=j7.hasOwnProperty,W7=ch(function(e,t,r){z7.call(e,r)?e[r].push(t):u.baseAssignValue(e,r,[t])});function V7(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function xh(e,t){return e.find(r=>ct(r.attribute,t))}function wh(e,t,r){const n=xh(r,e);return u.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function Ch(e,t){return Ol(e,t)&&"members"in e&&"members"in t&&u.isEqual(e.members,t.members)}var qn=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 Th=2;function rn(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=W7(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:as(o.map(({value:i})=>i)),displayValues:as(o.map(({displayValue:i})=>i))}))}function U7(e){return rn(e,["category"])}function q7(e){return rn(e,["category"])}function G7(e,t){const r=rn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:u.translateColumnToAttribute(o),values:[],displayValues:[]})}function Y7(e){return rn(e,["x","y","breakByPoint","breakByColor"])}function X7(e){return rn(e,["geo"])}function K7(e){return rn(e,["geo"])}function zo(e,t,r){return e==="plugin"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?G7(r,t):u.isCartesian(e)||e==="pie"||e==="funnel"?U7(r):u.isBoxplot(e)?q7(r):u.isScatter(e)?Y7(r):u.isScattermap(e)?X7(r):u.isAreamap(e)?K7(r):[]}function Pl(e,t){let r=[];return e==="plugin"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:u.isCartesian(e)||u.isCategorical(e)||u.isBoxplot(e)||u.isRange(e)?r=[...t.category]:u.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!u.isMeasureColumn(n))):(u.isScattermap(e)||u.isAreamap(e))&&(r=[...t.geo]),r.map(u.translateColumnToAttribute)}function Q7(e,t,r){const n=xh(t,e.attribute);if(!n||Rl(n))return null;if(Ch(e,n))return qi(e);if(u.isMembersFilter(n)&&r){const[o,i]=po(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return wh(e.attribute,i,[n])}return null}function Z7(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>Q7(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function xa(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>wh(i,a,t)),o=J7(t,n);return Z7(o,t,r)}function J7(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>Ol(o,n))):t}function eI(e,t,r){const n=zo(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>Th;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function Qc(e,t,r){const n=eI(e,t,r);return n?{id:qn.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function Zc(e,t){return{items:[{caption:e,onClick:t}]}}const tI=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=u.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:l,drilldownDimension:c,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}=vh({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),m=F.useCallback((v,y)=>{const w=[Eh(y,c),Sh(a,c,(E,_)=>{p(y,E,_)},i)];n({position:v,itemSections:w})},[c,a,i,p,n]),g=F.useMemo(()=>c&&u.jsx(gh,{filtersDisplayValues:l,currentDimension:c,clearDrilldownSelections:d,sliceDrilldownSelections:h}),[d,c,l,h]);return{drilldownDimension:c,drilldownFilters:s,breadcrumbs:g,openDrilldownMenu:m}};function Eh(e,t){const r=as(e.map(_h).filter(n=>!!n));return r.length>Th?{id:qn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:qn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function rI(e){return 30+12*e}function Sh(e,t,r,n){const[o,i]=po(e,u.MetadataTypes.isAttribute.bind(u.MetadataTypes)),a=o.map(l=>({caption:l.name,onClick:()=>r(l)})),s=i.map(l=>({caption:l.title,subItems:[{items:l.levels.map((c,p)=>({caption:c.name,class:p===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${rI(p)}px`},disabled:ct(c,t),onClick:()=>r(c,l)}))}]}));return{id:qn.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var Gi=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Rh(e){return function(t){t=u.toString(t);var r=Nf(t)?za(t):void 0,n=r?r[0]:t.charAt(0),o=r?Af(r,1).join(""):t.slice(1);return n[e]()+o}}var Oh=Rh("toUpperCase");function nI(e){return Oh(u.toString(e).toLowerCase())}function oI(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 iI(e){return function(t){return e==null?void 0:e[t]}}var aI={À:"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"},sI=iI(aI),lI=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,uI="\\u0300-\\u036f",cI="\\ufe20-\\ufe2f",dI="\\u20d0-\\u20ff",fI=uI+cI+dI,pI="["+fI+"]",hI=RegExp(pI,"g");function mI(e){return e=u.toString(e),e&&e.replace(lI,sI).replace(hI,"")}var gI=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function vI(e){return e.match(gI)||[]}var yI=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function bI(e){return yI.test(e)}var Mh="\\ud800-\\udfff",_I="\\u0300-\\u036f",xI="\\ufe20-\\ufe2f",wI="\\u20d0-\\u20ff",CI=_I+xI+wI,Ph="\\u2700-\\u27bf",Dh="a-z\\xdf-\\xf6\\xf8-\\xff",TI="\\xac\\xb1\\xd7\\xf7",EI="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",SI="\\u2000-\\u206f",RI=" \\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",kh="A-Z\\xc0-\\xd6\\xd8-\\xde",OI="\\ufe0e\\ufe0f",Ih=TI+EI+SI+RI,Ah="['’]",Jc="["+Ih+"]",MI="["+CI+"]",Nh="\\d+",PI="["+Ph+"]",$h="["+Dh+"]",Lh="[^"+Mh+Ih+Nh+Ph+Dh+kh+"]",DI="\\ud83c[\\udffb-\\udfff]",kI="(?:"+MI+"|"+DI+")",II="[^"+Mh+"]",Fh="(?:\\ud83c[\\udde6-\\uddff]){2}",Hh="[\\ud800-\\udbff][\\udc00-\\udfff]",Dr="["+kh+"]",AI="\\u200d",ed="(?:"+$h+"|"+Lh+")",NI="(?:"+Dr+"|"+Lh+")",td="(?:"+Ah+"(?:d|ll|m|re|s|t|ve))?",rd="(?:"+Ah+"(?:D|LL|M|RE|S|T|VE))?",Bh=kI+"?",jh="["+OI+"]?",$I="(?:"+AI+"(?:"+[II,Fh,Hh].join("|")+")"+jh+Bh+")*",LI="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",FI="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",HI=jh+Bh+$I,BI="(?:"+[PI,Fh,Hh].join("|")+")"+HI,jI=RegExp([Dr+"?"+$h+"+"+td+"(?="+[Jc,Dr,"$"].join("|")+")",NI+"+"+rd+"(?="+[Jc,Dr+ed,"$"].join("|")+")",Dr+"?"+ed+"+"+td,Dr+"+"+rd,FI,LI,Nh,BI].join("|"),"g");function zI(e){return e.match(jI)||[]}function WI(e,t,r){return e=u.toString(e),t=t,t===void 0?bI(e)?zI(e):vI(e):e.match(t)||[]}var VI="['’]",UI=RegExp(VI,"g");function qI(e){return function(t){return oI(WI(mI(t).replace(UI,"")),e,"")}}var zh=qI(function(e,t,r){return t=t.toLowerCase(),e+(r?nI(t):t)});function GI(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>u.createDimensionalElementFromJaql(o))}}function Wh(e,t,r){return rt(this,null,function*(){const o=yield new u.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>GI(i))})}const YI=sh("useGetHierarchyModels")(Vh);function Vh(e){const t=Sl(e,["dataSource","dimension","ids","alwaysIncluded"]),r=lh(e,t),[n,o]=F.useReducer(is,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=u.useSisenseContext();return F.useEffect(()=>{i||o({type:"error",error:new u.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),Wh(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?nd(is(n,{type:"loading"})):nd(n)}function nd(e){const n=e,{data:t}=n,r=br(n,["data"]);return J(q({},r),{hierarchies:t})}function XI({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=F.useMemo(()=>po(r,nh),[r]),{hierarchies:a=[]}=Vh({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return F.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function KI(e,t){return Pl(e,t)[0]}function QI(e){return[...u.CARTESIAN_CHART_TYPES,...u.CATEGORICAL_CHART_TYPES,...u.SCATTER_CHART_TYPES,...u.BOXPLOT_CHART_TYPES,...u.RANGE_CHART_TYPES].includes(e)}function ZI(e,t){return Pl(e,t).length===1}function JI(e,t){return ZI(e,t)&&QI(e)}function Uh(e,t,r){const n=o=>!!o&&!ct(r,u.translateColumnToAttribute(o));if(u.isCartesian(e)||u.isCategorical(e)||u.isBoxplot(e)||u.isRange(e)){const o=t.category[0];if(n(o))return J(q({},t),{category:[r]})}else if(u.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!u.isMeasureColumn(s)&&n(s))return J(q({},o),{[a]:r})}}return t}function od(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]&&!u.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[zh(`{masked ${a}`)];return{categoryValue:c,categoryDisplayValue:c}}return n})}const eA=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=uh(),l=F.useMemo(()=>JI(r,n),[r,n]),c=F.useMemo(()=>[...(i==null?void 0:i.drilldownPaths)||[],...(i==null?void 0:i.drilldownDimensions)||[]],[i==null?void 0:i.drilldownPaths,i==null?void 0:i.drilldownDimensions]),p=F.useMemo(()=>{const O=u.createAttribute({name:"dummy drilldown initial attribute"});return KI(r,n)||O},[r,n]),h=XI({attribute:p,dataSource:o,drilldownPaths:c,enabled:l}),d=F.useMemo(()=>{var M,D;return(((M=i==null?void 0:i.drilldownSelections)==null?void 0:M.length)||((D=i==null?void 0:i.drilldownDimensions)==null?void 0:D.length)||(h==null?void 0:h.length))&&l},[i,l,h]),{drilldownDimension:m,drilldownFilters:g,breadcrumbs:v,openDrilldownMenu:y}=tI({initialDimension:p,drilldownSelections:a,drilldownPaths:h,openMenu:s,onDrilldownSelectionsChange:t}),w=F.useCallback((O,M)=>{const D=od(O,M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),E=F.useCallback((O,M)=>{const D=od([O],M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),_=F.useMemo(()=>Uh(r,n,m),[r,n,m]),x=F.useMemo(()=>g.length?bd(e.filters||[],g):e.filters,[e.filters,g]),b=F.useMemo(()=>u.combineHandlers([w,e.onDataPointsSelected]),[w,e.onDataPointsSelected]),C=F.useMemo(()=>u.combineHandlers([E,e.onDataPointContextMenu]),[E,e.onDataPointContextMenu]);return{propsWithDrilldown:q(q({},e),d&&{dataOptions:_,filters:x,onDataPointsSelected:b,onDataPointContextMenu:C}),isDrilldownEnabled:d,breadcrumbs:v}},tA=ro({componentName:"ChartWidget"})(e=>{var O,M;const{app:t}=u.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:p,height:h}=i||{},d=Gf(r,{hasHeader:!((O=i==null?void 0:i.header)!=null&&O.hidden)}),[m,g]=F.useState(0),v=F.useMemo(()=>u.omit(i,["width","height"]),[i]),y=F.useCallback(D=>{c==null||c({drilldownOptions:{drilldownSelections:D}})},[c]),{propsWithDrilldown:w,isDrilldownEnabled:E,breadcrumbs:_}=eA({propsToExtend:e,onDrilldownSelectionsChange:y}),x=a7({chartType:r,dataOptions:o,enabled:!a&&!E&&!(s!=null&&s.length)}),b=(M=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:M.enabled,C=F.useCallback(D=>{var R;return b?J(q({},D),{accessibility:J(q({},D.accessibility),{description:l!=null?l:(R=D.accessibility)==null?void 0:R.description})}):D},[l,b]);if(!r||!o)return null;const S=J(q({},w),{dataSet:n,styleOptions:v,refreshCounter:m,onDataPointClick:F.useMemo(()=>u.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:w.onDataPointContextMenu,onDataPointsSelected:F.useMemo(()=>u.combineHandlers([x.onDataPointsSelected,w.onDataPointsSelected]),[x.onDataPointsSelected,w.onDataPointsSelected]),onBeforeRender:F.useMemo(()=>u.combineHandlers([C,x.onBeforeRender,e.onBeforeRender],!0),[C,x.onBeforeRender,e.onBeforeRender])});return u.jsx(Ei,{defaultSize:d,size:{width:p,height:h},children:u.jsx(rh,J(q({},e),{topSlot:u.jsxs(u.Fragment,{children:[e.topSlot,_]}),dataSetName:n&&u.getDataSourceName(n),onRefresh:()=>g(m+1),children:u.jsx(K0,q({},S))}))})});class nn{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 Gn=typeof window=="undefined"||"Deno"in window;function it(){}function rA(e,t){return typeof e=="function"?e(t):e}function ss(e){return typeof e=="number"&&e>=0&&e!==1/0}function qh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function En(e,t,r){return ho(e)?typeof t=="function"?J(q({},r),{queryKey:e,queryFn:t}):J(q({},t),{queryKey:e}):e}function nA(e,t,r){return ho(e)?J(q({},t),{mutationKey:e}):typeof e=="function"?J(q({},t),{mutationFn:e}):q({},e)}function Bt(e,t,r){return ho(e)?[J(q({},t),{queryKey:e}),r]:[e||{},t]}function id(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(ho(a)){if(n){if(t.queryHash!==Dl(a,t.options))return!1}else if(!Ir(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 ad(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(ho(i)){if(!t.options.mutationKey)return!1;if(r){if(ur(t.options.mutationKey)!==ur(i))return!1}else if(!Ir(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function Dl(e,t){return((t==null?void 0:t.queryKeyHashFn)||ur)(e)}function ur(e){return JSON.stringify(e,(t,r)=>ls(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function Ir(e,t){return Gh(e,t)}function Gh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!Gh(e[r],t[r])):!1}function Yh(e,t){if(e===t)return e;const r=sd(e)&&sd(t);if(r||ls(e)&&ls(t)){const n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{};let s=0;for(let l=0;l<i;l++){const c=r?l:o[l];a[c]=Yh(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function ti(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function sd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ls(e){if(!ld(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!ld(r)||!r.hasOwnProperty("isPrototypeOf"))}function ld(e){return Object.prototype.toString.call(e)==="[object Object]"}function ho(e){return Array.isArray(e)}function Xh(e){return new Promise(t=>{setTimeout(t,e)})}function ud(e){Xh(0).then(e)}function oA(){if(typeof AbortController=="function")return new AbortController}function us(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Yh(e,t):t}class iA extends nn{constructor(){super(),this.setup=t=>{if(!Gn&&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 ri=new iA,cd=["online","offline"];class aA extends nn{constructor(){super(),this.setup=t=>{if(!Gn&&window.addEventListener){const r=()=>t();return cd.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{cd.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 ni=new aA;function sA(e){return Math.min(1e3*Qe(2,e),3e4)}function Yi(e){return(e!=null?e:"online")==="online"?ni.isOnline():!0}class Kh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Wo(e){return e instanceof Kh}function Qh(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,w)=>{i=y,a=w}),l=y=>{n||(m(new Kh(y)),e.abort==null||e.abort())},c=()=>{t=!0},p=()=>{t=!1},h=()=>!ri.isFocused()||e.networkMode!=="always"&&!ni.isOnline(),d=y=>{n||(n=!0,e.onSuccess==null||e.onSuccess(y),o==null||o(),i(y))},m=y=>{n||(n=!0,e.onError==null||e.onError(y),o==null||o(),a(y))},g=()=>new Promise(y=>{o=w=>{const E=n||!h();return E&&y(w),E},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),v=()=>{if(n)return;let y;try{y=e.fn()}catch(w){y=Promise.reject(w)}Promise.resolve(y).then(d).catch(w=>{var E,_;if(n)return;const x=(E=e.retry)!=null?E:3,b=(_=e.retryDelay)!=null?_:sA,C=typeof b=="function"?b(r,w):b,S=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,w);if(t||!S){m(w);return}r++,e.onFail==null||e.onFail(r,w),Xh(C).then(()=>{if(h())return g()}).then(()=>{t?m(w):v()})})};return Yi(e.networkMode)?v():g().then(v),{promise:s,cancel:l,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:c,continueRetry:p}}const kl=console;function lA(){let e=[],t=0,r=p=>{p()},n=p=>{p()};const o=p=>{let h;t++;try{h=p()}finally{t--,t||s()}return h},i=p=>{t?e.push(p):ud(()=>{r(p)})},a=p=>(...h)=>{i(()=>{p(...h)})},s=()=>{const p=e;e=[],p.length&&ud(()=>{n(()=>{p.forEach(h=>{r(h)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:p=>{r=p},setBatchNotifyFunction:p=>{n=p}}}const ke=lA();class Zh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ss(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Gn?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class uA extends Zh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||kl,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||cA(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=q(q({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=us(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){this.dispatch({type:"setState",state:t,setStateOptions:r})}cancel(t){var r;const n=this.promise;return(r=this.retryer)==null||r.cancel(t),n?n.then(it).catch(it):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!qh(this.state.dataUpdatedAt,t)}onFocus(){var t;const r=this.observers.find(n=>n.shouldFetchOnWindowFocus());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const r=this.observers.find(n=>n.shouldFetchOnReconnect());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,r){var n,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&r!=null&&r.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(g=>g.options.queryFn);m&&this.setOptions(m.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const a=oA(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),p={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(p),(n=this.options.behavior)==null||n.onFetch(p),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=p.fetchOptions)==null?void 0:o.meta)){var h;this.dispatch({type:"fetch",meta:(h=p.fetchOptions)==null?void 0:h.meta})}const d=m=>{if(Wo(m)&&m.silent||this.dispatch({type:"error",error:m}),!Wo(m)){var g,v,y,w;(g=(v=this.cache.config).onError)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,this.state.data,m,this),process.env.NODE_ENV!=="production"&&this.logger.error(m)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Qh({fn:p.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:m=>{var g,v,y,w;if(typeof m=="undefined"){process.env.NODE_ENV!=="production"&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),d(new Error(this.queryHash+" data is undefined"));return}this.setData(m),(g=(v=this.cache.config).onSuccess)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,m,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(m,g)=>{this.dispatch({type:"failed",failureCount:m,error:g})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return J(q({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return J(q({},n),{fetchStatus:"paused"});case"continue":return J(q({},n),{fetchStatus:"fetching"});case"fetch":return q(J(q({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Yi(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return q(J(q({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const a=t.error;return Wo(a)&&a.revert&&this.revertState?J(q({},this.revertState),{fetchStatus:"idle"}):J(q({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return J(q({},n),{isInvalidated:!0});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function cA(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 dA extends nn{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:Dl(i,r);let s=this.get(a);return s||(s=new uA({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const r=this.queriesMap[t.queryHash];r&&(t.destroy(),this.queries=this.queries.filter(n=>n!==t),r===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){ke.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=Bt(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>id(n,o))}findAll(t,r){const[n]=Bt(t,r);return Object.keys(n).length>0?this.queries.filter(o=>id(n,o)):this.queries}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){ke.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){ke.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class fA extends Zh{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||kl,this.observers=[],this.state=t.state||Jh(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=q(q({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,r;return(t=(r=this.retryer)==null?void 0:r.continue())!=null?t:this.execute()}execute(){return rt(this,null,function*(){const t=()=>{var S;return this.retryer=Qh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(O,M)=>{this.dispatch({type:"failed",failureCount:O,error:M})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(S=this.options.retry)!=null?S:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,l,c,p;if(!r){var h,d,m,g;this.dispatch({type:"loading",variables:this.options.variables}),yield(h=(d=this.mutationCache.config).onMutate)==null?void 0:h.call(d,this.state.variables,this);const O=yield(m=(g=this.options).onMutate)==null?void 0:m.call(g,this.state.variables);O!==this.state.context&&this.dispatch({type:"loading",context:O,variables:this.state.variables})}const S=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,S,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,S,this.state.variables,this.state.context),yield(s=(l=this.mutationCache.config).onSettled)==null?void 0:s.call(l,S,null,this.state.variables,this.state.context,this),yield(c=(p=this.options).onSettled)==null?void 0:c.call(p,S,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:S}),S}catch(S){try{var v,y,w,E,_,x,b,C;throw yield(v=(y=this.mutationCache.config).onError)==null?void 0:v.call(y,S,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(S),yield(w=(E=this.options).onError)==null?void 0:w.call(E,S,this.state.variables,this.state.context),yield(_=(x=this.mutationCache.config).onSettled)==null?void 0:_.call(x,void 0,S,this.state.variables,this.state.context,this),yield(b=(C=this.options).onSettled)==null?void 0:b.call(C,void 0,S,this.state.variables,this.state.context),S}finally{this.dispatch({type:"error",error:S})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return J(q({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return J(q({},n),{isPaused:!0});case"continue":return J(q({},n),{isPaused:!1});case"loading":return J(q({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Yi(this.options.networkMode),status:"loading",variables:t.variables});case"success":return J(q({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return J(q({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Jh(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class pA extends nn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new fA({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(r),state:n,defaultOptions:r.mutationKey?t.getMutationDefaults(r.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(r=>r!==t),this.notify({type:"removed",mutation:t})}clear(){ke.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(r=>ad(t,r))}findAll(t){return this.mutations.filter(r=>ad(t,r))}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const r=this.mutations.filter(n=>n.state.isPaused);return ke.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(it)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function hA(){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,p=(l==null?void 0:l.direction)==="forward",h=(l==null?void 0:l.direction)==="backward",d=((i=e.state.data)==null?void 0:i.pages)||[],m=((a=e.state.data)==null?void 0:a.pageParams)||[];let g=m,v=!1;const y=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)v=!0;else{var O;(O=e.signal)==null||O.addEventListener("abort",()=>{v=!0})}return e.signal}})},w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),E=(C,S,O,M)=>(g=M?[S,...g]:[...g,S],M?[O,...C]:[...C,O]),_=(C,S,O,M)=>{if(v)return Promise.reject("Cancelled");if(typeof O=="undefined"&&!S&&C.length)return Promise.resolve(C);const D={queryKey:e.queryKey,pageParam:O,meta:e.options.meta};y(D);const R=w(D);return Promise.resolve(R).then(I=>E(C,O,I,M))};let x;if(!d.length)x=_([]);else if(p){const C=typeof c!="undefined",S=C?c:dd(e.options,d);x=_(d,C,S)}else if(h){const C=typeof c!="undefined",S=C?c:mA(e.options,d);x=_(d,C,S,!0)}else{g=[];const C=typeof e.options.getNextPageParam=="undefined";x=(s&&d[0]?s(d[0],0,d):!0)?_([],C,m[0]):Promise.resolve(E([],m[0],d[0]));for(let O=1;O<d.length;O++)x=x.then(M=>{if(s&&d[O]?s(d[O],O,d):!0){const R=C?m[O]:dd(e.options,M);return _(M,C,R)}return Promise.resolve(E(M,m[O],d[O]))})}return x.then(C=>({pages:C,pageParams:g}))}}}}function dd(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function mA(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class gA{constructor(t={}){this.queryCache=t.queryCache||new dA,this.mutationCache=t.mutationCache||new pA,this.logger=t.logger||kl,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=ri.subscribe(()=>{ri.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=ni.subscribe(()=>{ni.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]=Bt(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll(J(q({},t),{fetching:!0})).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}ensureQueryData(t,r,n){const o=En(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=rA(r,i);if(typeof a=="undefined")return;const s=En(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,J(q({},n),{manual:!0}))}setQueriesData(t,r,n){return ke.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,r,n)]))}getQueryState(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state}removeQueries(t,r){const[n]=Bt(t,r),o=this.queryCache;ke.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=Bt(t,r,n),a=this.queryCache,s=q({type:"active"},o);return ke.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=Bt(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=ke.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(it).catch(it)}invalidateQueries(t,r,n){const[o,i]=Bt(t,r,n);return ke.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(c=>{c.invalidate()}),o.refetchType==="none")return Promise.resolve();const l=J(q({},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]=Bt(t,r,n),a=ke.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,J(q({},i),{cancelRefetch:(c=i==null?void 0:i.cancelRefetch)!=null?c:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(it);return i!=null&&i.throwOnError||(s=s.catch(it)),s}fetchQuery(t,r,n){const o=En(t,r,n),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,r,n){return this.fetchQuery(t,r,n).then(it).catch(it)}fetchInfiniteQuery(t,r,n){const o=En(t,r,n);return o.behavior=hA(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(it).catch(it)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,r){const n=this.queryDefaults.find(o=>ur(t)===ur(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>Ir(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>Ir(t,o.queryKey)).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(t)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."),r==null?void 0:r.defaultOptions}setMutationDefaults(t,r){const n=this.mutationDefaults.find(o=>ur(t)===ur(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>Ir(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>Ir(t,o.mutationKey)).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(t)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults."),r==null?void 0:r.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const r=J(q(q(q({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=Dl(r.queryKey,r)),typeof r.refetchOnReconnect=="undefined"&&(r.refetchOnReconnect=r.networkMode!=="always"),typeof r.useErrorBoundary=="undefined"&&(r.useErrorBoundary=!!r.suspense),r}defaultMutationOptions(t){return t!=null&&t._defaulted?t:J(q(q(q({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class vA extends nn{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),fd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return cs(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return cs(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"),ti(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&&pd(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 bA(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=br(o,["refetchPage"]);return this.fetch(J(q({},r),{meta:{refetchPage:t}}))}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch(J(q({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(it)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),Gn||this.currentResult.isStale||!ss(this.options.staleTime))return;const r=qh(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,!(Gn||this.options.enabled===!1||!ss(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||ri.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,p=l?this.currentResult:this.previousQueryResult,{state:h}=t;let{dataUpdatedAt:d,error:m,errorUpdatedAt:g,fetchStatus:v,status:y}=h,w=!1,E=!1,_;if(r._optimisticResults){const O=this.hasListeners(),M=!O&&fd(t,r),D=O&&pd(t,n,r,o);(M||D)&&(v=Yi(t.options.networkMode)?"fetching":"paused",d||(y="loading")),r._optimisticResults==="isRestoring"&&(v="idle")}if(r.keepPreviousData&&!h.dataUpdatedAt&&p!=null&&p.isSuccess&&y!=="error")_=p.data,d=p.dataUpdatedAt,y=p.status,w=!0;else if(r.select&&typeof h.data!="undefined")if(i&&h.data===(a==null?void 0:a.data)&&r.select===this.selectFn)_=this.selectResult;else try{this.selectFn=r.select,_=r.select(h.data),_=us(i==null?void 0:i.data,_,r),this.selectResult=_,this.selectError=null}catch(O){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(O),this.selectError=O}else _=h.data;if(typeof r.placeholderData!="undefined"&&typeof _=="undefined"&&y==="loading"){let O;if(i!=null&&i.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))O=i.data;else if(O=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof O!="undefined")try{O=r.select(O),this.selectError=null}catch(M){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(M),this.selectError=M}typeof O!="undefined"&&(y="success",_=us(i==null?void 0:i.data,O,r),E=!0)}this.selectError&&(m=this.selectError,_=this.selectResult,g=Date.now(),y="error");const x=v==="fetching",b=y==="loading",C=y==="error";return{status:y,fetchStatus:v,isLoading:b,isSuccess:y==="success",isError:C,isInitialLoading:b&&x,data:_,dataUpdatedAt:d,error:m,errorUpdatedAt:g,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!b,isLoadingError:C&&h.dataUpdatedAt===0,isPaused:v==="paused",isPlaceholderData:E,isPreviousData:w,isRefetchError:C&&h.dataUpdatedAt!==0,isStale:Il(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,ti(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 p=c;return this.currentResult[p]!==r[p]&&l.has(p)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(q(q({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!Wo(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){ke.batch(()=>{if(t.onSuccess){var r,n,o,i;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,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:p})=>{p(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function yA(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function fd(e,t){return yA(e,t)||e.state.dataUpdatedAt>0&&cs(e,t,t.refetchOnMount)}function cs(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Il(e,t)}return!1}function pd(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Il(e,r)}function Il(e,t){return e.isStaleByTime(t.staleTime)}function bA(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!ti(e.getCurrentResult(),t)}var ds={exports:{}},wa={};/**
|
|
255
|
+
`)),z.isValidElement(S))).map((S,O)=>te.jsx("li",{className:E.li,children:S},`child-${O}`));return te.jsx(v7,u._extends({ref:r,component:a,color:"text.secondary",className:se(E.root,i),ownerState:w},g,{children:te.jsx(y7,{className:E.ol,ref:x,ownerState:w,children:_7(v||d&&C.length<=d?C:b(C),E.separator,m,w)})}))});process.env.NODE_ENV!=="production"&&(fh.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,expandText:f.string,itemsAfterCollapse:bt,itemsBeforeCollapse:bt,maxItems:bt,separator:f.node,slotProps:f.shape({collapsedIcon:f.oneOfType([f.func,f.object])}),slots:f.shape({CollapsedIcon:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});function x7(e){return we("MuiButton",e)}const No=Ce("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),ph=z.createContext({});process.env.NODE_ENV!=="production"&&(ph.displayName="ButtonGroupContext");const hh=z.createContext(void 0);process.env.NODE_ENV!=="production"&&(hh.displayName="ButtonGroupButtonContext");const w7=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],C7=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${fe(t)}`,`size${fe(o)}`,`${i}Size${fe(o)}`,`color${fe(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${fe(o)}`],endIcon:["icon","endIcon",`iconSize${fe(o)}`]},l=De(s,x7,a);return u._extends({},a,l)},mh=e=>u._extends({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),T7=le(hr,{shouldForwardProp:e=>Zn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${fe(r.color)}`],t[`size${fe(r.size)}`],t[`${r.variant}Size${fe(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return u._extends({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":u._extends({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":u._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${No.focusVisible}`]:u._extends({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${No.disabled}`]:u._extends({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Pe(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${No.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${No.disabled}`]:{boxShadow:"none"}}),E7=le("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>u._extends({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},mh(e))),S7=le("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${fe(r.size)}`]]}})(({ownerState:e})=>u._extends({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},mh(e))),Un=z.forwardRef(function(t,r){const n=z.useContext(ph),o=z.useContext(hh),i=wf(n,t),a=Re({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:p,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:v,fullWidth:y=!1,size:w="medium",startIcon:E,type:_,variant:x="text"}=a,b=ae(a,w7),C=u._extends({},a,{color:l,component:c,disabled:h,disableElevation:d,disableFocusRipple:m,fullWidth:y,size:w,type:_,variant:x}),S=C7(C),O=E&&te.jsx(E7,{className:S.startIcon,ownerState:C,children:E}),M=g&&te.jsx(S7,{className:S.endIcon,ownerState:C,children:g}),D=o||"";return te.jsxs(T7,u._extends({ownerState:C,className:se(n.className,S.root,p,D),component:c,disabled:h,focusRipple:!m,focusVisibleClassName:se(S.focusVisible,v),ref:r,type:_},b,{classes:S,children:[O,s,M]}))});process.env.NODE_ENV!=="production"&&(Un.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary","success","error","info","warning"]),f.string]),component:f.elementType,disabled:f.bool,disableElevation:f.bool,disableFocusRipple:f.bool,disableRipple:f.bool,endIcon:f.node,focusVisibleClassName:f.string,fullWidth:f.bool,href:f.string,size:f.oneOfType([f.oneOf(["small","medium","large"]),f.string]),startIcon:f.node,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),type:f.oneOfType([f.oneOf(["button","reset","submit"]),f.string]),variant:f.oneOfType([f.oneOf(["contained","outlined","text"]),f.string])});const R7=({clearDrilldownSelections:e,currentDimension:t,setIsHovered:r,themeProps:n})=>{const{t:o}=u.useTranslation(),i=t.name,a=u.newStyled(Un,{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=u.newStyled("svg",{target:"e1olvz1k1",label:"Icon"})("width:22px;height:22px;fill:#9ea2ab;"),l=()=>u.jsx(a,{theme:n,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onClick:e,children:u.jsx(s,{width:22,height:22,viewBox:"0 0 24 24",children:u.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=u.newStyled(Un,{target:"e1olvz1k2",label:"StyledCurrentDrillButton"})("&&{position:relative;font-family:",h=>h.theme.fontFamily,";border-radius:0;border:1px solid ",wt,";background-color:",h=>h.theme.chartBackgroundColor,";border-right:none;border-left:none;color:",h=>h.theme.secondaryTextColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;transition:background-color 0.2s,border-color 0.2s,color 0.2s;text-transform:none;cursor:auto;pointer-events:none;white-space:nowrap;&:hover{background-color:",h=>h.theme.chartBackgroundColor,";border:1px solid ",wt,";border-right:none;border-left:none;}}");return{CancelButton:l,CurrentDrillButton:()=>u.jsxs(c,{theme:n,children:[i," (",o("drilldown.breadcrumbsAllSuffix"),")",u.jsx("span",{className:"flex items-center justify-between",children:u.jsx("span",{className:"csdk-absolute csdk-right-[0px] csdk-top-[3px] csdk-h-[18px] csdk-w-[18px] csdk-transform csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:"transparent",borderTop:`1px solid ${wt}`,borderRight:`1px solid ${wt}`}})})]})}},O7={modifiers:[{name:"offset",options:{offset:[0,12]}}]},M7=({themeProps:e,filterDisplayValues:t,currentTable:r,currentColumn:n})=>{const{t:o}=u.useTranslation();return u.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:[u.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.members")}),u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:t.join(", ")})]}),u.jsxs("div",{className:"csdk-border-b csdk-border-[#e4e4e4] csdk-p-3 csdk-pl-1",children:[u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.table")}),u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:r})]}),u.jsxs("div",{className:"csdk-p-3 csdk-pl-1",children:[u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:11,children:o("drilldown.popover.column")}),u.jsx(Ze,{variant:"body2",fontFamily:e.fontFamily,fontSize:13,children:n})]})]})},P7=({popperParams:e,currentDimension:t,themeProps:r})=>{const n=t.expression.match(/\[(.*?)]/),[o,i]=n?n[1].split("."):["",""],a=!!e;return u.jsx(fo,{open:a,anchorEl:e==null?void 0:e.anchorEl,placement:"bottom",popperOptions:O7,children:e&&u.jsx(M7,{themeProps:r,filterDisplayValues:e.filterDisplayValues,currentTable:o,currentColumn:i})})},D7=()=>{const{themeSettings:{typography:{primaryTextColor:e,secondaryTextColor:t,fontFamily:r},general:{backgroundColor:n,brandColor:o,primaryButtonTextColor:i},chart:{backgroundColor:a}}}=u.useThemeContext(),s=u.scaleBrightness(a,-.02),l=u.scaleBrightness(s,-.05);return{primaryTextColor:e,secondaryTextColor:t,fontFamily:r,backgroundColor:n,brandColor:o,primaryButtonTextColor:i,chartBackgroundColor:a,activeDrillBackgroundColor:s,activeDrillHoverBackgroundColor:l}},k7=u.newStyled(jr,{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;}}}"),I7=u.newStyled(jr,{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;}}}"),A7=({currentDimension:e,children:t})=>{const{t:r}=u.useTranslation(),n=F.useRef(null),[o,i]=F.useState(0),[a,s]=F.useState(0),[l,c]=F.useState(0),p=()=>{var g;return(g=n.current)==null?void 0:g.querySelector("ol")};F.useEffect(()=>{const g=p();if(g){const v=g.clientWidth,y=g.scrollWidth,w=g.scrollLeft;i(v),s(y),c(w)}},[e]),F.useEffect(()=>{const g=p();function v(){if(g){const E=g.clientWidth;i(E)}}function y(){if(g){const E=g.scrollLeft;c(E)}}const w=new ResizeObserver(v);return g?(w.observe(g),g.addEventListener("scroll",y),()=>{w.disconnect(),g.removeEventListener("scroll",y)}):()=>{}},[]);const h=g=>{const y="smooth",w=p();w&&w.scrollBy({left:g==="right"?200:-200,behavior:y})},d=l!=0,m=Math.floor(a-l)>o;return u.jsxs("div",{style:{position:"relative"},children:[d&&u.jsx(k7,{onClick:()=>h("left"),children:u.jsx("span",{"aria-label":"prev-item",children:r("drilldown.breadcrumbsPrev")})}),m&&u.jsx(I7,{onClick:()=>h("right"),children:u.jsx("span",{"aria-label":"next-item",children:r("drilldown.breadcrumbsNext")})}),u.jsx("div",{ref:n,children:t})]})},wt="#F2F2F2",N7=u.newStyled(Un,{target:"ex0ybhj0",label:"StyledDrillButton"})("&&{font-family:",({theme:e})=>e.fontFamily,";position:relative;border-radius:0;border:1px solid ",wt,";border-right:none;color:",({active:e,theme:t})=>e==="true"?t.primaryTextColor:t.secondaryTextColor,";background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillBackgroundColor:t.chartBackgroundColor,";padding-right:1.25rem;padding-left:1.875rem;height:1.64rem;font-size:13px;text-transform:none;transition:background-color 0.2s,border-color 0.2s,color 0.2s;white-space:nowrap;cursor:",({active:e})=>e==="true"?"pointer":"auto",";margin-right:",({active:e})=>e==="true"?"5px":"0px",";&:hover{background-color:",({active:e,theme:t})=>e==="true"?t.activeDrillHoverBackgroundColor:t.chartBackgroundColor,";border:1px solid ",wt,";border-right:none;}.MuiTouchRipple-root{display:none;}}"),$7=u.newStyled(fh,{target:"ex0ybhj1",label:"StyledBreadcrumbs"})(".MuiBreadcrumbs-ol{flex-wrap:nowrap;overflow:hidden;}.MuiBreadcrumbs-separator{display:none;}"),L7=({isActive:e,filterDisplayValue:t,handleMouseEnter:r,handleMouseLeave:n,handleClick:o,themeProps:i,popperParams:a,index:s})=>u.jsx(N7,{theme:i,active:e.toString(),index:s,onMouseEnter:r,onMouseLeave:n,onClick:o,children:u.jsxs("span",{className:"flex items-center justify-between",children:[u.jsxs("span",{className:"mr-2",children:[t.slice(0,2).join(", "),t.length>2&&", ..."]}),e?u.jsx("span",{className:"csdk-absolute csdk-right-0 csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-translate-x-1/2 csdk-rotate-45",style:{backgroundColor:t===(a==null?void 0:a.filterDisplayValues)?i.activeDrillHoverBackgroundColor:i.activeDrillBackgroundColor,borderTop:`1px solid ${wt}`,borderRight:`1px solid ${wt}`,transition:"background-color 0.2s, border-color 0.2s, color 0.2s",zIndex:8}}):void 0,u.jsx("span",{className:`csdk-absolute ${e?"csdk-h-[18px] csdk-w-[18px] csdk-top-[3px] csdk-right-[-15px]":"csdk-h-[10px] csdk-w-[10px] csdk-top-[7px] csdk-right-[-5px]"} csdk-transform translate-x-1/2 csdk-rotate-45`,style:{backgroundColor:i.chartBackgroundColor,borderTop:`1px solid ${wt}`,borderRight:`1px solid ${wt}`,zIndex:7,transition:"background-color 0.2s, border-color 0.2s, color 0.2s"}})]})}),gh=ro({componentName:"DrilldownBreadcrumbs",shouldSkipSisenseContextWaiting:!0})(({filtersDisplayValues:e,currentDimension:t,clearDrilldownSelections:r,sliceDrilldownSelections:n})=>{const[o,i]=F.useState(null),[a,s]=F.useState(!1),l=D7(),{CancelButton:c,CurrentDrillButton:p}=R7({clearDrilldownSelections:r,currentDimension:t,isHovered:a,setIsHovered:s,themeProps:l}),h=v=>y=>{s(!0),i({filterDisplayValues:v,anchorEl:y.currentTarget})},d=()=>{s(!1),i(null)},m=v=>v<e.length-1,g=v=>v===e.length-2;return e.length?u.jsx("div",{"aria-label":"drilldown-breadcrumbs",children:u.jsx(A7,{currentDimension:t,children:u.jsxs($7,{separator:null,sx:{backgroundColor:l.chartBackgroundColor,padding:"4px"},children:[u.jsx(c,{}),e.map((v,y)=>{const w=m(y),E=g(y);return u.jsx("div",{children:u.jsx(L7,{isActive:w,isLastActive:E,filterDisplayValue:v,handleMouseEnter:h(v),handleMouseLeave:d,handleClick:()=>n(y+1),themeProps:l,popperParams:o,index:y})},y)}),u.jsx(p,{}),u.jsx(P7,{popperParams:o,currentDimension:t,themeProps:l})]})})}):null}),vh=e=>{const{initialDimension:t,onDrilldownSelectionsChange:r}=e,n=F.useMemo(()=>e.drilldownPaths||[],[e.drilldownPaths]),o=F.useMemo(()=>e.drilldownSelections||[],[e.drilldownSelections]),{t:i}=u.useTranslation();if(!t)throw new u.TranslatableError("errors.drilldownNoInitialDimension");const[a,s]=Ml(o,{onLocalStateChange:r}),l=F.useMemo(()=>[u.translateColumnToAttribute(t),...a.map(({nextDimension:y})=>y)],[t,a]),c=F.useMemo(()=>n.filter(y=>{if(u.MetadataTypes.isAttribute(y)){const _=y;return l.every(x=>!ct(x,_))}const E=y;return l.every((_,x)=>ct(_,E.levels[x]))}),[n,l]),p=F.useCallback((y,w,E)=>{s(_=>yh(_,y,w,E))},[s]),h=F.useCallback(y=>{s(w=>w.slice(0,y))},[s]),d=F.useCallback(()=>{s([])},[s]),{drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v}=F.useMemo(()=>bh(a,t,i),[a,t,i]);return{drilldownSelections:a,availableDrilldownPaths:c,drilldownFilters:m,drilldownFiltersDisplayValues:g,drilldownDimension:v,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}},yh=(e,t,r,n)=>{var d,m;if(!(n!=null&&n.levels))return[...e,{points:t,nextDimension:r}];if(ct(n.levels[0],r))return[];const i=(d=e==null?void 0:e.findIndex(g=>ct(g.nextDimension,r)))!=null?d:-1;if(i!==-1)return e.slice(0,i+1);const s=(m=u.last(e))==null?void 0:m.nextDimension,l=e.length?n.levels.findIndex(g=>s&&ct(g,s)):0,c=n.levels.indexOf(r),h=n.levels.slice(l+1,c+1).map((g,v)=>({points:v===0?t:[],nextDimension:g}));return[...e,...h]},bh=(e,t,r)=>{let n=t&&u.translateColumnToAttribute(t);const o=[],i=[];return e.forEach(({points:a,nextDimension:s})=>{o.push(u.members(n,a.map(F7)));const l=a.length?a.map(_h):[`${n.name} (${r("drilldown.breadcrumbsAllSuffix")})`];i.push(l),n=s}),{drilldownFilters:o,drilldownFiltersDisplayValues:i,drilldownDimension:n}};function _h(e){return"categoryDisplayValue"in e?`${e.categoryDisplayValue}`:"categoryValue"in e?`${e.categoryValue}`:""}function F7(e){return"categoryValue"in e?`${e.categoryValue}`:""}var H7=Object.prototype,B7=H7.hasOwnProperty,j7=ch(function(e,t,r){B7.call(e,r)?e[r].push(t):u.baseAssignValue(e,r,[t])});function z7(e,t){return t.all?[]:e.filter(r=>{var n;return!((n=t.ids)!=null&&n.includes(r.config.guid))})}function xh(e,t){return e.find(r=>ct(r.attribute,t))}function wh(e,t,r){const n=xh(r,e);return u.members(e,t.map(o=>`${o}`),{guid:n==null?void 0:n.config.guid,backgroundFilter:n==null?void 0:n.config.backgroundFilter})}function Ch(e,t){return Ol(e,t)&&"members"in e&&"members"in t&&u.isEqual(e.members,t.members)}var qn=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 Th=2;function rn(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=j7(r,({id:o})=>o);return Object.values(n).map(o=>({attribute:o[0].attribute,values:as(o.map(({value:i})=>i)),displayValues:as(o.map(({displayValue:i})=>i))}))}function W7(e){return rn(e,["category"])}function V7(e){return rn(e,["category"])}function U7(e,t){const r=rn(e,["category"]),n=r.length-1;return t.category.map((o,i)=>n===i?r[i]:{attribute:u.translateColumnToAttribute(o),values:[],displayValues:[]})}function q7(e){return rn(e,["x","y","breakByPoint","breakByColor"])}function G7(e){return rn(e,["geo"])}function Y7(e){return rn(e,["geo"])}function zo(e,t,r){return e==="plugin"?[]:e==="text"?[]:e==="pivot"?[]:e==="treemap"||e==="sunburst"?U7(r,t):u.isCartesian(e)||e==="pie"||e==="funnel"?W7(r):u.isBoxplot(e)?V7(r):u.isScatter(e)?q7(r):u.isScattermap(e)?G7(r):u.isAreamap(e)?Y7(r):[]}function Pl(e,t){let r=[];return e==="plugin"?r=[]:e==="text"?r=[]:e==="pivot"?r=[...t.rows||[],...t.columns||[]]:u.isCartesian(e)||u.isCategorical(e)||u.isBoxplot(e)||u.isRange(e)?r=[...t.category]:u.isScatter(e)?r=[t.x,t.y,t.breakByPoint,t.breakByColor].filter(n=>!!(n&&!u.isMeasureColumn(n))):(u.isScattermap(e)||u.isAreamap(e))&&(r=[...t.geo]),r.map(u.translateColumnToAttribute)}function X7(e,t,r){const n=xh(t,e.attribute);if(!n||Rl(n))return null;if(Ch(e,n))return qi(e);if(u.isMembersFilter(n)&&r){const[o,i]=po(n.members,s=>e.members.includes(s));if(o.length===e.members.length&&i.length)return wh(e.attribute,i,[n])}return null}function K7(e,t,r){const n=t.filter(a=>!a.config.disabled),o=e.map(a=>X7(a,n,r)).filter(a=>!!a),i=e.length!==o.length;return{filters:i?e:o,isSelection:i}}function xa(e,t,r=!1){const n=e.map(({attribute:i,values:a})=>wh(i,a,t)),o=Q7(t,n);return K7(o,t,r)}function Q7(e,t){const r=e.filter(n=>n.config.locked);return r.length?t.filter(n=>!r.some(o=>Ol(o,n))):t}function Z7(e,t,r){const n=zo(e,t,r).filter(({displayValues:s})=>s.length);if(n.length===0)return"";const[o]=n,i=r.length===1,a=o.displayValues.length>Th;return n.length>1?i?n.map(s=>s.displayValues[0]).join(", "):a?"":o.displayValues.join(", "):a?o.attribute.name:o.displayValues.join(", ")}function Qc(e,t,r){const n=Z7(e,t,r);return n?{id:qn.CROSSFILTERING_CHART_POINTS_SELECTION,sectionTitle:n}:null}function Zc(e,t){return{items:[{caption:e,onClick:t}]}}const J7=({initialDimension:e,drilldownPaths:t,drilldownSelections:r,openMenu:n,onDrilldownSelectionsChange:o})=>{const{t:i}=u.useTranslation(),{availableDrilldownPaths:a,drilldownFilters:s,drilldownFiltersDisplayValues:l,drilldownDimension:c,selectDrilldown:p,sliceDrilldownSelections:h,clearDrilldownSelections:d}=vh({initialDimension:e,drilldownPaths:t,drilldownSelections:r,onDrilldownSelectionsChange:o}),m=F.useCallback((v,y)=>{const w=[Eh(y,c),Sh(a,c,(E,_)=>{p(y,E,_)},i)];n({position:v,itemSections:w})},[c,a,i,p,n]),g=F.useMemo(()=>c&&u.jsx(gh,{filtersDisplayValues:l,currentDimension:c,clearDrilldownSelections:d,sliceDrilldownSelections:h}),[d,c,l,h]);return{drilldownDimension:c,drilldownFilters:s,breadcrumbs:g,openDrilldownMenu:m}};function Eh(e,t){const r=as(e.map(_h).filter(n=>!!n));return r.length>Th?{id:qn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:t.name}:{id:qn.DRILLDOWN_CHART_POINTS_SELECTION,sectionTitle:r.join(", ")}}function eI(e){return 30+12*e}function Sh(e,t,r,n){const[o,i]=po(e,u.MetadataTypes.isAttribute.bind(u.MetadataTypes)),a=o.map(l=>({caption:l.name,onClick:()=>r(l)})),s=i.map(l=>({caption:l.title,subItems:[{items:l.levels.map((c,p)=>({caption:c.name,class:p===0?"":"csdk-drilldown-hierarchy-nested-menu-item",style:{paddingLeft:`${eI(p)}px`},disabled:ct(c,t),onClick:()=>r(c,l)}))}]}));return{id:qn.DRILLDOWN_DRILL_DIRECTIONS,sectionTitle:n("drilldown.drillMenuItem"),items:[...s,...a]}}var Gi=function(e){return e.HIGHLIGHT="highlight",e.FILTER="filter",e}({});function Rh(e){return function(t){t=u.toString(t);var r=Nf(t)?za(t):void 0,n=r?r[0]:t.charAt(0),o=r?Af(r,1).join(""):t.slice(1);return n[e]()+o}}var Oh=Rh("toUpperCase");function tI(e){return Oh(u.toString(e).toLowerCase())}function rI(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 nI(e){return function(t){return e==null?void 0:e[t]}}var oI={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},iI=nI(oI),aI=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,sI="\\u0300-\\u036f",lI="\\ufe20-\\ufe2f",uI="\\u20d0-\\u20ff",cI=sI+lI+uI,dI="["+cI+"]",fI=RegExp(dI,"g");function pI(e){return e=u.toString(e),e&&e.replace(aI,iI).replace(fI,"")}var hI=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function mI(e){return e.match(hI)||[]}var gI=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function vI(e){return gI.test(e)}var Mh="\\ud800-\\udfff",yI="\\u0300-\\u036f",bI="\\ufe20-\\ufe2f",_I="\\u20d0-\\u20ff",xI=yI+bI+_I,Ph="\\u2700-\\u27bf",Dh="a-z\\xdf-\\xf6\\xf8-\\xff",wI="\\xac\\xb1\\xd7\\xf7",CI="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",TI="\\u2000-\\u206f",EI=" \\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",kh="A-Z\\xc0-\\xd6\\xd8-\\xde",SI="\\ufe0e\\ufe0f",Ih=wI+CI+TI+EI,Ah="['’]",Jc="["+Ih+"]",RI="["+xI+"]",Nh="\\d+",OI="["+Ph+"]",$h="["+Dh+"]",Lh="[^"+Mh+Ih+Nh+Ph+Dh+kh+"]",MI="\\ud83c[\\udffb-\\udfff]",PI="(?:"+RI+"|"+MI+")",DI="[^"+Mh+"]",Fh="(?:\\ud83c[\\udde6-\\uddff]){2}",Hh="[\\ud800-\\udbff][\\udc00-\\udfff]",Dr="["+kh+"]",kI="\\u200d",ed="(?:"+$h+"|"+Lh+")",II="(?:"+Dr+"|"+Lh+")",td="(?:"+Ah+"(?:d|ll|m|re|s|t|ve))?",rd="(?:"+Ah+"(?:D|LL|M|RE|S|T|VE))?",Bh=PI+"?",jh="["+SI+"]?",AI="(?:"+kI+"(?:"+[DI,Fh,Hh].join("|")+")"+jh+Bh+")*",NI="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$I="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",LI=jh+Bh+AI,FI="(?:"+[OI,Fh,Hh].join("|")+")"+LI,HI=RegExp([Dr+"?"+$h+"+"+td+"(?="+[Jc,Dr,"$"].join("|")+")",II+"+"+rd+"(?="+[Jc,Dr+ed,"$"].join("|")+")",Dr+"?"+ed+"+"+td,Dr+"+"+rd,$I,NI,Nh,FI].join("|"),"g");function BI(e){return e.match(HI)||[]}function jI(e,t,r){return e=u.toString(e),t=t,t===void 0?vI(e)?BI(e):mI(e):e.match(t)||[]}var zI="['’]",WI=RegExp(zI,"g");function VI(e){return function(t){return rI(jI(pI(t).replace(WI,"")),e,"")}}var zh=VI(function(e,t,r){return t=t.toLowerCase(),e+(r?tI(t):t)});function UI(e){const{_id:t,title:r,levels:n}=e;return{id:t,title:r,levels:n.map(o=>u.createDimensionalElementFromJaql(o))}}function Wh(e,t,r){return rt(this,null,function*(){const o=yield new u.RestApi(e,r).getHierarchies(t);return o==null?void 0:o.map(i=>UI(i))})}const qI=sh("useGetHierarchyModels")(Vh);function Vh(e){const t=Sl(e,["dataSource","dimension","ids","alwaysIncluded"]),r=lh(e,t),[n,o]=F.useReducer(is,{isLoading:!0,isError:!1,isSuccess:!1,status:"loading",error:void 0,data:void 0}),{isInitialized:i,app:a}=u.useSisenseContext();return F.useEffect(()=>{i||o({type:"error",error:new u.TranslatableError("errors.sisenseContextNotFound")}),r(a)&&(o({type:"loading"}),Wh(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?nd(is(n,{type:"loading"})):nd(n)}function nd(e){const n=e,{data:t}=n,r=br(n,["data"]);return J(q({},r),{hierarchies:t})}function GI({attribute:e,dataSource:t,drilldownPaths:r=[],enabled:n}){const[o,i]=F.useMemo(()=>po(r,nh),[r]),{hierarchies:a=[]}=Vh({enabled:n,dataSource:t,dimension:e,ids:o,alwaysIncluded:!0});return F.useMemo(()=>a.length?[...a,...i]:i,[a,i])}function YI(e,t){return Pl(e,t)[0]}function XI(e){return[...u.CARTESIAN_CHART_TYPES,...u.CATEGORICAL_CHART_TYPES,...u.SCATTER_CHART_TYPES,...u.BOXPLOT_CHART_TYPES,...u.RANGE_CHART_TYPES].includes(e)}function KI(e,t){return Pl(e,t).length===1}function QI(e,t){return KI(e,t)&&XI(e)}function Uh(e,t,r){const n=o=>!!o&&!ct(r,u.translateColumnToAttribute(o));if(u.isCartesian(e)||u.isCategorical(e)||u.isBoxplot(e)||u.isRange(e)){const o=t.category[0];if(n(o))return J(q({},t),{category:[r]})}else if(u.isScatter(e)){const o=t,i=["x","y","breakByPoint","breakByColor"];for(const a of i){const s=o[a];if(s&&!u.isMeasureColumn(s)&&n(s))return J(q({},o),{[a]:r})}}return t}function od(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]&&!u.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[zh(`{masked ${a}`)];return{categoryValue:c,categoryDisplayValue:c}}return n})}const ZI=({propsToExtend:e,onDrilldownSelectionsChange:t})=>{const{chartType:r,dataOptions:n,dataSource:o,drilldownOptions:i}=e,{drilldownSelections:a}=i||{},{openMenu:s}=uh(),l=F.useMemo(()=>QI(r,n),[r,n]),c=F.useMemo(()=>(i==null?void 0:i.drilldownPaths)||[],[i==null?void 0:i.drilldownPaths]),p=F.useMemo(()=>{const O=u.createAttribute({name:"dummy drilldown initial attribute"});return YI(r,n)||O},[r,n]),h=GI({attribute:p,dataSource:o,drilldownPaths:c,enabled:l}),d=F.useMemo(()=>{var M;return(((M=i==null?void 0:i.drilldownSelections)==null?void 0:M.length)||(h==null?void 0:h.length))&&l},[i,l,h]),{drilldownDimension:m,drilldownFilters:g,breadcrumbs:v,openDrilldownMenu:y}=J7({initialDimension:p,drilldownSelections:a,drilldownPaths:h,openMenu:s,onDrilldownSelectionsChange:t}),w=F.useCallback((O,M)=>{const D=od(O,M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),E=F.useCallback((O,M)=>{const D=od([O],M,n);y({left:M.clientX,top:M.clientY},D)},[n,y]),_=F.useMemo(()=>Uh(r,n,m),[r,n,m]),x=F.useMemo(()=>g.length?bd(e.filters||[],g):e.filters,[e.filters,g]),b=F.useMemo(()=>u.combineHandlers([w,e.onDataPointsSelected]),[w,e.onDataPointsSelected]),C=F.useMemo(()=>u.combineHandlers([E,e.onDataPointContextMenu]),[E,e.onDataPointContextMenu]);return{propsWithDrilldown:q(q({},e),d&&{dataOptions:_,filters:x,onDataPointsSelected:b,onDataPointContextMenu:C}),isDrilldownEnabled:d,breadcrumbs:v}},JI=ro({componentName:"ChartWidget"})(e=>{var O,M;const{app:t}=u.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:p,height:h}=i||{},d=Gf(r,{hasHeader:!((O=i==null?void 0:i.header)!=null&&O.hidden)}),[m,g]=F.useState(0),v=F.useMemo(()=>u.omit(i,["width","height"]),[i]),y=F.useCallback(D=>{c==null||c({drilldownOptions:{drilldownSelections:D}})},[c]),{propsWithDrilldown:w,isDrilldownEnabled:E,breadcrumbs:_}=ZI({propsToExtend:e,onDrilldownSelectionsChange:y}),x=o7({chartType:r,dataOptions:o,enabled:!a&&!E&&!(s!=null&&s.length)}),b=(M=t==null?void 0:t.settings.accessibilityConfig)==null?void 0:M.enabled,C=F.useCallback(D=>{var R;return b?J(q({},D),{accessibility:J(q({},D.accessibility),{description:l!=null?l:(R=D.accessibility)==null?void 0:R.description})}):D},[l,b]);if(!r||!o)return null;const S=J(q({},w),{dataSet:n,styleOptions:v,refreshCounter:m,onDataPointClick:F.useMemo(()=>u.combineHandlers([x.onDataPointClick,e.onDataPointClick]),[x.onDataPointClick,e.onDataPointClick]),onDataPointContextMenu:w.onDataPointContextMenu,onDataPointsSelected:F.useMemo(()=>u.combineHandlers([x.onDataPointsSelected,w.onDataPointsSelected]),[x.onDataPointsSelected,w.onDataPointsSelected]),onBeforeRender:F.useMemo(()=>u.combineHandlers([C,x.onBeforeRender,e.onBeforeRender],!0),[C,x.onBeforeRender,e.onBeforeRender])});return u.jsx(Ei,{defaultSize:d,size:{width:p,height:h},children:u.jsx(rh,J(q({},e),{topSlot:u.jsxs(u.Fragment,{children:[e.topSlot,_]}),dataSetName:n&&u.getDataSourceName(n),onRefresh:()=>g(m+1),children:u.jsx(K0,q({},S))}))})});class nn{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 Gn=typeof window=="undefined"||"Deno"in window;function it(){}function eA(e,t){return typeof e=="function"?e(t):e}function ss(e){return typeof e=="number"&&e>=0&&e!==1/0}function qh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function En(e,t,r){return ho(e)?typeof t=="function"?J(q({},r),{queryKey:e,queryFn:t}):J(q({},t),{queryKey:e}):e}function tA(e,t,r){return ho(e)?J(q({},t),{mutationKey:e}):typeof e=="function"?J(q({},t),{mutationFn:e}):q({},e)}function Bt(e,t,r){return ho(e)?[J(q({},t),{queryKey:e}),r]:[e||{},t]}function id(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(ho(a)){if(n){if(t.queryHash!==Dl(a,t.options))return!1}else if(!Ir(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 ad(e,t){const{exact:r,fetching:n,predicate:o,mutationKey:i}=e;if(ho(i)){if(!t.options.mutationKey)return!1;if(r){if(ur(t.options.mutationKey)!==ur(i))return!1}else if(!Ir(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function Dl(e,t){return((t==null?void 0:t.queryKeyHashFn)||ur)(e)}function ur(e){return JSON.stringify(e,(t,r)=>ls(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function Ir(e,t){return Gh(e,t)}function Gh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!Gh(e[r],t[r])):!1}function Yh(e,t){if(e===t)return e;const r=sd(e)&&sd(t);if(r||ls(e)&&ls(t)){const n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{};let s=0;for(let l=0;l<i;l++){const c=r?l:o[l];a[c]=Yh(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function ti(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function sd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ls(e){if(!ld(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const r=t.prototype;return!(!ld(r)||!r.hasOwnProperty("isPrototypeOf"))}function ld(e){return Object.prototype.toString.call(e)==="[object Object]"}function ho(e){return Array.isArray(e)}function Xh(e){return new Promise(t=>{setTimeout(t,e)})}function ud(e){Xh(0).then(e)}function rA(){if(typeof AbortController=="function")return new AbortController}function us(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Yh(e,t):t}class nA extends nn{constructor(){super(),this.setup=t=>{if(!Gn&&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 ri=new nA,cd=["online","offline"];class oA extends nn{constructor(){super(),this.setup=t=>{if(!Gn&&window.addEventListener){const r=()=>t();return cd.forEach(n=>{window.addEventListener(n,r,!1)}),()=>{cd.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 ni=new oA;function iA(e){return Math.min(1e3*Qe(2,e),3e4)}function Yi(e){return(e!=null?e:"online")==="online"?ni.isOnline():!0}class Kh{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Wo(e){return e instanceof Kh}function Qh(e){let t=!1,r=0,n=!1,o,i,a;const s=new Promise((y,w)=>{i=y,a=w}),l=y=>{n||(m(new Kh(y)),e.abort==null||e.abort())},c=()=>{t=!0},p=()=>{t=!1},h=()=>!ri.isFocused()||e.networkMode!=="always"&&!ni.isOnline(),d=y=>{n||(n=!0,e.onSuccess==null||e.onSuccess(y),o==null||o(),i(y))},m=y=>{n||(n=!0,e.onError==null||e.onError(y),o==null||o(),a(y))},g=()=>new Promise(y=>{o=w=>{const E=n||!h();return E&&y(w),E},e.onPause==null||e.onPause()}).then(()=>{o=void 0,n||e.onContinue==null||e.onContinue()}),v=()=>{if(n)return;let y;try{y=e.fn()}catch(w){y=Promise.reject(w)}Promise.resolve(y).then(d).catch(w=>{var E,_;if(n)return;const x=(E=e.retry)!=null?E:3,b=(_=e.retryDelay)!=null?_:iA,C=typeof b=="function"?b(r,w):b,S=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,w);if(t||!S){m(w);return}r++,e.onFail==null||e.onFail(r,w),Xh(C).then(()=>{if(h())return g()}).then(()=>{t?m(w):v()})})};return Yi(e.networkMode)?v():g().then(v),{promise:s,cancel:l,continue:()=>(o==null?void 0:o())?s:Promise.resolve(),cancelRetry:c,continueRetry:p}}const kl=console;function aA(){let e=[],t=0,r=p=>{p()},n=p=>{p()};const o=p=>{let h;t++;try{h=p()}finally{t--,t||s()}return h},i=p=>{t?e.push(p):ud(()=>{r(p)})},a=p=>(...h)=>{i(()=>{p(...h)})},s=()=>{const p=e;e=[],p.length&&ud(()=>{n(()=>{p.forEach(h=>{r(h)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:p=>{r=p},setBatchNotifyFunction:p=>{n=p}}}const ke=aA();class Zh{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ss(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Gn?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class sA extends Zh{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||kl,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||lA(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=q(q({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=us(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){this.dispatch({type:"setState",state:t,setStateOptions:r})}cancel(t){var r;const n=this.promise;return(r=this.retryer)==null||r.cancel(t),n?n.then(it).catch(it):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!qh(this.state.dataUpdatedAt,t)}onFocus(){var t;const r=this.observers.find(n=>n.shouldFetchOnWindowFocus());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const r=this.observers.find(n=>n.shouldFetchOnReconnect());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,r){var n,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&r!=null&&r.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const m=this.observers.find(g=>g.options.queryFn);m&&this.setOptions(m.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const a=rA(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),p={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(p),(n=this.options.behavior)==null||n.onFetch(p),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=p.fetchOptions)==null?void 0:o.meta)){var h;this.dispatch({type:"fetch",meta:(h=p.fetchOptions)==null?void 0:h.meta})}const d=m=>{if(Wo(m)&&m.silent||this.dispatch({type:"error",error:m}),!Wo(m)){var g,v,y,w;(g=(v=this.cache.config).onError)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,this.state.data,m,this),process.env.NODE_ENV!=="production"&&this.logger.error(m)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Qh({fn:p.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:m=>{var g,v,y,w;if(typeof m=="undefined"){process.env.NODE_ENV!=="production"&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),d(new Error(this.queryHash+" data is undefined"));return}this.setData(m),(g=(v=this.cache.config).onSuccess)==null||g.call(v,m,this),(y=(w=this.cache.config).onSettled)==null||y.call(w,m,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(m,g)=>{this.dispatch({type:"failed",failureCount:m,error:g})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var o,i;switch(t.type){case"failed":return J(q({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return J(q({},n),{fetchStatus:"paused"});case"continue":return J(q({},n),{fetchStatus:"fetching"});case"fetch":return q(J(q({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:Yi(this.options.networkMode)?"fetching":"paused"}),!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return q(J(q({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const a=t.error;return Wo(a)&&a.revert&&this.revertState?J(q({},this.revertState),{fetchStatus:"idle"}):J(q({},n),{error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"});case"invalidate":return J(q({},n),{isInvalidated:!0});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function lA(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 uA extends nn{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:Dl(i,r);let s=this.get(a);return s||(s=new sA({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const r=this.queriesMap[t.queryHash];r&&(t.destroy(),this.queries=this.queries.filter(n=>n!==t),r===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){ke.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=Bt(t,r);return typeof n.exact=="undefined"&&(n.exact=!0),this.queries.find(o=>id(n,o))}findAll(t,r){const[n]=Bt(t,r);return Object.keys(n).length>0?this.queries.filter(o=>id(n,o)):this.queries}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}onFocus(){ke.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){ke.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class cA extends Zh{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||kl,this.observers=[],this.state=t.state||Jh(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=q(q({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,r;return(t=(r=this.retryer)==null?void 0:r.continue())!=null?t:this.execute()}execute(){return rt(this,null,function*(){const t=()=>{var S;return this.retryer=Qh({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(O,M)=>{this.dispatch({type:"failed",failureCount:O,error:M})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(S=this.options.retry)!=null?S:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,o,i,a,s,l,c,p;if(!r){var h,d,m,g;this.dispatch({type:"loading",variables:this.options.variables}),yield(h=(d=this.mutationCache.config).onMutate)==null?void 0:h.call(d,this.state.variables,this);const O=yield(m=(g=this.options).onMutate)==null?void 0:m.call(g,this.state.variables);O!==this.state.context&&this.dispatch({type:"loading",context:O,variables:this.state.variables})}const S=yield t();return yield(n=(o=this.mutationCache.config).onSuccess)==null?void 0:n.call(o,S,this.state.variables,this.state.context,this),yield(i=(a=this.options).onSuccess)==null?void 0:i.call(a,S,this.state.variables,this.state.context),yield(s=(l=this.mutationCache.config).onSettled)==null?void 0:s.call(l,S,null,this.state.variables,this.state.context,this),yield(c=(p=this.options).onSettled)==null?void 0:c.call(p,S,null,this.state.variables,this.state.context),this.dispatch({type:"success",data:S}),S}catch(S){try{var v,y,w,E,_,x,b,C;throw yield(v=(y=this.mutationCache.config).onError)==null?void 0:v.call(y,S,this.state.variables,this.state.context,this),process.env.NODE_ENV!=="production"&&this.logger.error(S),yield(w=(E=this.options).onError)==null?void 0:w.call(E,S,this.state.variables,this.state.context),yield(_=(x=this.mutationCache.config).onSettled)==null?void 0:_.call(x,void 0,S,this.state.variables,this.state.context,this),yield(b=(C=this.options).onSettled)==null?void 0:b.call(C,void 0,S,this.state.variables,this.state.context),S}finally{this.dispatch({type:"error",error:S})}}})}dispatch(t){const r=n=>{switch(t.type){case"failed":return J(q({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return J(q({},n),{isPaused:!0});case"continue":return J(q({},n),{isPaused:!1});case"loading":return J(q({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Yi(this.options.networkMode),status:"loading",variables:t.variables});case"success":return J(q({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return J(q({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return q(q({},n),t.state)}};this.state=r(this.state),ke.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Jh(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class dA extends nn{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const o=new cA({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(r),state:n,defaultOptions:r.mutationKey?t.getMutationDefaults(r.mutationKey):void 0});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(r=>r!==t),this.notify({type:"removed",mutation:t})}clear(){ke.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(r=>ad(t,r))}findAll(t){return this.mutations.filter(r=>ad(t,r))}notify(t){ke.batch(()=>{this.listeners.forEach(({listener:r})=>{r(t)})})}resumePausedMutations(){var t;return this.resuming=((t=this.resuming)!=null?t:Promise.resolve()).then(()=>{const r=this.mutations.filter(n=>n.state.isPaused);return ke.batch(()=>r.reduce((n,o)=>n.then(()=>o.continue().catch(it)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function fA(){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,p=(l==null?void 0:l.direction)==="forward",h=(l==null?void 0:l.direction)==="backward",d=((i=e.state.data)==null?void 0:i.pages)||[],m=((a=e.state.data)==null?void 0:a.pageParams)||[];let g=m,v=!1;const y=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)v=!0;else{var O;(O=e.signal)==null||O.addEventListener("abort",()=>{v=!0})}return e.signal}})},w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),E=(C,S,O,M)=>(g=M?[S,...g]:[...g,S],M?[O,...C]:[...C,O]),_=(C,S,O,M)=>{if(v)return Promise.reject("Cancelled");if(typeof O=="undefined"&&!S&&C.length)return Promise.resolve(C);const D={queryKey:e.queryKey,pageParam:O,meta:e.options.meta};y(D);const R=w(D);return Promise.resolve(R).then(I=>E(C,O,I,M))};let x;if(!d.length)x=_([]);else if(p){const C=typeof c!="undefined",S=C?c:dd(e.options,d);x=_(d,C,S)}else if(h){const C=typeof c!="undefined",S=C?c:pA(e.options,d);x=_(d,C,S,!0)}else{g=[];const C=typeof e.options.getNextPageParam=="undefined";x=(s&&d[0]?s(d[0],0,d):!0)?_([],C,m[0]):Promise.resolve(E([],m[0],d[0]));for(let O=1;O<d.length;O++)x=x.then(M=>{if(s&&d[O]?s(d[O],O,d):!0){const R=C?m[O]:dd(e.options,M);return _(M,C,R)}return Promise.resolve(E(M,m[O],d[O]))})}return x.then(C=>({pages:C,pageParams:g}))}}}}function dd(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function pA(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class hA{constructor(t={}){this.queryCache=t.queryCache||new uA,this.mutationCache=t.mutationCache||new dA,this.logger=t.logger||kl,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=ri.subscribe(()=>{ri.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=ni.subscribe(()=>{ni.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]=Bt(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll(J(q({},t),{fetching:!0})).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}ensureQueryData(t,r,n){const o=En(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=eA(r,i);if(typeof a=="undefined")return;const s=En(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,J(q({},n),{manual:!0}))}setQueriesData(t,r,n){return ke.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,r,n)]))}getQueryState(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state}removeQueries(t,r){const[n]=Bt(t,r),o=this.queryCache;ke.batch(()=>{o.findAll(n).forEach(i=>{o.remove(i)})})}resetQueries(t,r,n){const[o,i]=Bt(t,r,n),a=this.queryCache,s=q({type:"active"},o);return ke.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,r,n){const[o,i={}]=Bt(t,r,n);typeof i.revert=="undefined"&&(i.revert=!0);const a=ke.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(it).catch(it)}invalidateQueries(t,r,n){const[o,i]=Bt(t,r,n);return ke.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(c=>{c.invalidate()}),o.refetchType==="none")return Promise.resolve();const l=J(q({},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]=Bt(t,r,n),a=ke.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,J(q({},i),{cancelRefetch:(c=i==null?void 0:i.cancelRefetch)!=null?c:!0,meta:{refetchPage:o.refetchPage}}))}));let s=Promise.all(a).then(it);return i!=null&&i.throwOnError||(s=s.catch(it)),s}fetchQuery(t,r,n){const o=En(t,r,n),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,r,n){return this.fetchQuery(t,r,n).then(it).catch(it)}fetchInfiniteQuery(t,r,n){const o=En(t,r,n);return o.behavior=fA(),this.fetchQuery(o)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(it).catch(it)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,r){const n=this.queryDefaults.find(o=>ur(t)===ur(o.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>Ir(t,n.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>Ir(t,o.queryKey)).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(t)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."),r==null?void 0:r.defaultOptions}setMutationDefaults(t,r){const n=this.mutationDefaults.find(o=>ur(t)===ur(o.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>Ir(t,n.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>Ir(t,o.mutationKey)).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(t)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults."),r==null?void 0:r.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const r=J(q(q(q({},this.defaultOptions.queries),this.getQueryDefaults(t==null?void 0:t.queryKey)),t),{_defaulted:!0});return!r.queryHash&&r.queryKey&&(r.queryHash=Dl(r.queryKey,r)),typeof r.refetchOnReconnect=="undefined"&&(r.refetchOnReconnect=r.networkMode!=="always"),typeof r.useErrorBoundary=="undefined"&&(r.useErrorBoundary=!!r.suspense),r}defaultMutationOptions(t){return t!=null&&t._defaulted?t:J(q(q(q({},this.defaultOptions.mutations),this.getMutationDefaults(t==null?void 0:t.mutationKey)),t),{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class mA extends nn{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),fd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return cs(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return cs(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"),ti(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&&pd(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 vA(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=br(o,["refetchPage"]);return this.fetch(J(q({},r),{meta:{refetchPage:t}}))}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch(J(q({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(it)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),Gn||this.currentResult.isStale||!ss(this.options.staleTime))return;const r=qh(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,!(Gn||this.options.enabled===!1||!ss(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||ri.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,p=l?this.currentResult:this.previousQueryResult,{state:h}=t;let{dataUpdatedAt:d,error:m,errorUpdatedAt:g,fetchStatus:v,status:y}=h,w=!1,E=!1,_;if(r._optimisticResults){const O=this.hasListeners(),M=!O&&fd(t,r),D=O&&pd(t,n,r,o);(M||D)&&(v=Yi(t.options.networkMode)?"fetching":"paused",d||(y="loading")),r._optimisticResults==="isRestoring"&&(v="idle")}if(r.keepPreviousData&&!h.dataUpdatedAt&&p!=null&&p.isSuccess&&y!=="error")_=p.data,d=p.dataUpdatedAt,y=p.status,w=!0;else if(r.select&&typeof h.data!="undefined")if(i&&h.data===(a==null?void 0:a.data)&&r.select===this.selectFn)_=this.selectResult;else try{this.selectFn=r.select,_=r.select(h.data),_=us(i==null?void 0:i.data,_,r),this.selectResult=_,this.selectError=null}catch(O){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(O),this.selectError=O}else _=h.data;if(typeof r.placeholderData!="undefined"&&typeof _=="undefined"&&y==="loading"){let O;if(i!=null&&i.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))O=i.data;else if(O=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof O!="undefined")try{O=r.select(O),this.selectError=null}catch(M){process.env.NODE_ENV!=="production"&&this.client.getLogger().error(M),this.selectError=M}typeof O!="undefined"&&(y="success",_=us(i==null?void 0:i.data,O,r),E=!0)}this.selectError&&(m=this.selectError,_=this.selectResult,g=Date.now(),y="error");const x=v==="fetching",b=y==="loading",C=y==="error";return{status:y,fetchStatus:v,isLoading:b,isSuccess:y==="success",isError:C,isInitialLoading:b&&x,data:_,dataUpdatedAt:d,error:m,errorUpdatedAt:g,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>c.dataUpdateCount||h.errorUpdateCount>c.errorUpdateCount,isFetching:x,isRefetching:x&&!b,isLoadingError:C&&h.dataUpdatedAt===0,isPaused:v==="paused",isPlaceholderData:E,isPreviousData:w,isRefetchError:C&&h.dataUpdatedAt!==0,isStale:Il(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,ti(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 p=c;return this.currentResult[p]!==r[p]&&l.has(p)})};(t==null?void 0:t.listeners)!==!1&&i()&&(o.listeners=!0),this.notify(q(q({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!Wo(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){ke.batch(()=>{if(t.onSuccess){var r,n,o,i;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(o=(i=this.options).onSettled)==null||o.call(i,this.currentResult.data,null)}else if(t.onError){var a,s,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:p})=>{p(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function gA(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function fd(e,t){return gA(e,t)||e.state.dataUpdatedAt>0&&cs(e,t,t.refetchOnMount)}function cs(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Il(e,t)}return!1}function pd(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Il(e,r)}function Il(e,t){return e.isStaleByTime(t.staleTime)}function vA(e,t,r){return r.keepPreviousData?!1:r.placeholderData!==void 0?t.isPlaceholderData:!ti(e.getCurrentResult(),t)}var ds={exports:{}},wa={};/**
|
|
256
256
|
* @license React
|
|
257
257
|
* use-sync-external-store-shim.production.min.js
|
|
258
258
|
*
|
|
@@ -260,7 +260,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
|
|
|
260
260
|
*
|
|
261
261
|
* This source code is licensed under the MIT license found in the
|
|
262
262
|
* LICENSE file in the root directory of this source tree.
|
|
263
|
-
*/var hd;function
|
|
263
|
+
*/var hd;function yA(){if(hd)return wa;hd=1;var e=F;function t(h,d){return h===d&&(h!==0||1/h===1/d)||h!==h&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(h,d){var m=d(),g=n({inst:{value:m,getSnapshot:d}}),v=g[0].inst,y=g[1];return i(function(){v.value=m,v.getSnapshot=d,l(v)&&y({inst:v})},[h,m,d]),o(function(){return l(v)&&y({inst:v}),h(function(){l(v)&&y({inst:v})})},[h]),a(m),m}function l(h){var d=h.getSnapshot;h=h.value;try{var m=d();return!r(h,m)}catch(g){return!0}}function c(h,d){return d()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?c:s;return wa.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,wa}var Ca={};/**
|
|
264
264
|
* @license React
|
|
265
265
|
* use-sync-external-store-shim.development.js
|
|
266
266
|
*
|
|
@@ -268,4 +268,4 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStat
|
|
|
268
268
|
*
|
|
269
269
|
* This source code is licensed under the MIT license found in the
|
|
270
270
|
* LICENSE file in the root directory of this source tree.
|
|
271
|
-
*/var md;function xA(){return md||(md=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=F,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(_){{for(var x=arguments.length,b=new Array(x>1?x-1:0),C=1;C<x;C++)b[C-1]=arguments[C];n("error",_,b)}}function n(_,x,b){{var C=t.ReactDebugCurrentFrame,S=C.getStackAddendum();S!==""&&(x+="%s",b=b.concat([S]));var O=b.map(function(M){return String(M)});O.unshift("Warning: "+x),Function.prototype.apply.call(console[_],console,O)}}function o(_,x){return _===x&&(_!==0||1/_===1/x)||_!==_&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue,p=!1,h=!1;function d(_,x,b){p||e.startTransition!==void 0&&(p=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var C=x();if(!h){var S=x();i(C,S)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}var O=a({inst:{value:C,getSnapshot:x}}),M=O[0].inst,D=O[1];return l(function(){M.value=C,M.getSnapshot=x,m(M)&&D({inst:M})},[_,C,x]),s(function(){m(M)&&D({inst:M});var R=function(){m(M)&&D({inst:M})};return _(R)},[_]),c(C),C}function m(_){var x=_.getSnapshot,b=_.value;try{var C=x();return!i(b,C)}catch(S){return!0}}function g(_,x,b){return x()}var v=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",y=!v,w=y?g:d,E=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:w;Ca.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ca}process.env.NODE_ENV==="production"?ds.exports=_A():ds.exports=xA();var wA=ds.exports;const em=wA.useSyncExternalStore,gd=z.createContext(void 0),tm=z.createContext(!1);function rm(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=gd),window.ReactQueryClientContext):gd)}const nm=({context:e}={})=>{const t=z.useContext(rm(e,z.useContext(tm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},CA=({client:e,children:t,context:r,contextSharing:n=!1})=>{z.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=rm(r,n);return z.createElement(tm.Provider,{value:!r&&n},z.createElement(o.Provider,{value:e},t))},TA=z.createContext(!1),EA=()=>z.useContext(TA);function SA(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const RA=z.createContext(SA()),OA=()=>z.useContext(RA);function om(e,t){return typeof e=="function"?e(...t):!!e}const MA=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},PA=e=>{z.useEffect(()=>{e.clearReset()},[e])},DA=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&om(r,[e.error,n]),kA=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},IA=(e,t)=>e.isLoading&&e.isFetching&&!t,AA=(e,t,r)=>(e==null?void 0:e.suspense)&&IA(t,r),NA=(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 $A(e,t){const r=nm({context:e.context}),n=EA(),o=OA(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=ke.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=ke.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=ke.batchCalls(i.onSettled)),kA(i),MA(i,o),PA(o);const[a]=z.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(em(z.useCallback(l=>{const c=n?()=>{}:a.subscribe(ke.batchCalls(l));return a.updateResult(),c},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),z.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),AA(i,s,n))throw NA(i,a,o);if(DA({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function LA(e,t,r){const n=En(e,t,r);return $A(n,vA)}const FA=u.newStyled("button",{target:"e14rhw2k0",label:"ClearSelectionButton"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";background:none;font-size:13px;border:none;height:26px;padding:0 6px 0 2px;margin:0 4px 0 4px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;&:hover{background-color:rgba(247,247,247,1);}"),HA=u.newStyled("span",{target:"e14rhw2k1",label:"ClearSelectionText"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";display:inline-block;padding-top:3px;white-space:nowrap;"),BA=({onClick:e})=>{var n;const{themeSettings:t}=u.useThemeContext(),{t:r}=u.useTranslation();return u.jsxs(FA,{onClick:e,theme:t,children:[u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.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"})}),u.jsx(HA,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function jA(e){const t={};return{flatFilters:e.reduce((n,o)=>(u.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 im(e,t,r){const n=t.filter(u.isCascadingFilter);return WA(e,n).map(i=>{if(zA(i)){const a=n.find(l=>l.config.guid===i.groupId);if(!a)throw new u.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return VA(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function zA(e){return"groupId"in e}function WA(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>An(a)===An(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 VA(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?GA(e.filters,e.previousFilters):e.filters,o=UA(n,t.config.disabled);return u.cascading(n,{guid:t.config.guid,disabled:o})}function UA(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function qA(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=jA(e);return{pureFilters:n,updateFilters:a=>{const s=im(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:YA(r,o)}}function GA(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>Ol(s,o));return a&&!Ch(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?qi(n):n)}function YA(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 vd={applyMode:Gi.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function XA(e,t){return e==="table"?{applyMode:Gi.FILTER,shouldAffectFilters:!1,ignoreFilters:u.merge(vd.ignoreFilters,t.ignoreFilters||{})}:u.merge(vd,t)}function KA(e,t,r,n,o,i,a){const s={},l=XA(r,o),{pureFilters:c,updateFilters:p,pureFiltersIgnoringRules:h}=qA(e,t,l.ignoreFilters||{}),d=c.filter(_=>!_.config.disabled),m=V7(d,h),g=Pl(r,n),v=l.shouldAffectFilters&&g.length,[y,w]=ZA(m,g,l.applyMode),E=l.forceApplyBackgroundFilters?lt(QA(c),y):y;if(s.filters=E,s.highlights=w,s.onDataPointsSelected=(_,x)=>{const b=[],C=Qc(r,n,_);if(C&&b.push(C),v){const S=zo(r,n,_),{filters:O,isSelection:M}=xa(S,c,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=Zc(D,()=>{p(lt(c,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},s.onDataPointContextMenu=(_,x)=>{const b=[],C=Qc(r,n,[_]);if(C&&b.push(C),v){const S=zo(r,n,[_]),{filters:O,isSelection:M}=xa(S,c,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=Zc(D,()=>{p(lt(c,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},v){s.onDataPointClick=C=>{const S=zo(r,n,[C]),{filters:O}=xa(S,c);p(lt(c,O))};const _=d.filter(C=>g==null?void 0:g.some(S=>u.isMembersFilter(C)&&ct(C.attribute,S)&&!Rl(C)&&!C.config.locked)),x=!!_.length,b=()=>{const C=_.map(qi);p(lt(c,C))};x&&(s.renderToolbar=(C,S)=>{const O=g.map(({expression:M})=>M).join(";");return u.jsxs("div",{style:{display:"flex"},children:[u.jsx(BA,{onClick:b}),S]},O)})}return s}function QA(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function ZA(e,t,r){if(r===Gi.HIGHLIGHT){const[n,o]=po(e,a=>t.every(s=>!ct(s,a.attribute))),i=o.filter(a=>!Rl(a));return[n,i]}return[e,[]]}function JA(e,t){const[r,n]=Ml(F.useMemo(()=>In(e),[e]),{onLocalStateChange:F.useCallback(d=>{const{filters:m,relations:g}=d;t&&t(Sn(m,g))},[t])}),{filters:o,relations:i}=r,a=F.useMemo(()=>Sn(o,i),[o,i]),s=F.useCallback(d=>{if(kn(d)){const{filters:m,relations:g}=In(d);n({filters:m||[],relations:g||null})}else n({filters:d,relations:null})},[n]),l=F.useCallback(d=>{const m=lt(o,[d]);n({filters:m,relations:Rn(o,i,m)})},[o,i,n]),c=F.useCallback(d=>{n({filters:d,relations:Rn(o,i,d)})},[o,i,n]),p=F.useMemo(()=>o.some(d=>u.isCascadingFilter(d)),[o]),h=F.useCallback(d=>{if(!i)return d;const m=p?im(d,o):d,g=Rn(o,i,m);return Sn(m,g)},[p,o,i]);return{regularFilters:o,addFilter:l,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:c,applyRelationsToOtherFilters:h}}const eN=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=u.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:l,setFilters:c,applyRelationsToOtherFilters:p}=JA(e,n),h=F.useCallback((d,m={})=>{var x,b;if(u.isTextWidgetProps(d))return d;const g=u.getInternalWidgetType(d),v=d,y=u.cloneDeep(d),E="drilldownOptions"in d&&((b=(x=d.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:b.length)?Uh(d.chartType,d.dataOptions,u.last(d.drilldownOptions.drilldownSelections).nextDimension):d.dataOptions,_=KA(a,c,g,E,m,o,t);return y.highlights=lt(_.highlights,v.highlights),y.onBeforeMenuOpen=r,_.onDataPointClick&&u.registerDataPointClickHandler(y,_.onDataPointClick),y.filters=p(lt(_.filters,ps(v.filters))),_.onDataPointClick&&u.registerDataPointClickHandler(y,_.onDataPointClick),_.onDataPointsSelected&&u.registerDataPointsSelectedHandler(y,_.onDataPointsSelected),_.onDataPointContextMenu&&u.registerDataPointContextMenuHandler(y,_.onDataPointContextMenu),_.renderToolbar&&u.registerRenderToolbarHandler(y,_.renderToolbar),y},[a,c,o,t,r,p]);return{filters:i,setFilters:l,addFilter:s,connectToWidgetProps:h}};exports.Backdrop=$s;exports.Button=Un;exports.ButtonBase=hr;exports.Chart=K0;exports.ChartWidget=tA;exports.CommonFiltersApplyMode=Gi;exports.ContextMenu=Sf;exports.DEFAULT_PIVOT_TABLE_SIZE=qf;exports.DEFAULT_TABLE_ROWS_PER_PAGE=W0;exports.DrilldownBreadcrumbs=gh;exports.DynamicSizeContainer=Ei;exports.ElementStates=x2;exports.ErrorBoundary=Pd;exports.ErrorBoundary$1=G0;exports.ErrorBoundaryBox=Md;exports.ExclamationMarkIcon=Od;exports.Fade=Ns;exports.I18nProvider=kd;exports.IconButton=jr;exports.LEGACY_DESIGN_TYPES=xn;exports.List=Os;exports.ListContext=Ln;exports.LoadingDots=gs;exports.LoadingIndicator=si;exports.LoadingOverlay=Bo;exports.Menu=wi;exports.MenuIds=qn;exports.MenuItem=Ti;exports.MenuList=Ms;exports.MenuProvider=Rf;exports.Modal=Ls;exports.NoResultsOverlay=Hs;exports.PAGES_BATCH_SIZE=V0;exports.Paper=_i;exports.Popover=th;exports.Popover$1=xi;exports.Popper=fo;exports.PropTypes=f;exports.QueryClient=gA;exports.QueryClientProvider=CA;exports.Subscribable=nn;exports.TableComponent=U0;exports.ThemeProvider=Df;exports.Tooltip=Ui;exports.Transition=gt;exports.Typography=Ze;exports.UnknownRelationsNodeError=ai;exports.WidgetContainer=rh;exports.WidgetSpaceAround=Z0;exports._objectWithoutPropertiesLoose=ae;exports.alpha_1=Pe;exports.areFiltersEqual=ih;exports.asSisenseComponent=ro;exports.baseUniq=Ws;exports.boxWhiskerProcessResult=$x;exports.calculateNewRelations=Rn;exports.camelCase=zh;exports.capitalize=ui;exports.capitalize$1=fe;exports.chainPropTypes=Pt;exports.classNames=zn;exports.clearMembersFilter=qi;exports.cloneFilterAndToggleDisabled=U8;exports.clsx=se;exports.combineFiltersAndRelations=Sn;exports.composeClasses=De;exports.convertFilterRelationsModelToJaql=km;exports.convertFilterRelationsModelToRelationRules=xm;exports.convertToThemeSettings=xd;exports.createCaseFirst=Rh;exports.createChainedFunction=Na;exports.createSvgIcon=Ur;exports.createTheme=yi;exports.createUnarySpacing=ws;exports.darken_1=rf;exports.dataLoadStateReducer=is;exports.debounce=i7;exports.deepmerge=dr;exports.duration=cf;exports.elementAcceptingRef=pr;exports.elementTypeAcceptingRef=Ps;exports.exactProp=Is;exports.extendSxProp=Ts;exports.filterRelationRulesToFilterRelationsModel=Sm;exports.findFilterByGuid=Rm;exports.generateUtilityClass=we;exports.generateUtilityClasses=Ce;exports.getDefaultState=Jh;exports.getDisplayName=qd;exports.getDrilldownMenuItems=Sh;exports.getFiltersArray=ps;exports.getHierarchyModels=Wh;exports.getLegacyPalette=Td;exports.getListItemTextUtilityClass=Rb;exports.getPaletteName=wd;exports.getRelationsWithReplacedFilter=ym;exports.getSelectionTitleMenuItem=Eh;exports.getTableAttributesAndMeasures=ip;exports.getThemeSettingsByOid=Cd;exports.getTransitionProps=Hn;exports.getTranslatedDataOptions=Zf;exports.getValue=zr;exports.getWidgetDefaultSize=Gf;exports.handleBreakpoints=Tt;exports.internal_processStyles=Bd;exports.isAttributeDescriptionNode=Pm;exports.isCloseBracketDescriptionNode=Mm;exports.isFilterRelations=kn;exports.isFiltersChanged=oh;exports.isHostComponent=_s;exports.isOpenBracketDescriptionNode=Om;exports.isOperatorDescriptionNode=Dm;exports.isPlainObject=St;exports.isRelationsChanged=K8;exports.isRelationsRule=ii;exports.isRelationsRuleIdNode=oi;exports.isSameAttribute=ct;exports.isString=nh;exports.isThemeOid=Ho;exports.isTrivialSingleNodeRelations=hs;exports.lighten_1=nf;exports.listItemTextClasses=Fa;exports.mergeBreakpointsInOrder=Og;exports.mergeFilters=lt;exports.mergeFiltersOrFilterRelations=bd;exports.notifyManager=ke;exports.ownerDocument=We;exports.parseMutationArgs=nA;exports.partition=po;exports.processDrilldownSelections=bh;exports.refType=Jn;exports.resolveBreakpointValues=Pg;exports.resolveProps=Go;exports.rootShouldForwardProp=Zn;exports.shallowEqualObjects=ti;exports.shouldSkipSisenseContextWaiting=q0;exports.shouldThrowError=om;exports.splitFiltersAndRelations=In;exports.styleFunctionSx=Qn;exports.styled=Hd;exports.styled$1=le;exports.trackHook=Q8;exports.translatePivotTableDataOptions=Ox;exports.translateTableDataOptions=Qf;exports.updateDrilldownSelections=yh;exports.upperFirst=Oh;exports.useCommonFilters=eN;exports.useControlled=As;exports.useDefaultProps=Re;exports.useDrilldownCore=vh;exports.useEnhancedEffect=Ut;exports.useEventCallback=Rt;exports.useForkRef=Ve;exports.useGetHierarchyModels=YI;exports.useHasChanged=Sl;exports.useId=_f;exports.useMenu=uh;exports.useQuery=LA;exports.useQueryClient=nm;exports.useSetError=zs;exports.useShouldLoad=lh;exports.useSyncExternalStore=em;exports.useSyncedState=Ml;exports.useTheme=bf;exports.useTheme$1=to;exports.useTimeout=sr;exports.withErrorBoundary=Dd;exports.withTracking=sh;
|
|
271
|
+
*/var md;function bA(){return md||(md=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=F,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(_){{for(var x=arguments.length,b=new Array(x>1?x-1:0),C=1;C<x;C++)b[C-1]=arguments[C];n("error",_,b)}}function n(_,x,b){{var C=t.ReactDebugCurrentFrame,S=C.getStackAddendum();S!==""&&(x+="%s",b=b.concat([S]));var O=b.map(function(M){return String(M)});O.unshift("Warning: "+x),Function.prototype.apply.call(console[_],console,O)}}function o(_,x){return _===x&&(_!==0||1/_===1/x)||_!==_&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue,p=!1,h=!1;function d(_,x,b){p||e.startTransition!==void 0&&(p=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var C=x();if(!h){var S=x();i(C,S)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}var O=a({inst:{value:C,getSnapshot:x}}),M=O[0].inst,D=O[1];return l(function(){M.value=C,M.getSnapshot=x,m(M)&&D({inst:M})},[_,C,x]),s(function(){m(M)&&D({inst:M});var R=function(){m(M)&&D({inst:M})};return _(R)},[_]),c(C),C}function m(_){var x=_.getSnapshot,b=_.value;try{var C=x();return!i(b,C)}catch(S){return!0}}function g(_,x,b){return x()}var v=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",y=!v,w=y?g:d,E=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:w;Ca.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ca}process.env.NODE_ENV==="production"?ds.exports=yA():ds.exports=bA();var _A=ds.exports;const em=_A.useSyncExternalStore,gd=z.createContext(void 0),tm=z.createContext(!1);function rm(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=gd),window.ReactQueryClientContext):gd)}const nm=({context:e}={})=>{const t=z.useContext(rm(e,z.useContext(tm)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},xA=({client:e,children:t,context:r,contextSharing:n=!1})=>{z.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=rm(r,n);return z.createElement(tm.Provider,{value:!r&&n},z.createElement(o.Provider,{value:e},t))},wA=z.createContext(!1),CA=()=>z.useContext(wA);function TA(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const EA=z.createContext(TA()),SA=()=>z.useContext(EA);function om(e,t){return typeof e=="function"?e(...t):!!e}const RA=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},OA=e=>{z.useEffect(()=>{e.clearReset()},[e])},MA=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&om(r,[e.error,n]),PA=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},DA=(e,t)=>e.isLoading&&e.isFetching&&!t,kA=(e,t,r)=>(e==null?void 0:e.suspense)&&DA(t,r),IA=(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 AA(e,t){const r=nm({context:e.context}),n=CA(),o=SA(),i=r.defaultQueryOptions(e);i._optimisticResults=n?"isRestoring":"optimistic",i.onError&&(i.onError=ke.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=ke.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=ke.batchCalls(i.onSettled)),PA(i),RA(i,o),OA(o);const[a]=z.useState(()=>new t(r,i)),s=a.getOptimisticResult(i);if(em(z.useCallback(l=>{const c=n?()=>{}:a.subscribe(ke.batchCalls(l));return a.updateResult(),c},[a,n]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),z.useEffect(()=>{a.setOptions(i,{listeners:!1})},[i,a]),kA(i,s,n))throw IA(i,a,o);if(MA({result:s,errorResetBoundary:o,useErrorBoundary:i.useErrorBoundary,query:a.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:a.trackResult(s)}function NA(e,t,r){const n=En(e,t,r);return AA(n,mA)}const $A=u.newStyled("button",{target:"e14rhw2k0",label:"ClearSelectionButton"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";background:none;font-size:13px;border:none;height:26px;padding:0 6px 0 2px;margin:0 4px 0 4px;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;&:hover{background-color:rgba(247,247,247,1);}"),LA=u.newStyled("span",{target:"e14rhw2k1",label:"ClearSelectionText"})("color:",({theme:e})=>{var t;return(t=e.chart)==null?void 0:t.textColor},";display:inline-block;padding-top:3px;white-space:nowrap;"),FA=({onClick:e})=>{var n;const{themeSettings:t}=u.useThemeContext(),{t:r}=u.useTranslation();return u.jsxs($A,{onClick:e,theme:t,children:[u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:u.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"})}),u.jsx(LA,{theme:t,children:r("commonFilter.clearSelectionButton")})]})};function HA(e){const t={};return{flatFilters:e.reduce((n,o)=>(u.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 im(e,t,r){const n=t.filter(u.isCascadingFilter);return jA(e,n).map(i=>{if(BA(i)){const a=n.find(l=>l.config.guid===i.groupId);if(!a)throw new u.TranslatableError("errors.cascadingFilterOriginalNotFound");const s=r==null?void 0:r.shouldResetFiltersDeeperThanModified;return zA(i,a,{shouldResetFiltersDeeperThanModified:s})}return i})}function BA(e){return"groupId"in e}function jA(e,t){const r=[];return e.forEach(n=>{const o=t.find(i=>i.filters.some(a=>An(a)===An(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 zA(e,t,r){const n=r!=null&&r.shouldResetFiltersDeeperThanModified?UA(e.filters,e.previousFilters):e.filters,o=WA(n,t.config.disabled);return u.cascading(n,{guid:t.config.guid,disabled:o})}function WA(e,t){return e.some(n=>n.config.disabled!==t)?!t:t}function VA(e,t,r){const{flatFilters:n,cascadingToPureFiltersMap:o}=HA(e);return{pureFilters:n,updateFilters:a=>{const s=im(a,e,{shouldResetFiltersDeeperThanModified:!0});t(s)},pureFiltersIgnoringRules:qA(r,o)}}function UA(e,t){const r=e.reduce((n,o,i)=>{const a=t.find(s=>Ol(s,o));return a&&!Ch(o,a)?i:n},-1);return r===-1?e:e.map((n,o)=>o>r?qi(n):n)}function qA(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 vd={applyMode:Gi.HIGHLIGHT,shouldAffectFilters:!0,ignoreFilters:{all:!1,ids:[]},forceApplyBackgroundFilters:!0};function GA(e,t){return e==="table"?{applyMode:Gi.FILTER,shouldAffectFilters:!1,ignoreFilters:u.merge(vd.ignoreFilters,t.ignoreFilters||{})}:u.merge(vd,t)}function YA(e,t,r,n,o,i,a){const s={},l=GA(r,o),{pureFilters:c,updateFilters:p,pureFiltersIgnoringRules:h}=VA(e,t,l.ignoreFilters||{}),d=c.filter(_=>!_.config.disabled),m=z7(d,h),g=Pl(r,n),v=l.shouldAffectFilters&&g.length,[y,w]=KA(m,g,l.applyMode),E=l.forceApplyBackgroundFilters?lt(XA(c),y):y;if(s.filters=E,s.highlights=w,s.onDataPointsSelected=(_,x)=>{const b=[],C=Qc(r,n,_);if(C&&b.push(C),v){const S=zo(r,n,_),{filters:O,isSelection:M}=xa(S,c,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=Zc(D,()=>{p(lt(c,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},s.onDataPointContextMenu=(_,x)=>{const b=[],C=Qc(r,n,[_]);if(C&&b.push(C),v){const S=zo(r,n,[_]),{filters:O,isSelection:M}=xa(S,c,!0),D=i(M?"commonFilter.selectMenuItem":"commonFilter.unselectMenuItem"),R=Zc(D,()=>{p(lt(c,O))});b.push(R)}b.length&&(a==null||a({position:{left:x.clientX,top:x.clientY},itemSections:b}))},v){s.onDataPointClick=C=>{const S=zo(r,n,[C]),{filters:O}=xa(S,c);p(lt(c,O))};const _=d.filter(C=>g==null?void 0:g.some(S=>u.isMembersFilter(C)&&ct(C.attribute,S)&&!Rl(C)&&!C.config.locked)),x=!!_.length,b=()=>{const C=_.map(qi);p(lt(c,C))};x&&(s.renderToolbar=(C,S)=>{const O=g.map(({expression:M})=>M).join(";");return u.jsxs("div",{style:{display:"flex"},children:[u.jsx(FA,{onClick:b}),S]},O)})}return s}function XA(e){return e.map(t=>{var r;return(r=t.config)==null?void 0:r.backgroundFilter}).filter(t=>!!t)}function KA(e,t,r){if(r===Gi.HIGHLIGHT){const[n,o]=po(e,a=>t.every(s=>!ct(s,a.attribute))),i=o.filter(a=>!Rl(a));return[n,i]}return[e,[]]}function QA(e,t){const[r,n]=Ml(F.useMemo(()=>In(e),[e]),{onLocalStateChange:F.useCallback(d=>{const{filters:m,relations:g}=d;t&&t(Sn(m,g))},[t])}),{filters:o,relations:i}=r,a=F.useMemo(()=>Sn(o,i),[o,i]),s=F.useCallback(d=>{if(kn(d)){const{filters:m,relations:g}=In(d);n({filters:m||[],relations:g||null})}else n({filters:d,relations:null})},[n]),l=F.useCallback(d=>{const m=lt(o,[d]);n({filters:m,relations:Rn(o,i,m)})},[o,i,n]),c=F.useCallback(d=>{n({filters:d,relations:Rn(o,i,d)})},[o,i,n]),p=F.useMemo(()=>o.some(d=>u.isCascadingFilter(d)),[o]),h=F.useCallback(d=>{if(!i)return d;const m=p?im(d,o):d,g=Rn(o,i,m);return Sn(m,g)},[p,o,i]);return{regularFilters:o,addFilter:l,filtersOrFilterRelations:a,setFiltersOrFilterRelations:s,setFilters:c,applyRelationsToOtherFilters:h}}const ZA=({initialFilters:e=[],openMenu:t,onBeforeMenuOpen:r,onFiltersChange:n}={})=>{const{t:o}=u.useTranslation(),{filtersOrFilterRelations:i,regularFilters:a,addFilter:s,setFiltersOrFilterRelations:l,setFilters:c,applyRelationsToOtherFilters:p}=QA(e,n),h=F.useCallback((d,m={})=>{var x,b;if(u.isTextWidgetProps(d))return d;const g=u.getInternalWidgetType(d),v=d,y=u.cloneDeep(d),E="drilldownOptions"in d&&((b=(x=d.drilldownOptions)==null?void 0:x.drilldownSelections)==null?void 0:b.length)?Uh(d.chartType,d.dataOptions,u.last(d.drilldownOptions.drilldownSelections).nextDimension):d.dataOptions,_=YA(a,c,g,E,m,o,t);return y.highlights=lt(_.highlights,v.highlights),y.onBeforeMenuOpen=r,_.onDataPointClick&&u.registerDataPointClickHandler(y,_.onDataPointClick),y.filters=p(lt(_.filters,ps(v.filters))),_.onDataPointClick&&u.registerDataPointClickHandler(y,_.onDataPointClick),_.onDataPointsSelected&&u.registerDataPointsSelectedHandler(y,_.onDataPointsSelected),_.onDataPointContextMenu&&u.registerDataPointContextMenuHandler(y,_.onDataPointContextMenu),_.renderToolbar&&u.registerRenderToolbarHandler(y,_.renderToolbar),y},[a,c,o,t,r,p]);return{filters:i,setFilters:l,addFilter:s,connectToWidgetProps:h}};exports.Backdrop=$s;exports.Button=Un;exports.ButtonBase=hr;exports.Chart=K0;exports.ChartWidget=JI;exports.CommonFiltersApplyMode=Gi;exports.ContextMenu=Sf;exports.DEFAULT_PIVOT_TABLE_SIZE=qf;exports.DEFAULT_TABLE_ROWS_PER_PAGE=W0;exports.DrilldownBreadcrumbs=gh;exports.DynamicSizeContainer=Ei;exports.ElementStates=x2;exports.ErrorBoundary=Pd;exports.ErrorBoundary$1=G0;exports.ErrorBoundaryBox=Md;exports.ExclamationMarkIcon=Od;exports.Fade=Ns;exports.I18nProvider=kd;exports.IconButton=jr;exports.LEGACY_DESIGN_TYPES=xn;exports.List=Os;exports.ListContext=Ln;exports.LoadingDots=gs;exports.LoadingIndicator=si;exports.LoadingOverlay=Bo;exports.Menu=wi;exports.MenuIds=qn;exports.MenuItem=Ti;exports.MenuList=Ms;exports.MenuProvider=Rf;exports.Modal=Ls;exports.NoResultsOverlay=Hs;exports.PAGES_BATCH_SIZE=V0;exports.Paper=_i;exports.Popover=th;exports.Popover$1=xi;exports.Popper=fo;exports.PropTypes=f;exports.QueryClient=hA;exports.QueryClientProvider=xA;exports.Subscribable=nn;exports.TableComponent=U0;exports.ThemeProvider=Df;exports.Tooltip=Ui;exports.Transition=gt;exports.Typography=Ze;exports.UnknownRelationsNodeError=ai;exports.WidgetContainer=rh;exports.WidgetSpaceAround=Z0;exports._objectWithoutPropertiesLoose=ae;exports.alpha_1=Pe;exports.areFiltersEqual=ih;exports.asSisenseComponent=ro;exports.baseUniq=Ws;exports.boxWhiskerProcessResult=Hx;exports.calculateNewRelations=Rn;exports.camelCase=zh;exports.capitalize=ui;exports.capitalize$1=fe;exports.chainPropTypes=Pt;exports.classNames=zn;exports.clearMembersFilter=qi;exports.cloneFilterAndToggleDisabled=W8;exports.clsx=se;exports.combineFiltersAndRelations=Sn;exports.composeClasses=De;exports.convertFilterRelationsModelToJaql=km;exports.convertFilterRelationsModelToRelationRules=xm;exports.convertToThemeSettings=xd;exports.createCaseFirst=Rh;exports.createChainedFunction=Na;exports.createSvgIcon=Ur;exports.createTheme=yi;exports.createUnarySpacing=ws;exports.darken_1=rf;exports.dataLoadStateReducer=is;exports.debounce=n7;exports.deepmerge=dr;exports.duration=cf;exports.elementAcceptingRef=pr;exports.elementTypeAcceptingRef=Ps;exports.exactProp=Is;exports.extendSxProp=Ts;exports.filterRelationRulesToFilterRelationsModel=Sm;exports.findFilterByGuid=Rm;exports.generateUtilityClass=we;exports.generateUtilityClasses=Ce;exports.getDefaultState=Jh;exports.getDisplayName=qd;exports.getDrilldownMenuItems=Sh;exports.getFiltersArray=ps;exports.getHierarchyModels=Wh;exports.getLegacyPalette=Td;exports.getListItemTextUtilityClass=Rb;exports.getPaletteName=wd;exports.getRelationsWithReplacedFilter=ym;exports.getSelectionTitleMenuItem=Eh;exports.getTableAttributesAndMeasures=ip;exports.getThemeSettingsByOid=Cd;exports.getTransitionProps=Hn;exports.getTranslatedDataOptions=Zf;exports.getValue=zr;exports.getWidgetDefaultSize=Gf;exports.handleBreakpoints=Tt;exports.internal_processStyles=Bd;exports.isAttributeDescriptionNode=Pm;exports.isCloseBracketDescriptionNode=Mm;exports.isFilterRelations=kn;exports.isFiltersChanged=oh;exports.isHostComponent=_s;exports.isOpenBracketDescriptionNode=Om;exports.isOperatorDescriptionNode=Dm;exports.isPlainObject=St;exports.isRelationsChanged=Y8;exports.isRelationsRule=ii;exports.isRelationsRuleIdNode=oi;exports.isSameAttribute=ct;exports.isString=nh;exports.isThemeOid=Ho;exports.isTrivialSingleNodeRelations=hs;exports.lighten_1=nf;exports.listItemTextClasses=Fa;exports.mergeBreakpointsInOrder=Og;exports.mergeFilters=lt;exports.mergeFiltersOrFilterRelations=bd;exports.notifyManager=ke;exports.ownerDocument=We;exports.parseMutationArgs=tA;exports.partition=po;exports.processDrilldownSelections=bh;exports.refType=Jn;exports.resolveBreakpointValues=Pg;exports.resolveProps=Go;exports.rootShouldForwardProp=Zn;exports.shallowEqualObjects=ti;exports.shouldSkipSisenseContextWaiting=q0;exports.shouldThrowError=om;exports.splitFiltersAndRelations=In;exports.styleFunctionSx=Qn;exports.styled=Hd;exports.styled$1=le;exports.trackHook=X8;exports.translatePivotTableDataOptions=Dx;exports.translateTableDataOptions=Qf;exports.updateDrilldownSelections=yh;exports.upperFirst=Oh;exports.useCommonFilters=ZA;exports.useControlled=As;exports.useDefaultProps=Re;exports.useDrilldownCore=vh;exports.useEnhancedEffect=Ut;exports.useEventCallback=Rt;exports.useForkRef=Ve;exports.useGetHierarchyModels=qI;exports.useHasChanged=Sl;exports.useId=_f;exports.useMenu=uh;exports.useQuery=NA;exports.useQueryClient=nm;exports.useSetError=zs;exports.useShouldLoad=lh;exports.useSyncExternalStore=em;exports.useSyncedState=Ml;exports.useTheme=bf;exports.useTheme$1=to;exports.useTimeout=sr;exports.withErrorBoundary=Dd;exports.withTracking=sh;
|